summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/water_bottle.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/water_bottle.txt')
-rw-r--r--world/map/npc/functions/water_bottle.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/functions/water_bottle.txt b/world/map/npc/functions/water_bottle.txt
index 02dc35b2..e88c5965 100644
--- a/world/map/npc/functions/water_bottle.txt
+++ b/world/map/npc/functions/water_bottle.txt
@@ -13,7 +13,7 @@ function|script|WaterBottle|{
if (@empty < @count)
goto L_NotEnoughBottles;
- if (zeny < @cost)
+ if (Zeny < @cost)
goto L_NotEnoughMoney;
getinventorylist;
if (@inventorylist_count == 100
@@ -21,7 +21,7 @@ function|script|WaterBottle|{
&& @empty > @count)
goto L_NotEnoughSlots;
- set zeny, zeny - @cost;
+ set Zeny, Zeny - @cost;
delitem "EmptyBottle", @count;
getitem "BottleOfWater", @count;
close;