1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 21:04:43 +00:00

Naming the initChain

This commit is contained in:
Ethan Roseman 2020-04-04 22:52:54 -04:00
parent 546811bba8
commit 220a1a5840

View File

@ -34,7 +34,7 @@ const ActorInit Bg_Spot12_Saku_InitVars = {
(ActorFunc)BgSpot12Saku_Draw, (ActorFunc)BgSpot12Saku_Draw,
}; };
static InitChainEntry D_808B3840[] = { static InitChainEntry initChain[] = {
ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_CONTINUE), ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_CONTINUE),
ICHAIN_F32(unk_F4, 1200, ICHAIN_CONTINUE), ICHAIN_F32(unk_F4, 1200, ICHAIN_CONTINUE),
ICHAIN_F32(unk_F8, 500, ICHAIN_CONTINUE), ICHAIN_F32(unk_F8, 500, ICHAIN_CONTINUE),
@ -62,7 +62,7 @@ static void BgSpot12Saku_Init(BgSpot12Saku* this, GlobalContext* globalCtx) {
Actor* thisx = &this->dyna.actor; Actor* thisx = &this->dyna.actor;
func_808B3420(this, globalCtx, &D_0600238C, 0); func_808B3420(this, globalCtx, &D_0600238C, 0);
Actor_ProcessInitChain(thisx, D_808B3840); Actor_ProcessInitChain(thisx, initChain);
if (Flags_GetSwitch(globalCtx, thisx->params & 0x3F)) { if (Flags_GetSwitch(globalCtx, thisx->params & 0x3F)) {
func_808B3714(this); func_808B3714(this);
} else { } else {