2021-07-20 15:18:31 -04:00
|
|
|
PokemonLeague_EliteFour_SetAdvanceToNextRoomMetatiles::
|
2019-11-20 23:12:51 -05:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_Delay32
|
2019-10-05 10:52:48 -04:00
|
|
|
waitmovement 0
|
|
|
|
playse SE_DOOR
|
|
|
|
setmetatile 6, 1, METATILE_EliteFour_OpenDoor_Frame, 0
|
|
|
|
setmetatile 6, 2, METATILE_EliteFour_OpenDoor_Opening, 0
|
|
|
|
setmetatile 0, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 1, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
setmetatile 2, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 3, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
setmetatile 4, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 8, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
setmetatile 9, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 10, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
setmetatile 11, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 12, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
special DrawWholeMapView
|
|
|
|
return
|
2019-09-28 02:37:01 -04:00
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
PokemonLeague_EliteFour_EventScript_WalkInCloseDoor::
|
2019-11-20 23:12:51 -05:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkUp6
|
2019-10-05 10:52:48 -04:00
|
|
|
waitmovement 0
|
2020-08-20 18:02:00 -04:00
|
|
|
playse SE_TRUCK_DOOR
|
2019-10-05 10:52:48 -04:00
|
|
|
setmetatile 5, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 6, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 7, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 5, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
setmetatile 6, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
setmetatile 7, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
special DrawWholeMapView
|
|
|
|
return
|
2019-09-28 02:37:01 -04:00
|
|
|
|
2019-10-08 02:25:31 -04:00
|
|
|
@ Essentially unused, only necessary when re-entering an Elite Four room after defeating the member, which isnt normally possible
|
2021-07-20 15:18:31 -04:00
|
|
|
PokemonLeague_EliteFour_EventScript_ResetAdvanceToNextRoom::
|
2019-10-05 10:52:48 -04:00
|
|
|
setmetatile 6, 1, METATILE_EliteFour_OpenDoor_Frame, 0
|
|
|
|
setmetatile 6, 2, METATILE_EliteFour_OpenDoor_Opening, 0
|
|
|
|
setmetatile 5, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 6, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 7, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 5, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
setmetatile 6, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
setmetatile 7, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
setmetatile 0, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 1, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
setmetatile 2, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 3, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
setmetatile 4, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 8, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
setmetatile 9, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 10, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
setmetatile 11, 2, METATILE_EliteFour_RightSpotlightOff, 1
|
|
|
|
setmetatile 12, 2, METATILE_EliteFour_LeftSpotlightOff, 1
|
|
|
|
return
|
2019-09-28 02:37:01 -04:00
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
PokemonLeague_EliteFour_EventScript_CloseDoor::
|
2019-10-05 10:52:48 -04:00
|
|
|
setmetatile 5, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 6, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 7, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1
|
|
|
|
setmetatile 5, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
setmetatile 6, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
setmetatile 7, 13, METATILE_EliteFour_EntryDoor_ClosedBottom, 1
|
|
|
|
return
|