hey, i have a problem when trying to bypass a window from showing, ill show u what i mean,
so the config is like this:
#beging config
$map_name = "examplename.png"
$index0_name = "examplename.png"
$index1_name = ""
$index2_name = ""
then i have the C button to open a window depending where in the idex you are as so:
# if enter is being pressed
if Input.trigger?(Input::C)
if @index == 1
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Switch to item screen
$scene = Scene_Index1.new
end
end
end
what i want is say $index1_name = "", i want it to not show the scene that its set up to show, so you have the option of showing a window, or not showing a window if theres no name there, iv tried multiple ways using:
# if enter is being pressed
if Input.trigger?(Input::C)
if $index1_name = ""
$scene = Scene_MapMenu.new (1)
else
if @index == 1
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Switch to item screen
$scene = Scene_Index1.new
end
end
end
but no luck, iv tried mixing it up abit but cant find a solution