UnusedSpriteAnimGFX was to sprite anims as AnimObjGFX is to battle anims

This commit is contained in:
Rangi
2020-10-30 17:32:09 -04:00
parent 9b0002161b
commit 4a323cf591
8 changed files with 34 additions and 29 deletions

View File

@@ -313,3 +313,5 @@ _ExecuteBGEffects:
_QueueBGEffect:
callfar QueueBGEffect
ret
INCLUDE "data/battle_anims/objects.asm"

View File

@@ -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"