mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixed set movement type (#185)
This commit is contained in:
@@ -578,13 +578,13 @@ end
|
||||
|
||||
def pbUpdateVehicle
|
||||
if $PokemonGlobal&.diving
|
||||
$game_player.set_movement_type(:diving)
|
||||
$game_player.set_movement_type(:diving_stopped)
|
||||
elsif $PokemonGlobal&.surfing
|
||||
$game_player.set_movement_type(:surfing)
|
||||
$game_player.set_movement_type(:surfing_stopped)
|
||||
elsif $PokemonGlobal&.bicycle
|
||||
$game_player.set_movement_type(:cycling)
|
||||
$game_player.set_movement_type(:cycling_stopped)
|
||||
else
|
||||
$game_player.set_movement_type(:walking)
|
||||
$game_player.set_movement_type(:walking_stopped)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user