summaryrefslogtreecommitdiff
path: root/src/mirage_tower.c
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-06-01 20:40:27 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-06-01 20:40:27 -0400
commitf0b41debc35c2084aad6d369eab11a2d2df4ab44 (patch)
tree9b720ab0b617fa207051efc7ff9373669f7dc47b /src/mirage_tower.c
parenta839463c849679974c986bf9c9c260eff0e94cb7 (diff)
parent9f5bf65fb336cf7a3ba68d32267bf993f0f6a494 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into remove-temps
Diffstat (limited to 'src/mirage_tower.c')
-rw-r--r--src/mirage_tower.c4
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();