diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/banker.txt | 16 | ||||
-rw-r--r-- | npc/functions/inn.txt | 8 |
2 files changed, 12 insertions, 12 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; diff --git a/npc/functions/inn.txt b/npc/functions/inn.txt index 00366cb2..810dbd1d 100644 --- a/npc/functions/inn.txt +++ b/npc/functions/inn.txt @@ -1,7 +1,7 @@ // INN function script Inn { - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"Would you like to rest? It's only " + @cost + " gp.\""; next; @@ -13,17 +13,17 @@ function script Inn { set zeny, zeny - @cost; heal 10000, 10000; - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"Sleep well!\""; close; L_No: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"See you.\""; close; L_NoMoney: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"You don't have enough money to stay here.\""; close; } |