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

14 lines
307 B
C++

SkyPillar_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_1F_OnTransition
.byte 0
SkyPillar_1F_OnTransition:
compare VAR_SKY_PILLAR_STATE, 2
call_if_lt SkyPillar_1F_EventScript_CleanFloor
end
SkyPillar_1F_EventScript_CleanFloor::
setmaplayoutindex LAYOUT_SKY_PILLAR_1F_CLEAN
return