summaryrefslogtreecommitdiff
path: root/data/scripts/roulette.inc
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2020-01-13 20:26:20 -0600
committerMarcus Huderle <huderlem@gmail.com>2020-01-13 20:26:20 -0600
commit5a2d676e71b720e752ca8a624a5795b3b1d7eb6c (patch)
tree6ef755064008dfae8ce2942dc2762670cdabe815 /data/scripts/roulette.inc
parent5007d279fea5326b41b877703c74fcaa56223364 (diff)
parent22931846d680de2bc585093678db3f5721aab891 (diff)
Merge remote-tracking branch 'upstream' into tustin2121-patch-5
Diffstat (limited to 'data/scripts/roulette.inc')
-rw-r--r--data/scripts/roulette.inc71
1 files changed, 71 insertions, 0 deletions
diff --git a/data/scripts/roulette.inc b/data/scripts/roulette.inc
new file mode 100644
index 000000000..9aea65054
--- /dev/null
+++ b/data/scripts/roulette.inc
@@ -0,0 +1,71 @@
+Roulette_EventScript_Table1:: @ 82A5AB1
+ checkitem ITEM_COIN_CASE, 1
+ compare VAR_RESULT, FALSE
+ goto_if_eq MauvilleCity_GameCorner_EventScript_NoCoinCase
+ setvar VAR_0x8004, 0
+ getpricereduction POKENEWS_GAME_CORNER
+ compare VAR_RESULT, FALSE
+ goto_if_eq Roulette_EventScript_Play
+ addvar VAR_0x8004, 128
+ goto Roulette_EventScript_Play
+ end
+
+Roulette_EventScript_Table2:: @ 82A5ADF
+ checkitem ITEM_COIN_CASE, 1
+ compare VAR_RESULT, FALSE
+ goto_if_eq MauvilleCity_GameCorner_EventScript_NoCoinCase
+ setvar VAR_0x8004, 1
+ getpricereduction POKENEWS_GAME_CORNER
+ compare VAR_RESULT, FALSE
+ goto_if_eq Roulette_EventScript_Play
+ addvar VAR_0x8004, 128
+ goto Roulette_EventScript_Play
+ end
+
+Roulette_EventScript_Play:: @ 82A5B0D
+ special PlayRoulette
+ waitstate
+ end
+
+Roulette_Text_PlayMinimumWagerIsX:: @ 82A5B12
+ .string "The minimum wager at this table\n"
+ .string "is {STR_VAR_1}. Do you want to play?$"
+
+Roulette_Text_NotEnoughCoins:: @ 82A5B4E
+ .string "You don't have enough COINS.$"
+
+Roulette_Text_SpecialRateTable:: @ 82A5B6B
+ .string "Special rate table right now!$"
+
+Roulette_Text_ControlsInstruction:: @ 82A5B89
+ .string "Place your wager with the + Control\n"
+ .string "Pad, then press the A Button.$"
+
+Roulette_Text_ItsAHit:: @ 82A5BCB
+ .string "It's a hit!$"
+
+Roulette_Text_Jackpot:: @ 82A5BD7
+ .string "Jackpot!$"
+
+Roulette_Text_NothingDoing:: @ 82A5BE0
+ .string "Nothing doing!$"
+
+Roulette_Text_YouveWonXCoins:: @ 82A5BEF
+ .string "You've won {STR_VAR_1} COINS!$"
+
+Roulette_Text_NoCoinsLeft:: @ 82A5C04
+ .string "No COINS left…$"
+
+Roulette_Text_KeepPlaying:: @ 82A5C13
+ .string "Keep playing?$"
+
+Roulette_Text_BoardWillBeCleared:: @ 82A5C21
+ .string "The ROULETTE board will be cleared.$"
+
+@ Unused
+Roulette_Text_YouDontHaveACoinCase:: @ 82A5C45
+ .string "You don't have a COIN CASE.$"
+
+Roulette_Text_CoinCaseIsFull:: @ 82A5C61
+ .string "Your COIN CASE is full!\n"
+ .string "Coins can be exchanged for prizes.$"