要让飞行器只能在大地图用可以用这个
class Game_Player #-------------------------------------------------------------------------- # ● [别名修改]登上载具 #-------------------------------------------------------------------------- alias get_on_vehicle_overworld get_on_vehicle def get_on_vehicle return if $game_map.airship.pos?(@x, @y) && !$game_map.overworld? get_on_vehicle_overworld end end
class Game_Player
#--------------------------------------------------------------------------
# ● [别名修改]登上载具
#--------------------------------------------------------------------------
alias get_on_vehicle_overworld get_on_vehicle
def get_on_vehicle
return if $game_map.airship.pos?(@x, @y) && !$game_map.overworld?
get_on_vehicle_overworld
end
end
|