summaryrefslogtreecommitdiff
path: root/src/battle_anim_ground.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-28 10:26:49 -0500
committerGitHub <noreply@github.com>2021-02-28 10:26:49 -0500
commitea748ff7f51a7c119658930f878d046cc8b83c51 (patch)
tree3616ea8ad0a2b3f05482ffd3b9db929a8b5f4573 /src/battle_anim_ground.c
parent70c560cc84ec4152438815a7abae673ae6f589f8 (diff)
parent293df1887f4b849e96d06530c722bd39afb7b72b (diff)
Merge pull request #1344 from GriffinRichards/doc-ec
Document easy chat and mail, script.c cleanup, add/use some general constants
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);
}