mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Define constants for subanimations' base coords and frame block modes
This commit is contained in:
parent
ef9cb892fd
commit
f53341efa1
4 changed files with 967 additions and 779 deletions
|
|
@ -132,15 +132,15 @@ DrawFrameBlock:
|
|||
jp nz, .loop ; go back up if there are more tiles to draw
|
||||
.afterDrawingTiles
|
||||
ld a, [wFBMode]
|
||||
cp 2
|
||||
cp FRAMEBLOCKMODE_02
|
||||
jr z, .advanceFrameBlockDestAddr; skip delay and don't clean OAM buffer
|
||||
ld a, [wSubAnimFrameDelay]
|
||||
ld c, a
|
||||
call DelayFrames
|
||||
ld a, [wFBMode]
|
||||
cp 3
|
||||
cp FRAMEBLOCKMODE_03
|
||||
jr z, .advanceFrameBlockDestAddr ; skip cleaning OAM buffer
|
||||
cp 4
|
||||
cp FRAMEBLOCKMODE_04
|
||||
jr z, .done ; skip cleaning OAM buffer and don't advance the frame block destination address
|
||||
ld a, [wAnimationID]
|
||||
cp GROWL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue