diff --git a/Data/Scripts/012_Battle/001_Battler/002_Battler_Initialize.rb b/Data/Scripts/012_Battle/001_Battler/002_Battler_Initialize.rb index 663fde76e..c99913020 100644 --- a/Data/Scripts/012_Battle/001_Battler/002_Battler_Initialize.rb +++ b/Data/Scripts/012_Battle/001_Battler/002_Battler_Initialize.rb @@ -65,6 +65,7 @@ class PokeBattle_Battler def pbInitialize(pkmn,idxParty,batonPass=false) pbInitPokemon(pkmn,idxParty) pbInitEffects(batonPass) + @damageState.reset end def pbInitPokemon(pkmn,idxParty) @@ -138,7 +139,6 @@ class PokeBattle_Battler @effects[PBEffects::Substitute] = 0 @effects[PBEffects::Telekinesis] = 0 end - @damageState.reset @fainted = (@hp==0) @initialHP = 0 @lastAttacker = [] @@ -302,7 +302,7 @@ class PokeBattle_Battler end end - # Used only to erase the battler of a Shadow Pokémon that has been snagged. + # Used to erase the battler of a Pokémon that has been caught. def pbReset @pokemon = nil @pokemonIndex = -1