summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorN <71219152+PokeCodec@users.noreply.github.com>2021-01-19 13:43:57 -0500
committerGitHub <noreply@github.com>2021-01-19 13:43:57 -0500
commitb6c483394e11a27e9146a62cfd79a19c7260fe61 (patch)
treecfa0a2befe085416794c0c6dc38aadf98b7f09df /src
parent7134763b73f3be671f0688750dbef155bdea5eb8 (diff)
Clarified comments
Made comments clearer.
Diffstat (limited to 'src')
-rw-r--r--src/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task.c b/src/task.c
index 17dac4b18..7787dc786 100644
--- a/src/task.c
+++ b/src/task.c
@@ -141,7 +141,7 @@ void SetTaskFuncWithFollowupFunc(u8 taskId, TaskFunc func, TaskFunc followupFunc
u8 followupFuncIndex = NUM_TASK_DATA - 2; // Should be const.
gTasks[taskId].data[followupFuncIndex] = (s16)((u32)followupFunc);
- gTasks[taskId].data[followupFuncIndex + 1] = (s16)((u32)followupFunc >> 16); // So we can store the followupFunc in two adjacent indexes.
+ gTasks[taskId].data[followupFuncIndex + 1] = (s16)((u32)followupFunc >> 16); // So we can store followupFunc as two half-words in the data array.
gTasks[taskId].func = func;
}