mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Use PokeBattle_Pokemon#isSpecies? instead of isConst?
This commit is contained in:
@@ -193,7 +193,7 @@ end
|
||||
#===============================================================================
|
||||
def pbIsPurifiable?(pkmn)
|
||||
return false if !pkmn
|
||||
return false if isConst?(pkmn.species,PBSpecies,:LUGIA)
|
||||
return false if pkmn.isSpecies?(:LUGIA)
|
||||
return false if !pkmn.shadowPokemon? || pkmn.heartgauge>0
|
||||
return true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user