pokeemerald/data/maps/SkyPillar_2F/scripts.inc

22 lines
616 B
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
SkyPillar_2F_MapScripts:: @ 823962B
2019-10-13 21:29:53 +02:00
map_script MAP_SCRIPT_ON_FRAME_TABLE, CaveHole_CheckFallDownHole
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_2F_OnTransition
2019-10-13 21:29:53 +02:00
map_script MAP_SCRIPT_ON_RESUME, SkyPillar_2F_SetHoleWarp
2017-11-10 02:21:31 +01:00
.byte 0
SkyPillar_2F_OnTransition: @ 823963B
compare VAR_SKY_PILLAR_STATE, 2
2019-04-16 16:40:32 +02:00
call_if_lt SkyPillar_2F_EventScript_CleanFloor
2019-10-06 20:16:37 +02:00
copyvar VAR_ICE_STEP_COUNT, 1
2017-11-10 02:21:31 +01:00
end
2019-04-16 16:40:32 +02:00
SkyPillar_2F_EventScript_CleanFloor:: @ 823964C
setmaplayoutindex LAYOUT_SKY_PILLAR_2F_CLEAN
2017-11-10 02:21:31 +01:00
return
2019-10-13 21:29:53 +02:00
SkyPillar_2F_SetHoleWarp: @ 8239650
setstepcallback STEP_CB_CRACKED_FLOOR
setholewarp MAP_SKY_PILLAR_1F, 255, 0, 0
2017-11-10 02:21:31 +01:00
end