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.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt
index 6a43b90d..025647d2 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -8,7 +8,8 @@ L_Start:
mes "\"Welcome to the bank!";
mes "How can I help you?\"";
next;
- menu "Deposit", L_Dep,
+ menu
+ "Deposit", L_Dep,
"Withdraw", L_With,
"Check my balance", L_Balance,
"Nevermind", L_Nev;
@@ -17,7 +18,7 @@ L_Dep:
mes "[" + @npcName$ + "]";
mes "\"How much would you like to deposit?\"";
next;
- menu
+ menu
"Other", L_Dep_Input,
"5,000 GP", L_Dep_5k,
"10,000 GP", L_Dep_10k,
@@ -30,13 +31,15 @@ L_Dep:
"All of my money", L_Dep_All,
"I've changed my mind", L_Start,
"Quit", -;
+ return;
L_Dep_Input:
input @Amount;
if (@Amount >= 0) goto L_Dep_Continue;
mes "[" + @npcName$ + "]";
mes "\"I need a positive amount. What would you like to do?\"";
- menu "Go back", L_Start,
+ menu
+ "Go back", L_Start,
"Try again", L_Dep_Input,
"Deposit all", L_Dep_All,
"Quit", -;
@@ -115,7 +118,8 @@ L_With_Input:
if (@Amount >= 0) goto L_With_Continue;
mes "[" + @npcName$ + "]";
mes "\"I need a positive amount. What would you like to do?\"";
- menu "Go back", L_Start,
+ menu
+ "Go back", L_Start,
"Try again", L_With_Input,
"Withdraw all", L_With_All,
"Quit", -;