rando: fix reentry of jabu blue warp (#5829)

* rando: fix reentry of jabu blue warp

entrance randomizer uses VB_PLAY_BLUE_WARP_CS to set a flag,
which was not called when entering jabu blue warp without ruto

* alternative
This commit is contained in:
Philip Dubé
2025-10-05 01:54:53 +00:00
committed by GitHub
parent 004890f2f8
commit 6c724382f5

View File

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