summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/002-2/casino.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/002-2/casino.txt b/world/map/npc/002-2/casino.txt
index 4733bb63..f4995662 100644
--- a/world/map/npc/002-2/casino.txt
+++ b/world/map/npc/002-2/casino.txt
@@ -153,7 +153,6 @@ L_b100:
L_Check:
if(countitem("CasinoCoins") < @bet) goto L_NoCoin;
- delitem "CasinoCoins", @bet;
menu
"Choose a color", L_PickColor,
"Choose a number", L_Number;
@@ -164,6 +163,7 @@ L_PickColor:
"Red", L_Color;
L_Color:
+ delitem "CasinoCoins", @bet;
set @color,rand(2);
if(@color == 1) goto L_Lost;
mes "You won!";
@@ -178,6 +178,7 @@ L_Number:
"29", L_Menuitems, "30", L_Menuitems, "31", L_Menuitems, "32", L_Menuitems, "33", L_Menuitems, "34", L_Menuitems, "35", L_Menuitems, "36", L_Menuitems;
L_Menuitems:
+ delitem "CasinoCoins", @bet;
if (@menu == 1) set @number, 0;
if (@menu == 2) set @number, 37;
if (@menu >= 3) set @number, @menu - 2;