2020-07-23 00:24:53 +00:00
|
|
|
; EngineFlags indexes (see data/events/engine_flags.asm)
|
2015-07-12 06:00:17 +00:00
|
|
|
const_def
|
2017-12-09 05:50:59 +00:00
|
|
|
; wPokegearFlags
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_RADIO_CARD
|
|
|
|
const ENGINE_MAP_CARD
|
|
|
|
const ENGINE_PHONE_CARD
|
|
|
|
const ENGINE_EXPN_CARD
|
|
|
|
const ENGINE_POKEGEAR
|
2017-12-10 18:37:15 +00:00
|
|
|
; wDayCareMan
|
|
|
|
const ENGINE_DAY_CARE_MAN_HAS_EGG
|
|
|
|
const ENGINE_DAY_CARE_MAN_HAS_MON
|
|
|
|
; wDayCareLady
|
|
|
|
const ENGINE_DAY_CARE_LADY_HAS_MON
|
2017-12-09 05:50:59 +00:00
|
|
|
; wMomSavingMoney
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_MOM_SAVING_MONEY
|
2018-01-22 18:57:44 +00:00
|
|
|
const ENGINE_MOM_ACTIVE
|
2017-12-09 05:50:59 +00:00
|
|
|
; wUnusedTwoDayTimerOn
|
2020-10-30 03:23:57 +00:00
|
|
|
const ENGINE_UNUSED_TWO_DAY_TIMER_ON
|
2017-12-28 12:15:46 +00:00
|
|
|
; wStatusFlags
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_POKEDEX
|
|
|
|
const ENGINE_UNOWN_DEX
|
2018-01-22 20:40:43 +00:00
|
|
|
const ENGINE_CAUGHT_POKERUS
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_ROCKET_SIGNAL_ON_CH20
|
|
|
|
const ENGINE_CREDITS_SKIP
|
2023-07-27 00:59:00 +00:00
|
|
|
const ENGINE_MOBILE_SYSTEM ; unused
|
2017-12-28 12:15:46 +00:00
|
|
|
; wStatusFlags2
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_BUG_CONTEST_TIMER
|
2015-12-26 16:31:56 +00:00
|
|
|
const ENGINE_SAFARI_ZONE
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_ROCKETS_IN_RADIO_TOWER
|
|
|
|
const ENGINE_BIKE_SHOP_CALL_ENABLED
|
2018-01-31 15:55:35 +00:00
|
|
|
const ENGINE_15
|
2018-01-22 20:40:43 +00:00
|
|
|
const ENGINE_REACHED_GOLDENROD
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_ROCKETS_IN_MAHOGANY
|
2017-12-28 12:15:46 +00:00
|
|
|
; wBikeFlags
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_STRENGTH_ACTIVE
|
|
|
|
const ENGINE_ALWAYS_ON_BIKE
|
|
|
|
const ENGINE_DOWNHILL
|
2017-12-28 12:15:46 +00:00
|
|
|
; wJohtoBadges
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_ZEPHYRBADGE
|
|
|
|
const ENGINE_HIVEBADGE
|
|
|
|
const ENGINE_PLAINBADGE
|
|
|
|
const ENGINE_FOGBADGE
|
|
|
|
const ENGINE_MINERALBADGE
|
2020-06-13 22:48:26 +00:00
|
|
|
const ENGINE_STORMBADGE
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_GLACIERBADGE
|
|
|
|
const ENGINE_RISINGBADGE
|
2017-12-28 12:15:46 +00:00
|
|
|
; wKantoBadges
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_BOULDERBADGE
|
|
|
|
const ENGINE_CASCADEBADGE
|
|
|
|
const ENGINE_THUNDERBADGE
|
|
|
|
const ENGINE_RAINBOWBADGE
|
|
|
|
const ENGINE_SOULBADGE
|
|
|
|
const ENGINE_MARSHBADGE
|
|
|
|
const ENGINE_VOLCANOBADGE
|
|
|
|
const ENGINE_EARTHBADGE
|
2017-12-28 12:15:46 +00:00
|
|
|
; wUnlockedUnowns
|
2018-01-22 18:00:35 +00:00
|
|
|
const ENGINE_UNLOCKED_UNOWNS_A_TO_K
|
|
|
|
const ENGINE_UNLOCKED_UNOWNS_L_TO_R
|
|
|
|
const ENGINE_UNLOCKED_UNOWNS_S_TO_W
|
|
|
|
const ENGINE_UNLOCKED_UNOWNS_X_TO_Z
|
2018-01-22 20:40:43 +00:00
|
|
|
const ENGINE_UNLOCKED_UNOWNS_UNUSED_4
|
2020-06-13 22:48:26 +00:00
|
|
|
const ENGINE_UNLOCKED_UNOWNS_UNUSED_5
|
2018-01-22 20:40:43 +00:00
|
|
|
const ENGINE_UNLOCKED_UNOWNS_UNUSED_6
|
2018-01-22 18:00:35 +00:00
|
|
|
const ENGINE_UNLOCKED_UNOWNS_UNUSED_7
|
2017-12-28 12:15:46 +00:00
|
|
|
; wVisitedSpawns
|
2018-01-23 00:10:09 +00:00
|
|
|
const ENGINE_FLYPOINT_PLAYERS_HOUSE
|
2019-08-21 12:43:21 +00:00
|
|
|
const ENGINE_FLYPOINT_DEBUG
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_FLYPOINT_PALLET
|
|
|
|
const ENGINE_FLYPOINT_VIRIDIAN
|
|
|
|
const ENGINE_FLYPOINT_PEWTER
|
|
|
|
const ENGINE_FLYPOINT_CERULEAN
|
|
|
|
const ENGINE_FLYPOINT_ROCK_TUNNEL
|
|
|
|
const ENGINE_FLYPOINT_VERMILION
|
|
|
|
const ENGINE_FLYPOINT_LAVENDER
|
|
|
|
const ENGINE_FLYPOINT_SAFFRON
|
|
|
|
const ENGINE_FLYPOINT_CELADON
|
|
|
|
const ENGINE_FLYPOINT_FUCHSIA
|
|
|
|
const ENGINE_FLYPOINT_CINNABAR
|
2020-06-13 22:48:26 +00:00
|
|
|
const ENGINE_FLYPOINT_INDIGO_PLATEAU
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_FLYPOINT_NEW_BARK
|
|
|
|
const ENGINE_FLYPOINT_CHERRYGROVE
|
|
|
|
const ENGINE_FLYPOINT_VIOLET
|
|
|
|
const ENGINE_FLYPOINT_AZALEA
|
|
|
|
const ENGINE_FLYPOINT_CIANWOOD
|
|
|
|
const ENGINE_FLYPOINT_GOLDENROD
|
|
|
|
const ENGINE_FLYPOINT_OLIVINE
|
|
|
|
const ENGINE_FLYPOINT_ECRUTEAK
|
|
|
|
const ENGINE_FLYPOINT_MAHOGANY
|
|
|
|
const ENGINE_FLYPOINT_LAKE_OF_RAGE
|
|
|
|
const ENGINE_FLYPOINT_BLACKTHORN
|
|
|
|
const ENGINE_FLYPOINT_SILVER_CAVE
|
|
|
|
const ENGINE_FLYPOINT_UNUSED
|
2017-12-09 05:50:59 +00:00
|
|
|
; wLuckyNumberShowFlag
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_LUCKY_NUMBER_SHOW
|
2017-12-28 12:15:46 +00:00
|
|
|
; wStatusFlags2
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_4F
|
2018-08-06 17:43:54 +00:00
|
|
|
; wDailyFlags1
|
2020-06-13 22:48:26 +00:00
|
|
|
const ENGINE_KURT_MAKING_BALLS
|
2015-07-15 19:48:44 +00:00
|
|
|
const ENGINE_DAILY_BUG_CONTEST
|
2022-02-22 14:47:05 +00:00
|
|
|
const ENGINE_QWILFISH_SWARM
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_TIME_CAPSULE
|
|
|
|
const ENGINE_ALL_FRUIT_TREES
|
2018-01-22 20:59:24 +00:00
|
|
|
const ENGINE_GOT_SHUCKIE_TODAY
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
|
|
|
|
const ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
|
2018-08-06 17:43:54 +00:00
|
|
|
; wDailyFlags2
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_MT_MOON_SQUARE_CLEFAIRY
|
|
|
|
const ENGINE_UNION_CAVE_LAPRAS
|
|
|
|
const ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
2018-01-22 20:59:24 +00:00
|
|
|
const ENGINE_GOLDENROD_DEPT_STORE_TM27_RETURN
|
|
|
|
const ENGINE_DAISYS_GROOMING
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
|
2015-07-18 19:46:38 +00:00
|
|
|
const ENGINE_DAILY_MOVE_TUTOR
|
2015-07-20 07:51:52 +00:00
|
|
|
const ENGINE_BUENAS_PASSWORD
|
2017-12-28 12:15:46 +00:00
|
|
|
; wSwarmFlags
|
2020-06-13 22:48:26 +00:00
|
|
|
const ENGINE_BUENAS_PASSWORD_2
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
2020-10-28 17:35:39 +00:00
|
|
|
; wGameTimerPaused
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_62
|
2017-12-28 12:15:46 +00:00
|
|
|
; wPlayerGender
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_PLAYER_IS_FEMALE
|
2017-12-09 05:50:59 +00:00
|
|
|
; wCelebiEvent
|
2018-01-22 19:34:55 +00:00
|
|
|
const ENGINE_FOREST_IS_RESTLESS
|
2017-12-09 05:50:59 +00:00
|
|
|
; wDailyRematchFlags
|
2020-06-16 18:11:49 +00:00
|
|
|
const ENGINE_JACK_READY_FOR_REMATCH
|
|
|
|
const ENGINE_HUEY_READY_FOR_REMATCH
|
|
|
|
const ENGINE_GAVEN_READY_FOR_REMATCH
|
|
|
|
const ENGINE_BETH_READY_FOR_REMATCH
|
|
|
|
const ENGINE_JOSE_READY_FOR_REMATCH
|
|
|
|
const ENGINE_REENA_READY_FOR_REMATCH
|
|
|
|
const ENGINE_JOEY_READY_FOR_REMATCH
|
|
|
|
const ENGINE_WADE_READY_FOR_REMATCH
|
|
|
|
const ENGINE_RALPH_READY_FOR_REMATCH
|
|
|
|
const ENGINE_LIZ_READY_FOR_REMATCH
|
|
|
|
const ENGINE_ANTHONY_READY_FOR_REMATCH
|
|
|
|
const ENGINE_TODD_READY_FOR_REMATCH
|
|
|
|
const ENGINE_GINA_READY_FOR_REMATCH
|
|
|
|
const ENGINE_ARNIE_READY_FOR_REMATCH
|
|
|
|
const ENGINE_ALAN_READY_FOR_REMATCH
|
|
|
|
const ENGINE_DANA_READY_FOR_REMATCH
|
|
|
|
const ENGINE_CHAD_READY_FOR_REMATCH
|
|
|
|
const ENGINE_TULLY_READY_FOR_REMATCH
|
|
|
|
const ENGINE_BRENT_READY_FOR_REMATCH
|
|
|
|
const ENGINE_TIFFANY_READY_FOR_REMATCH
|
|
|
|
const ENGINE_VANCE_READY_FOR_REMATCH
|
|
|
|
const ENGINE_WILTON_READY_FOR_REMATCH
|
|
|
|
const ENGINE_PARRY_READY_FOR_REMATCH
|
|
|
|
const ENGINE_ERIN_READY_FOR_REMATCH
|
2017-12-09 05:50:59 +00:00
|
|
|
; wDailyPhoneItemFlags
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_BEVERLY_HAS_NUGGET
|
|
|
|
const ENGINE_JOSE_HAS_STAR_PIECE
|
|
|
|
const ENGINE_WADE_HAS_ITEM
|
2020-06-13 22:48:26 +00:00
|
|
|
const ENGINE_GINA_HAS_LEAF_STONE
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_ALAN_HAS_FIRE_STONE
|
2015-07-20 07:51:52 +00:00
|
|
|
const ENGINE_DANA_HAS_THUNDERSTONE
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_DEREK_HAS_NUGGET
|
|
|
|
const ENGINE_TULLY_HAS_WATER_STONE
|
|
|
|
const ENGINE_TIFFANY_HAS_PINK_BOW
|
|
|
|
const ENGINE_WILTON_HAS_ITEM
|
2017-12-09 05:50:59 +00:00
|
|
|
; wDailyPhoneTimeOfDayFlags
|
2015-07-20 07:51:52 +00:00
|
|
|
const ENGINE_JACK_MONDAY_MORNING
|
|
|
|
const ENGINE_HUEY_WEDNESDAY_NIGHT
|
|
|
|
const ENGINE_GAVEN_THURSDAY_MORNING
|
|
|
|
const ENGINE_BETH_FRIDAY_AFTERNOON
|
|
|
|
const ENGINE_JOSE_SATURDAY_NIGHT
|
|
|
|
const ENGINE_REENA_SUNDAY_MORNING
|
|
|
|
const ENGINE_JOEY_MONDAY_AFTERNOON
|
|
|
|
const ENGINE_WADE_TUESDAY_NIGHT
|
|
|
|
const ENGINE_RALPH_WEDNESDAY_MORNING
|
2020-06-13 22:48:26 +00:00
|
|
|
const ENGINE_LIZ_THURSDAY_AFTERNOON
|
2015-07-20 07:51:52 +00:00
|
|
|
const ENGINE_ANTHONY_FRIDAY_NIGHT
|
|
|
|
const ENGINE_TODD_SATURDAY_MORNING
|
|
|
|
const ENGINE_GINA_SUNDAY_AFTERNOON
|
|
|
|
const ENGINE_ARNIE_TUESDAY_MORNING
|
|
|
|
const ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
|
|
|
const ENGINE_DANA_THURSDAY_NIGHT
|
|
|
|
const ENGINE_CHAD_FRIDAY_MORNING
|
|
|
|
const ENGINE_TULLY_SUNDAY_NIGHT
|
|
|
|
const ENGINE_BRENT_MONDAY_MORNING
|
|
|
|
const ENGINE_TIFFANY_TUESDAY_AFTERNOON
|
|
|
|
const ENGINE_VANCE_WEDNESDAY_NIGHT
|
2017-12-14 03:41:15 +00:00
|
|
|
const ENGINE_WILTON_THURSDAY_MORNING
|
2015-07-20 07:51:52 +00:00
|
|
|
const ENGINE_PARRY_FRIDAY_AFTERNOON
|
|
|
|
const ENGINE_ERIN_SATURDAY_NIGHT
|
2017-12-09 05:50:59 +00:00
|
|
|
; wPlayerSpriteSetupFlags
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_KRIS_IN_CABLE_CLUB
|
2017-12-28 12:15:46 +00:00
|
|
|
; wSwarmFlags
|
2020-06-13 22:48:26 +00:00
|
|
|
const ENGINE_DUNSPARCE_SWARM
|
2015-07-12 06:00:17 +00:00
|
|
|
const ENGINE_YANMA_SWARM
|
2022-06-06 21:25:42 +00:00
|
|
|
DEF NUM_ENGINE_FLAGS EQU const_value
|