Fixed set movement type (#185)

This commit is contained in:
Golisopod-User
2022-08-08 22:10:12 +05:30
committed by GitHub
parent b2ddedbce1
commit bff0cc6974
2 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ def pbFishingEnd
end
end
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.straighten
$PokemonGlobal.fishing = false