Fixed missing method for PokeBattle_FakeBattler

This commit is contained in:
Maruno17
2020-09-17 18:33:08 +01:00
parent d111f93e35
commit a619300a7e
2 changed files with 5 additions and 1 deletions

View File

@@ -100,5 +100,5 @@ end
# Well done for finding this place.
# DO NOT EDIT THESE
ESSENTIALS_VERSION = "18"
ESSENTIALS_VERSION = "18.dev"
ERROR_TEXT = ""

View File

@@ -25,6 +25,10 @@ class PokeBattle_FakeBattler
def shiny?; return @pokemon.shiny?; end
alias isShiny? shiny?
def isSpecies?(checK_species)
return @pokemon && @pokemon.isSpecies?(checK_species)
end
def fainted?; return false; end
alias isFainted? fainted?
def shadowPokemon?; return false; end