Fix for run speed also being used for surfing
This commit is contained in:
parent
0ebc5d6ffd
commit
87210c3ed6
|
@ -421,13 +421,13 @@ Public Class OverworldCamera
|
|||
If CurrentScreen.Identification = Screen.Identifications.OverworldScreen AndAlso CType(CurrentScreen, OverworldScreen).ActionScript.IsReady = True Then
|
||||
If Screen.Level.Riding = True Then
|
||||
Speed = 0.08F
|
||||
Else
|
||||
If Core.Player.IsRunning() = True Then
|
||||
Speed = 0.06F
|
||||
ElseIf Screen.Level.Surfing = True Then
|
||||
Speed = 0.04F
|
||||
ElseIf Core.Player.IsRunning() = True Then
|
||||
Speed = 0.06F
|
||||
Else
|
||||
Speed = 0.04F
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
Screen.Level.OverworldPokemon.MoveSpeed = Speed
|
||||
End Sub
|
||||
|
|
Loading…
Reference in New Issue