summaryrefslogtreecommitdiff
path: root/npc/functions/banker.txt
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-14 20:13:09 +0000
committerJared Adams <jaxad0127@gmail.com>2009-02-14 20:13:09 +0000
commit481d1eca66e38154063b078b84fe76a830e5ac0d (patch)
tree936e79882218d32d4075f46ad85aff7cec199d2a /npc/functions/banker.txt
parentfe02011f477c57c7461b2bc25456bd9426e98cd7 (diff)
parentef7a69afc170e8c60af91583d7c1488a7590fcab (diff)
downloadserverdata-481d1eca66e38154063b078b84fe76a830e5ac0d.tar.gz
serverdata-481d1eca66e38154063b078b84fe76a830e5ac0d.tar.bz2
serverdata-481d1eca66e38154063b078b84fe76a830e5ac0d.tar.xz
serverdata-481d1eca66e38154063b078b84fe76a830e5ac0d.zip
Merge commit 'mainline/master'
Conflicts: db/item_db.txt
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;