Can someone pick out what's wrong with this?

It was fine 3 seconds ago . :roll_eyes:

I’m not sure exactly what’s causing your error, but I can see you’re trying to do a dressing game where the outfit choice you’re picking is remembered and it’s not going to work the way you’ve set it up.

You’ll need to have it like this:

label dressinggame
SCARLETT (talk_think)
What’s your favourite?
choice “Midnight Blue” {
@SCARLETT is dustoff_loop
@SCARLETT changes into SCARLETTbanquet
SCARLETT (talk_primp_condescend)
Final choice?
choice “LOOK AT YOUUU” {
gain midnightblue
goto dressinggameend
} “Choose another one” {
goto dressinggame
}
}“Gothic” {
@SCARLETT is dustoff_loop
@SCARLETT changes into SCARLETTevent2
SCARLETT (talk_primp_condescend)
Final choice?
choice “LOOK AT YOUUU” {
gain gothic
goto dressinggameend
} “Choose another one” {
goto dressinggame
}
}“Green and Glitter” {
@SCARLETT is dustoff_loop
@SCARLETT changes into SCARLETTevent3
SCARLETT (talk_primp_condescend)
Final choice?
choice “LOOK AT YOUUU” {
gain greenandglitter
goto dressinggameend
} “Choose another one” {
goto dressinggame
}
}
label dressinggameend

1 Like

You are getting that error message because you have gains right after the goto commands. The goto should always be the very last thing inside of brackets.

Also, you don’t really need goto’s anyways because once a choice is chosen it will immediately go to the next choice, so you don’t need the label dressing_end either.

Another thing, you cannot use gains with the way you set up your dressing game. If they choose to go back and try on a different outfit then they will gain all those gains. So just remove the gains altogether. If you want to remember that choice later on, check THIS TEMPLATE and check THIS GUIDE.

If you absolutely must use gains, then you will need to add yes/no choices inside each choice option, LIKE THIS

1 Like