diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-17 15:16:54 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-17 15:16:54 -0400 |
commit | f53341efa170a322392e5d9cf094128a52041b1d (patch) | |
tree | 94cc8fe981292ce794eee6e647ae0a040e1f2023 /engine | |
parent | ef9cb892fdee558305071fe9d22c0f633b199f38 (diff) |
Define constants for subanimations' base coords and frame block modes
Diffstat (limited to 'engine')
-rwxr-xr-x | engine/battle/animations.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index dae13ba0..85019fa1 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -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 |