mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Fixed set movement type (#185)
This commit is contained in:
@@ -578,13 +578,13 @@ end
|
|||||||
|
|
||||||
def pbUpdateVehicle
|
def pbUpdateVehicle
|
||||||
if $PokemonGlobal&.diving
|
if $PokemonGlobal&.diving
|
||||||
$game_player.set_movement_type(:diving)
|
$game_player.set_movement_type(:diving_stopped)
|
||||||
elsif $PokemonGlobal&.surfing
|
elsif $PokemonGlobal&.surfing
|
||||||
$game_player.set_movement_type(:surfing)
|
$game_player.set_movement_type(:surfing_stopped)
|
||||||
elsif $PokemonGlobal&.bicycle
|
elsif $PokemonGlobal&.bicycle
|
||||||
$game_player.set_movement_type(:cycling)
|
$game_player.set_movement_type(:cycling_stopped)
|
||||||
else
|
else
|
||||||
$game_player.set_movement_type(:walking)
|
$game_player.set_movement_type(:walking_stopped)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ def pbFishingEnd
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
yield if block_given?
|
yield if block_given?
|
||||||
$game_player.set_movement_type(($PokemonGlobal.surfing) ? :surfing : :walking)
|
$game_player.set_movement_type(($PokemonGlobal.surfing) ? :surfing_stopped : :walking_stopped)
|
||||||
$game_player.lock_pattern = false
|
$game_player.lock_pattern = false
|
||||||
$game_player.straighten
|
$game_player.straighten
|
||||||
$PokemonGlobal.fishing = false
|
$PokemonGlobal.fishing = false
|
||||||
|
|||||||
Reference in New Issue
Block a user