diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-30 17:32:09 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-30 17:41:03 -0400 |
commit | 4a323cf591f27c928acc295f0044ff1608ebada1 (patch) | |
tree | 70b4822c8e3e3429271c4c98a706fc83300b37fc /engine/battle_anims/helpers.asm | |
parent | 9b0002161be17ff7369a987a3de3c8776992d3a7 (diff) |
UnusedSpriteAnimGFX was to sprite anims as AnimObjGFX is to battle anims
Diffstat (limited to 'engine/battle_anims/helpers.asm')
-rw-r--r-- | engine/battle_anims/helpers.asm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engine/battle_anims/helpers.asm b/engine/battle_anims/helpers.asm index 208ab6140..b533988ef 100644 --- a/engine/battle_anims/helpers.asm +++ b/engine/battle_anims/helpers.asm @@ -67,6 +67,7 @@ GetBattleAnimFrame: ld hl, BATTLEANIMSTRUCT_DURATION add hl, bc ld [hl], a + dec a ld hl, BATTLEANIMSTRUCT_FRAME add hl, bc @@ -87,7 +88,7 @@ GetBattleAnimFrame: ld hl, BATTLEANIMSTRUCT_FRAME add hl, bc ld l, [hl] - ld h, $0 + ld h, 0 add hl, hl add hl, de ret @@ -121,3 +122,9 @@ LoadBattleAnimGFX: call DecompressRequest2bpp pop bc ret + +INCLUDE "data/battle_anims/framesets.asm" + +INCLUDE "data/battle_anims/oam.asm" + +INCLUDE "data/battle_anims/object_gfx.asm" |