Non-Stop Midna's Lament Audio Enhancement

This commit is contained in:
MelonSpeedruns
2026-04-04 11:36:15 -04:00
parent 015e7aceab
commit 1862e3a0e4
4 changed files with 22 additions and 0 deletions
+3
View File
@@ -45,6 +45,9 @@ struct UserSettings {
bool enableBloom;
bool useWaterProjectionOffset;
// Audio
bool midnasLamentNonStop;
// Cheats
bool enableFastIronBoots;
+7
View File
@@ -107,6 +107,13 @@ static Z2EnemyInfo mEnemyInfo[64] = {
void Z2SoundObjMgr::searchEnemy() {
twilightBattle_ = 0;
#if TARGET_PC
if (Z2GetSeqMgr()->checkBgmIDPlaying(Z2BGM_MIDNA_SOS)) {
Z2GetSeqMgr()->changeSubBgmStatus(0);
return;
}
#endif
if (!Z2GetLink()) {
Z2GetSeqMgr()->stopBattleBgm(1, 1);
return;
+9
View File
@@ -67,6 +67,15 @@ namespace dusk {
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Audio")) {
ImGui::Checkbox("Non-Stop Midna's Lament", &getSettings().game.midnasLamentNonStop);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Prevents enemy music while Midna's Lament is playing.");
}
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Cheats")) {
ImGui::Checkbox("Fast Iron Boots", &getSettings().game.enableFastIronBoots);
+3
View File
@@ -41,6 +41,9 @@ UserSettings g_userSettings = {
.enableBloom = true,
.useWaterProjectionOffset = false,
// Audio
.midnasLamentNonStop = false,
// Cheats
.enableFastIronBoots = false,