From 26b3ebe15c764cd6aa9f41b6a23728837809d2c0 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Sat, 24 May 2025 22:52:15 -0300 Subject: [PATCH] tag Effect357 --- src/engine/fox_effect.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/engine/fox_effect.c b/src/engine/fox_effect.c index 6cb1391c..3a7665a5 100644 --- a/src/engine/fox_effect.c +++ b/src/engine/fox_effect.c @@ -753,6 +753,9 @@ void Effect_Effect357_Draw(Effect357* this) { gSPFogPosition(gMasterDisp++, gFogNear, 1005); } + // @port: Tag the transform. + FrameInterpolation_RecordOpenChild("Effect357", this->unk_4C | (this->index << 16) & 0x00FF); + Graphics_SetScaleMtx(this->scale2); switch (gCurrentLevel) { @@ -894,6 +897,8 @@ void Effect_Effect357_Draw(Effect357* this) { } break; } + // @port Pop the transform id. + FrameInterpolation_RecordCloseChild(); RCP_SetupDL(&gMasterDisp, SETUPDL_64); @@ -2294,7 +2299,7 @@ void Effect_Effect374_Draw(Effect374* this) { // @port renable interpolation FrameInterpolation_ShouldInterpolateFrame(true); - + RCP_SetupDL(&gMasterDisp, SETUPDL_64); break; } @@ -3809,7 +3814,7 @@ void Effect_Effect395_Update(Effect395* this) { D_ctx_801779A8[0] = 50.0f; if (this->unk_46 == 10) { gFillScreenRed = gFillScreenGreen = gFillScreenBlue = 255; - if (CVarGetInteger("gDisableGorgonFlash", 0) == 0){ + if (CVarGetInteger("gDisableGorgonFlash", 0) == 0) { gFillScreenAlpha = gFillScreenAlphaTarget = 255; } gFillScreenAlphaTarget = 0;