From b3b9216b5c01f37bcd8563beb9ca7f637acd880d Mon Sep 17 00:00:00 2001 From: Garrett Cox Date: Wed, 25 Sep 2024 14:01:59 -0500 Subject: [PATCH] Show interface after item get (when skipping GI) (#4363) --- soh/soh/Enhancements/randomizer/hook_handlers.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soh/soh/Enhancements/randomizer/hook_handlers.cpp b/soh/soh/Enhancements/randomizer/hook_handlers.cpp index 552758443..eb7d30b87 100644 --- a/soh/soh/Enhancements/randomizer/hook_handlers.cpp +++ b/soh/soh/Enhancements/randomizer/hook_handlers.cpp @@ -790,6 +790,9 @@ void RandomizerOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, void Randomizer_Item_Give(gPlayState, item00->itemEntry); } } + // This is typically called when you close the text box after getting an item, in case a previous + // function hid the interface. + Interface_ChangeAlpha(gSaveContext.unk_13EE); // EnItem00_SetupAction(item00, func_8001E5C8); // *should = false; } else if (item00->actor.params == ITEM00_SOH_GIVE_ITEM_ENTRY_GI) {