aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/animations.asm
diff options
context:
space:
mode:
authorYoann Fievez <yoann.fievez@gmail.com>2021-11-06 00:45:09 +0100
committerGitHub <noreply@github.com>2021-11-05 19:45:09 -0400
commitf68af5c6e95a11daa3bc8daaf28c4e9a779615b9 (patch)
treeac8bdd875ab87440b0a829fa1ac26c015738b169 /engine/battle/animations.asm
parentRefactorize check button pressed (#340) (diff)
downloadpokeyellow-f68af5c6e95a11daa3bc8daaf28c4e9a779615b9.tar.gz
pokeyellow-f68af5c6e95a11daa3bc8daaf28c4e9a779615b9.tar.xz
pokeyellow-f68af5c6e95a11daa3bc8daaf28c4e9a779615b9.zip
Add some constants for options (#344)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
Diffstat (limited to 'engine/battle/animations.asm')
-rw-r--r--engine/battle/animations.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm
index a93af9e9..476e937f 100644
--- a/engine/battle/animations.asm
+++ b/engine/battle/animations.asm
@@ -395,7 +395,7 @@ MoveAnimation:
.moveAnimation
; check if battle animations are disabled in the options
ld a, [wOptions]
- bit 7, a
+ bit BIT_BATTLE_ANIMATION, a
jr nz, .animationsDisabled
call ShareMoveAnimations
call PlayAnimation