Unexpected elif issue? NEED HELP ASAP

Hi! So I am now beginning to code with points, and I figured out how to show the player their point balance, but this happened? The bolded area is where is says "unexpected elif"

label questions
        JB (talk_neutral_atcamera_loop)
    Hi. 
        JB (talk_handsonhips_neutral)
    Got any questions?
choice "What up with the butterfly and the tiger?" {
        JB (talk_handsonhips_neutral)
    Those are your points. 
        JB (talk_airquotes)
    The tiger signifies "baddie" points. 
        JB (talk_airquotes)
    And the butterfly signifies "pure" points.
goto questions
} "How many Baddie points do I have?" {

elif (BADDIE =0)

        JB (talk_handsonhips_neutral)
    You have |bold|0|reset| BADDIE points.

goto questions
} elif (BADDIE =1){

        JB (talk_handsonhips_neutral)
    You have |bold|1|reset | BADDIE points.

goto questions
} elif (BADDIE =2){

        JB (talk_handsonhips_neutral) 
    You have |bold|2|reset | BADDIE points.
goto questions
} "How many pure points do I have?" {
elif (PURE =0){

        JB (talk_handsonhips_neutral)
    You have |bold|0|reset| BADDIE points.

goto questions
} elif (PURE =1){

        JB (talk_handsonhips_neutral)
    You have |bold|1|reset | BADDIE points.

goto questions
} elif (PURE =2){

        JB (talk_handsonhips_neutral) 
    You have |bold|2|reset | BADDIE points.
goto questions
} "Why can't I customize anyone?" {
@JB is eyeroll_sarcastic
        JB (talk_pointup_pretentious)
    It's my story, I make the rules.
        JB (talk_sarcastic)
    But there will be choices to change Eliza depending on your Pure and Baddie Points |bold, italic| later on in the story. 
goto questions
} <PREMIUM> "Finished!!" {
@JB is kiss_blow_happy_atcamera
}

I think you have to start the whole thing with an if, so

if (BADDIE=0){

} elif (BADDIE=1){

} elif (){

} else{

}

Add the points accordingly to that ^

Thanks!! But now it’s saying "There is a { on line 690 (the line where I have the if) that does not have a matching }. But, oddly, it does…?

}"How many Baddie points do I have?" { 
if (BADDIE =0){

        JB (talk_handsonhips_neutral)
    You have |bold|0|reset| BADDIE points.
goto questions
} elif (BADDIE =1){

Based off the code above and if I’m seeing this right, I don’t see an ending } for this choice.

Really?

but where it says

goto questions

} elif (BADDIE =1){

Try adding another of } after goto questions, I think that should work.

How exactly?? I did

goto questions }
goto questions}
goto questions
}

and all of them gave me different errors!

Nevermind, I fixed it!! Thanks for your help!! :heartpulse:

^ This should save error-free, it was just a case of the if and elif getting tangled with the choice brackets, it happens to us all lol.

Edit: I’m late lol, glad it’s working! :+1:

1 Like

Closed: Marked as solved by thread op :v: