summaryrefslogtreecommitdiff
path: root/src/ground.c
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-05 22:31:01 +0800
committernullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-06 10:38:28 +0800
commitf9ff7316d5c7277eb7482e30121388cd65f4ecfc (patch)
treeee8f4a9c338f880a3585d6e9ed9ed695f27cef3d /src/ground.c
parent405f1bb529809b8169364737087189df0fcca1d2 (diff)
Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs
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);
}