pokeemerald/data/scripts/roulette.inc

72 lines
1.9 KiB
PHP
Raw Normal View History

2019-10-07 08:00:16 +02:00
Roulette_EventScript_Table1:: @ 82A5AB1
2019-10-05 16:52:48 +02:00
checkitem ITEM_COIN_CASE, 1
compare VAR_RESULT, FALSE
2019-10-07 08:00:16 +02:00
goto_if_eq MauvilleCity_GameCorner_EventScript_NoCoinCase
2019-10-05 16:52:48 +02:00
setvar VAR_0x8004, 0
2019-10-07 08:00:16 +02:00
getpricereduction POKENEWS_GAME_CORNER
compare VAR_RESULT, FALSE
2019-10-07 08:00:16 +02:00
goto_if_eq Roulette_EventScript_Play
2019-10-05 16:52:48 +02:00
addvar VAR_0x8004, 128
2019-10-07 08:00:16 +02:00
goto Roulette_EventScript_Play
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_EventScript_Table2:: @ 82A5ADF
2019-10-05 16:52:48 +02:00
checkitem ITEM_COIN_CASE, 1
compare VAR_RESULT, FALSE
2019-10-07 08:00:16 +02:00
goto_if_eq MauvilleCity_GameCorner_EventScript_NoCoinCase
2019-10-05 16:52:48 +02:00
setvar VAR_0x8004, 1
2019-10-07 08:00:16 +02:00
getpricereduction POKENEWS_GAME_CORNER
compare VAR_RESULT, FALSE
2019-10-07 08:00:16 +02:00
goto_if_eq Roulette_EventScript_Play
2019-10-05 16:52:48 +02:00
addvar VAR_0x8004, 128
2019-10-07 08:00:16 +02:00
goto Roulette_EventScript_Play
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_EventScript_Play:: @ 82A5B0D
2019-10-05 16:52:48 +02:00
special PlayRoulette
waitstate
end
2019-10-07 08:00:16 +02:00
Roulette_Text_PlayMinimumWagerIsX:: @ 82A5B12
2019-10-05 16:52:48 +02:00
.string "The minimum wager at this table\n"
.string "is {STR_VAR_1}. Do you want to play?$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_NotEnoughCoins:: @ 82A5B4E
2019-10-05 16:52:48 +02:00
.string "You don't have enough COINS.$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_SpecialRateTable:: @ 82A5B6B
2019-10-05 16:52:48 +02:00
.string "Special rate table right now!$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_ControlsInstruction:: @ 82A5B89
2019-10-05 16:52:48 +02:00
.string "Place your wager with the + Control\n"
.string "Pad, then press the A Button.$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_ItsAHit:: @ 82A5BCB
2019-10-05 16:52:48 +02:00
.string "It's a hit!$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_Jackpot:: @ 82A5BD7
2019-10-05 16:52:48 +02:00
.string "Jackpot!$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_NothingDoing:: @ 82A5BE0
2019-10-05 16:52:48 +02:00
.string "Nothing doing!$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_YouveWonXCoins:: @ 82A5BEF
2019-10-05 16:52:48 +02:00
.string "You've won {STR_VAR_1} COINS!$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_NoCoinsLeft:: @ 82A5C04
2019-10-05 16:52:48 +02:00
.string "No COINS left…$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_KeepPlaying:: @ 82A5C13
2019-10-05 16:52:48 +02:00
.string "Keep playing?$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_BoardWillBeCleared:: @ 82A5C21
2019-10-05 16:52:48 +02:00
.string "The ROULETTE board will be cleared.$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
@ Unused
Roulette_Text_YouDontHaveACoinCase:: @ 82A5C45
2019-10-05 16:52:48 +02:00
.string "You don't have a COIN CASE.$"
2019-09-27 18:22:58 +02:00
2019-10-07 08:00:16 +02:00
Roulette_Text_CoinCaseIsFull:: @ 82A5C61
2019-10-05 16:52:48 +02:00
.string "Your COIN CASE is full!\n"
.string "Coins can be exchanged for prizes.$"