Illegal to fall out of a *choice, but no falling out is present

*fake_choice
  *hide_reuse #An option
    Text
    
    Like
    
    This
    *goto CommandCenter
  *if (DebrisLaunch = 0)
    #I'll review the debris. 
      More
      
      Text
      *fake_choice
        #Another option
          *set Delay +1
          *set DebrisLaunch 1
          *if (Delay = 1)
            *gosub_scene gosub FirstLaunch
            *goto Debris
          *if (Delay != 1)
            *goto Debris
        #I need to review other options before I decide.
          *goto CommandCenter
  *if (HomesteadLaunch = 0)
    #Option three
      Yay
      
      More
      
      Text
      *fake_choice
        #"Let's check out this homestead, Miller." 
          *set Delay +1
          *set HomesteadLaunch 1
          *if (Delay = 1)
            *gosub_scene gosub FirstLaunch
            *goto Homestead
          *if (Delay != 1)
            *goto Homestead
      #"We have no idea what happened. Send a drone squadron. Let's keep our people safe." <- line 127
        *set Drones -1
        *goto DroneHomestead
      #I should review other options before deciding.
        *goto CommandCenter
  *if (CityLaunch = 0)
    #Another option
      Yay
      
      More
      
      Text
      *fake_choice
        #"Let's check out this signal." 
          *set Delay +1
          *set CityLaunch 1
          *if (Delay = 1)
            *gosub_scene gosub FirstLaunch
            *goto City
          *if (Delay != 1)
            *goto City
        #"Let's get a squadron of drones in there to check it out."
          *set Drones -1
          *goto DroneCity
        #I'll look and see what else is there before deciding.
          *goto CommandCenter
  *if (JungleLaunch = 0)
    #What's so special about this jungle?
      Still
      
      More
      
      Text
      *fake_choice
        #"Welcome to the jungle, Miller."
          *set Delay +1
          *set JungleLaunch 1
          *if (Delay = 1)
            *gosub_scene gosub FirstLaunch
            *goto Jungle
          *if (Delay != 1)
            *goto Jungle
        #"Send a drone squadron. I'm not risking our people."
          *set Drones -1
          *goto DroneJungle
        #I'll look at everything else before deciding. 
          *goto CommandCenter
  #I think we're done for the day on potentially dangerous missions.
    *goto Afternoon

I can’t find what’s wrong. Is there a spacing issue I’m missing? Everything has a *goto but the error says…

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

I included a mark at the 127 line here (it’s not in the file, just here).

Put hide reuse outside of the fake choice block and see how you go

Same error message.

Oh just saw where you’ve marked this. Have you checked your spacing? Honestly I use tabs not spaces for this reason because if you’re one off it makes CS melt down. To me it looks like your spacing might be out unless I’m looking at the wrong thing. Nested choices can get difficult to work out what belongs to what unless the spacing is super clear.

Also you’re using gotos in fake_choices. Just use either choice with gotos or fake_choice without for simplicity and lack of general bugginess.

Also it could be choice script thowing a tantrum because you’re using gosubs within a fake_choice

It’s spacing. I just can’t count.

ONWARD TO FIX MORE ERRORS!!! HIYAA!

Any idea what might cause a temp variable to show up as nonexistent while I have you here? I have

*temp Delay 0

At the start of this chapter and the new error is saying it doesn’t exist.

No probs. Very easy to do. Seriously consider switching to tabs if you’re not too far into the project. it just makes it so much easier to see when you’ve accidentally thrown an extra space/tab in.

Just tab like the tab key?

Yup.

Like the code I’m sitting here looking at on my project right now is like this:

Swaying slightly as you find your balance, you catch sight of your reflection in a pool of water caught in the rocks.

*choice
	#But there's no time to linger on such things. 
		*set showfins "yes"
		*goto walk
		
	#You stop for a moment, looking closer.
		*goto appearanceset
	

Either spaces or tabs work, it’s just the tabs leave bigger gaps so it’s not as easy to mess them up.

Bet. I’ll give it a shot