mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 21:02:18 -05:00
Finish glitch aiding cutscenes toggle
This commit is contained in:
parent
abdbe25c8a
commit
6c384c3cb6
@ -302,10 +302,6 @@ extern "C" void Randomizer_InitSaveFile() {
|
|||||||
// gSaveContext.sceneFlags[SCENE_DESERT_COLOSSUS].swch |= (1 << 0x1F); // desert colossus kaepora
|
// gSaveContext.sceneFlags[SCENE_DESERT_COLOSSUS].swch |= (1 << 0x1F); // desert colossus kaepora
|
||||||
// gSaveContext.sceneFlags[SCENE_HYRULE_CASTLE].swch |= (1 << 0x5); // hyrule castle kaepora
|
// gSaveContext.sceneFlags[SCENE_HYRULE_CASTLE].swch |= (1 << 0x5); // hyrule castle kaepora
|
||||||
|
|
||||||
if (!Randomizer_GetSettingValue(RSK_ENABLE_GLITCH_CUTSCENES)) {
|
|
||||||
Flags_SetInfTable(INFTABLE_SPOKE_TO_DARUNIA_IN_FIRE_TEMPLE); // Darunia in Fire Temple
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Randomizer_GetSettingValue(RSK_SHUFFLE_OCARINA_BUTTONS) == RO_GENERIC_OFF) {
|
if (Randomizer_GetSettingValue(RSK_SHUFFLE_OCARINA_BUTTONS) == RO_GENERIC_OFF) {
|
||||||
Flags_SetRandomizerInf(RAND_INF_HAS_OCARINA_A);
|
Flags_SetRandomizerInf(RAND_INF_HAS_OCARINA_A);
|
||||||
Flags_SetRandomizerInf(RAND_INF_HAS_OCARINA_C_LEFT);
|
Flags_SetRandomizerInf(RAND_INF_HAS_OCARINA_C_LEFT);
|
||||||
|
@ -846,6 +846,14 @@ void TimeSaverOnActorInitHandler(void* actorRef) {
|
|||||||
enPoSistersKillHook = 0;
|
enPoSistersKillHook = 0;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fire Temple Darunia cutscene
|
||||||
|
if (actor->id == ACTOR_EN_DU && gPlayState->sceneNum == SCENE_FIRE_TEMPLE) {
|
||||||
|
if (CVarGetInteger("gTimeSavers.SkipCutscene.GlitchAiding", 0)) {
|
||||||
|
Flags_SetInfTable(INFTABLE_SPOKE_TO_DARUNIA_IN_FIRE_TEMPLE);
|
||||||
|
Actor_Kill(actor);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TimeSaverOnSceneInitHandler(int16_t sceneNum) {
|
void TimeSaverOnSceneInitHandler(int16_t sceneNum) {
|
||||||
|
@ -581,7 +581,7 @@ void DrawEnhancementsMenu() {
|
|||||||
CVarGetInteger("gTimeSavers.SkipCutscene.Story", IS_RANDO) &&
|
CVarGetInteger("gTimeSavers.SkipCutscene.Story", IS_RANDO) &&
|
||||||
CVarGetInteger("gTimeSavers.SkipCutscene.LearnSong", IS_RANDO) &&
|
CVarGetInteger("gTimeSavers.SkipCutscene.LearnSong", IS_RANDO) &&
|
||||||
CVarGetInteger("gTimeSavers.SkipCutscene.BossIntro", IS_RANDO) &&
|
CVarGetInteger("gTimeSavers.SkipCutscene.BossIntro", IS_RANDO) &&
|
||||||
CVarGetInteger("gTimeSavers.SkipCutscene.GlitchAiding", IS_RANDO) &&
|
CVarGetInteger("gTimeSavers.SkipCutscene.GlitchAiding", 0) &&
|
||||||
CVarGetInteger("gTimeSavers.SkipCutscene.OnePoint", IS_RANDO) &&
|
CVarGetInteger("gTimeSavers.SkipCutscene.OnePoint", IS_RANDO) &&
|
||||||
CVarGetInteger("gTimeSavers.NoForcedDialog", IS_RANDO) &&
|
CVarGetInteger("gTimeSavers.NoForcedDialog", IS_RANDO) &&
|
||||||
CVarGetInteger("gTimeSavers.SkipOwlInteractions", IS_RANDO) &&
|
CVarGetInteger("gTimeSavers.SkipOwlInteractions", IS_RANDO) &&
|
||||||
@ -593,7 +593,7 @@ void DrawEnhancementsMenu() {
|
|||||||
CVarGetInteger("gTimeSavers.SkipCutscene.Story", IS_RANDO) ||
|
CVarGetInteger("gTimeSavers.SkipCutscene.Story", IS_RANDO) ||
|
||||||
CVarGetInteger("gTimeSavers.SkipCutscene.LearnSong", IS_RANDO) ||
|
CVarGetInteger("gTimeSavers.SkipCutscene.LearnSong", IS_RANDO) ||
|
||||||
CVarGetInteger("gTimeSavers.SkipCutscene.BossIntro", IS_RANDO) ||
|
CVarGetInteger("gTimeSavers.SkipCutscene.BossIntro", IS_RANDO) ||
|
||||||
CVarGetInteger("gTimeSavers.SkipCutscene.GlitchAiding", IS_RANDO) ||
|
CVarGetInteger("gTimeSavers.SkipCutscene.GlitchAiding", 0) ||
|
||||||
CVarGetInteger("gTimeSavers.SkipCutscene.OnePoint", IS_RANDO) ||
|
CVarGetInteger("gTimeSavers.SkipCutscene.OnePoint", IS_RANDO) ||
|
||||||
CVarGetInteger("gTimeSavers.NoForcedDialog", IS_RANDO) ||
|
CVarGetInteger("gTimeSavers.NoForcedDialog", IS_RANDO) ||
|
||||||
CVarGetInteger("gTimeSavers.SkipOwlInteractions", IS_RANDO) ||
|
CVarGetInteger("gTimeSavers.SkipOwlInteractions", IS_RANDO) ||
|
||||||
@ -637,7 +637,7 @@ void DrawEnhancementsMenu() {
|
|||||||
UIWidgets::PaddedEnhancementCheckbox("Skip Story Cutscenes", "gTimeSavers.SkipCutscene.Story", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
UIWidgets::PaddedEnhancementCheckbox("Skip Story Cutscenes", "gTimeSavers.SkipCutscene.Story", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Skip Song Cutscenes", "gTimeSavers.SkipCutscene.LearnSong", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
UIWidgets::PaddedEnhancementCheckbox("Skip Song Cutscenes", "gTimeSavers.SkipCutscene.LearnSong", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Skip Boss Introductions", "gTimeSavers.SkipCutscene.BossIntro", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
UIWidgets::PaddedEnhancementCheckbox("Skip Boss Introductions", "gTimeSavers.SkipCutscene.BossIntro", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Skip Glitch-Aiding Cutscenes", "gTimeSavers.SkipCutscene.GlitchAiding", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
UIWidgets::PaddedEnhancementCheckbox("Skip Glitch-Aiding Cutscenes", "gTimeSavers.SkipCutscene.GlitchAiding", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, 0);
|
||||||
UIWidgets::Tooltip("Skip cutscenes that are associated with useful glitches, currently this is only the Fire Temple Darunia CS and Forest Temple Poe Sisters CS");
|
UIWidgets::Tooltip("Skip cutscenes that are associated with useful glitches, currently this is only the Fire Temple Darunia CS and Forest Temple Poe Sisters CS");
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Skip One Point Cutscenes (Chests, Door Unlocks, etc)", "gTimeSavers.SkipCutscene.OnePoint", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
UIWidgets::PaddedEnhancementCheckbox("Skip One Point Cutscenes (Chests, Door Unlocks, etc)", "gTimeSavers.SkipCutscene.OnePoint", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
||||||
UIWidgets::PaddedEnhancementCheckbox("No Forced Dialog", "gTimeSavers.NoForcedDialog", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
UIWidgets::PaddedEnhancementCheckbox("No Forced Dialog", "gTimeSavers.NoForcedDialog", false, false, false, "", UIWidgets::CheckboxGraphics::Cross, IS_RANDO);
|
||||||
|
Loading…
Reference in New Issue
Block a user