pokeemerald/data/maps/SkyPillar_5F/scripts.inc

13 lines
302 B
C++

SkyPillar_5F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_5F_OnTransition
.byte 0
SkyPillar_5F_OnTransition:
call_if_lt VAR_SKY_PILLAR_STATE, 2, SkyPillar_5F_EventScript_CleanFloor
return
SkyPillar_5F_EventScript_CleanFloor::
setmaplayoutindex LAYOUT_SKY_PILLAR_5F_CLEAN
return