summaryrefslogtreecommitdiff
path: root/engine/overworld/events.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-10-04 19:43:28 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-10-04 20:10:39 -0400
commit306c85750e0686f9af104249ca3000e717aee0e2 (patch)
tree0b277bda2ba1a0f0d2ba37fb256396a77b09b6a8 /engine/overworld/events.asm
parent5a546068a84d57454c7f95395250346ac14da81e (diff)
Identify some more unnamed labels
Diffstat (limited to 'engine/overworld/events.asm')
-rw-r--r--engine/overworld/events.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/overworld/events.asm b/engine/overworld/events.asm
index d599ffc5c..e7ef5c727 100644
--- a/engine/overworld/events.asm
+++ b/engine/overworld/events.asm
@@ -399,7 +399,7 @@ SetMinTwoStepWildEncounterCooldown:
Dummy_CheckScriptFlags3Bit5:
call CheckBit5_ScriptFlags3
ret z
- call Function2f3e
+ call SetXYCompareFlags
ret
RunSceneScript:
@@ -975,7 +975,7 @@ DoPlayerEvent:
PlayerEventScriptPointers:
; entries correspond to PLAYEREVENT_* constants
- dba Invalid_0x96c2d ; PLAYEREVENT_NONE
+ dba InvalidEventScript ; PLAYEREVENT_NONE
dba SeenByTrainerScript ; PLAYEREVENT_SEENBYTRAINER
dba TalkToTrainerScript ; PLAYEREVENT_TALKTOTRAINER
dba FindItemInBallScript ; PLAYEREVENT_ITEMBALL
@@ -985,12 +985,12 @@ PlayerEventScriptPointers:
dba OverworldWhiteoutScript ; PLAYEREVENT_WHITEOUT
dba HatchEggScript ; PLAYEREVENT_HATCH
dba ChangeDirectionScript ; PLAYEREVENT_JOYCHANGEFACING
- dba Invalid_0x96c2d ; (NUM_PLAYER_EVENTS)
+ dba InvalidEventScript ; (NUM_PLAYER_EVENTS)
-Invalid_0x96c2d:
+InvalidEventScript:
end
-; unused
+UnusedPlayerEventScript: ; unreferenced
end
HatchEggScript:
@@ -1005,12 +1005,12 @@ WarpToNewMapScript:
FallIntoMapScript:
newloadmap MAPSETUP_FALL
playsound SFX_KINESIS
- applymovement PLAYER, MovementData_0x96c48
+ applymovement PLAYER, .SkyfallMovement
playsound SFX_STRENGTH
scall LandAfterPitfallScript
end
-MovementData_0x96c48:
+.SkyfallMovement:
skyfall
step_end
@@ -1018,10 +1018,10 @@ LandAfterPitfallScript:
earthquake 16
end
-EdgeWarpScript: ; 4
+EdgeWarpScript:
reloadend MAPSETUP_CONNECTION
-ChangeDirectionScript: ; 9
+ChangeDirectionScript:
deactivatefacing 3
callasm EnableWildEncounters
end