Use TASK_NONE constant

This commit is contained in:
GriffinR
2021-02-19 23:22:26 -05:00
parent e52b46ab43
commit a5852d57d1
40 changed files with 115 additions and 116 deletions
+1 -1
View File
@@ -3409,7 +3409,7 @@ static void OpenInfoBox(u8 digDisplayId)
static bool8 IsInfoBoxClosed(void)
{
if (FindTaskIdByFunc(RunInfoBoxActions) == 0xFF)
if (FindTaskIdByFunc(RunInfoBoxActions) == TASK_NONE)
return TRUE;
else
return FALSE;