summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/inn.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/inn.txt')
-rw-r--r--world/map/npc/functions/inn.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/functions/inn.txt b/world/map/npc/functions/inn.txt
index b778669f..85df4122 100644
--- a/world/map/npc/functions/inn.txt
+++ b/world/map/npc/functions/inn.txt
@@ -8,9 +8,9 @@ function|script|Inn|{
"Yes", -,
"No", L_No;
- if (zeny < @cost)
+ if (Zeny < @cost)
goto L_NoMoney;
- set zeny, zeny - @cost;
+ set Zeny, Zeny - @cost;
heal 10000, 10000;
mes "[" + @npcname$ + "]";