aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorVortyne <104168801+Vortyne@users.noreply.github.com>2023-03-25 23:31:59 -0400
committerGitHub <noreply@github.com>2023-03-25 23:31:59 -0400
commit17eaf761e38cea827320f984cfaaa1527276ab15 (patch)
tree69aa1864f8e8a23a5234cf3fab767374a8183b18 /engine/battle/core.asm
parentDex weights are in tenths of a pound (diff)
downloadpokeyellow-17eaf761e38cea827320f984cfaaa1527276ab15.tar.gz
pokeyellow-17eaf761e38cea827320f984cfaaa1527276ab15.tar.xz
pokeyellow-17eaf761e38cea827320f984cfaaa1527276ab15.zip
Name some unnamed animation constants (#396)
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index f84b759c..4a0263e2 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -3327,7 +3327,7 @@ CheckPlayerStatusConditions:
; fast asleep
xor a
ld [wAnimationType], a
- ld a, SLP_ANIM - 1
+ ld a, SLP_PLAYER_ANIM
call PlayMoveAnimation
ld hl, FastAsleepText
call PrintText
@@ -3411,7 +3411,7 @@ CheckPlayerStatusConditions:
call PrintText
xor a
ld [wAnimationType], a
- ld a, CONF_ANIM - 1
+ ld a, CONF_PLAYER_ANIM
call PlayMoveAnimation
call BattleRandom
cp 50 percent + 1 ; chance to hurt itself