diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-01-22 15:40:43 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-01-22 15:40:43 -0500 |
commit | 3a7f518de4bbced15cbf5bb877a988055de7d063 (patch) | |
tree | af3a8725138870cd9c3db4eaa29c56fb1422754c /constants | |
parent | 4d8528f90329e2ddfac16046ad8bf309ec1887f2 (diff) |
wStatusFlags/2 bit constants
Diffstat (limited to 'constants')
-rw-r--r-- | constants/engine_flags.asm | 12 | ||||
-rw-r--r-- | constants/wram_constants.asm | 30 |
2 files changed, 36 insertions, 6 deletions
diff --git a/constants/engine_flags.asm b/constants/engine_flags.asm index 0b5695dd3..40ba221d4 100644 --- a/constants/engine_flags.asm +++ b/constants/engine_flags.asm @@ -19,7 +19,7 @@ ; wStatusFlags const ENGINE_POKEDEX const ENGINE_UNOWN_DEX - const ENGINE_POKERUS + const ENGINE_CAUGHT_POKERUS const ENGINE_ROCKET_SIGNAL_ON_CH20 const ENGINE_CREDITS_SKIP const ENGINE_BUG_CONTEST_ON ; 10 @@ -28,8 +28,8 @@ const ENGINE_SAFARI_ZONE const ENGINE_ROCKETS_IN_RADIO_TOWER const ENGINE_BIKE_SHOP_CALL_ENABLED - const ENGINE_GIVE_POKERUS - const ENGINE_FLORIA + const ENGINE_CAN_USE_SWEET_SCENT + const ENGINE_REACHED_GOLDENROD const ENGINE_ROCKETS_IN_MAHOGANY ; wBikeFlags const ENGINE_STRENGTH_ACTIVE @@ -58,10 +58,10 @@ const ENGINE_UNLOCKED_UNOWNS_L_TO_R const ENGINE_UNLOCKED_UNOWNS_S_TO_W const ENGINE_UNLOCKED_UNOWNS_X_TO_Z - const ENGINE_UNLOCKED_UNOWNS_UNUSED_5 - const ENGINE_UNLOCKED_UNOWNS_UNUSED_6 ; 30 + const ENGINE_UNLOCKED_UNOWNS_UNUSED_4 + const ENGINE_UNLOCKED_UNOWNS_UNUSED_5 ; 30 + const ENGINE_UNLOCKED_UNOWNS_UNUSED_6 const ENGINE_UNLOCKED_UNOWNS_UNUSED_7 - const ENGINE_UNLOCKED_UNOWNS_UNUSED_8 ; wVisitedSpawns const ENGINE_FLYPOINT_KRISS_HOUSE const ENGINE_FLYPOINT_VIRIDIAN_POKECENTER diff --git a/constants/wram_constants.asm b/constants/wram_constants.asm index dce4ab551..59ca28c36 100644 --- a/constants/wram_constants.asm +++ b/constants/wram_constants.asm @@ -142,6 +142,28 @@ SPAWN_RED EQU 2 PLAYER_OBJECT EQU 0 NUM_OBJECTS EQU $10 +; wStatusFlags:: ; d84c + const_def + const STATUSFLAGS_POKEDEX_F ; 0 + const STATUSFLAGS_UNOWN_DEX_F ; 1 + const STATUSFLAGS_FLASH_F ; 2 + const STATUSFLAGS_CAUGHT_POKERUS_F ; 3 + const STATUSFLAGS_ROCKET_SIGNAL_F ; 4 + const STATUSFLAGS_NO_WILD_ENCOUNTERS_F ; 5 + const STATUSFLAGS_HALL_OF_FAME_F ; 6 + const STATUSFLAGS_BUG_CONTEST_ON_F ; 7 + +; wStatusFlags2:: ; d84d + const_def + const STATUSFLAGS2_ROCKETS_IN_RADIO_TOWER_F ; 0 + const STATUSFLAGS2_SAFARI_GAME_F ; 1 + const STATUSFLAGS2_BUG_CONTEST_TIMER_F ; 2 + const STATUSFLAGS2_UNUSED_F ; 3 + const STATUSFLAGS2_BIKE_SHOP_CALL_F ; 4 + const STATUSFLAGS2_CAN_USE_SWEET_SCENT_F ; 5 + const STATUSFLAGS2_REACHED_GOLDENROD_F ; 6 + const STATUSFLAGS2_ROCKETS_IN_MAHOGANY_F ; 7 + ; wMomSavingMoney:: ; d854 MOM_SAVING_SOME_MONEY_F EQU 0 MOM_SAVING_HALF_MONEY_F EQU 1 @@ -204,6 +226,14 @@ CELEBIEVENT_FOREST_IS_RESTLESS_F EQU 2 const BIKEFLAGS_ALWAYS_ON_BIKE_F ; 1 const BIKEFLAGS_DOWNHILL_F ; 2 +; wSwarmFlags:: ; dc20 + const_def + const SWARMFLAGS_BUENAS_PASSWORD_F ; 0 + const SWARMFLAGS_GOLDENROD_DEPT_STORE_SALE_F ; 1 + const SWARMFLAGS_DUNSPARCE_SWARM_F ; 2 + const SWARMFLAGS_YANMA_SWARM_F ; 3 + const SWARMFLAGS_MOBILE_4_F ; 4 + ; wLuckyNumberShowFlag:: ; dc9d LUCKYNUMBERSHOW_GAME_OVER_F EQU 0 |