#--------------------------------------------------------------------------
# ● 更新
#--------------------------------------------------------------------------
alias plan_map_window_update update
def update
$game_temp.map_visible = @map_window.visible
plan_map_window_update
unless $game_switches[PLAN_Map_Window::SWITCH]
if Input.trigger?(PLAN_Map_Window::ON_OFF_KEY)
if @map_window.visible
@map_window.visible = true
else
@map_window.visible = false
end
end
else
if @map_window.visible
@map_window.visible = true
end
end
if @map_window.visible
@map_window.update
end
end作者: 精灵使者 时间: 2008-1-9 18:11
我以前使用的是这个办法:使用的另外的开关控制。
window_base修改了这么一段: