class Scene_Map < Scene_Base
alias x20150815_update_scene update_scene
def update_scene
x20150815_update_scene
update_call_task unless scene_changing?
end
def update_call_task
if $game_system.menu_disabled || $game_map.interpreter.running?
@task_calling = false
else
@task_calling ||= Input.trigger?(:X)
SceneManager.call(Scene_Tan_Task) if @task_calling && !$game_player.moving?
end
end
end
class Scene_Map < Scene_Base
alias x20150815_update_scene update_scene
def update_scene
x20150815_update_scene
update_call_task unless scene_changing?
end
def update_call_task
if $game_system.menu_disabled || $game_map.interpreter.running?
@task_calling = false
else
@task_calling ||= Input.trigger?(:X)
SceneManager.call(Scene_Tan_Task) if @task_calling && !$game_player.moving?
end
end
end