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

14 lines
307 B
C++

SkyPillar_3F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_3F_OnTransition
.byte 0
SkyPillar_3F_OnTransition:
compare VAR_SKY_PILLAR_STATE, 2
call_if_lt SkyPillar_3F_EventScript_CleanFloor
end
SkyPillar_3F_EventScript_CleanFloor::
setmaplayoutindex LAYOUT_SKY_PILLAR_3F_CLEAN
return