mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
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:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user