remove extra zf condition + add vb call (#6258)

This commit is contained in:
A Green Spoon
2026-02-14 14:04:34 -05:00
committed by GitHub
parent 1e1ba54cf6
commit f31172c647
2 changed files with 2 additions and 2 deletions

View File

@@ -168,8 +168,7 @@ void RegisterShouldPlayBlueWarp() {
// This is outside the above condition because we want to handle both first and following visits to the blue
// warp. Jabu's blue warp doesn't call VB_PLAY_BLUE_WARP_CS without Ruto
if ((sEnteredBlueWarp || gSaveContext.entranceIndex == ENTR_ZORAS_FOUNTAIN_JABU_JABU_BLUE_WARP) &&
overrideBlueWarpDestinations) {
if (sEnteredBlueWarp && overrideBlueWarpDestinations) {
Entrance_OverrideBlueWarp();
}
}

View File

@@ -557,6 +557,7 @@ void DoorWarp1_ChildWarpOut(DoorWarp1* this, PlayState* play) {
gSaveContext.nextCutsceneIndex = 0;
}
} else if (play->sceneNum == SCENE_JABU_JABU_BOSS) {
if (GameInteractor_Should(VB_PLAY_BLUE_WARP_CS, true)) {};
play->nextEntranceIndex = ENTR_ZORAS_FOUNTAIN_JABU_JABU_BLUE_WARP;
gSaveContext.nextCutsceneIndex = 0;
}