Hey all,
I've been trying to have switches determine whether or not a menu option appears in the menu (not just if it is "selectable", but whether or not it is even called). I thought I came up with a simply solution to do so but, alas, no luck. I tried this:
def make_command_list add_main_commands add_formation_command add_original_commands if $game_switches[10] = true add_primal_command else end add_save_command add_game_end_command endMy thinking was "If 10 is on, add the command; if not, nothing. This, however, isn't working because it shows regardless. Any thoughts or solutions?
I've been trying to have switches determine whether or not a menu option appears in the menu (not just if it is "selectable", but whether or not it is even called). I thought I came up with a simply solution to do so but, alas, no luck. I tried this:
def make_command_list add_main_commands add_formation_command add_original_commands if $game_switches[10] = true add_primal_command else end add_save_command add_game_end_command endMy thinking was "If 10 is on, add the command; if not, nothing. This, however, isn't working because it shows regardless. Any thoughts or solutions?