1
0
mirror of https://github.com/Ninjdai1/pokeemerald.git synced 2025-01-24 12:20:18 +01:00
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