Stomp bypasses accuracy check for Minimized opp

This commit is contained in:
JappaWakka 2025-07-13 17:14:18 +02:00
parent b3ad6179bb
commit 7cecdce726

View File

@ -1881,6 +1881,15 @@
DoesNotMiss = True DoesNotMiss = True
End If End If
Dim minimize As Integer = BattleScreen.FieldEffects.OppMinimize
If own = False Then
minimize = BattleScreen.FieldEffects.OwnMinimize
End If
If minimize > 0 AndAlso moveUsed.Name.ToLower = "stomp" Then
DoesNotMiss = True
End If
'if the target pokemon can't be hit because of a two-turn move (Fly, for example) 'if the target pokemon can't be hit because of a two-turn move (Fly, for example)
Dim UseTwoTurnCheck As Boolean = True Dim UseTwoTurnCheck As Boolean = True
If moveUsed.ProtectAffected = False Then If moveUsed.ProtectAffected = False Then