battle items

This commit is contained in:
infinitefusion
2022-04-06 18:33:31 -04:00
parent 0c1fd5fac5
commit 3a12486fd2
29 changed files with 574 additions and 496 deletions

View File

@@ -296,6 +296,19 @@ class PokeBattle_Battler
return @pokemon && @pokemon.isSpecies?(species)
end
def hasBodyOf?(check_species)
return @pokemon.hasBodyOf?(check_species)
end
def hasHeadOf?(check_species)
return @pokemon.hasHeadOf?(check_species)
end
def isFusionOf(check_species)
return @pokemon.isFusionOf(check_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).