If, and else confusion


#1

SOOO… I made this important choice in episode 3 (I am writing episode 4 now) for readers to make. So in episode four I am writing on the past choice effects aka branching out the choices. Everytime I test it in the episode app on mobile, it always go to the else choice no matter what. It doesn’t go into the if choice at all. I replayed episode 3 as if I am the reader and read episode 4 and it still went to the else choice. I would really appreciate it if someone helped me with this. Also I am not sure of it is my coding or the app chooses to the the else choice.

Here’s my script (Pretty Long; sorry about that :disappointed_relieved:)

if (LIFE OR DEATH is “Wait for your favorite best friend that has been there for you from thick and thin.”) {
@JOJO changes into jojo_nerd
@SIMONE spot 0.604 226 200 AND SIMONE faces right AND DAKOTA spot 0.598 285 197 AND DAKOTA faces left AND LAYLA spot 0.490 132 332 AND LAYLA faces right AND RENEESE spot 0.472 183 342 AND RENEESE faces left AND YASMINE spot 0.753 -87 132 AND JOJO spot 0.312 296 408 AND JOJO faces left AND JOJO is talk_read_paper AND JEFF spot 0.824 42 123 AND JEFF faces right AND JEFF is text_phone_neutral_loop AND JOJO moves to layer -9
@SIMONE is talk_arms_crossed_loop AND DAKOTA is idle_happy AND RENEESE is talk_angry_accuse AND LAYLA is talk_angry_stubborn
@YASMINE spot 0.471 101 339 AND YASMINE faces right
@YASMINE walks to spot 0.506 11 309 in 2 AND YASMINE moves to layer 2 AND JEFF moves to layer 1 THEN YASMINE is think
&zoom on 455 270 to 291% in 4
@YASMINE walks to spot 0.476 105 328 in 4
YASMINE (talk_shrug)
Umm… what are you guys fighting about.
@zoom on 477 296 to 393% in 0
music music_atwork
LAYLA (talk_angry)
Reneese says Dakota’s hair is fine, but she doesn’t know that it is gorgeous.
@YASMINE spot 0.471 83 339 AND YASMINE is shush
RENEESE (talk_doubtful)
I believe there is nothing wrong with it, so I said it was fine.

    RENEESE (talk_angry)
It is a free country you know. I can say whatever I want.

    LAYLA (talk_angry_stubborn)
Not when you are around me.

    RENEESE (frustrated)
Ugh.

    LAYLA (talk_apathetic)
Huff and puff all you want. It ain't gonna get you no where.

    RENEESE (talk_angry)
I'm really so close to punching you in the face right now.

&LAYLA spot 0.490 113 336
LAYLA (idle_punch)
Try me!
&RENEESE spot 0.472 201 347
RENEESE (idle_punch)
Your on.
@zoom on 391 325 to 822% in 3
@pause for 2
music off

    YASMINE (talk_neutral)
I think you guys should stop.

@zoom on 479 307 to 393% in 0
@RENEESE spot 0.472 183 342 AND RENEESE is arms_crossed_angry AND YASMINE spot 0.471 61 340 AND YASMINE is flirt_fingersnap
@pause for 1
@YASMINE spot 0.471 101 339
&LAYLA spot 0.490 140 333 AND LAYLA faces left
LAYLA (talk_doubtful)
Why?
@zoom on 409 328 to 834% in 3
YASMINE
(I wanted to try out this mediating thing.)

(Also I don't want to get my weird a** in trouble.)

(Come on Yasmine! You can't say that.)

(Think! Think!)

@zoom on 478 287 to 211% in 0
LAYLA (talk_doubtful)
Well.
@KENDRICK changes into KENDRICK_nerd
@KENNETH changes into KENNETH_nerd
YASMINE (talk_neutral)
Because your lovers are coming, and you don’t want them to see your bad side. Don’t you?

(Finally they are a good use for me.)

music music_attitudepop
@LAYLA spot 0.490 132 332 AND LAYLA faces right
LAYLA (talk_afraid)
Does my hair look good?

    RENEESE (talk_neutral)
No it looks ugly as always.

readerMessage Friendship with Reneese increased! ;D
RENEESE (talk_happy_agree)
By the way |color:green, bold| thank you Yazzy |clear|for coming with me to my house.

    RENEESE (talk_sheepish)
|italic| You probably wouldn't see me today if you never came along.

&LAYLA is arms_crossed_angry
RENEESE (talk_angry)
And |color:blue, bold| fulfilling |clear| the definition of |color:peach, bold| friendship |clear| that others |color:red, bold, shake| can’t |clear| do.

&RENEESE walks to spot 0.472 40 318 AND YASMINE faces left AND YASMINE is talk_unsure AND LAYLA is scream AND LAYLA faces left
RENEESE (walk_talk_happy)
B****.

@pause for 2
&YASMINE faces right AND LAYLA faces right

    LAYLA (dustoff_loop)
Angelic face is a go!

    LAYLA (idle_happy)
Imma snatch ma snaccs and make them mine.

    YASMINE (talk_neutral)
But they both have a crush on me.

    LAYLA
Shut up. There is something called the future.

    YASMINE (idle_happy)
(Keep dreaming girly. Keep dreaming.)
    NARRATOR
...

}
else {

@JOJO changes into jojo_nerd
@SIMONE spot 0.604 226 200 AND SIMONE faces right AND DAKOTA spot 0.598 285 197 AND DAKOTA faces left AND LAYLA spot 0.490 132 332 AND LAYLA faces right AND RENEESE spot 0.472 183 342 AND RENEESE faces left AND YASMINE spot 0.753 -87 132 AND JOJO spot 0.312 296 408 AND JOJO faces left AND JOJO is talk_read_paper AND JEFF spot 0.824 42 123 AND JEFF faces right AND JEFF is text_phone_neutral_loop AND JOJO moves to layer -9
@SIMONE is talk_arms_crossed_loop AND DAKOTA is idle_happy AND RENEESE is talk_angry_accuse AND LAYLA is talk_angry_stubborn
@YASMINE spot 0.471 101 339 AND YASMINE faces right
@YASMINE walks to spot 0.506 11 309 in 2 AND YASMINE moves to layer 1 AND JEFF moves to layer 2 AND YASMINE faces right THEN YASMINE is think

readerMessage Since you have made the wrong choice, you get to choose which person to go to.

    YASMINE (think)
Who do I wanna talk to first?

choice
“Simone (Girl in the hat)”{
@YASMINE walks to spot 0.506 91 311 in 2
&zoom on 538 154 to 300% in 4
@YASMINE walks to spot 0.614 175 196 in 4 THEN YASMINE faces right AND YASMINE moves to layer 3 AND LAYLA moves to layer 2 AND RENEESE moves to layer 1 AND JEFF moves to layer 4

    YASMINE (talk_greet)
Hey Simone!

&SIMONE faces left
SIMONE (talk_awkward)
Hi.
@SIMONE is idle_awkward
@pause for 1

    YASMINE (talk_shrug)
Did I do something wrong?

    SIMONE (talk_awkward)
Reneese is mad at you.

@SIMONE is deepbreath

    SIMONE
(Got that off of my chest.)

    YASMINE (mortified)
(I forgot about that.)

    YASMINE (talk_unsure)
Was it for dismissal?

@SIMONE is nod_loop THEN SIMONE is arms_crossed
readerMessage Since you have went to Simone first, you gained advice.
SIMONE (talk_arms_crossed)
My advice to you is to apologize and move on.

    SIMONE (talk_shrug)
If you make a big deal out of it, you will make it worse and probably make a scene.

    SIMONE (talk_suggest)
And we don't want a scene do we?

@SIMONE is laugh_chuckle AND YASMINE is laugh_chuckle
YASMINE (talk_sheepish)
Thanks Simone! You always have the best advice.

    SIMONE (flirt_fingersnap)
Now go make things right with your other best friend.

@YASMINE is idle_happy
@YASMINE is rear AND YASMINE faces left
&zoom on 484 245 to 300% in 3
@YASMINE walks to spot 0.482 174 313 in 3 AND YASMINE faces left AND YASMINE is walk_rear THEN YASMINE is rear AND SIMONE is talk_arms_crossed_loop

    YASMINE
Sorry to interrupt your argument, but can I speak with Ren.

    RENEESE (talk_doubtful)
Reneese to you!

    LAYLA (talk_startled)
Wow something is wrong.

    RENEESE (talk_angry_accuse)
Mind ya business.

@LAYLA is eyeroll THEN LAYLA walks to spot 0.490 44 330 in 2

@YASMINE walks to spot 0.482 135 332 in 2 AND YASMINE faces right AND YASMINE is walk_rear THEN YASMINE is idle_awkward

    YASMINE (deepbreath)
(Just follow Simone's advice.)

    YASMINE (talk_sheepish)
Hey.

    RENEESE (talk_apathetic)
Yeah a hey would do fine right now.

&RENEESE is arms_crossed_angry

    YASMINE (talk_sad)
Look I am sorry for leaving you at dismissal.

    YASMINE (talk_awkward)
Some things came up which cause me to make a quick move.

    YASMINE (talk_sad)
If you were in my position you would understand.

    YASMINE (talk_sad_clutch)
It is just hard to explain.

    RENEESE (talk_doubtful)
I feel like you are not telling me something.

    YASMINE (talk_sheepish)
Family issues that is all I can say for now.

    YASMINE (talk_unsure)
Can you forgive me?

    RENEESE (talk_sad)
I'm not sure.
    RENEESE (talk_sad_clutch)
Because what happened to me yesterday would stick with me forever.

    YASMINE (talk_unsure)
What happened?

@RENEESE is deepbreath
@pause for 1
&YASMINE is shocked
RENEESE (talk_sad_timid)
I was almost kidnapped Yasmine.
@pause for 2
YASMINE
(That was literally the wrong f***ing time to leave her.)
@pause for 2
YASMINE
(I was shocked, and speechless.)
@pause for 2
YASMINE
(I didn’t know what to do.)

    YASMINE (talk_afraid)
Are you okay?

    RENEESE (talk_neutral)
I am here, aren't I?

    YASMINE
(That emotionless reply said otherwise.)
(I know her like the back of my hand, she is my best friend.)
(She was probably scarred.)

@YASMINE walks to spot 0.482 169 330 in 0.8 AND YASMINE is run_athletic THEN YASMINE is hug_rear AND YASMINE faces left
@pause for 1

    YASMINE
I'm so so sorry.

    RENEESE (talk_sad)
Get off of me Yasmine.

@YASMINE walks to spot 0.482 135 332 in 2 AND YASMINE is walk_sad AND YASMINE faces left THEN YASMINE faces right AND YASMINE is idle_sad
@pause for 1

    YASMINE
(She stopped calling me Yazzy.)

    RENEESE (talk_sad_clutch)
I need time.

@RENEESE walks to spot 0.472 304 322 in 4 AND RENEESE is walk_sad
@pause for 2
YASMINE
(I made a mistake.)
(I |color:red, bold, shake| betrayed |clear| her trust.)
(And trust should never be betrayed.)
&YASMINE walks to spot 0.482 9 322 in 4 AND YASMINE is walk_sad
@transition fade out black in 2
}
“Reneese (Red Glasses/One you’ve betrayed)”{
&zoom on 439 246 to 262% in 2
@YASMINE walks to spot 0.482 88 325 in 2
&YASMINE faces right
YASMINE (talk_greet)
Hey guys!
&LAYLA faces left
LAYLA (talk_greet)
Hi Yaz.
&RENEESE is arms_crossed_angry
@pause for 2

    YASMINE (think)
(Why is she mad?)

@pause for 2

    YASMINE (startled_surprised)
(DISMISSAL!!)

    YASMINE (talk_unsure)
Lays, can you excuse me and Reneese for a sec?

    LAYLA (idle_happy)
Gladly!!

@LAYLA walks to spot 0.490 -35 303 in 0.9 AND LAYLA is run_jog AND LAYLA moves to layer 2 AND YASMINE moves to layer 1 AND JEFF moves to layer 3 AND RENEESE is arms_crossed_angry
@YASMINE walks to spot 0.482 131 336 in 2
&zoom on 471 239 to 262% in 5

    YASMINE (talk_sheepish)
I'm sorry that I left you at dismissal.

    YASMINE (talk_shrug)
Something came up and I had to go as soon as possible.

    RENEESE (talk_apathetic)
Was it that important?

@YASMINE is arms_crossed_angry
&JOJO is shush AND RENEESE is arms_crossed_angry
YASMINE (talk_doubtful)
Look I knew I left you out of the blue, but it was important I didn’t have a choice.

    RENEESE (talk_angry)
Then why did it take you so long to apologize when Layla was here.
    RENEESE (talk_mindblown)
You said "hey guys" like nothing happened.

&RENEESE is arms_crossed_angry
YASMINE (talk_mindblown)
I’m sorry okay? I have a lot on my plate right now.
&zoom reset
&JEFF is rear AND JEFF faces left AND JOJO faces left AND SIMONE faces right AND SIMONE is rear AND DAKOTA faces right AND DAKOTA is rear
YASMINE (talk_doubtful)
Why are you so mad I left you? It was just one day!

    RENEESE (talk_angry_stubborn)
Because as |color:peach, bold| best friends |clear| we must |color:royalblue, bold| stick side by side.

    YASMINE (talk_angry_accuse)
|color:red, bold, shake| WELL SOMETIMES PEOPLE HAVE SOMETHING ELSE TO TAKE CARE OF WHICH IS MORE IMPORTANT THAN JUST A FRIENDSHIP!

@YASMINE is shocked AND RENEESE is frustrated

    RENEESE (talk_angry)
|color:red, bold, shake| WELL GUESS WHAT YASMINE? I WAS ALMOST KIDNAPPED YESTERDAY AND YOU WEREN'T THERE WITH ME!

@RENEESE walks to spot 0.472 354 336 in 0.7 AND RENEESE is run_athletic AND YASMINE is mortified AND RENEESE moves to layer 2 AND SIMONE moves to layer 3 AND DAKOTA moves to layer 4 AND JOJO moves to layer 1
@pause for 1

    YASMINE (idle_sad)
(I messed up big time.)

    YASMINE (frustrated)
(F***.)

@YASMINE walks to spot 0.482 174 340 in 0.8 AND YASMINE is run_athletic
&SIMONE faces left
SIMONE (talk_call_out)
Don’t go after her Yazzy let her cool off.

@YASMINE is deepbreath THEN YASMINE walks to spot 0.482 -30 317 in 3 AND YASMINE is walk_sad

    NARRATOR
Pause.

}
}
I would really appreciate the help!!! :slight_smile:


#2

If you’re using the choice name method for the if/elif/else, the choice name can’t have spaces and the choice option needs to be exactly what you have inside the quotes

choice (choice_name)
Option TITLE HeRe!!!” {

if (choice_name is “Option TITLE HeRe!!!”) {


#3

I am sorry if I am being difficult but your telling me that the (LIFE OR DEATH blah blah blah) has to have no spaces so it has to be like this (LIFEORDEATH)


#4

Yes, so you would also need to go back to episode 3 and change the choice name to LIFEORDEATH


#5

Thank you so much. I don’t know how this community would function without you!!!