blob: fddd574ad26c6db76855d6984430b00f4a2d826e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
@ Unused
EventScript_CheckFallDownHole:: @ 81C1338
map_script_2 VAR_ICE_STEP_COUNT, 0, EventScript_FallDownHole
.2byte 0
@ Unused
EventScript_FixCrackedGround::
copyvar VAR_ICE_STEP_COUNT, 1
end
EventScript_FallDownHole:: @ 81C1348
lockall
delay 20
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
waitmovement 0
playse SE_FALL
delay 60
warphole 0xFFFF
waitstate
end
@ TODO: EventScript_FallDownHoleMtPyre in pokeemerald, needs generic name
EventScript_1C1361:: @ 81C1361
lockall
delay 20
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
waitmovement 0
playse SE_FALL
delay 60
special DoFallWarp
waitstate
end
Movement_SetInvisible: @ 81C137A
set_invisible
step_end
|