How do I create if, else things in my story

Hi i used the if, else thing but it’s not working right:
Here is the exact coding!
ANDY (walk_worried_loop)
I’m worried about him though, we have a game tonight.
If Coach finds out, he might not let him play. We need him tonight. We’re up against West Coast.
Hey are you guys coming tonight?

    CELINE (walk_exhausted_loop)
I'll have to pass, I have a Calculus test tomorrow.

    ELIZA (walk_talk_happy_loop)
Oh don't be silly, you've been studying for that test since last week! You deserve a break!

choice “Go to the game with Eliza, it’ll be fun!” {

    CELINE (talk_handsonhips_neutral)
Ya know what? I'll go!

@ELIZA starts cheer_happy_loop

    ANDY (talk_handsonhips_neutral)
See you girls there!

} “Stay in and study, I need a good grade.” {

    CELINE (talk_reassure_neutral)
I need an A, sorry you guys, maybe next time.

@CELINE exits left
@CELINE is walk_exhausted_loop

}

    ANDY (talk_exclaim_no_worried)
Well I gotta go find Matt before practice.
But I'll see you at the game tonight!

&ANDY exits left
@ANDY is run_athletic_neutral_loop
if (“Stay in a and study, I need a good grade”) {
EXT. CELINE DORM NIGHT
@CELINE changes into Pajamas Comfy
@CELINE starts sleep_lay_uncomfortable_loop
@transition fade out black
} else {
EXT. CELINE DORM NIGHT
CELINE (think_rubchin)
What should I wear to this basketball game?
choice “Show off your school spirit!” {
@CELINE changes into School Spirit
@CELINE starts admire_happy
} “Rock your power suit!” {
@CELINE changes into Power suit
@CELINE starts admire_happy
} “Just go in this” {
@CELINE changes into CELINE_default
@CELINE starts deepbreath

I bolded where I have the if, else
my problem is even when I choose to stay in and study, it still makes me go to the game

ANDY (walk_worried_loop)
I’m worried about him though, we have a game tonight.
If Coach finds out, he might not let him play. We need him tonight. We’re up against West Coast.
Hey are you guys coming tonight?

    CELINE (walk_exhausted_loop)
I'll have to pass, I have a Calculus test tomorrow.

    ELIZA (walk_talk_happy_loop)
Oh don't be silly, you've been studying for that test since last week! You deserve a break!

choice (GAME)
“Go to the game with Eliza, it’ll be fun!” {

    CELINE (talk_handsonhips_neutral)
Ya know what? I'll go!

@ELIZA starts cheer_happy_loop

    ANDY (talk_handsonhips_neutral)
See you girls there!

} “Stay in and study, I need a good grade.” {

    CELINE (talk_reassure_neutral)
I need an A, sorry you guys, maybe next time.

@CELINE exits left
@CELINE is walk_exhausted_loop

}

    ANDY (talk_exclaim_no_worried)
Well I gotta go find Matt before practice.
But I'll see you at the game tonight!

&ANDY exits left
@ANDY is run_athletic_neutral_loop
if (GAME is "Go to the game with Eliza, it’ll be fun!”) {
EXT. CELINE DORM NIGHT
@CELINE changes into Pajamas Comfy
@CELINE starts sleep_lay_uncomfortable_loop
@transition fade out black
} else {
EXT. CELINE DORM NIGHT
CELINE (think_rubchin)
What should I wear to this basketball game?
choice
“Show off your school spirit!” {
@CELINE changes into School Spirit
@CELINE starts admire_happy
} “Rock your power suit!” {
@CELINE changes into Power suit
@CELINE starts admire_happy
} “Just go in this” {
@CELINE changes into CELINE_default
@CELINE starts deepbreath
}

#whatever else you want in the else option (don’t forget that bracket :arrow_down:)

}

The format for the if/elif should be

if (CHOICE_NAME is “Option Name”) {

You didn’t name your choice.

You need to name your choice like this:

choice (CHOICE_NAME)
“Go to the game with Eliza, it’ll be fun!” {

and then the if/elif should look like this:

if (CHOICE_NAME is “Stay in and study, I need a good grade.”) {

} else {

}

You can change “CHOICE_NAME” to whatever you want.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.