Fixed synchronize and teleport interaction

This commit is contained in:
CaptainSegis 2017-01-12 15:35:50 -05:00
parent 9a989d59e2
commit 9ab5207271
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@
Public IsAfterFaint As Boolean = False
Public WildHasEscaped As Boolean = False
#Region "StartRound"
Public Structure RoundConst
@ -1043,7 +1044,10 @@
p = BattleScreen.OppPokemon
op = BattleScreen.OwnPokemon
End If
If WildHasEscaped Then
WildHasEscaped = False
Exit Sub
End If
'Transform Aegislash with Stance Change ability.
If p.Ability.Name.ToLower() = "stance change" AndAlso p.Number = 681 Then
If p.AdditionalData = "" Then