fix ITEM_00's giving twinrovas check (#4820)

This commit is contained in:
Pepper0ni 2025-01-06 21:36:12 +00:00 committed by GitHub
parent cb738306d8
commit 6ec71964a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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());