diff options
Diffstat (limited to 'constants/wram_constants.asm')
-rw-r--r-- | constants/wram_constants.asm | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/constants/wram_constants.asm b/constants/wram_constants.asm index 4a2c796a7..0007bdaaf 100644 --- a/constants/wram_constants.asm +++ b/constants/wram_constants.asm @@ -1,19 +1,19 @@ -; wInputType:: ; c2c7 +; wInputType:: AUTO_INPUT EQU $ff -; wDebugFlags:: ; c2cc +; wDebugFlags:: const_def const DEBUG_BATTLE_F const DEBUG_FIELD_F -; wCurDexMode:: ; c7d4 +; wCurDexMode:: const_def const DEXMODE_NEW const DEXMODE_OLD const DEXMODE_ABC const DEXMODE_UNOWN -; wMonType:: ; cf5f +; wMonType:: const_def const PARTYMON ; 0 const OTPARTYMON ; 1 @@ -21,11 +21,11 @@ AUTO_INPUT EQU $ff const TEMPMON ; 3 const WILDMON ; 4 -; wGameTimerPause:: ; cfbc +; wGameTimerPause:: GAMETIMERPAUSE_TIMER_PAUSED_F EQU 0 GAMETIMERPAUSE_MOBILE_7_F EQU 7 -; wOptions:: ; cfcc +; wOptions:: TEXT_DELAY_MASK EQU %111 const_def 4 const NO_TEXT_SCROLL ; 4 @@ -37,7 +37,7 @@ TEXT_DELAY_FAST EQU %001 ; 1 TEXT_DELAY_MED EQU %011 ; 3 TEXT_DELAY_SLOW EQU %101 ; 5 -; wTextboxFrame:: ; cfce +; wTextboxFrame:: const_def const FRAME_1 ; 0 const FRAME_2 ; 1 @@ -49,23 +49,23 @@ TEXT_DELAY_SLOW EQU %101 ; 5 const FRAME_8 ; 7 NUM_FRAMES EQU const_value -; wTextboxFlags:: ; cfcf +; wTextboxFlags:: const_def const FAST_TEXT_DELAY_F ; 0 const NO_TEXT_DELAY_F ; 1 -; wGBPrinterBrightness:: ; cfd0 +; wGBPrinterBrightness:: GBPRINTER_LIGHTEST EQU $00 GBPRINTER_LIGHTER EQU $20 GBPRINTER_NORMAL EQU $40 GBPRINTER_DARKER EQU $60 GBPRINTER_DARKEST EQU $7f -; wOptions2:: ; cfd1 +; wOptions2:: const_def const MENU_ACCOUNT ; 0 -; wWalkingDirection:: ; d043 +; wWalkingDirection:: const_def -1 const STANDING ; -1 const DOWN ; 0 @@ -79,14 +79,14 @@ UP_MASK EQU 1 << UP LEFT_MASK EQU 1 << LEFT RIGHT_MASK EQU 1 << RIGHT -; wFacingDirection:: ; d044 +; wFacingDirection:: FACE_CURRENT EQU 0 FACE_DOWN EQU 8 FACE_UP EQU 4 FACE_LEFT EQU 2 FACE_RIGHT EQU 1 -; wPokemonWithdrawDepositParameter:: ; d10b +; wPokemonWithdrawDepositParameter:: PC_WITHDRAW EQU 0 PC_DEPOSIT EQU 1 REMOVE_PARTY EQU 0 @@ -94,21 +94,21 @@ REMOVE_BOX EQU 1 DAY_CARE_WITHDRAW EQU 2 DAY_CARE_DEPOSIT EQU 3 -; wPlayerStepFlags:: ; d150 +; wPlayerStepFlags:: const_def 4 const PLAYERSTEP_MIDAIR_F ; 4 const PLAYERSTEP_CONTINUE_F ; 5 const PLAYERSTEP_STOP_F ; 6 const PLAYERSTEP_START_F ; 7 -; wInitListType:: ; d263 +; wInitListType:: INIT_ENEMYOT_LIST EQU 1 INIT_BAG_ITEM_LIST EQU 2 INIT_OTHER_ITEM_LIST EQU 3 INIT_PLAYEROT_LIST EQU 4 INIT_MON_LIST EQU 5 -; wTimeOfDay:: ; d269 +; wTimeOfDay:: const_def const MORN_F ; 0 const DAY_F ; 1 @@ -123,50 +123,50 @@ DARKNESS EQU 1 << DARKNESS_F ANYTIME EQU MORN | DAY | NITE -; wBattleAnimFlags:: ; d40f +; wBattleAnimFlags:: const_def const BATTLEANIM_STOP_F ; 0 const BATTLEANIM_IN_SUBROUTINE_F ; 1 const BATTLEANIM_IN_LOOP_F ; 2 const BATTLEANIM_KEEPSPRITES_F ; 3 -; wPlayerSpriteSetupFlags:: ; d45b +; wPlayerSpriteSetupFlags:: PLAYERSPRITESETUP_FACING_MASK EQU %11 PLAYERSPRITESETUP_FEMALE_TO_MALE_F EQU 2 PLAYERSPRITESETUP_CUSTOM_FACING_F EQU 5 PLAYERSPRITESETUP_SKIP_RELOAD_GFX_F EQU 6 PLAYERSPRITESETUP_RESET_ACTION_F EQU 7 -; wPlayerGender:: ; d472 +; wPlayerGender:: PLAYERGENDER_FEMALE_F EQU 0 -; wMapStatus:: ; d432 +; wMapStatus:: const_def const MAPSTATUS_START ; 0 const MAPSTATUS_ENTER ; 1 const MAPSTATUS_HANDLE ; 2 const MAPSTATUS_DONE ; 3 -; wMapEventStatus:: ; d433 +; wMapEventStatus:: const_def const MAPEVENTS_ON ; 0 const MAPEVENTS_OFF ; 1 -; wScriptFlags:: ; d434 +; wScriptFlags:: SCRIPT_RUNNING EQU 2 -; wScriptMode:: ; d437 +; wScriptMode:: const_def const SCRIPT_OFF const SCRIPT_READ const SCRIPT_WAIT_MOVEMENT const SCRIPT_WAIT -; wSpawnAfterChampion:: ; d4b5 +; wSpawnAfterChampion:: SPAWN_LANCE EQU 1 SPAWN_RED EQU 2 -; wCurDay:: ; d4cb +; wCurDay:: const_def const SUNDAY ; 0 const MONDAY ; 1 @@ -176,11 +176,11 @@ SPAWN_RED EQU 2 const FRIDAY ; 5 const SATURDAY ; 6 -; wMapObjects:: ; d71e +; wMapObjects:: PLAYER_OBJECT EQU 0 NUM_OBJECTS EQU 16 -; wStatusFlags:: ; d84c +; wStatusFlags:: const_def const STATUSFLAGS_POKEDEX_F ; 0 const STATUSFLAGS_UNOWN_DEX_F ; 1 @@ -191,7 +191,7 @@ NUM_OBJECTS EQU 16 const STATUSFLAGS_HALL_OF_FAME_F ; 6 const STATUSFLAGS_MAIN_MENU_MOBILE_CHOICES_F ; 7 -; wStatusFlags2:: ; d84d +; wStatusFlags2:: const_def const STATUSFLAGS2_ROCKETS_IN_RADIO_TOWER_F ; 0 const STATUSFLAGS2_SAFARI_GAME_F ; 1 @@ -202,7 +202,7 @@ NUM_OBJECTS EQU 16 const STATUSFLAGS2_REACHED_GOLDENROD_F ; 6 const STATUSFLAGS2_ROCKETS_IN_MAHOGANY_F ; 7 -; wMomSavingMoney:: ; d854 +; wMomSavingMoney:: MOM_SAVING_SOME_MONEY_F EQU 0 MOM_SAVING_HALF_MONEY_F EQU 1 MOM_SAVING_ALL_MONEY_F EQU 2 @@ -210,7 +210,7 @@ MOM_ACTIVE_F EQU 7 MOM_SAVING_MONEY_MASK EQU (1 << MOM_SAVING_SOME_MONEY_F) | (1 << MOM_SAVING_HALF_MONEY_F) | (1 << MOM_SAVING_ALL_MONEY_F) -; wJohtoBadges:: ; d857 +; wJohtoBadges:: const_def const ZEPHYRBADGE const HIVEBADGE @@ -222,7 +222,7 @@ MOM_SAVING_MONEY_MASK EQU (1 << MOM_SAVING_SOME_MONEY_F) | (1 << MOM_SAVING_HALF const RISINGBADGE NUM_JOHTO_BADGES EQU const_value -; wKantoBadges:: ; d858 +; wKantoBadges:: const_def const BOULDERBADGE const CASCADEBADGE @@ -235,7 +235,7 @@ NUM_JOHTO_BADGES EQU const_value NUM_KANTO_BADGES EQU const_value NUM_BADGES EQU NUM_JOHTO_BADGES + NUM_KANTO_BADGES -; wPokegearFlags:: ; d957 +; wPokegearFlags:: const_def const POKEGEAR_MAP_CARD_F ; 0 const POKEGEAR_RADIO_CARD_F ; 1 @@ -244,27 +244,27 @@ NUM_BADGES EQU NUM_JOHTO_BADGES + NUM_KANTO_BADGES POKEGEAR_OBTAINED_F EQU 7 -; wWhichRegisteredItem:: ; d95b +; wWhichRegisteredItem:: REGISTERED_POCKET EQU %11000000 REGISTERED_NUMBER EQU %00111111 -; wPlayerState:: ; d95d +; wPlayerState:: PLAYER_NORMAL EQU 0 PLAYER_BIKE EQU 1 PLAYER_SKATE EQU 2 PLAYER_SURF EQU 4 PLAYER_SURF_PIKA EQU 8 -; wCelebiEvent:: ; dbf3 +; wCelebiEvent:: CELEBIEVENT_FOREST_IS_RESTLESS_F EQU 2 -; wBikeFlags:: ; dbf5 +; wBikeFlags:: const_def const BIKEFLAGS_STRENGTH_ACTIVE_F ; 0 const BIKEFLAGS_ALWAYS_ON_BIKE_F ; 1 const BIKEFLAGS_DOWNHILL_F ; 2 -; wDailyFlags1:: ; dc1e +; wDailyFlags1:: const_def const DAILYFLAGS1_KURT_MAKING_BALLS_F ; 0 const DAILYFLAGS1_BUG_CONTEST_F ; 1 @@ -275,7 +275,7 @@ CELEBIEVENT_FOREST_IS_RESTLESS_F EQU 2 const DAILYFLAGS1_GOLDENROD_UNDERGROUND_BARGAIN_F ; 6 const DAILYFLAGS1_TRAINER_HOUSE_F ; 7 -; wDailyFlags2:: ; dc1f +; wDailyFlags2:: const_def const DAILYFLAGS2_MT_MOON_SQUARE_CLEFAIRY_F ; 0 const DAILYFLAGS2_UNION_CAVE_LAPRAS_F ; 1 @@ -286,7 +286,7 @@ CELEBIEVENT_FOREST_IS_RESTLESS_F EQU 2 const DAILYFLAGS2_MOVE_TUTOR_F ; 6 const DAILYFLAGS2_BUENAS_PASSWORD_F ; 7 -; wSwarmFlags:: ; dc20 +; wSwarmFlags:: const_def const SWARMFLAGS_BUENAS_PASSWORD_F ; 0 const SWARMFLAGS_GOLDENROD_DEPT_STORE_SALE_F ; 1 @@ -294,15 +294,15 @@ CELEBIEVENT_FOREST_IS_RESTLESS_F EQU 2 const SWARMFLAGS_YANMA_SWARM_F ; 3 const SWARMFLAGS_MOBILE_4_F ; 4 -; wLuckyNumberShowFlag:: ; dc9d +; wLuckyNumberShowFlag:: LUCKYNUMBERSHOW_GAME_OVER_F EQU 0 -; wDayCareMan:: ; def5 +; wDayCareMan:: DAYCAREMAN_HAS_MON_F EQU 0 DAYCAREMAN_MONS_COMPATIBLE_F EQU 5 DAYCAREMAN_HAS_EGG_F EQU 6 DAYCAREMAN_ACTIVE_F EQU 7 -; wDayCareLady:: ; df2c +; wDayCareLady:: DAYCARELADY_HAS_MON_F EQU 0 DAYCARELADY_ACTIVE_F EQU 7 |