From 80fb8a8aa58c885327734915b4396c1d336fb36d Mon Sep 17 00:00:00 2001 From: djevangelia <263709373+djevangelia@users.noreply.github.com> Date: Mon, 13 Jul 2026 14:19:31 +0200 Subject: Bugfix, restore A alpha on pause menu age change (#6853) --- soh/soh/Enhancements/SwitchAge.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/soh/soh/Enhancements/SwitchAge.cpp b/soh/soh/Enhancements/SwitchAge.cpp index 03837f040..a8ff5f19d 100644 --- a/soh/soh/Enhancements/SwitchAge.cpp +++ b/soh/soh/Enhancements/SwitchAge.cpp @@ -53,6 +53,12 @@ void SwitchAge() { Entrance_SetEntranceDiscovered(ENTR_LINKS_HOUSE_CHILD_SPAWN, false); } + // If paused, restore things as if unpausing + if (gPlayState->pauseCtx.state != 0) { + // Restore A button enabled alpha (disabled if changing on item/equip subscreen, difficult to get re-enable) + gSaveContext.buttonStatus[4] = 0; + } + static HOOK_ID hookId = 0; hookId = REGISTER_VB_SHOULD(VB_INFLICT_VOID_DAMAGE, { *should = false; -- cgit v1.2.3