Battle Factory improvements

This commit is contained in:
infinitefusion
2022-10-02 12:42:03 -04:00
parent 68aae5f061
commit b762e653e0
42 changed files with 37920 additions and 37489 deletions

View File

@@ -653,7 +653,7 @@ def replaceShopStockWithRandomized(stock)
newStock = []
for item in stock
newItem =$PokemonGlobal.randomItemsHash[item]
if newItem != nil && GameData::Item.get(newItem).price >0
if newItem != nil && GameData::Item.get(newItem).price >0 && !Settings::EXCLUDE_FROM_RANDOM_SHOPS.include?(newItem)
newStock << newItem
else
newStock << item