Fixed Waterfall
This commit is contained in:
parent
80468415f2
commit
f82f001026
|
@ -252,7 +252,7 @@
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim p As Pokemon = ReturnWaterFallPokemonName()
|
Dim p As Pokemon = ReturnWaterFallPokemonName()
|
||||||
If Badge.CanUseHMMove(Badge.HMMoves.Waterfall) = True And Not p Is Nothing Or GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
If GameController.IS_DEBUG_ACTIVE = True OrElse Core.Player.SandBoxMode = True OrElse Badge.CanUseHMMove(Badge.HMMoves.Waterfall) = True AndAlso Not p Is Nothing Then
|
||||||
CType(Screen.Camera, OverworldCamera).PreventMovement = True
|
CType(Screen.Camera, OverworldCamera).PreventMovement = True
|
||||||
Dim s As String = ""
|
Dim s As String = ""
|
||||||
|
|
||||||
|
@ -299,6 +299,8 @@
|
||||||
CType(Core.CurrentScreen, OverworldScreen).ActionScript.StartScript(s, 2)
|
CType(Core.CurrentScreen, OverworldScreen).ActionScript.StartScript(s, 2)
|
||||||
|
|
||||||
Return False
|
Return False
|
||||||
|
Else
|
||||||
|
CType(Screen.Camera, OverworldCamera).PreventMovement = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If Me.Collision = True Then
|
If Me.Collision = True Then
|
||||||
|
|
Loading…
Reference in New Issue