End of indented block?!


#1

Right, so I’m getting this error :arrow_down:

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

And this is the code but I literally have no clue what it means.

*choice
#Female
*set gender “Female”
*page_break

#Male :arrow_backward: (By the way this is line 143)
*set gender “Male”
*page_break

Ya know I bet there is a reaaaallly obvious solution but I’m actually super stuck :’( please help!


#2

@Ayy
Have you tried this?

*choice
 #Female
  *set gender "Female"
  *page_break
  *finish (or *goto label)

 #Male
  *set gender "Male"
  *page_break
  *finish (or *goto label)

#3

Ah thannnk yooooouu!! That works now :3


#4

Why are you using those page breaks?


#5

@FairyGodfeather
I am not entirelly sure…I’ve taken them out now and it works fine now, cheers! :cactus: