summaryrefslogtreecommitdiff
path: root/src/match_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/match_call.c')
-rw-r--r--src/match_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/match_call.c b/src/match_call.c
index 68b630d6b..fb8ebc98c 100644
--- a/src/match_call.c
+++ b/src/match_call.c
@@ -1168,7 +1168,7 @@ static bool32 LoadMatchCallWindowGfx(u8 taskId)
{
s16 *taskData = gTasks[taskId].data;
taskData[2] = AddWindow(&sMatchCallTextWindow);
- if (taskData[2] == 0xFF)
+ if (taskData[2] == WINDOW_NONE)
{
DestroyTask(taskId);
return FALSE;