summaryrefslogtreecommitdiff
path: root/src/ground.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ground.c')
-rw-r--r--src/ground.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ground.c b/src/ground.c
index abfeb3f3e..6cb7b8557 100644
--- a/src/ground.c
+++ b/src/ground.c
@@ -588,7 +588,7 @@ void sub_81152DC(u8 taskId)
break;
default:
task->data[9] = GetAnimBattlerSpriteId(gBattleAnimArgs[0]);
- if (task->data[9] == INVALID_U8)
+ if (task->data[9] == 0xFF)
{
DestroyAnimVisualTask(taskId);
}