Fix exp sharing after switching before opponent

This commit is contained in:
JappaWakka 2022-11-11 12:59:38 +01:00
parent da637a85af
commit 7d1931abd1
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@
Else
Dim TempQuery = TempScreen.BattleQuery.ToArray
If TempScreen.OwnPokemonIndex <> PokeIndex Then
TempScreen.ParticipatedPokemon.Clear()
TempScreen.ParticipatedPokemon.Add(PokeIndex)
If TempScreen.IsRemoteBattle = True And TempScreen.IsHost = False Then
TempScreen.OppFaint = False
TempScreen.OwnStatistics.Switches += 1