pokeemerald/data/maps/SkyPillar_4F/scripts.inc
2019-02-27 20:25:09 -05:00

22 lines
616 B
PHP

SkyPillar_4F_MapScripts:: @ 8239671
map_script MAP_SCRIPT_ON_FRAME_TABLE, SkyPillar_4F_MapScript2_2A8327
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_4F_MapScript1_239681
map_script MAP_SCRIPT_ON_RESUME, SkyPillar_4F_MapScript1_239696
.byte 0
SkyPillar_4F_MapScript1_239681: @ 8239681
compare VAR_SKY_PILLAR_STATE, 2
call_if_lt SkyPillar_4F_EventScript_239692
copyvar VAR_ICE_STEP_COUNT, 0x1
end
SkyPillar_4F_EventScript_239692:: @ 8239692
setmaplayoutindex LAYOUT_SKY_PILLAR_4F_CLEAN
return
SkyPillar_4F_MapScript1_239696: @ 8239696
setstepcallback 7
setholewarp MAP_SKY_PILLAR_3F, 255, 0, 0
end