diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-08-10 17:18:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 17:18:09 -0400 |
commit | 8b95e1964b174d664abcb5864549feea83cfebfe (patch) | |
tree | 60b7345fd6c36dc813d5de8556a54d9cabd42cd3 /data | |
parent | 078c341b2b86d743c202a3968dbb5dad106a2fac (diff) | |
parent | 4bf43311f0b2cf78cb69b71485fce61ed8c21786 (diff) |
Merge pull request #1121 from GriffinRichards/doc-roulette
Document roulette
Diffstat (limited to 'data')
-rw-r--r-- | data/event_scripts.s | 1 | ||||
-rw-r--r-- | data/scripts/roulette.inc | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/data/event_scripts.s b/data/event_scripts.s index 7cc5960d4..058de953b 100644 --- a/data/event_scripts.s +++ b/data/event_scripts.s @@ -40,6 +40,7 @@ #include "constants/moves.h" #include "constants/party_menu.h" #include "constants/pokemon.h" +#include "constants/roulette.h" #include "constants/script_menu.h" #include "constants/secret_bases.h" #include "constants/songs.h" diff --git a/data/scripts/roulette.inc b/data/scripts/roulette.inc index 9aea65054..f590ca358 100644 --- a/data/scripts/roulette.inc +++ b/data/scripts/roulette.inc @@ -6,7 +6,7 @@ Roulette_EventScript_Table1:: @ 82A5AB1 getpricereduction POKENEWS_GAME_CORNER compare VAR_RESULT, FALSE goto_if_eq Roulette_EventScript_Play - addvar VAR_0x8004, 128 + addvar VAR_0x8004, ROULETTE_SPECIAL_RATE goto Roulette_EventScript_Play end @@ -18,7 +18,7 @@ Roulette_EventScript_Table2:: @ 82A5ADF getpricereduction POKENEWS_GAME_CORNER compare VAR_RESULT, FALSE goto_if_eq Roulette_EventScript_Play - addvar VAR_0x8004, 128 + addvar VAR_0x8004, ROULETTE_SPECIAL_RATE goto Roulette_EventScript_Play end |