Removed all uses of ID numbers for species, some other code changes for abolishing ID numbers

This commit is contained in:
Maruno17
2021-06-16 22:42:20 +01:00
parent 8c67127f06
commit e9457a3ea8
22 changed files with 965 additions and 1750 deletions

View File

@@ -1050,8 +1050,7 @@ end
def pbBuyTriads
commands = []
realcommands = []
GameData::Species.each do |s|
next if s.form != 0
GameData::Species.each_species do |s|
next if !$Trainer.owned?(s.species)
price = TriadCard.new(s.id).price
commands.push([price, s.name, _INTL("{1} - ${2}", s.name, price.to_s_formatted), s.id])