mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 16:54:56 +02:00
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})
|
||||
BattleScreen.HasSwitchedOwn = False
|
||||
BattleScreen.Battle.StartRound(BattleScreen)
|
||||
If Core.Player.BattleStyle = 1 Then
|
||||
BattleScreen.HasSwitchedOwn = False
|
||||
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…
x
Reference in New Issue
Block a user