From 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Mon, 25 Nov 2013 06:03:06 -0800 Subject: Cleaned up Zeny manipulation in scripts. --- npc/custom/events/valentinesdayexp.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/custom/events') diff --git a/npc/custom/events/valentinesdayexp.txt b/npc/custom/events/valentinesdayexp.txt index 7f12e5325..5a94bc913 100644 --- a/npc/custom/events/valentinesdayexp.txt +++ b/npc/custom/events/valentinesdayexp.txt @@ -105,7 +105,7 @@ M_CHOCO: if (@flag_num > 5) goto L_ERR; set @needmon,@flag_num*5000; if (Zeny < @needmon) goto L_NOTENO; - set Zeny,Zeny - @needmon; + Zeny -= @needmon; getitem 558,@flag_num; mes "[Stephen]"; mes "There you go!"; @@ -167,7 +167,7 @@ M_CHOCO: set @needmon,@flag_num*4500; if (Zeny < @needmon) goto L_NOTENO; if (countitem(519) < @flag_num) goto L_NOMILK; - set Zeny,Zeny - @needmon; + Zeny -= @needmon; delitem 519,@flag_num; getitem 561,@flag_num; mes "[Jainie]"; -- cgit v1.2.3-60-g2f50