2017-12-11 18:47:58 +00:00
|
|
|
engine_flag: MACRO
|
2018-01-22 18:00:35 +00:00
|
|
|
; location, bit
|
|
|
|
; (all locations are in WRAM bank 1)
|
|
|
|
dwb \1 + (\2 / 8), 1 << (\2 % 8)
|
2017-12-11 18:47:58 +00:00
|
|
|
ENDM
|
|
|
|
|
2017-12-12 03:44:25 +00:00
|
|
|
EngineFlags: ; 80462
|
2018-01-22 18:00:35 +00:00
|
|
|
; entries correspond to ENGINE_* constants
|
2017-12-11 18:47:58 +00:00
|
|
|
|
|
|
|
; pokegear
|
2018-01-22 17:03:18 +00:00
|
|
|
engine_flag wPokegearFlags, POKEGEAR_RADIO_CARD_F ; $0
|
|
|
|
engine_flag wPokegearFlags, POKEGEAR_MAP_CARD_F
|
|
|
|
engine_flag wPokegearFlags, POKEGEAR_PHONE_CARD_F
|
|
|
|
engine_flag wPokegearFlags, POKEGEAR_EXPN_CARD_F
|
|
|
|
engine_flag wPokegearFlags, POKEGEAR_OBTAINED_F
|
2017-12-11 18:47:58 +00:00
|
|
|
|
|
|
|
; wDayCareMan, 7 ; day-care 1 on
|
|
|
|
engine_flag wDayCareMan, 6 ; egg is ready
|
|
|
|
; wDayCareMan, 5 ; monster 1 and 2 are compatible
|
|
|
|
engine_flag wDayCareMan, 0 ; monster 1 in day-care
|
|
|
|
|
|
|
|
; wDayCareLady, 7 = day-care 2 on
|
|
|
|
engine_flag wDayCareLady, 0 ; monster 2 in day-care
|
|
|
|
|
|
|
|
engine_flag wMomSavingMoney, 0 ; mom saving money ; $8
|
|
|
|
engine_flag wMomSavingMoney, 7 ; dst
|
|
|
|
|
|
|
|
engine_flag wUnusedTwoDayTimerOn, 0 ; unused, possibly related to a 2-day timer
|
|
|
|
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wStatusFlags, 0 ; pokedex
|
|
|
|
engine_flag wStatusFlags, 1 ; unown dex
|
|
|
|
engine_flag wStatusFlags, 3 ; pokerus
|
|
|
|
engine_flag wStatusFlags, 4 ; rocket signal on ch20
|
|
|
|
engine_flag wStatusFlags, 6 ; credits skip
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wStatusFlags, 7 ; bug contest on ; $10
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wStatusFlags2, 2 ; bug contest timer
|
|
|
|
engine_flag wStatusFlags2, 1 ; safari zone?
|
|
|
|
engine_flag wStatusFlags2, 0 ; rockets in radio tower
|
|
|
|
engine_flag wStatusFlags2, 4 ; bike shop call enabled (1024 bike steps reqd)
|
|
|
|
engine_flag wStatusFlags2, 5 ; give pokerus
|
|
|
|
engine_flag wStatusFlags2, 6 ; berry -> berry juice when trading?
|
|
|
|
engine_flag wStatusFlags2, 7 ; rockets in mahogany
|
|
|
|
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wBikeFlags, 0 ; strength active ; $18
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wBikeFlags, 1 ; always on bike (cant surf)
|
|
|
|
engine_flag wBikeFlags, 2 ; downhill (cycling road)
|
|
|
|
|
2018-01-22 17:03:18 +00:00
|
|
|
engine_flag wJohtoBadges, ZEPHYRBADGE
|
|
|
|
engine_flag wJohtoBadges, HIVEBADGE
|
|
|
|
engine_flag wJohtoBadges, PLAINBADGE
|
|
|
|
engine_flag wJohtoBadges, FOGBADGE
|
|
|
|
engine_flag wJohtoBadges, MINERALBADGE
|
|
|
|
engine_flag wJohtoBadges, STORMBADGE ; $20
|
|
|
|
engine_flag wJohtoBadges, GLACIERBADGE
|
|
|
|
engine_flag wJohtoBadges, RISINGBADGE
|
2017-12-28 12:15:46 +00:00
|
|
|
|
2018-01-22 17:03:18 +00:00
|
|
|
engine_flag wKantoBadges, BOULDERBADGE
|
|
|
|
engine_flag wKantoBadges, CASCADEBADGE
|
|
|
|
engine_flag wKantoBadges, THUNDERBADGE
|
|
|
|
engine_flag wKantoBadges, RAINBOWBADGE
|
|
|
|
engine_flag wKantoBadges, SOULBADGE
|
|
|
|
engine_flag wKantoBadges, MARSHBADGE ; $28
|
|
|
|
engine_flag wKantoBadges, VOLCANOBADGE
|
|
|
|
engine_flag wKantoBadges, EARTHBADGE
|
2017-12-11 18:47:58 +00:00
|
|
|
|
|
|
|
; unown sets
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wUnlockedUnowns, 0 ; A-K
|
|
|
|
engine_flag wUnlockedUnowns, 1 ; L-R
|
|
|
|
engine_flag wUnlockedUnowns, 2 ; S-W
|
|
|
|
engine_flag wUnlockedUnowns, 3 ; X-Z
|
|
|
|
engine_flag wUnlockedUnowns, 4 ; unused 5
|
|
|
|
engine_flag wUnlockedUnowns, 5 ; unused 6 ; $30
|
|
|
|
engine_flag wUnlockedUnowns, 6 ; unused 7
|
|
|
|
engine_flag wUnlockedUnowns, 7 ; unused 8
|
2017-12-11 18:47:58 +00:00
|
|
|
|
|
|
|
; fly
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wVisitedSpawns, SPAWN_HOME
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_DEBUG
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_PALLET
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_VIRIDIAN
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_PEWTER
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_CERULEAN ; $38
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_ROCK_TUNNEL
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_VERMILION
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_LAVENDER
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_SAFFRON
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_CELADON
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_FUCHSIA
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_CINNABAR
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_INDIGO ; $40
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_NEW_BARK
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_CHERRYGROVE
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_VIOLET
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_AZALEA
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_CIANWOOD
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_GOLDENROD
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_OLIVINE
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_ECRUTEAK ; $48
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_MAHOGANY
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_LAKE_OF_RAGE
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_BLACKTHORN
|
|
|
|
engine_flag wVisitedSpawns, SPAWN_MT_SILVER
|
|
|
|
engine_flag wVisitedSpawns, NUM_SPAWNS ; unused
|
2017-12-11 18:47:58 +00:00
|
|
|
|
|
|
|
engine_flag wLuckyNumberShowFlag, 0 ; lucky number show
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wStatusFlags2, 3 ; ????
|
2017-12-11 18:47:58 +00:00
|
|
|
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wDailyFlags, 0 ; kurt making balls ; $50
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wDailyFlags, 1 ; ????
|
|
|
|
engine_flag wDailyFlags, 2 ; special wilddata?
|
|
|
|
engine_flag wDailyFlags, 3 ; time capsule (24h wait)
|
|
|
|
engine_flag wDailyFlags, 4 ; all fruit trees
|
|
|
|
engine_flag wDailyFlags, 5 ; shuckle given
|
|
|
|
engine_flag wDailyFlags, 6 ; goldenrod underground merchant closed
|
|
|
|
engine_flag wDailyFlags, 7 ; fought in trainer hall today
|
2017-12-11 18:47:58 +00:00
|
|
|
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wWeeklyFlags, 0 ; mt moon square clefairy ; $58
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wWeeklyFlags, 1 ; union cave lapras
|
|
|
|
engine_flag wWeeklyFlags, 2 ; goldenrod underground haircut used
|
|
|
|
engine_flag wWeeklyFlags, 3 ; goldenrod mall happiness event floor05 object07
|
|
|
|
engine_flag wWeeklyFlags, 4 ; tea in blues house
|
|
|
|
engine_flag wWeeklyFlags, 5 ; indigo plateau rival fight
|
|
|
|
engine_flag wWeeklyFlags, 6 ; move tutor
|
|
|
|
engine_flag wWeeklyFlags, 7 ; buenas password
|
2017-12-11 18:47:58 +00:00
|
|
|
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wSwarmFlags, 0 ; buenas password 2
|
|
|
|
engine_flag wSwarmFlags, 1 ; goldenrod dept store sale is on
|
2017-12-11 18:47:58 +00:00
|
|
|
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wGameTimerPause, 7 ; $62
|
2017-12-11 18:47:58 +00:00
|
|
|
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wPlayerGender, 0 ; player is female
|
2017-12-11 18:47:58 +00:00
|
|
|
|
|
|
|
engine_flag wCelebiEvent, 2 ; have gs ball after kurt examined it
|
|
|
|
|
|
|
|
; rematches
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wDailyRematchFlags, 0 ; jack
|
|
|
|
engine_flag wDailyRematchFlags, 1 ; huey
|
|
|
|
engine_flag wDailyRematchFlags, 2 ; gaven
|
|
|
|
engine_flag wDailyRematchFlags, 3 ; beth ; $68
|
|
|
|
engine_flag wDailyRematchFlags, 4 ; jose
|
|
|
|
engine_flag wDailyRematchFlags, 5 ; reena
|
|
|
|
engine_flag wDailyRematchFlags, 6 ; joey
|
|
|
|
engine_flag wDailyRematchFlags, 7 ; wade
|
|
|
|
engine_flag wDailyRematchFlags, 8 ; ralph
|
|
|
|
engine_flag wDailyRematchFlags, 9 ; liz
|
|
|
|
engine_flag wDailyRematchFlags, 10 ; anthony
|
|
|
|
engine_flag wDailyRematchFlags, 11 ; todd ; $70
|
|
|
|
engine_flag wDailyRematchFlags, 12 ; gina
|
|
|
|
engine_flag wDailyRematchFlags, 13 ; arnie
|
|
|
|
engine_flag wDailyRematchFlags, 14 ; alan
|
|
|
|
engine_flag wDailyRematchFlags, 15 ; dana
|
|
|
|
engine_flag wDailyRematchFlags, 16 ; chad
|
|
|
|
engine_flag wDailyRematchFlags, 17 ; tully
|
|
|
|
engine_flag wDailyRematchFlags, 18 ; brent
|
|
|
|
engine_flag wDailyRematchFlags, 19 ; tiffany ; $78
|
|
|
|
engine_flag wDailyRematchFlags, 20 ; vance
|
|
|
|
engine_flag wDailyRematchFlags, 21 ; wilton
|
|
|
|
engine_flag wDailyRematchFlags, 22 ; parry
|
|
|
|
engine_flag wDailyRematchFlags, 23 ; erin
|
2017-12-11 18:47:58 +00:00
|
|
|
|
|
|
|
engine_flag wDailyPhoneItemFlags, 0 ; beverly has nugget
|
|
|
|
engine_flag wDailyPhoneItemFlags, 1 ; jose has star piece
|
|
|
|
engine_flag wDailyPhoneItemFlags, 2 ; wade has item (see EVENT_WADE_HAS_*** in constants/event_flags.asm)
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wDailyPhoneItemFlags, 3 ; gina has leaf stone ; $80
|
2017-12-11 18:47:58 +00:00
|
|
|
engine_flag wDailyPhoneItemFlags, 4 ; alan has fire stone
|
|
|
|
engine_flag wDailyPhoneItemFlags, 5 ; liz has thunderstone
|
|
|
|
engine_flag wDailyPhoneItemFlags, 6 ; derek has nugget
|
|
|
|
engine_flag wDailyPhoneItemFlags, 7 ; tully has water stone
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wDailyPhoneItemFlags, 8 ; tiffany has pink bow
|
|
|
|
engine_flag wDailyPhoneItemFlags, 9 ; wilton has item (see EVENT_WILTON_HAS_*** in constants/event_flags.asm)
|
|
|
|
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 0 ; jack
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 1 ; huey ; $88
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 2 ; gaven
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 3 ; beth
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 4 ; jose
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 5 ; reena
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 6 ; joey
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 7 ; wade
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 8 ; ralph
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 9 ; liz ; $90
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 10 ; anthony
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 11 ; todd
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 12 ; gina
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 13 ; arnie
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 14 ; alan
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 15 ; dana
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 16 ; chad
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 17 ; tully ; $98
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 18 ; brent
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 19 ; tiffany
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 20 ; vance
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 21 ; wilton
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 22 ; parry
|
|
|
|
engine_flag wDailyPhoneTimeOfDayFlags, 23 ; erin
|
2017-12-11 18:47:58 +00:00
|
|
|
|
|
|
|
engine_flag wPlayerSpriteSetupFlags, 2 ; female player has been transformed into male
|
|
|
|
|
2018-01-22 18:00:35 +00:00
|
|
|
engine_flag wSwarmFlags, 2 ; dunsparce swarm ; $a0
|
2017-12-28 12:15:46 +00:00
|
|
|
engine_flag wSwarmFlags, 3 ; yanma swarm
|
2017-12-12 03:44:25 +00:00
|
|
|
|
|
|
|
; 80648
|