diff --git a/src/code/flg_set.c b/src/code/flg_set.c index 490472d205..780884c852 100644 --- a/src/code/flg_set.c +++ b/src/code/flg_set.c @@ -231,7 +231,7 @@ void FlagSet_Update(GameState* gameState) { } /* Other controls */ - + // A toggles the selected flag if (CHECK_BTN_ALL(input->press.button, BTN_A)) { *sFlagEntries[sEntryIndex].value ^= (1 << sCurrentBit); diff --git a/src/code/z_debug.c b/src/code/z_debug.c index 5848dfa71e..924a2ad305 100644 --- a/src/code/z_debug.c +++ b/src/code/z_debug.c @@ -12,7 +12,7 @@ void GameInfo_Init(void) { gGameInfo->unk_02 = 0; gGameInfo->unk_04 = 0; gGameInfo->unk_03 = 0; - + for (i = 0; i < ARRAY_COUNT(gGameInfo->data); i++) { gGameInfo->data[i] = 0; } diff --git a/src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c b/src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c index 2e99b093f9..4f9b88118b 100644 --- a/src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c +++ b/src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c @@ -288,7 +288,7 @@ static Vec3f D_808C1C4C = { 0.0f, -500.0f, 0.0f }; void ArmsHook_Draw(Actor* thisx, GlobalContext* globalCtx) { ArmsHook* this = THIS; f32 f0; - Player* player = GET_PLAYER(globalCtx);; + Player* player = GET_PLAYER(globalCtx); if (player->actor.draw != NULL && player->rightHandType == 0xB) { Vec3f sp68; diff --git a/src/overlays/actors/ovl_En_Owl/z_en_owl.c b/src/overlays/actors/ovl_En_Owl/z_en_owl.c index 04c9e0fd2c..381f4e90ab 100644 --- a/src/overlays/actors/ovl_En_Owl/z_en_owl.c +++ b/src/overlays/actors/ovl_En_Owl/z_en_owl.c @@ -557,7 +557,7 @@ void func_8095B76C(EnOwl* this, GlobalContext* globalCtx) { do { this->actor.world.pos.x = points->x; this->actor.world.pos.z = points->z; - } while(0); + } while (0); this->unk_3F8++; if (this->path->count <= this->unk_3F8) { diff --git a/src/overlays/actors/ovl_En_Poh/z_en_poh.c b/src/overlays/actors/ovl_En_Poh/z_en_poh.c index 7e186e4a19..ace41a2baa 100644 --- a/src/overlays/actors/ovl_En_Poh/z_en_poh.c +++ b/src/overlays/actors/ovl_En_Poh/z_en_poh.c @@ -1013,7 +1013,8 @@ void func_80B2F37C(Actor* thisx, GlobalContext* globalCtx) { gDPSetPrimColor(POLY_XLU_DISP++, 0x80, 0x80, 255, 170, 255, this->unk_197); gDPSetEnvColor(POLY_XLU_DISP++, this->unk_194, this->unk_195, this->unk_196, 255); - SysMatrix_InsertYRotation_f((func_800DFCDC(GET_ACTIVE_CAM(globalCtx)) + 0x8000) * (M_PI / 32768), MTXMODE_APPLY); + SysMatrix_InsertYRotation_f((func_800DFCDC(GET_ACTIVE_CAM(globalCtx)) + 0x8000) * (M_PI / 32768), + MTXMODE_APPLY); gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx), G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); gSPDisplayList(POLY_XLU_DISP++, D_06003850);