mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +02:00
Make it possible to reset the Pokémon status
This commit is contained in:
parent
5e87f04d73
commit
e2d0996ffd
@ -1043,6 +1043,10 @@
|
|||||||
Status = Pokemon.StatusProblems.Sleep
|
Status = Pokemon.StatusProblems.Sleep
|
||||||
Case "fnt"
|
Case "fnt"
|
||||||
Status = Pokemon.StatusProblems.Fainted
|
Status = Pokemon.StatusProblems.Fainted
|
||||||
|
Case "none"
|
||||||
|
Status = Pokemon.StatusProblems.None
|
||||||
|
Case Else
|
||||||
|
Status = Pokemon.StatusProblems.None
|
||||||
End Select
|
End Select
|
||||||
If Status <> Nothing AndAlso Core.Player.Pokemons.Count - 1 >= Index Then
|
If Status <> Nothing AndAlso Core.Player.Pokemons.Count - 1 >= Index Then
|
||||||
Core.Player.Pokemons(Index).Status = Status
|
Core.Player.Pokemons(Index).Status = Status
|
||||||
|
Loading…
x
Reference in New Issue
Block a user