Make it possible to reset the Pokémon status

This commit is contained in:
JappaWakka 2023-12-10 13:11:48 +01:00
parent 5e87f04d73
commit e2d0996ffd
1 changed files with 4 additions and 0 deletions

View File

@ -1043,6 +1043,10 @@
Status = Pokemon.StatusProblems.Sleep
Case "fnt"
Status = Pokemon.StatusProblems.Fainted
Case "none"
Status = Pokemon.StatusProblems.None
Case Else
Status = Pokemon.StatusProblems.None
End Select
If Status <> Nothing AndAlso Core.Player.Pokemons.Count - 1 >= Index Then
Core.Player.Pokemons(Index).Status = Status