Adds exception for DNA Splicers in shops randomizer

This commit is contained in:
infinitefusion
2022-10-16 13:02:00 -04:00
parent 5f3e975c1e
commit 138d9f78f2
3 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ HELD_ITEMS = [:AIRBALLOON, :BRIGHTPOWDER, :EVIOLITE, :FLOATSTONE, :DESTINYKNOT,
:JABOCABERRY, :ROWAPBERRY, :FAIRYGEM]
INVALID_ITEMS = [:COVERFOSSIL, :PLUMEFOSSIL, :ACCURACYUP, :DAMAGEUP, :ANCIENTSTONE, :ODDKEYSTONE_FULL, :TM00]
RANDOM_ITEM_EXCEPTIONS = [:DNASPLICERS, :POKEBALL]
RANDOM_ITEM_EXCEPTIONS = [:DNASPLICERS]
def getRandomGivenTM(item)
return item if item == nil

View File

@@ -92,7 +92,7 @@ def itemCanBeRandomized(item)
return false if item.is_machine?
return false if item.is_key_item?
return false if INVALID_ITEMS.include?(item.id)
#return false if RANDOM_ITEM_EXCEPTIONS.include?(item.id)
return false if RANDOM_ITEM_EXCEPTIONS.include?(item.id)
return true
end

Binary file not shown.