From 66b510144dff95d5b809c017130e1ca4f35260f7 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Tue, 26 Nov 2024 05:19:19 -0300 Subject: [PATCH] fix interpolation in effect 395 (aquas) --- src/engine/fox_effect.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/fox_effect.c b/src/engine/fox_effect.c index 0100e2b4..53ad582f 100644 --- a/src/engine/fox_effect.c +++ b/src/engine/fox_effect.c @@ -3891,6 +3891,9 @@ void Effect_Effect395_Draw(Effect395* this) { PRINTF("AC_DISP HELP %d\n"); } + // @port: Tag the transform. + FrameInterpolation_RecordOpenChild(this, this->state); + switch (this->state) { case 0: RCP_SetupDL(&gMasterDisp, SETUPDL_49); @@ -3995,6 +3998,9 @@ void Effect_Effect395_Draw(Effect395* this) { } RCP_SetupDL(&gMasterDisp, SETUPDL_64); + + // @port Pop the transform id. + FrameInterpolation_RecordCloseChild(); } void Effect_Effect391_Setup(Effect391* this, f32 xPos, f32 yPos, f32 zPos, f32 arg4, f32 scale) {