2021-07-20 21:18:31 +02:00
|
|
|
SkyPillar_4F_MapScripts::
|
2019-10-13 21:29:53 +02:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, CaveHole_CheckFallDownHole
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_4F_OnTransition
|
2019-10-13 21:29:53 +02:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, SkyPillar_4F_SetHoleWarp
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SkyPillar_4F_OnTransition:
|
2019-02-28 02:25:09 +01:00
|
|
|
compare VAR_SKY_PILLAR_STATE, 2
|
2019-04-16 16:40:32 +02:00
|
|
|
call_if_lt SkyPillar_4F_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
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SkyPillar_4F_EventScript_CleanFloor::
|
2019-02-09 16:57:30 +01:00
|
|
|
setmaplayoutindex LAYOUT_SKY_PILLAR_4F_CLEAN
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SkyPillar_4F_SetHoleWarp:
|
2019-10-15 10:58:52 +02:00
|
|
|
setstepcallback STEP_CB_CRACKED_FLOOR
|
2018-06-15 05:00:09 +02:00
|
|
|
setholewarp MAP_SKY_PILLAR_3F, 255, 0, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|