Pokemon no longer get healed in PC

This commit is contained in:
infinitefusion
2023-07-01 17:37:51 -04:00
parent 368c5d4fc0
commit 9c8f9e9437
3 changed files with 8 additions and 4 deletions

View File

@@ -194,7 +194,7 @@ class PokemonStorage
raise "Trying to copy nil to storage" if !pkmn raise "Trying to copy nil to storage" if !pkmn
pkmn.time_form_set = nil pkmn.time_form_set = nil
pkmn.form = 0 if pkmn.isSpecies?(:SHAYMIN) pkmn.form = 0 if pkmn.isSpecies?(:SHAYMIN)
pkmn.heal #pkmn.heal
self[boxDst,indexDst] = pkmn self[boxDst,indexDst] = pkmn
end end
return true return true
@@ -217,7 +217,7 @@ class PokemonStorage
if box>=0 if box>=0
pkmn.time_form_set = nil if pkmn.time_form_set pkmn.time_form_set = nil if pkmn.time_form_set
pkmn.form = 0 if pkmn.isSpecies?(:SHAYMIN) pkmn.form = 0 if pkmn.isSpecies?(:SHAYMIN)
pkmn.heal #pkmn.heal
end end
self[box,i] = pkmn self[box,i] = pkmn
return true return true
@@ -230,7 +230,7 @@ class PokemonStorage
if @currentBox>=0 if @currentBox>=0
pkmn.time_form_set = nil pkmn.time_form_set = nil
pkmn.form = 0 if pkmn.isSpecies?(:SHAYMIN) pkmn.form = 0 if pkmn.isSpecies?(:SHAYMIN)
pkmn.heal #pkmn.heal
end end
for i in 0...maxPokemon(@currentBox) for i in 0...maxPokemon(@currentBox)
if self[@currentBox,i]==nil if self[@currentBox,i]==nil

View File

@@ -1875,7 +1875,11 @@ ItemHandlers::UseInField.add(:BOXLINK, proc { |item|
if blacklisted_maps.include?($game_map.map_id) if blacklisted_maps.include?($game_map.map_id)
Kernel.pbMessage("There doesn't seem to be any network coverage here...") Kernel.pbMessage("There doesn't seem to be any network coverage here...")
else else
pbPokeCenterPC() pbFadeOutIn {
scene = PokemonStorageScene.new
screen = PokemonStorageScreen.new(scene,$PokemonStorage)
screen.pbStartScreen(0) #Boot PC in organize mode
}
end end
next 1 next 1
}) })

Binary file not shown.