Fix dive checking the wrong canhit move property

This commit is contained in:
JappaWakka 2023-12-11 17:52:32 +01:00
parent 5e87f04d73
commit 13fa3f52d2
1 changed files with 1 additions and 1 deletions

View File

@ -1817,7 +1817,7 @@
dive = BattleScreen.FieldEffects.OwnDiveCounter
End If
If dive > 0 And moveUsed.CanHitInMidAir = False Then
If dive > 0 And moveUsed.CanHitUnderwater = False Then
DoesNotMiss = False
End If
End If