summaryrefslogtreecommitdiff
path: root/engine/battle_anims
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-03-14 16:03:15 -0500
committerGitHub <noreply@github.com>2022-03-14 17:03:15 -0400
commit3d58fb95569be74c6c229118a425fa22628f1dc3 (patch)
tree5ddb4fbcefce4610963397d82cef2fb3b470e956 /engine/battle_anims
parentfddd1c132bd526cc9b15c14896becfc30288a049 (diff)
Build the Virtual Console patches with `make gold_vc` and `make silver_vc` (#74)
Diffstat (limited to 'engine/battle_anims')
-rw-r--r--engine/battle_anims/anim_commands.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm
index a16c076a..5b2a0778 100644
--- a/engine/battle_anims/anim_commands.asm
+++ b/engine/battle_anims/anim_commands.asm
@@ -39,6 +39,7 @@ BattleAnimRunScript:
bit 7, a
jr nz, .disabled
+ vc_hook Reduce_move_anim_flashing
call BattleAnimClearHud
call RunBattleAnimScript
@@ -142,6 +143,7 @@ BattleAnimRestoreHuds:
call BattleAnimDelayFrame
call BattleAnimDelayFrame
call WaitTop
+ vc_hook Stop_reducing_move_anim_flashing
ret
BattleAnimRequestPals:
@@ -646,6 +648,7 @@ BattleAnimCmd_5GFX:
xor a
ld [wBattleAnimGFXTempTileID], a
.loop
+ vc_hook FPA_042801_Begin
ld a, [wBattleAnimGFXTempTileID]
cp (vTiles1 - vTiles0) / LEN_2BPP_TILE - BATTLEANIM_BASE_TILE
ret nc