Fixed Pokémon still encountering with debugwalk

This commit is contained in:
JappaWakka 2023-01-15 19:45:29 +01:00
parent 6562aba3de
commit aa982addbe
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ Public Class PokemonEncounter
If randomValue <= minEncounterValue Then
' Don't encounter a Pokémon if the left control key is held down, for Debug or Sandbox Mode:
If GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
If KeyBoardHandler.KeyDown(Keys.LeftControl) = True Then
If CType(Screen.Camera, OverworldCamera)._debugWalk = True Then
Exit Sub
End If
End If