mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-23 22:05:36 +02:00
Fixed switch-in bug
This commit is contained in:
parent
6b18150200
commit
72e7f76753
@ -1078,6 +1078,7 @@ nextIndex:
|
|||||||
|
|
||||||
If i = -1 Then
|
If i = -1 Then
|
||||||
If IsPvPBattle Then
|
If IsPvPBattle Then
|
||||||
|
i = 0
|
||||||
While Trainer.Pokemons(i).Status = Pokemon.StatusProblems.Fainted OrElse OppPokemonIndex = i OrElse Trainer.Pokemons(i).HP <= 0
|
While Trainer.Pokemons(i).Status = Pokemon.StatusProblems.Fainted OrElse OppPokemonIndex = i OrElse Trainer.Pokemons(i).HP <= 0
|
||||||
i += 1
|
i += 1
|
||||||
End While
|
End While
|
||||||
|
Loading…
x
Reference in New Issue
Block a user