Merge branch 'main' into feature/no-low-hp-sound

This commit is contained in:
MelonSpeedruns
2026-04-04 21:50:00 -04:00
committed by GitHub
7 changed files with 81 additions and 27 deletions
+9
View File
@@ -107,6 +107,15 @@ static Z2EnemyInfo mEnemyInfo[64] = {
void Z2SoundObjMgr::searchEnemy() {
twilightBattle_ = 0;
#if TARGET_PC
if (Z2GetSeqMgr()->checkBgmIDPlaying(Z2BGM_MIDNA_SOS) &&
dusk::getSettings().game.midnasLamentNonStop)
{
Z2GetSeqMgr()->changeSubBgmStatus(0);
return;
}
#endif
if (!Z2GetLink()) {
Z2GetSeqMgr()->stopBattleBgm(1, 1);
return;