pokeemerald/data/maps/SkyPillar_5F/scripts.inc
2021-07-20 15:18:31 -04:00

14 lines
310 B
C++

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