Quick command error fix

This commit is contained in:
JappaWakka 2024-03-28 18:28:21 +01:00
parent fdc89e31e8
commit eabd35006a
1 changed files with 7 additions and 5 deletions

View File

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