summaryrefslogtreecommitdiff
path: root/npc/functions/banker.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/banker.txt')
-rw-r--r--npc/functions/banker.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt
index b10806cc..79a57738 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -5,7 +5,10 @@ function script Banker {
mes "\"Welcome to the bank!";
mes "How can I help you?\"";
next;
- menu "Deposit",L_Dep,"Withdraw",L_With,"Check my balance",L_Balance,"Nevermind",L_Nev;
+ menu "Deposit", L_Dep,
+ "Withdraw", L_With,
+ "Check my balance", L_Balance,
+ "Nevermind", L_Nev;
L_Dep:
mes "[" + @npcName$ + "]";
@@ -66,7 +69,7 @@ D_All:
goto L_Deposit;
L_Deposit:
- if (zeny < @Ammount) goto L_NoMoney;
+ if (zeny < @Amount) goto L_NoMoney;
set zeny, zeny - @Amount;
set BankAccount, BankAccount + @Amount;
goto L_Balance;