Fixes issue preventing fused roaming Pokémon to appear

This commit is contained in:
infinitefusion
2023-11-19 11:57:25 -05:00
parent 179c8d078b
commit 081fa99293
4 changed files with 5 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -17,6 +17,11 @@ module GameData
validate other => [Symbol, self, String, Integer] validate other => [Symbol, self, String, Integer]
other = other.id if other.is_a?(self) other = other.id if other.is_a?(self)
other = other.to_sym if other.is_a?(String) other = other.to_sym if other.is_a?(String)
if self == GameData::Species
return !get(other).nil?
end
return !self::DATA[other].nil? return !self::DATA[other].nil?
end end

Binary file not shown.