@params = []
@choices = []
@choices.push("~ Back to Main Menu ~") # Fixed text.
counting = 6
for i in 1..$nameRegister.size - 6
@choices.push($nameRegister[counting]) # I pus in the choices array the strings from my array from position 6 to the last one.
counting += 1
end
@params.push(@choices)
@params.push(1)
setup_choices(@params)
# Here is the problem. When I launch the game, all the code above works and the choices are correctly displayed, but, for every choice I select, the
# following code is not read and the choices window is closed like if, for every option there was nothing to do.
if @branch[@indent] == 0
# Do nothing.
elseif @branch[@indent] > 0
# Do something.
end