From 6ec71964a1924939400cee46761a83d4ede6264e Mon Sep 17 00:00:00 2001 From: Pepper0ni <93387759+Pepper0ni@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:36:12 +0000 Subject: [PATCH] fix ITEM_00's giving twinrovas check (#4820) --- soh/soh/Enhancements/randomizer/hook_handlers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/soh/soh/Enhancements/randomizer/hook_handlers.cpp b/soh/soh/Enhancements/randomizer/hook_handlers.cpp index 7f30aee30..6e88a249f 100644 --- a/soh/soh/Enhancements/randomizer/hook_handlers.cpp +++ b/soh/soh/Enhancements/randomizer/hook_handlers.cpp @@ -883,6 +883,7 @@ void RandomizerOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_l RandomizerCheck rc = OTRGlobals::Instance->gRandomizer->GetCheckFromActor( item00->actor.id, gPlayState->sceneNum, item00->ogParams); if (rc != RC_UNKNOWN_CHECK) { + item00->randoInf = RAND_INF_MAX; item00->actor.params = ITEM00_SOH_DUMMY; item00->itemEntry = Rando::Context::GetInstance()->GetFinalGIEntry( rc, true, (GetItemID)Rando::StaticData::GetLocation(rc)->GetVanillaItem());