2018-02-01 18:08:30 +00:00
|
|
|
; See data/maps/scenes.asm for which maps have scene variables.
|
2018-02-01 20:06:06 +00:00
|
|
|
; Each scene_script and coord_event is associated with a current scene ID.
|
2018-02-01 18:08:30 +00:00
|
|
|
|
2018-02-01 20:06:06 +00:00
|
|
|
; Scene variables default to 0.
|
2022-06-06 21:25:42 +00:00
|
|
|
DEF SCENE_DEFAULT EQU 0
|
2018-02-01 20:06:06 +00:00
|
|
|
; Often a map will have a one-time default event for scene 0, and switch to a
|
|
|
|
; do-nothing scene 1 when the event finishes.
|
2022-06-06 21:25:42 +00:00
|
|
|
DEF SCENE_FINISHED EQU 1
|
2021-03-02 02:11:58 +00:00
|
|
|
; A coord_event for scene -1 will always activate, regardless of the map's
|
|
|
|
; scene variable value.
|
2022-06-06 21:25:42 +00:00
|
|
|
DEF SCENE_ALWAYS EQU -1
|
2018-02-01 17:40:58 +00:00
|
|
|
|
2018-02-01 04:16:51 +00:00
|
|
|
; wPokecenter2FSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_POKECENTER2F_LEAVE_TRADE_CENTER ; 1
|
|
|
|
const SCENE_POKECENTER2F_LEAVE_COLOSSEUM ; 2
|
|
|
|
const SCENE_POKECENTER2F_LEAVE_TIME_CAPSULE ; 3
|
|
|
|
const SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM ; 4
|
|
|
|
const SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM ; 5
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wPowerPlantSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_POWERPLANT_NOTHING ; 0
|
|
|
|
const SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wCeruleanGymSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_CERULEANGYM_NOTHING ; 0
|
|
|
|
const SCENE_CERULEANGYM_GRUNT_RUNS_OUT ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRoute25SceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_ROUTE25_NOTHING ; 0
|
|
|
|
const SCENE_ROUTE25_MISTYS_DATE ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wLancesRoomSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_LANCESROOM_APPROACH_LANCE ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wElmsLabSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_ELMSLAB_CANT_LEAVE ; 1
|
|
|
|
const SCENE_ELMSLAB_NOTHING ; 2
|
|
|
|
const SCENE_ELMSLAB_MEET_OFFICER ; 3
|
|
|
|
const SCENE_ELMSLAB_UNUSED ; 4
|
|
|
|
const SCENE_ELMSLAB_AIDE_GIVES_POTION ; 5
|
|
|
|
const SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS ; 6
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRoute29SceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_ROUTE29_NOTHING ; 0
|
|
|
|
const SCENE_ROUTE29_CATCH_TUTORIAL ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wCherrygroveCitySceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_CHERRYGROVECITY_NOTHING ; 0
|
|
|
|
const SCENE_CHERRYGROVECITY_MEET_RIVAL ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRoute32SceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_ROUTE32_OFFER_SLOWPOKETAIL ; 1
|
|
|
|
const SCENE_ROUTE32_NOTHING ; 2
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRoute35NationalParkGateSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_ROUTE35NATIONALPARKGATE_NOTHING ; 0
|
|
|
|
const SCENE_ROUTE35NATIONALPARKGATE_UNUSED ; 1
|
|
|
|
const SCENE_ROUTE35NATIONALPARKGATE_LEAVE_CONTEST_EARLY ; 2
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRoute36SceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_ROUTE36_NOTHING ; 0
|
|
|
|
const SCENE_ROUTE36_SUICUNE ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRoute36NationalParkGateSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_ROUTE36NATIONALPARKGATE_NOTHING ; 0
|
|
|
|
const SCENE_ROUTE36NATIONALPARKGATE_UNUSED ; 1
|
|
|
|
const SCENE_ROUTE36NATIONALPARKGATE_LEAVE_CONTEST_EARLY ; 2
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wAzaleaTownSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_AZALEATOWN_NOTHING ; 0
|
|
|
|
const SCENE_AZALEATOWN_RIVAL_BATTLE ; 1
|
|
|
|
const SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL ; 2
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wGoldenrodGymSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_GOLDENRODGYM_NOTHING ; 0
|
|
|
|
const SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRoute42SceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_ROUTE42_NOTHING ; 0
|
|
|
|
const SCENE_ROUTE42_SUICUNE ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wCianwoodCitySceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_CIANWOODCITY_NOTHING ; 0
|
|
|
|
const SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wBurnedTower1FSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_BURNEDTOWER1F_RIVAL_BATTLE ; 1
|
|
|
|
const SCENE_BURNEDTOWER1F_NOTHING ; 2
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRadioTower5FSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_RADIOTOWER5F_ROCKET_BOSS ; 1
|
|
|
|
const SCENE_RADIOTOWER5F_NOTHING ; 2
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRuinsOfAlphOutsideSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_RUINSOFALPHOUTSIDE_NOTHING ; 0
|
|
|
|
const SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRuinsOfAlphResearchCenterSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_RUINSOFALPHRESEARCHCENTER_NOTHING ; 0
|
|
|
|
const SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wRuinsOfAlphInnerChamberSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_RUINSOFALPHINNERCHAMBER_NOTHING ; 0
|
|
|
|
const SCENE_RUINSOFALPHINNERCHAMBER_STRANGE_PRESENCE ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wMahoganyMart1FSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_MAHOGANYMART1F_NOTHING ; 0
|
|
|
|
const SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wTeamRocketBaseB2FSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS ; 1
|
|
|
|
const SCENE_TEAMROCKETBASEB2F_ELECTRODES ; 2
|
|
|
|
const SCENE_TEAMROCKETBASEB2F_NOTHING ; 3
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wTeamRocketBaseB3FSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER ; 1
|
|
|
|
const SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS ; 2
|
|
|
|
const SCENE_TEAMROCKETBASEB3F_NOTHING ; 3
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wDragonsDenB1FSceneID
|
|
|
|
const_def
|
2018-02-01 17:40:58 +00:00
|
|
|
const SCENE_DRAGONSDENB1F_NOTHING ; 0
|
|
|
|
const SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wOlivinePortSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_OLIVINEPORT_LEAVE_SHIP ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wVermilionPortSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_VERMILIONPORT_LEAVE_SHIP ; 1
|
2018-02-01 04:16:51 +00:00
|
|
|
|
|
|
|
; wFastShip1FSceneID
|
2018-02-01 17:40:58 +00:00
|
|
|
const_def 1
|
|
|
|
const SCENE_FASTSHIP1F_ENTER_SHIP ; 1
|
|
|
|
const SCENE_FASTSHIP1F_MEET_GRANDPA ; 2
|