Fix being able to surf when a trainer sees you

This commit is contained in:
JappaWakka 2023-06-27 14:23:35 +02:00
parent f1aeb43b75
commit 9035d28a1b
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@
Private Sub Surf()
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 Screen.ChooseBox.Showing = False Then
Dim canSurf As Boolean = False