summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-23 18:57:39 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-23 18:57:39 -0300
commitf5c813d97655456fea9250e6b097e5c438dae3d8 (patch)
tree1877afd30a1150a58d83340ef610fac0e62fd9ec
parentf22f8c193545ef7963d6bd16a14325aa964f7e44 (diff)
Skip interpolation on Effects 374 and 382
-rw-r--r--src/engine/fox_effect.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/engine/fox_effect.c b/src/engine/fox_effect.c
index 010d8bab..6cb1391c 100644
--- a/src/engine/fox_effect.c
+++ b/src/engine/fox_effect.c
@@ -218,6 +218,9 @@ void Effect_Effect372_Draw(Effect372* this) {
}
void Effect_Effect382_Draw(Effect382* this) {
+ // @port Skip interpolation
+ FrameInterpolation_ShouldInterpolateFrame(false);
+
RCP_SetupDL_49();
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, this->unk_44);
gDPSetEnvColor(gMasterDisp++, 255, 255, 255, this->unk_44);
@@ -225,6 +228,10 @@ void Effect_Effect382_Draw(Effect382* this) {
Matrix_Translate(gGfxMatrix, 0.0f, 20.0f, 0.0f, MTXF_APPLY);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_ZO_6024220);
+
+ // @port renable interpolation
+ FrameInterpolation_ShouldInterpolateFrame(true);
+
RCP_SetupDL(&gMasterDisp, SETUPDL_64);
}
@@ -2276,11 +2283,18 @@ void Effect_Effect374_Draw(Effect374* this) {
break;
case 1:
+ // @port Skip interpolation
+ FrameInterpolation_ShouldInterpolateFrame(false);
+
Matrix_Scale(gGfxMatrix, this->scale1, this->scale2, 2.5f, MTXF_APPLY);
Matrix_SetGfxMtx(&gMasterDisp);
RCP_SetupDL_40();
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_4008F70);
+
+ // @port renable interpolation
+ FrameInterpolation_ShouldInterpolateFrame(true);
+
RCP_SetupDL(&gMasterDisp, SETUPDL_64);
break;
}