summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Hoey <121978037+A-Green-Spoon@users.noreply.github.com>2025-05-01 21:59:47 -0400
committerGitHub <noreply@github.com>2025-05-01 18:59:47 -0700
commit6c14311b66bc4398a440c1d4362bcfe707616ae9 (patch)
treeac3fbc8512db31b01b8174f2d3965136b3037ad6
parenta01645304262a91b8242885ef2cc1d1b5b77be9e (diff)
add dragon room CS (#5461)
-rw-r--r--soh/soh/Enhancements/timesaver_hook_handlers.cpp5
-rw-r--r--soh/soh/SohGui/SohMenuEnhancements.cpp8
2 files changed, 7 insertions, 6 deletions
diff --git a/soh/soh/Enhancements/timesaver_hook_handlers.cpp b/soh/soh/Enhancements/timesaver_hook_handlers.cpp
index cffa70643..32de18552 100644
--- a/soh/soh/Enhancements/timesaver_hook_handlers.cpp
+++ b/soh/soh/Enhancements/timesaver_hook_handlers.cpp
@@ -294,8 +294,9 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_li
}
switch (actor->id) {
case ACTOR_OBJ_SWITCH: {
- if (actor->params == 8224 && gPlayState->sceneNum == SCENE_DODONGOS_CAVERN &&
- CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipCutscene.GlitchAiding"), 0)) {
+ if ((actor->params == 8224 && gPlayState->sceneNum == SCENE_DODONGOS_CAVERN) ||
+ (actor->params == 6979 && gPlayState->sceneNum == SCENE_WATER_TEMPLE) &&
+ CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipCutscene.GlitchAiding"), 0)) {
break;
}
ObjSwitch* switchActor = (ObjSwitch*)actor;
diff --git a/soh/soh/SohGui/SohMenuEnhancements.cpp b/soh/soh/SohGui/SohMenuEnhancements.cpp
index 415c5a33f..9305c8ec5 100644
--- a/soh/soh/SohGui/SohMenuEnhancements.cpp
+++ b/soh/soh/SohGui/SohMenuEnhancements.cpp
@@ -334,10 +334,10 @@ void SohMenu::AddMenuEnhancements() {
.Options(CheckboxOptions().DefaultValue(IS_RANDO));
AddWidget(path, "Exclude Glitch-Aiding Cutscenes", WIDGET_CVAR_CHECKBOX)
.CVar(CVAR_ENHANCEMENT("TimeSavers.SkipCutscene.GlitchAiding"))
- .Options(
- CheckboxOptions().Tooltip("Don't skip cutscenes that are associated with useful glitches. Currently, it is "
- "only the Fire Temple Darunia CS, Forest Temple Poe Sisters CS, Dodongo Boss "
- "Door Switch, and the Box Skip One Point in Jabu."));
+ .Options(CheckboxOptions().Tooltip(
+ "Don't skip cutscenes that are associated with useful glitches. Currently, it is "
+ "only the Fire Temple Darunia CS, Forest Temple Poe Sisters CS, Dodongo Boss "
+ "Door Switch CS, Water Temple Dragon Switch CS, and the Box Skip One Point in Jabu."));
AddWidget(path, "Text", WIDGET_SEPARATOR_TEXT);
AddWidget(path, "Skip Pickup Messages", WIDGET_CVAR_CHECKBOX)