If, elif and else doesnt work! help!

hey, so I tried to use if elif and else (I’ve used it a little bit before) and found lots of tutorials to help me but… idk if its that code or my own coding skills that are not working.

Whenever I try to get Julia to not answer Sealia and go to the dressing game (special1) it keeps going to (nospecial1). Help?

INT. COLLEGE BATHROOM - DAY
music music_clattergroove
&zoom reset
&CUTE2 spot 0.700 32 313 AND CUTE2 is react_sit_checkphone_bored AND CUTE2 faces right
&JULIA spot 1.156 -100 114
@JULIA walks to spot 1.156 155 114 in 1.6 AND JULIA is run_athletic_neutral_loop THEN JULIA is idle_exhausted_cramp_loop
@CUTE2 is react_sit_confused AND pause for 1
@speechbubble is 167 298 to 100% with tail_top_left
        JULIA
    What the-
@JULIA faces left AND pause for 0.3 THEN JULIA is idle_loop_rear AND JULIA faces right AND pause for 0.4 THEN JULIA is idle_terrified_loop_rear
        CUTE2 (talk_sit_shrug_neutral)
    Are you o-
&pause for 0.2 THEN CUTE2 is react_sit_confused THEN CUTE2 walks to spot 0.713 31 295 in 0.6 AND CUTE2 is standup_neutral THEN CUTE2 walks to spot 1.156 -100 114 in 1.3 AND CUTE2 is run_athletic_neutral_loop
        JULIA (talk_handsonhips_neutral_rear)
    Get out!
@JULIA is deepbreath
        JULIA (sigh_disappointed)
    (What the heck is going on with me?)
sound phone_vibrate_text
@pause for 2 AND JULIA is react_startled_embarrassed
@JULIA is idle_phone_sad_loop
@pause for 0.5
readerMessage Remember: All choices matter.
        JULIA (talk_read_phone_concerned_loop)
    Should I answer Sealia?

choice
"Answer Sealia"{
readerMessage Cane is flirting with Arianna while you call Sealia.
@JULIA is listen_phone_eyeroll_disgusted
@SEALIA spot 1 600 600
gain nospecial1
        SEALIA
    Julia, where are you?
@CARIANNA +1
@JULIANNA -1
        JULIA (talk_phone_angry_loop)
    Why? Can't I get some privacy?
&JULIA is listen_phone_angry_loop
        SEALIA
    ...
&JULIA is listen_phone_confused
        SEALIA
    Sorry, didn't realise that you have an emergency.
        JULIA (talk_phone_angry_loop)
    I don't-
    Leave me alone!
@JULIA is hangup_phone_angry

}"Don't answer Sealia"{
readerMessage You avoided Cane from flirting with Arianna!
@JULIA is hangup_phone_angry
gain special1

        JULIA (sigh_disappointed)
    Don't have time for her worries right now.
}

@pause for 0.2
        JULIA (think_rubchin)
    (I have to think of a way to impress her.)
sound phone_vibrate_text
        JULIA (react_holdface_happy)
    Oh!
        JULIA (react_claphands_happy)
    I have spare clothes in my bag that I was going to throw away!
@JULIA is dustoff_neutral_loop
@pause for 1.3

if (nospecial1){

readerMessage You can't see what the outfit looks like- so choose wisely!
        JULIA (talk_handsonhips_neutral)
    What do I wear?

choice (label dress_imp1)
"Babydoll"{
@JULIA is dustoff_neutral_loop
@JULIA changes into JULIA_imp1

}"Flowers for you"{

@JULIA is dustoff_neutral_loop
@JULIA changes into JULIA_imp2
gain Imp2

}"Jeans and Jacket"{

@JULIA is dustoff_neutral_loop
@JULIA changes into JULIA_imp3
gain Imp3

}

}elif (special1){

readerMessage You can't see what the outfit looks like- so choose wisely!
        JULIA (talk_handsonhips_neutral)
    What do I wear?

choice (label dress_imp1)
"Babydoll"{
@JULIA is dustoff_neutral_loop
@JULIA changes into JULIA_imp1

}"Flowers for you"{

@JULIA is dustoff_neutral_loop
@JULIA changes into JULIA_imp2
gain Imp2

}"Jeans and Jacket"{

@JULIA is dustoff_neutral_loop
@JULIA changes into JULIA_imp3
gain Imp3

} <GEMS> "Special"{

@JULIA is dustoff_neutral_loop
@JULIA changes into JULIA_special1
gain Special1

}
}
        JULIA (talk_sheepish_rubneck)
    Not the best.
        JULIA (talk_neutral_unsure)
    But it'll do. 
        JULIA (read_phone_gasp_shocked)
    (I need to get to her soon before classes start!)

@JULIA walks to spot 1.156 -100 114 in 1.8 AND JULIA is run_athletic_neutral_loop

nevermind! it miraculously popped up after restarting the episode…

Btw, check your gains. You’re missing one in the first section. (The problem was probably because you have to reset the story progress when you use gains)

Thanks! but I purposely didn’t put in a gain as there was no point to gain

Mmmm… Ok

ok i read that wrong and i didn’t really read through that LOL sorry,

i didn’t put in a gain in the first section (Babydoll outfit) because it would immediately go to the else section where i give no points for the outfit.
is that understandable?

Yea I think so. Sorry for the late reply

1 Like

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