Fixed location signpost not appearing properly when using Fly, fixed wild/trainer Pokémon with a "getForm" handler not using it

This commit is contained in:
Maruno17
2023-11-20 22:11:32 +00:00
parent e0dcdef321
commit 1080f69a0d
10 changed files with 89 additions and 88 deletions

View File

@@ -487,7 +487,6 @@ def pbFlyToNewLocation(pkmn = nil, move = :FLY)
$game_temp.player_new_x = $game_temp.fly_destination[1]
$game_temp.player_new_y = $game_temp.fly_destination[2]
$game_temp.player_new_direction = 2
$game_temp.fly_destination = nil
pbDismountBike
$scene.transfer_player
$game_map.autoplay
@@ -496,6 +495,7 @@ def pbFlyToNewLocation(pkmn = nil, move = :FLY)
pbWait(0.25)
end
pbEraseEscapePoint
$game_temp.fly_destination = nil
return true
end