diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-02-28 10:26:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 10:26:49 -0500 |
commit | ea748ff7f51a7c119658930f878d046cc8b83c51 (patch) | |
tree | 3616ea8ad0a2b3f05482ffd3b9db929a8b5f4573 /src/mirage_tower.c | |
parent | 70c560cc84ec4152438815a7abae673ae6f589f8 (diff) | |
parent | 293df1887f4b849e96d06530c722bd39afb7b72b (diff) |
Merge pull request #1344 from GriffinRichards/doc-ec
Document easy chat and mail, script.c cleanup, add/use some general constants
Diffstat (limited to 'src/mirage_tower.c')
-rw-r--r-- | src/mirage_tower.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mirage_tower.c b/src/mirage_tower.c index ef7bf7228..d18ddcc0f 100644 --- a/src/mirage_tower.c +++ b/src/mirage_tower.c @@ -398,7 +398,7 @@ static void DoScreenShake(u8 taskId) static void IncrementCeilingCrumbleFinishedCount(void) { u8 taskId = FindTaskIdByFunc(WaitCeilingCrumble); - if (taskId != 0xFF) + if (taskId != TASK_NONE) gTasks[taskId].data[0]++; } @@ -610,7 +610,7 @@ static void DoMirageTowerDisintegration(u8 taskId) case 4: UnsetBgTilemapBuffer(0); bgShakeTaskId = FindTaskIdByFunc(UpdateBgShake); - if (bgShakeTaskId != 0xFF) + if (bgShakeTaskId != TASK_NONE) DestroyTask(bgShakeTaskId); sBgShakeOffsets->bgVOFS = sBgShakeOffsets->bgHOFS = 0; SetBgShakeOffsets(); |