Only one choice working?

coding
community

#1

Hey guys I can’t figure out what’s wrong with my coding but the choices provided only allows the character to go to one place even though the other option is chosen.

EMBER
(What should I do to pass time?)

choice
“Go to the cafe food is lyfe.” {

sound ding

    EMBER (admire)
(Finna get some food up in this bih.)

@EMBER exits right

gain chose_cafe

}
“Go back to your dorm and chill you had enough.”{

sound ding

    EMBER (talk_shrug)
I've got nothing better to do.

@EMBER exits right

gain chose_dorm

}

if (chose_cafe){

then i have a scene

} elif (chose_dorm) {

scene

}

This is what I have written I’m not sure how to fix it.


HOW TO: Remember Past Choices! (if/elif/else) (FOR BEGINNERS!) -Easiest Method-
Joseph Evans' Tutorials A Problem? (Mini Chat) (No hate towards Joseph Evans)
#2

When using if/elif/else commands you must always use else for the last option:

if (chose_cafe){

then i have a scene

} else {

scene

}


#3

Thank you so much it works for me now!