Add check for bean inventory slot having bean on it to allow availability to succeed with ammo count 0. (#5370)

This commit is contained in:
Malkierian 2025-04-09 13:58:06 -07:00 committed by GitHub
parent 73400f5856
commit c12349a7a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,7 +71,7 @@ bool Logic::HasItem(RandomizerGet itemName) {
case RG_DISTANT_SCARECROW:
return ScarecrowsSong() && CanUse(RG_LONGSHOT);
case RG_MAGIC_BEAN:
return GetAmmo(ITEM_BEAN) > 0;
return GetAmmo(ITEM_BEAN) > 0 || CheckInventory(ITEM_BEAN, true);
case RG_KOKIRI_SWORD:
case RG_DEKU_SHIELD:
case RG_GORON_TUNIC: