Bugfix, restore A alpha on pause menu age change (#6853)

This commit is contained in:
djevangelia
2026-07-13 14:19:31 +02:00
committed by GitHub
parent fdb7e194cc
commit 80fb8a8aa5
+6
View File
@@ -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;