pokeemerald/data/scripts/cave_hole.inc

34 lines
645 B
PHP
Raw Normal View History

2019-10-13 21:29:53 +02:00
CaveHole_CheckFallDownHole: @ 82A8327
2019-10-05 16:52:48 +02:00
map_script_2 VAR_ICE_STEP_COUNT, 0, EventScript_FallDownHole
.2byte 0
2019-10-13 21:29:53 +02:00
CaveHole_FixCrackedGround: @ 82A8331
2019-10-06 20:16:37 +02:00
copyvar VAR_ICE_STEP_COUNT, 1
2019-10-05 16:52:48 +02:00
end
EventScript_FallDownHole:: @ 82A8337
2019-10-05 16:52:48 +02:00
lockall
delay 20
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
2019-10-05 16:52:48 +02:00
waitmovement 0
playse SE_RU_HYUU
delay 60
warphole MAP_UNDEFINED
waitstate
end
2019-10-06 20:16:37 +02:00
EventScript_FallDownHoleMtPyre:: @ 82A8350
2019-10-05 16:52:48 +02:00
lockall
delay 20
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
2019-10-05 16:52:48 +02:00
waitmovement 0
playse SE_RU_HYUU
delay 60
special DoFallWarp
waitstate
end
2019-10-06 20:16:37 +02:00
Movement_SetInvisible: @ 82A8369
2019-10-05 16:52:48 +02:00
set_invisible
step_end