mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-12 04:07:43 -04:00
Bugfix, restore A alpha on pause menu age change (#6853)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user