Quick command error fix

This commit is contained in:
JappaWakka 2024-03-28 18:28:21 +01:00
parent fdc89e31e8
commit eabd35006a

View File

@ -163,11 +163,13 @@
For Each level As Integer In Core.Player.Pokemons(pokeIndex).AttackLearns.Keys For Each level As Integer In Core.Player.Pokemons(pokeIndex).AttackLearns.Keys
If level <= MaxLevel Then If level <= MaxLevel Then
If levelMoves = "" Then For Each a As BattleSystem.Attack In Core.Player.Pokemons(pokeIndex).AttackLearns(level)
levelMoves = Core.Player.Pokemons(pokeIndex).AttackLearns(level).ID.ToString If levelMoves = "" Then
Else levelMoves = a.ID.ToString
levelMoves &= "," & Core.Player.Pokemons(pokeIndex).AttackLearns(level).ID.ToString Else
End If levelMoves &= "," & a.ID.ToString
End If
Next
End If End If
Next Next
Return levelMoves Return levelMoves