class Window_MenuCommand < Window_Command
alias Task_add_main_commands add_main_commands
def add_main_commands
Task_add_main_commands
add_command("任務", :Task, main_commands_enabled)
end
end
class Scene_Menu < Scene_MenuBase
alias Task_create_command_window create_command_window
def create_command_window
Task_create_command_window
@command_window.set_handler(:Task, method(:Tasks))
end
def Task
SceneManager.call(Scene_Task)
end
end
class Window_MenuCommand < Window_Command
alias Task_add_main_commands add_main_commands
def add_main_commands
Task_add_main_commands
add_command("任務", :Task, main_commands_enabled)
end
end
class Scene_Menu < Scene_MenuBase
alias Task_create_command_window create_command_window
def create_command_window
Task_create_command_window
@command_window.set_handler(:Task, method(:Tasks))
end
def Task
SceneManager.call(Scene_Task)
end
end