sovereignx/data/maps/SkyPillar_4F/scripts.inc

22 lines
565 B
PHP
Raw Normal View History

2021-07-20 20:18:31 +01:00
SkyPillar_4F_MapScripts::
2019-10-13 20:29:53 +01:00
map_script MAP_SCRIPT_ON_FRAME_TABLE, CaveHole_CheckFallDownHole
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_4F_OnTransition
2019-10-13 20:29:53 +01:00
map_script MAP_SCRIPT_ON_RESUME, SkyPillar_4F_SetHoleWarp
2017-11-10 01:21:31 +00:00
.byte 0
2021-07-20 20:18:31 +01:00
SkyPillar_4F_OnTransition:
compare VAR_SKY_PILLAR_STATE, 2
2019-04-16 15:40:32 +01:00
call_if_lt SkyPillar_4F_EventScript_CleanFloor
2019-10-06 19:16:37 +01:00
copyvar VAR_ICE_STEP_COUNT, 1
2017-11-10 01:21:31 +00:00
end
2021-07-20 20:18:31 +01:00
SkyPillar_4F_EventScript_CleanFloor::
setmaplayoutindex LAYOUT_SKY_PILLAR_4F_CLEAN
2017-11-10 01:21:31 +00:00
return
2021-07-20 20:18:31 +01:00
SkyPillar_4F_SetHoleWarp:
setstepcallback STEP_CB_CRACKED_FLOOR
setholewarp MAP_SKY_PILLAR_3F
2017-11-10 01:21:31 +00:00
end