With the code I currently have though, the user is able to go through all 4 menu options, but once they click on the last option, they just cycle through the text of the last option indefinitely. How can I change the code so that, after they get through all 4 options, they are taken to the next menu (menu_think)? Here is what I have so far:
Code: Select all
# The game starts here.
label start:
stop music fadeout 1.1
scene bg darkpurple with dissolve
label choices:
menu choices:
laika "[choices_text]"
"Smell" if smell_action_done == False:
$ smell_action_done = True
$ choices_text = "What should I do now?"
jump smell_action
"Look" if look_action_done == False:
$ look_action_done = True
$ choices_text = "What should I do now?"
jump look_action
"Feel" if feel_action_done == False:
$ feel_action_done = True
$ choices_text = "What should I do now?"
jump feel_action
"Move" if move_action_done == False:
$ move_action_done = True
$ choices_text = "What should I do now?"
jump move_action
label smell_action:
laikas "This place smells mostly like me."
laikasc "When the big noise happened, I was scared. {p}I relieved myself, but not on purpose."
laikas "I can still smell where I piddled, but I don't think it matters right now..."
laikas "I also smell myself. I smell like rotting fish."
laikasc "It's hot in here and I don't feel so good. {p}I've been panting ever since the big noise."
jump choices
label look_action:
laika "It's pitch black. I can't see anything"
laikasc "I can't look behind me or even turn around. {p}But I don't think there's anyone here."
jump choices
label feel_action:
laika "The room smells mostly like me."
jump choices
label move_action:
laika "The room smells mostly like me."
jump choices
jump think
menu think:
"Home":
jump home
"The trip out":
jump trip
"The Big Noise":
jump noise
label home:
laikas "I should think about something else..."
label trip:
laikas "I should think about something else..."
label noise:
laikas "I should think about something else..."