Follower checks when using some items/moves in the field are now more specific, which should help following Pokémon scripts

This commit is contained in:
Maruno17
2021-12-09 23:30:52 +00:00
parent 79e04bff6c
commit c55f1f0a2a
4 changed files with 17 additions and 9 deletions

View File

@@ -36,6 +36,14 @@ class Game_Player < Game_Character
return $PokemonGlobal.followers.length > 0
end
def can_map_transfer_with_follower?
return $PokemonGlobal.followers.length == 0
end
def can_ride_vehicle_with_follower?
return $PokemonGlobal.followers.length == 0
end
def can_run?
return false if $game_temp.in_menu || $game_temp.in_battle ||
@move_route_forcing || $game_temp.message_window_showing ||