From f38e08c86b290f2fec6bb3aa60a6eb1b5b52987f Mon Sep 17 00:00:00 2001 From: earthcrafterman Date: Sat, 30 Apr 2022 23:27:44 -0400 Subject: [PATCH] Removes the code that plays the low health alarm sound effect, by removing that instead of making HealthMeter_IsCritical always return false, Link will still play the tired animation when low on health. --- soh/src/code/z_lifemeter.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/soh/src/code/z_lifemeter.c b/soh/src/code/z_lifemeter.c index 344022505..db00ebeaf 100644 --- a/soh/src/code/z_lifemeter.c +++ b/soh/src/code/z_lifemeter.c @@ -498,10 +498,6 @@ void HealthMeter_HandleCriticalAlarm(GlobalContext* globalCtx) { if (interfaceCtx->unk_22A <= 0) { interfaceCtx->unk_22A = 0; interfaceCtx->unk_22C = 0; - if (!Player_InCsMode(globalCtx) && (globalCtx->pauseCtx.state == 0) && - (globalCtx->pauseCtx.debugState == 0) && HealthMeter_IsCritical() && !Gameplay_InCsMode(globalCtx)) { - func_80078884(NA_SE_SY_HITPOINT_ALARM); - } } } else { interfaceCtx->unk_22A++;