What I'm trying to do: Add "Sound Test" or "Picture Gallery" to title screen upon game completion (I am using a switch for this right now)
Problem: Game adds options without regardless of switch state
Scene_Title:
I want to learn HOW to do this, but I can reverse engineer the solution if someone just wants to post the method instead of teaching me.
Also, if switches aren't the way to go, then what is? I've noticed that it's hard to set switches from the title screen...
Problem: Game adds options without regardless of switch state
Scene_Title:
def create_command_window @command_window = Window_TitleCommand.new
@command_window.set_handler🙂new_game, method🙂command_new_game))
@command_window.set_handler🙂continue, method🙂command_continue))
@command_window.set_handler🙂options, method🙂command_options))
if $game_switches[31]
@command_window.set_handler🙂sound_test, method🙂command_sound_test))
@command_window.set_handler🙂picture_gallery, method🙂command_picture_gallery))
end
@command_window.set_handler🙂shutdown, method🙂command_shutdown))
end
@command_window.set_handler🙂new_game, method🙂command_new_game))
@command_window.set_handler🙂continue, method🙂command_continue))
@command_window.set_handler🙂options, method🙂command_options))
if $game_switches[31]
@command_window.set_handler🙂sound_test, method🙂command_sound_test))
@command_window.set_handler🙂picture_gallery, method🙂command_picture_gallery))
end
@command_window.set_handler🙂shutdown, method🙂command_shutdown))
end
I want to learn HOW to do this, but I can reverse engineer the solution if someone just wants to post the method instead of teaching me.
Also, if switches aren't the way to go, then what is? I've noticed that it's hard to set switches from the title screen...