Teleport doesn't fail anymore if opp is faster
This commit is contained in:
parent
7e7dae0d20
commit
b8ffdb73c3
|
@ -676,7 +676,7 @@
|
|||
Return False
|
||||
End Function
|
||||
|
||||
Public Shared Function CanRun(ByVal own As Boolean, ByVal BattleScreen As BattleScreen) As Boolean
|
||||
Public Shared Function CanRun(ByVal own As Boolean, ByVal BattleScreen As BattleScreen, Optional ByVal IsEscapeMove As Boolean = False) As Boolean
|
||||
If BattleScreen.BattleMode = BattleScreen.BattleModes.Safari Then
|
||||
Return True
|
||||
End If
|
||||
|
@ -736,6 +736,10 @@
|
|||
Return False
|
||||
End If
|
||||
|
||||
If IsEscapeMove = True Then
|
||||
Return True
|
||||
End If
|
||||
|
||||
If p.Speed > op.Speed Then
|
||||
Return True
|
||||
Else
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue