"It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the indented block."

Okay so I know there is another topic with this name, but I don’t have much of a choice (I couldn’t possibly waste an opportunity for a good pun at a time like this).

… I’ve searched everywhere. Tried everything I could think of. As far as I know, my code is great.

But this error keeps popping up:

(“chapter2 line 137: It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the indented block.”)

I’ve taken out all the stuff I’ve written to make the little excerpt a lot shorter (easier to go through). If someone could take a look to see what I’m doing wrong, I would greatly appreciate it. Because I’m dyin’ over here :upside_down_face:

*choice
   #CHOICECHOICECHOICECHOICECHOICECHOICECHOICECHOICE
      THIS IS A CHOICE WAHOO
      *choice
         #Absolutely!
            *if Acrobatics > 4
               *if (peterscat=true)
                  MISSION SUCCESSFUL YAY
                  
                  *goto thepath2
                   
               *else
                  MISSION SUCCESSFUL YAY 2
                           
                  *goto thepath2
                      
            *if Acrobatics < 4
               *if (peterscat=true)
                  FAILED THINGY
                       
                  *goto thepath2
                       
               *else
                  FAILED THINGY 2

                  *goto thepath2
           
         #THIS IS THE LINE THAT KEEPS BUGGING OUT 
            *if (peterscat=true)
               HASCAT
               *goto thepath2
            *else
               NOCAT
               *goto thepath2
                              
   #CHOICE DENIED
      BORING 
      *goto thepath2


*label thepath2
THE PATH YAY

I’ve been stuck on this problem for about a week trying different things. The best I’ve done is just put another bug in its place because i was feeling frustrated and sassy. I’m sick of losing progress and losing motivation over it…

9 posts were merged into an existing topic: Illegal to fall out of choice statement?