mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Added setting that determines if Pokémon put into storage are healed
This commit is contained in:
@@ -1722,7 +1722,7 @@ class PokemonStorageScreen
|
||||
p = (heldpoke) ? heldpoke : @storage[-1,index]
|
||||
p.time_form_set = nil
|
||||
p.form = 0 if p.isSpecies?(:SHAYMIN)
|
||||
p.heal
|
||||
p.heal if Settings::HEAL_STORED_POKEMON
|
||||
end
|
||||
@scene.pbStore(selected,heldpoke,destbox,firstfree)
|
||||
if heldpoke
|
||||
@@ -1769,7 +1769,7 @@ class PokemonStorageScreen
|
||||
if box>=0
|
||||
@heldpkmn.time_form_set = nil
|
||||
@heldpkmn.form = 0 if @heldpkmn.isSpecies?(:SHAYMIN)
|
||||
@heldpkmn.heal
|
||||
@heldpkmn.heal if Settings::HEAL_STORED_POKEMON
|
||||
end
|
||||
@scene.pbPlace(selected,@heldpkmn)
|
||||
@storage[box,index] = @heldpkmn
|
||||
@@ -1798,7 +1798,7 @@ class PokemonStorageScreen
|
||||
if box>=0
|
||||
@heldpkmn.time_form_set = nil
|
||||
@heldpkmn.form = 0 if @heldpkmn.isSpecies?(:SHAYMIN)
|
||||
@heldpkmn.heal
|
||||
@heldpkmn.heal if Settings::HEAL_STORED_POKEMON
|
||||
end
|
||||
@scene.pbSwap(selected,@heldpkmn)
|
||||
tmp = @storage[box,index]
|
||||
|
||||
Reference in New Issue
Block a user