summaryrefslogtreecommitdiff
path: root/engine/battle_anims/helpers.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle_anims/helpers.asm')
-rw-r--r--engine/battle_anims/helpers.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle_anims/helpers.asm b/engine/battle_anims/helpers.asm
index 64d43f032..208ab6140 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 (Y_FLIP << 1 | X_FLIP << 1) ^ $ff
+ and $ff ^ (Y_FLIP << 1 | X_FLIP << 1)
ld hl, BATTLEANIMSTRUCT_DURATION
add hl, bc
ld [hl], a