From 838d5521b7a07ee3bbd638a941dd7ef73027a5f0 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Tue, 1 Apr 2025 01:15:57 -0300 Subject: [PATCH] Sector Y Intro Cutscene white flash fix --- src/engine/fox_demo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/fox_demo.c b/src/engine/fox_demo.c index fe11ad34..40506dbb 100644 --- a/src/engine/fox_demo.c +++ b/src/engine/fox_demo.c @@ -2775,6 +2775,10 @@ void ActorCutscene_Draw(ActorCutscene* this) { break; case ACTOR_CS_37: + // Fixes the white flash on the right side of the screen during the Sector Y Intro Cutscene. + if ((gCurrentLevel == LEVEL_SECTOR_Y) && (gCsFrameCount == 350) && (gPlayer[0].csState == 2)) { + break; + } RCP_SetupDL_49(); gDPSetPrimColor(gMasterDisp++, 0, 0, this->iwork[0], this->iwork[1], this->iwork[2], this->iwork[3]); gDPSetEnvColor(gMasterDisp++, this->iwork[4], this->iwork[5], this->iwork[6], this->iwork[7]);