2021-07-20 20:18:31 +01:00
|
|
|
CaveHole_CheckFallDownHole:
|
2019-10-05 15:52:48 +01:00
|
|
|
map_script_2 VAR_ICE_STEP_COUNT, 0, EventScript_FallDownHole
|
|
|
|
.2byte 0
|
2019-09-28 07:37:01 +01:00
|
|
|
|
2021-07-20 20:18:31 +01:00
|
|
|
CaveHole_FixCrackedGround:
|
2019-10-06 19:16:37 +01:00
|
|
|
copyvar VAR_ICE_STEP_COUNT, 1
|
2019-10-05 15:52:48 +01:00
|
|
|
end
|
2019-09-28 07:37:01 +01:00
|
|
|
|
2021-07-20 20:18:31 +01:00
|
|
|
EventScript_FallDownHole::
|
2019-10-05 15:52:48 +01:00
|
|
|
lockall
|
|
|
|
delay 20
|
2019-11-21 04:12:51 +00:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
|
2019-10-05 15:52:48 +01:00
|
|
|
waitmovement 0
|
2020-08-20 23:02:00 +01:00
|
|
|
playse SE_FALL
|
2019-10-05 15:52:48 +01:00
|
|
|
delay 60
|
|
|
|
warphole MAP_UNDEFINED
|
|
|
|
waitstate
|
|
|
|
end
|
2019-09-28 07:37:01 +01:00
|
|
|
|
2021-07-20 20:18:31 +01:00
|
|
|
EventScript_FallDownHoleMtPyre::
|
2019-10-05 15:52:48 +01:00
|
|
|
lockall
|
|
|
|
delay 20
|
2019-11-21 04:12:51 +00:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
|
2019-10-05 15:52:48 +01:00
|
|
|
waitmovement 0
|
2020-08-20 23:02:00 +01:00
|
|
|
playse SE_FALL
|
2019-10-05 15:52:48 +01:00
|
|
|
delay 60
|
|
|
|
special DoFallWarp
|
|
|
|
waitstate
|
|
|
|
end
|
2019-09-28 07:37:01 +01:00
|
|
|
|
2021-07-20 20:18:31 +01:00
|
|
|
Movement_SetInvisible:
|
2019-10-05 15:52:48 +01:00
|
|
|
set_invisible
|
|
|
|
step_end
|