This commit is contained in:
Maruno17
2020-09-06 17:32:33 +01:00
20 changed files with 102 additions and 95 deletions

View File

@@ -271,6 +271,10 @@ class PokeBattle_Battler
return ret
end
def isSpecies?(species)
return @pokemon && @pokemon.isSpecies?(species)
end
# Returns the active types of this Pokémon. The array should not include the
# same type more than once, and should not include any invalid type numbers
# (e.g. -1).