From b4b2722f28bb2073de7f256510a6cd14f03acba3 Mon Sep 17 00:00:00 2001 From: JordanLongstaff Date: Mon, 9 Dec 2024 10:56:01 -0500 Subject: [PATCH] Skip Ganondorf boss battle intro --- soh/soh/Enhancements/timesaver_hook_handlers.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/soh/soh/Enhancements/timesaver_hook_handlers.cpp b/soh/soh/Enhancements/timesaver_hook_handlers.cpp index dbfca709c..071fccd61 100644 --- a/soh/soh/Enhancements/timesaver_hook_handlers.cpp +++ b/soh/soh/Enhancements/timesaver_hook_handlers.cpp @@ -996,6 +996,13 @@ void TimeSaverOnSceneInitHandler(int16_t sceneNum) { } } break; + case SCENE_GANONDORF_BOSS: + if (CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipCutscene.BossIntro"), IS_RANDO)) { + if (!Flags_GetEventChkInf(EVENTCHKINF_BEGAN_GANONDORF_BATTLE)) { + Flags_SetEventChkInf(EVENTCHKINF_BEGAN_GANONDORF_BATTLE); + } + } + break; } }