2021-07-20 15:18:31 -04:00
|
|
|
SkyPillar_4F_MapScripts::
|
2019-10-13 15:29:53 -04:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, CaveHole_CheckFallDownHole
|
2019-04-22 16:31:51 -04:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_4F_OnTransition
|
2019-10-13 15:29:53 -04:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, SkyPillar_4F_SetHoleWarp
|
2017-11-09 19:21:31 -06:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
SkyPillar_4F_OnTransition:
|
2021-11-18 23:06:30 -05:00
|
|
|
call_if_lt VAR_SKY_PILLAR_STATE, 2, SkyPillar_4F_EventScript_CleanFloor
|
2019-10-06 14:16:37 -04:00
|
|
|
copyvar VAR_ICE_STEP_COUNT, 1
|
2017-11-09 19:21:31 -06:00
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
SkyPillar_4F_EventScript_CleanFloor::
|
2019-02-09 09:57:30 -06:00
|
|
|
setmaplayoutindex LAYOUT_SKY_PILLAR_4F_CLEAN
|
2017-11-09 19:21:31 -06:00
|
|
|
return
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
SkyPillar_4F_SetHoleWarp:
|
2019-10-15 04:58:52 -04:00
|
|
|
setstepcallback STEP_CB_CRACKED_FLOOR
|
2021-11-15 12:04:54 -05:00
|
|
|
setholewarp MAP_SKY_PILLAR_3F
|
2017-11-09 19:21:31 -06:00
|
|
|
end
|
|
|
|
|