diff options
| author | djevangelia <263709373+djevangelia@users.noreply.github.com> | 2026-07-13 14:19:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-13 12:19:31 +0000 |
| commit | 80fb8a8aa58c885327734915b4396c1d336fb36d (patch) | |
| tree | bbacb6c14e1dd3a9e13e5a50b10ca5ebf195b701 | |
| parent | fdb7e194cca951888326d67a5537336afa8acf8c (diff) | |
Bugfix, restore A alpha on pause menu age change (#6853)
| -rw-r--r-- | soh/soh/Enhancements/SwitchAge.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; |
