diff options
Diffstat (limited to 'engine/battle_anims/helpers.asm')
-rw-r--r-- | engine/battle_anims/helpers.asm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/battle_anims/helpers.asm b/engine/battle_anims/helpers.asm index 127fe5412..64d43f032 100644 --- a/engine/battle_anims/helpers.asm +++ b/engine/battle_anims/helpers.asm @@ -37,7 +37,7 @@ GetBattleAnimFrame: push af ld a, [hl] push hl - and %00111111 + and (Y_FLIP << 1 | X_FLIP << 1) ^ $ff ld hl, BATTLEANIMSTRUCT_DURATION add hl, bc ld [hl], a @@ -55,6 +55,7 @@ GetBattleAnimFrame: ld hl, BATTLEANIMSTRUCT_DURATION add hl, bc ld [hl], a + ld hl, BATTLEANIMSTRUCT_FRAME add hl, bc dec [hl] |