ERROR! Help me!

Hi guys.
So I was writing a scene where the mc was able to choose an outfit, hairstyle, and lipstick.
You probably know how it works with the label before the choice so that you can always go back etc.
Now that label is giving an error and I have no idea how to fix it.


The error says: You cannot have a label inside if/then statements or { }.
Is it because the label is inside of the choice “Find a restaurant to go to”?{

}
Because if it is, I don’t know how to fix it. That choice is important in the storyline.

HELP!Episode%20error

Yep, this is the reason why you are getting the error, labels can’t go inside of if/elif/else and choices. Can read more here: 🖤 HOW TO: Labels and Gotos 🖤

Example:

choice
“Order Pizza”{

YOU (talk_sad)
Order some pizza.

gain NoRestaurant

goto back_to_main

}“Find a restaurant to go to”{

YOU (talk_sad)
Google for a cheap restaurant to go to.

gain Restaurant

NARR (YOU)
Bla bla bla…
Anyways I found a cute restaurant…

}

INT. STYLISH BEDROOM - DAY
#bla bla bla
label RestaurantLook
#put dressing game here
#scene for the “Find a restaurant to go to” option
goto back_to_main

label back_to_main
#story line merges back to main

1 Like

Thanks for helping me :slight_smile:
I’ll use your example, it’s a great solution.
Thanks again!

1 Like

Closed: Marked as solved by op @DiamondThingy :yay: