$VIPArcherScript ||= {};$VIPArcherScript[:location] = 20141203
class Game_Interpreter
def player_pos?(x, y, m = @map_id)
$game_map.map_id == m && $game_player.pos?(x, y)
end
def event_pos?(x, y, id = @event_id)
$game_map.events[id].pos?(x, y)
end
def terrain_tag(id = $game_player)
case id
when $game_player then id.terrain_tag
when -$game_party.max_battle_members + 1..-1
$game_player.followers[id.abs - 1].terrain_tag
else
get_character(id).terrain_tag
end
end
def region_id(id = $game_player)
case id
when $game_player then id.region_id
when -$game_party.max_battle_members + 1..-1
$game_player.followers[id.abs - 1].region_id
else
get_character(id).region_id
end
end
end