mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-25 23:05:24 +02:00
Fixed lvl 100 Pokemon not being able to gain EVs through training
This commit is contained in:
parent
47410f1cd6
commit
33c552a274
@ -6298,7 +6298,7 @@
|
|||||||
If BattleScreen.IsPVPBattle = False And BattleScreen.CanReceiveEXP = True Then
|
If BattleScreen.IsPVPBattle = False And BattleScreen.CanReceiveEXP = True Then
|
||||||
Dim expPokemon As New List(Of Integer)
|
Dim expPokemon As New List(Of Integer)
|
||||||
For Each i As Integer In BattleScreen.ParticipatedPokemon
|
For Each i As Integer In BattleScreen.ParticipatedPokemon
|
||||||
If Core.Player.Pokemons(i).Status <> Pokemon.StatusProblems.Fainted And Core.Player.Pokemons(i).Level < CInt(GameModeManager.GetGameRuleValue("MaxLevel", "100")) And Core.Player.Pokemons(i).IsEgg() = False Then
|
If Core.Player.Pokemons(i).Status <> Pokemon.StatusProblems.Fainted And Core.Player.Pokemons(i).IsEgg() = False Then
|
||||||
expPokemon.Add(i)
|
expPokemon.Add(i)
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
Loading…
x
Reference in New Issue
Block a user