Fix for non-HM field moves not visible in menu

This commit is contained in:
JappaWakka 2023-01-15 20:46:26 +01:00
parent 15b974fe3f
commit 7dedbb7ec2
1 changed files with 5 additions and 6 deletions

View File

@ -683,13 +683,12 @@ Public Class PartyScreen
If Badge.CanUseHMMove(CType(hmMove, Badge.HMMoves)) = False Then
Return False
End If
For Each a As BattleSystem.Attack In p.Attacks
If a.Name.ToLower() = moveName.ToLower() Then
Return True
End If
Next
End If
For Each a As BattleSystem.Attack In p.Attacks
If a.Name.ToLower() = moveName.ToLower() Then
Return True
End If
Next
End If
Return False
End Function