Files
Shipwright/soh
AutoJanitor 8602c6d154 fix: restore BGM after Stalfos group defeat in MQ Water Temple (#6408)
In EnTest_Destroy, the check for nearby Stalfos uses
Actor_FindNearby which includes killed actors (update == NULL)
still in the linked list. When multiple Stalfos die in the
same frame or in quick succession, the last one to be destroyed
still sees the others in the actor list and skips the BGM
restore call (func_800F5B58).

Replace Actor_FindNearby with a custom check that only counts
living actors (update != NULL). This ensures the miniboss BGM
is properly restored to the dungeon theme when the last
Stalfos in a group is defeated.

Co-authored-by: serprex <159546+serprex@users.noreply.github.com>
2026-07-05 15:32:34 +00:00
..
2024-02-01 23:11:31 -06:00
2026-07-04 20:04:09 +00:00
2025-02-04 10:48:41 +01:00
2026-07-04 20:04:09 +00:00
2024-10-31 07:42:27 -07:00
2022-07-14 20:47:48 -04:00
2022-07-25 21:11:53 -04:00
2025-04-01 22:33:38 -04:00