The player now moves at walking speed while diving

This commit is contained in:
Maruno17
2020-09-20 12:24:36 +01:00
parent 2fd085728a
commit 301a4c9b4f

View File

@@ -58,10 +58,10 @@ class Game_Player < Game_Character
elsif !moving? && !@move_route_forcing && $PokemonGlobal
if $PokemonGlobal.bicycle
self.move_speed = 6 # Cycling
elsif pbCanRun? || $PokemonGlobal.surfing || $PokemonGlobal.diving
self.move_speed = 5 # Running, surfing or diving
elsif pbCanRun? || $PokemonGlobal.surfing
self.move_speed = 5 # Running, surfing
else
self.move_speed = 4 # Walking
self.move_speed = 4 # Walking, diving
end
end
super