tumbledemerald-legacy/data/maps/SkyPillar_3F/scripts.inc
2022-05-19 17:14:13 +00:00

13 lines
299 B
C++

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