Fix ForceCameraTurn

This commit is contained in:
JappaWakka 2023-10-10 09:47:05 +02:00
parent d2673ed435
commit f7fd221ce9
2 changed files with 13 additions and 1 deletions

View File

@ -1011,6 +1011,18 @@ Public Class OverworldCamera
facing -= 4
End While
Turning = True
_aimDirection = facing
End If
Else
If ForceCameraTurn = True Then
Dim facing As Integer = GetFacingDirection()
facing += _playerFacing - GetFacingDirection()
While facing > 3
facing -= 4
End While
Turning = True
_aimDirection = facing
End If

View File

@ -164,7 +164,7 @@
turns = turns + 4
End If
If turns > 0 Then
If turns > 0 OrElse ForceCameraTurn = True Then
Screen.Camera.Turn(turns, ForceCameraTurn)
Started = True
Screen.Level.OverworldPokemon.Visible = False