Startup line 61: It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the indented block

I’m just starting off and I’ve been trying for 3 hours to fix this. Can anyone help? I’m losing my mind!

The error I’m getting is: startup line 61: It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the indented block.

My code looks like this:

*label class
What class are you in?

#Gym. < Line 61
*set strength +10
*set agility +10
*finish
#Public Speaking.
*set charm +10
*finish
#I’m skipping class.
*set intuition +10
*finish

3 Likes

can you try using ``` above and below your code so it indents?
but uh, I think you’re missing a *choice or *fake_choice
are you trying to do something like this?

*label class
What class are you in?
*choice
    #Gym.
        *set strength + 10
        *set agility + 10
        maybe words here about gym
        *goto next_scene
    # Public Speaking
        *set variable etc
        words about pub speak
        *goto next_scene

*label next_scene
words here

*finish would end the scene/game

3 Likes

thank you, i was blind to the missing “*choice”

2 Likes

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.