summaryrefslogtreecommitdiff
path: root/src/battle_anim_ground.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-20 00:30:37 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-02-24 11:03:32 -0500
commitb04f0aaa2beb4dad08f78716ce1865b797fc34bd (patch)
tree0a73e547435301d7326d3cd70be9381e8e6fbe1e /src/battle_anim_ground.c
parenta5852d57d124c49fd1b80510e968c18404a436a3 (diff)
Use SPRITE_NONE constant
Diffstat (limited to 'src/battle_anim_ground.c')
-rw-r--r--src/battle_anim_ground.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_anim_ground.c b/src/battle_anim_ground.c
index 875ecbd75..37caf81e7 100644
--- a/src/battle_anim_ground.c
+++ b/src/battle_anim_ground.c
@@ -603,7 +603,7 @@ void AnimTask_HorizontalShake(u8 taskId)
break;
default: // Shake specific battler
task->tbattlerSpriteIds(0) = GetAnimBattlerSpriteId(gBattleAnimArgs[0]);
- if (task->tbattlerSpriteIds(0) == 0xFF)
+ if (task->tbattlerSpriteIds(0) == SPRITE_NONE)
{
DestroyAnimVisualTask(taskId);
}