summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-03-12 22:38:29 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2022-03-12 22:38:29 -0500
commitf33a04193092e3df8c9b1ac4f560018b95925f61 (patch)
tree4891528df1dfd9643be93d4a9e3b07a0cfabe325 /engine
parent31c3c94d64e1ac1e40c95acfda7de8b99b4f302b (diff)
Allow alternate labels for patch names
Diffstat (limited to 'engine')
-rw-r--r--engine/battle_anims/anim_commands.asm10
-rw-r--r--engine/menus/save.asm2
2 files changed, 3 insertions, 9 deletions
diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm
index d6d874240..e67cea281 100644
--- a/engine/battle_anims/anim_commands.asm
+++ b/engine/battle_anims/anim_commands.asm
@@ -58,20 +58,14 @@ BattleAnimRunScript:
farcall CheckBattleScene
jr c, .disabled
- vc_hook FPA_001_Begin
- vc_hook FPA_002_Begin
- vc_hook FPA_003_Begin
- vc_hook FPA_004_Begin
- vc_hook FPA_005_Begin
- vc_hook FPA_006_Begin
- vc_hook FPA_007_Begin
+ vc_hook Reduce_move_anim_flashing
call BattleAnimClearHud
call RunBattleAnimScript
call BattleAnimAssignPals
call BattleAnimRequestPals
- vc_hook FPA_001_End
+ vc_hook Stop_reducing_move_anim_flashing
xor a
ldh [hSCX], a
ldh [hSCY], a
diff --git a/engine/menus/save.asm b/engine/menus/save.asm
index 381e3cc7c..02a2541e8 100644
--- a/engine/menus/save.asm
+++ b/engine/menus/save.asm
@@ -165,7 +165,7 @@ AddHallOfFameEntry:
; to MOBILE_EVENT_OBJECT_GS_BALL ($b), which enables you to get the GS Ball, take it to Kurt, and
; encounter Celebi. It assumes that sMobileEventIndex and sMobileEventIndexBackup are at their
; original addresses.
- vc_hook BiographySave_ret
+ vc_hook Enable_GS_Ball_mobile_event
vc_assert BANK(sMobileEventIndex) == $1 && sMobileEventIndex == $be3c, \
"sMobileEventIndex is no longer located at 01:be3c."
vc_assert BANK(sMobileEventIndexBackup) == $1 && sMobileEventIndexBackup == $be44, \