Fix being able to surf when a trainer sees you
This commit is contained in:
parent
f1aeb43b75
commit
9035d28a1b
|
@ -141,7 +141,7 @@
|
||||||
|
|
||||||
Private Sub Surf()
|
Private Sub Surf()
|
||||||
If Screen.Camera.Turning = False Then
|
If Screen.Camera.Turning = False Then
|
||||||
If Screen.Level.Surfing = False Then
|
If Screen.Level.Surfing = False AndAlso CType(CurrentScreen, OverworldScreen).ActionScript.IsReady = True Then
|
||||||
If Badge.CanUseHMMove(Badge.HMMoves.Surf) = True Or GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
If Badge.CanUseHMMove(Badge.HMMoves.Surf) = True Or GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
||||||
If Screen.ChooseBox.Showing = False Then
|
If Screen.ChooseBox.Showing = False Then
|
||||||
Dim canSurf As Boolean = False
|
Dim canSurf As Boolean = False
|
||||||
|
|
Loading…
Reference in New Issue