summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/slot_machine.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/slot_machine.txt')
-rw-r--r--world/map/npc/functions/slot_machine.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/world/map/npc/functions/slot_machine.txt b/world/map/npc/functions/slot_machine.txt
index c25dba03..cc8e5a70 100644
--- a/world/map/npc/functions/slot_machine.txt
+++ b/world/map/npc/functions/slot_machine.txt
@@ -27,16 +27,17 @@ L_Play:
mes "Congratulations! You won!";
mes "You get 10 casino coins";
getitem "CasinoCoins", 10;
- close;
+ goto L_Close;
L_Lost:
mes "You lost!";
- close;
+ goto L_Close;
L_NoCoin:
mes "Insert coin";
- close;
+ goto L_Close;
L_Close:
- close;
+ close2;
+ return;
}