diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-01-12 17:04:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-12 17:04:23 -0500 |
commit | 92d99d4fd2e5579372b9f4cc39468000553ba3a8 (patch) | |
tree | 4ff8e60d1ad6a25dad888a4e78011624b46ad9ec /data/scripts/hole.inc | |
parent | 15ff7eb2f87032797f6ce9ef9bb471c468b48a36 (diff) | |
parent | 0676e732869d0e62322b001cbab57b8500361005 (diff) |
Merge pull request #207 from GriffinRichards/sync-script
Sync scripts with pokeemerald
Diffstat (limited to 'data/scripts/hole.inc')
-rw-r--r-- | data/scripts/hole.inc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/data/scripts/hole.inc b/data/scripts/hole.inc new file mode 100644 index 000000000..98900f04a --- /dev/null +++ b/data/scripts/hole.inc @@ -0,0 +1,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_RU_HYUU + 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_RU_HYUU + delay 60 + special DoFallWarp + waitstate + end + +Movement_SetInvisible: @ 81C137A + set_invisible + step_end |