summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/clear_vars.txt')
-rw-r--r--world/map/npc/functions/clear_vars.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index 04af3e40..eed42a44 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -108,16 +108,16 @@ function|script|ClearVariables|{
return;
FixBank:
- if (zeny >= -#BankAccount)
+ if (Zeny >= -#BankAccount)
goto L_Fix_Full;
// Partial fix
- set #BankAccount, #BankAccount + zeny;
- set zeny, 0;
+ set #BankAccount, #BankAccount + Zeny;
+ set Zeny, 0;
return;
L_Fix_Full:
- set zeny, zeny + #BankAccount;
+ set Zeny, Zeny + #BankAccount;
set #BankAccount, 0;
return;
//Tulimshar and Mine Variables