Fix camera facing the wrong way in PVP switch

This commit is contained in:
JappaWakka 2023-08-22 20:13:24 +02:00
parent 12c7068bd6
commit e23ba807eb
1 changed files with 3 additions and 2 deletions

View File

@ -326,6 +326,8 @@
If IsPVPBattle = False And IsRemoteBattle = False Then If IsPVPBattle = False And IsRemoteBattle = False Then
PlayerStatistics.Track("Trainer battles", 1) PlayerStatistics.Track("Trainer battles", 1)
Else
TempPVPBattleQuery.Clear()
End If End If
Me.defaultMapType = defaultMapType Me.defaultMapType = defaultMapType
@ -550,7 +552,6 @@
Battle.SwitchInOwn(Me, meIndex, True, OwnPokemonIndex) Battle.SwitchInOwn(Me, meIndex, True, OwnPokemonIndex)
Battle.SwitchInOpp(Me, True, OppPokemonIndex) Battle.SwitchInOpp(Me, True, OppPokemonIndex)
TempPVPBattleQuery.Clear()
Me.BattleQuery.AddRange({cq1, q5, cq2}) Me.BattleQuery.AddRange({cq1, q5, cq2})
@ -1847,6 +1848,7 @@ nextIndex:
Else Else
BV2Screen.BattleMenu.Visible = True BV2Screen.BattleMenu.Visible = True
End If End If
BV2Screen.TempPVPBattleQuery.Clear()
End Sub End Sub
'Sends some variables that let the client know the current state of the battle 'Sends some variables that let the client know the current state of the battle
@ -1909,7 +1911,6 @@ nextIndex:
End If End If
d &= q.ToString() d &= q.ToString()
Next Next
Me.TempPVPBattleQuery.Clear()
Logger.Debug("[Battle]: Sent Host Query") Logger.Debug("[Battle]: Sent Host Query")
If GameController.IS_DEBUG_ACTIVE Then If GameController.IS_DEBUG_ACTIVE Then