I'm failing in getting the yes no screen to appear, along with the y/n screen I'm trying to develop a return point which coding looks like this:
Code: Select all
label MusicSelect:
$ musicList = ["SoramimiCake.mp3", "Epic.mp3", "Troika.mp3" ]
$ index = -1
label returnPoint:
python:
index +=1
if index > len(musicList):
index = 0
"Please choose the music you would like to hear."
menu:
"GOAL: How would you keep your focus while driving?"
with dissolve
"[musicList[index]]"
"[hap1]":
$layout.yesno_screen ("Choose this music?", yes=renpy.jump("choice_hap"), no=renpy.jump("returnPoint"))
Is there anyone who knows where I went wrong in the code?