several small fixes (#4762)

This commit is contained in:
Pepper0ni
2024-12-26 18:51:16 +00:00
committed by GitHub
parent 61e91526cd
commit 32c20b6ebe
5 changed files with 6 additions and 6 deletions

View File

@@ -596,7 +596,7 @@ void EnBox_UpdateSizeAndTexture(EnBox* this, PlayState* play) {
getItemCategory = ITEM_CATEGORY_JUNK;
// If it's a bottle and they already have one, consider the item lesser
} else if (
(this->getItemEntry.modIndex == MOD_RANDOMIZER && this->getItemEntry.getItemId >= RG_BOTTLE_WITH_RED_POTION && this->getItemEntry.getItemId <= RG_BOTTLE_WITH_BIG_POE) ||
(this->getItemEntry.modIndex == MOD_RANDOMIZER && this->getItemEntry.getItemId >= RG_BOTTLE_WITH_RED_POTION && this->getItemEntry.getItemId <= RG_BOTTLE_WITH_POE) ||
(this->getItemEntry.modIndex == MOD_NONE && (this->getItemEntry.getItemId == GI_BOTTLE || this->getItemEntry.getItemId == GI_MILK_BOTTLE))
) {
if (gSaveContext.inventory.items[SLOT_BOTTLE_1] != ITEM_NONE) {