diff options
Diffstat (limited to 'npc/functions/banker.txt')
-rw-r--r-- | npc/functions/banker.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt index 2f738478..00f033c9 100644 --- a/npc/functions/banker.txt +++ b/npc/functions/banker.txt @@ -4,7 +4,7 @@ function script Banker { if (BankAccount > 0) callsub S_MoveAccount; L_Start: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"Welcome to the bank!"; mes "How can I help you?\""; next; @@ -23,7 +23,7 @@ L_Storage: goto L_Start; L_Dep: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"How much would you like to deposit?\""; next; menu @@ -44,7 +44,7 @@ L_Dep: L_Dep_Input: input @Amount; if (@Amount >= 0) goto L_Dep_Continue; - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"I need a positive amount. What would you like to do?\""; menu "Go back", L_Start, @@ -104,7 +104,7 @@ L_Dep_Continue: goto L_Balance; L_With: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"How much would you like to withdraw?\""; menu "Other", L_With_Input, @@ -124,7 +124,7 @@ L_With: L_With_Input: input @Amount; if (@Amount >= 0) goto L_With_Continue; - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"I need a positive amount. What would you like to do?\""; menu "Go back", L_Start, @@ -184,18 +184,18 @@ L_With_Continue: goto L_Balance; L_Balance: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"Your current bank balance is:"; mes #BankAccount + " GP\""; goto L_Start; L_Nev: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"Goodbye then.\""; return; L_NoMoney: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"Oh dear, it seems that you don't have enough money.\""; goto L_Start; |