diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-30 17:32:04 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-30 17:32:04 -0400 |
commit | eecff60284d3b4af14902f347d12639ee9849c03 (patch) | |
tree | f8de8e74165c33762f3959745a4439cf9347e9d4 /engine/battle_anims/helpers.asm | |
parent | 542f02c18186892971cab3da4b49add4b0059ff1 (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 208ab614..b533988e 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" |