Granny: don't sell blue potion / item without claim check when adult trade not shuffled (#6363)

This commit is contained in:
Philip Dubé 2026-03-19 13:33:32 +00:00 committed by GitHub
parent 6a9567b369
commit 94a02dd53a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1474,8 +1474,8 @@ void RandomizerOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_l
break;
}
case VB_OFFER_BLUE_POTION: {
// Always offer blue potion when adult trade is off
*should |= RAND_GET_OPTION(RSK_SHUFFLE_ADULT_TRADE).Is(RO_GENERIC_OFF);
*should |= RAND_GET_OPTION(RSK_SHUFFLE_ADULT_TRADE).Is(RO_GENERIC_OFF) &&
INV_CONTENT(ITEM_CLAIM_CHECK) == ITEM_CLAIM_CHECK;
break;
}
case VB_OKARINA_TAG_COMPLETE: {