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 elsif !moving? && !@move_route_forcing && $PokemonGlobal
if $PokemonGlobal.bicycle if $PokemonGlobal.bicycle
self.move_speed = 6 # Cycling self.move_speed = 6 # Cycling
elsif pbCanRun? || $PokemonGlobal.surfing || $PokemonGlobal.diving elsif pbCanRun? || $PokemonGlobal.surfing
self.move_speed = 5 # Running, surfing or diving self.move_speed = 5 # Running, surfing
else else
self.move_speed = 4 # Walking self.move_speed = 4 # Walking, diving
end end
end end
super super