mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
The player now moves at walking speed while diving
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user