From 69681e608f7597f13285bdb4cc11e804439ea373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= <159546+serprex@users.noreply.github.com> Date: Tue, 21 Apr 2026 16:02:33 +0000 Subject: [PATCH] Fix swimvoid in grottos to just respawn in grotto (#6529) --- soh/soh/Enhancements/randomizer/hook_handlers.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/hook_handlers.cpp b/soh/soh/Enhancements/randomizer/hook_handlers.cpp index d6ff0dc5be..9ac629fe8f 100644 --- a/soh/soh/Enhancements/randomizer/hook_handlers.cpp +++ b/soh/soh/Enhancements/randomizer/hook_handlers.cpp @@ -2616,7 +2616,16 @@ void RandomizerOnPlayerUpdateHandler() { gSaveContext.respawn[RESPAWN_MODE_DOWN].yaw = respawn->second.yaw; } - Play_TriggerVoidOut(gPlayState); + if (gPlayState->sceneNum == SCENE_GROTTOS) { + // RESPAWN_MODE_DOWN isn't refreshed on grotto entry, reload grotto instead + gPlayState->nextEntranceIndex = gSaveContext.entranceIndex; + gPlayState->transitionTrigger = TRANS_TRIGGER_START; + gPlayState->transitionType = TRANS_TYPE_FADE_BLACK; + gSaveContext.nextTransitionType = TRANS_TYPE_FADE_BLACK; + gSaveContext.respawnFlag = 0; + } else { + Play_TriggerVoidOut(gPlayState); + } } }