Fix opponent switching shenanigans
This commit is contained in:
parent
5a6711f126
commit
36a5ebf936
|
@ -5381,7 +5381,7 @@
|
|||
|
||||
BattleScreen.BattleQuery.AddRange({cq1, cq2})
|
||||
|
||||
If BattleScreen.OppFaint = False AndAlso OppStep.StepType <> RoundConst.StepTypes.Switch Then
|
||||
If BattleScreen.OppFaint = False Then
|
||||
StartRound(BattleScreen)
|
||||
End If
|
||||
BattleScreen.ClearMainMenuTime = True
|
||||
|
@ -8024,8 +8024,10 @@
|
|||
Dim cq2 As ScreenFadeQueryObject = New ScreenFadeQueryObject(ScreenFadeQueryObject.FadeTypes.Vertical, Color.Black, False, 16)
|
||||
cq2.PassThis = True
|
||||
BattleScreen.BattleQuery.AddRange({cq1, cq2})
|
||||
If Core.Player.BattleStyle = 1 Then
|
||||
BattleScreen.HasSwitchedOwn = False
|
||||
BattleScreen.Battle.StartRound(BattleScreen)
|
||||
StartRound(BattleScreen)
|
||||
End If
|
||||
End With
|
||||
End Sub
|
||||
|
||||
|
|
|
@ -127,6 +127,7 @@
|
|||
Dim cq2 As ScreenFadeQueryObject = New ScreenFadeQueryObject(ScreenFadeQueryObject.FadeTypes.Vertical, Color.Black, False, 16)
|
||||
cq2.PassThis = True
|
||||
TempScreen.BattleQuery.AddRange({cq1, cq2})
|
||||
TempScreen.HasSwitchedOwn = False
|
||||
TempScreen.Battle.StartRound(TempScreen)
|
||||
_ready = True
|
||||
End If
|
||||
|
@ -140,6 +141,7 @@
|
|||
Dim cq2 As ScreenFadeQueryObject = New ScreenFadeQueryObject(ScreenFadeQueryObject.FadeTypes.Vertical, Color.Black, False, 16)
|
||||
cq2.PassThis = True
|
||||
TempScreen.BattleQuery.AddRange({cq1, cq2})
|
||||
TempScreen.HasSwitchedOwn = False
|
||||
TempScreen.Battle.StartRound(TempScreen)
|
||||
_ready = True
|
||||
End If
|
||||
|
|
Loading…
Reference in New Issue