diff options
author | vulcandth <vulcandth@gmail.com> | 2022-03-12 17:34:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 18:34:04 -0500 |
commit | 31c3c94d64e1ac1e40c95acfda7de8b99b4f302b (patch) | |
tree | 274ec3a4fb4cacaa3d0f88c713085cfb5a3c85d1 /engine/battle_anims/anim_commands.asm | |
parent | 775b5d046c7f42a3bd8034b92da92e25969bdbf7 (diff) |
Build the Virtual Console patch with `make crystal11_vc` (#882)
Fixes #813
Diffstat (limited to 'engine/battle_anims/anim_commands.asm')
-rw-r--r-- | engine/battle_anims/anim_commands.asm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm index e7ae07087..d6d874240 100644 --- a/engine/battle_anims/anim_commands.asm +++ b/engine/battle_anims/anim_commands.asm @@ -58,12 +58,20 @@ 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 call BattleAnimClearHud call RunBattleAnimScript call BattleAnimAssignPals call BattleAnimRequestPals + vc_hook FPA_001_End xor a ldh [hSCX], a ldh [hSCY], a @@ -673,6 +681,7 @@ BattleAnimCmd_5GFX: .loop ld a, [wBattleAnimGFXTempTileID] cp (vTiles1 - vTiles0) / LEN_2BPP_TILE - BATTLEANIM_BASE_TILE + vc_hook FPA_042801_Begin ret nc call GetBattleAnimByte ld [hli], a |