Merge branch 'dev' into ai

This commit is contained in:
Maruno17
2023-04-13 19:36:18 +01:00
45 changed files with 449 additions and 382 deletions

View File

@@ -418,7 +418,7 @@ module GameData
ret = nil if ret == :None
when "Evolutions"
if ret
ret = ret.select { |evo| !evo[3] } # Remove prevolutions
ret = ret.reject { |evo| evo[3] } # Remove prevolutions
ret.each do |evo|
param_type = GameData::Evolution.get(evo[1]).parameter
if !param_type.nil?