diff --git a/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c b/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c index 25d9a5e075..00d42016a8 100644 --- a/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c +++ b/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c @@ -172,7 +172,7 @@ void func_80875A0C(BgGanonOtyuka* this, GlobalContext* globalCtx) { this->actionFunc = func_80875C88; this->unk_16A = 1; - this->unk_168 = 20; + this->dropTimer = 20; this->unk_16E = 1; this->unk_16D = 0; this->primColorR = 255.0f; @@ -208,7 +208,7 @@ void func_80875C88(BgGanonOtyuka* this, GlobalContext* globalCtx) { this->unk_16E = 0; } } - if (this->unk_168 == 0) { + if (this->dropTimer == 0) { this->yScale = 0.0f; Math_SmoothScaleMaxF(&this->dyna.actor.posRot.pos.y, -1000.0f, 1.0f, this->dyna.actor.speedXZ); Math_SmoothScaleMaxF(&this->dyna.actor.speedXZ, 100.0f, 1.0f, 2.0f); @@ -244,7 +244,7 @@ void func_80875C88(BgGanonOtyuka* this, GlobalContext* globalCtx) { Actor_Kill(&this->dyna.actor); } } else { - if (this->unk_168 == 1) { + if (this->dropTimer == 1) { Audio_PlaySoundGeneral(NA_SE_EV_STONEDOOR_STOP, &this->dyna.actor.projectedPos, 4, &D_801333E0, &D_801333E0, &D_801333E8); } else { @@ -265,7 +265,7 @@ void BgGanonOtyuka_Update(Actor* thisx, GlobalContext* globalCtx) { this->actionFunc(this, globalCtx); this->unk_16D++; - DECR(this->unk_168); + DECR(this->dropTimer); } void BgGanonOtyuka_Draw(Actor* thisx, GlobalContext* globalCtx) { diff --git a/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.h b/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.h index a3bcf63764..cff5d1ab6f 100644 --- a/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.h +++ b/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.h @@ -11,7 +11,7 @@ typedef void (*BgGanonOtyukaActionFunc)(struct BgGanonOtyuka*, GlobalContext*); typedef struct BgGanonOtyuka { /* 0x0000 */ DynaPolyActor dyna; /* 0x0164 */ BgGanonOtyukaActionFunc actionFunc; - /* 0x0168 */ s16 unk_168; + /* 0x0168 */ s16 dropTimer; /* 0x016A */ u8 unk_16A; /* 0x016B */ u8 unk_16B; /* 0x016C */ u8 unk_16C;