Potential bugfix for 2x debug move on water
This commit is contained in:
parent
7165cd70bc
commit
e62c49b7bb
|
@ -109,7 +109,9 @@
|
|||
Next
|
||||
|
||||
If canSurf = True Then
|
||||
Screen.Camera.Move(1)
|
||||
If CType(Screen.Camera, OverworldCamera)._debugWalk = False Then
|
||||
Screen.Camera.Move(1)
|
||||
End If
|
||||
|
||||
Screen.Level.PokemonEncounter.TryEncounterWildPokemon(Me.Position, Spawner.EncounterMethods.Surfing, "")
|
||||
End If
|
||||
|
|
|
@ -92,7 +92,9 @@
|
|||
Next
|
||||
|
||||
If canSurf = True Then
|
||||
Screen.Camera.Move(1)
|
||||
If CType(Screen.Camera, OverworldCamera)._debugWalk = False Then
|
||||
Screen.Camera.Move(1)
|
||||
End If
|
||||
|
||||
Screen.Level.PokemonEncounter.TryEncounterWildPokemon(Me.Position, Spawner.EncounterMethods.Surfing, "")
|
||||
End If
|
||||
|
|
|
@ -848,7 +848,7 @@ Public Class OverworldCamera
|
|||
End If
|
||||
|
||||
If GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
||||
If _debugWalk = True Then
|
||||
If _debugWalk = True AndAlso CType(Core.CurrentScreen, OverworldScreen).ActionScript.IsReady = True Then
|
||||
cannotWalk = False
|
||||
End If
|
||||
End If
|
||||
|
|
Loading…
Reference in New Issue