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:
@@ -1760,7 +1760,7 @@ class PokemonStorageScreen
|
||||
end
|
||||
if box>=0
|
||||
@heldpkmn.formTime = nil if @heldpkmn.respond_to?("formTime")
|
||||
@heldpkmn.form = 0 if isConst?(@heldpkmn.species,PBSpecies,:SHAYMIN)
|
||||
@heldpkmn.form = 0 if @heldpkmn.isSpecies?(:SHAYMIN)
|
||||
@heldpkmn.heal
|
||||
end
|
||||
@scene.pbPlace(selected,@heldpkmn)
|
||||
@@ -1789,7 +1789,7 @@ class PokemonStorageScreen
|
||||
end
|
||||
if box>=0
|
||||
@heldpkmn.formTime = nil if @heldpkmn.respond_to?("formTime")
|
||||
@heldpkmn.form = 0 if isConst?(@heldpkmn.species,PBSpecies,:SHAYMIN)
|
||||
@heldpkmn.form = 0 if @heldpkmn.isSpecies?(:SHAYMIN)
|
||||
@heldpkmn.heal
|
||||
end
|
||||
@scene.pbSwap(selected,@heldpkmn)
|
||||
|
||||
Reference in New Issue
Block a user