Please help me with coding :>

Hi! So, basically, when I was coding this:

if (choice_melody) {

EXT. MELODY BEDROOM - NIGHT

@cut to zone 3

&zoom on 781 372 to 183% in 4

readermessage Background by Joseph Evans!

sound phone_ring

@MELODY stands screen center AND MELODY faces right AND MELODY is think_rubchin

    MELODY
(Who's calling me?)

@MELODY is read_phone_neutral_loop

INT. MELODY PHONE

    MELODY
(Nat!)

EXT. MELODY BEDROOM - NIGHT

@cut to zone 3

@zoom on 781 372 to 183% in 0

@MELODY stands screen center AND MELODY faces right

sound phone_calling

@MELODY is listen_phone_happy_loop

    MELODY (talk_phone_surprised_happy_loop)
Hi Nat!

EXT. BLEVINS BATHROOM

@cut to zone 2

@zoom on 474 348 to 189% in 0

@NATHAN changes into AFTERWASH_NATHAN

@NATHAN stands screen center AND NATHAN faces left

    NATHAN (talk_phone_neutral_loop)
Hi Mel! I decided to go out with you tonight.

EXT. MELODY BEDROOM - NIGHT

@cut to zone 3

&zoom on 781 372 to 183% in 0

@MELODY stands screen center AND MELODY faces right

&MELODY is talk_phone_surprised_happy_loop THEN MELODY is dance_groove_happy_loop

    MELODY
Really?! Woooh!!

@MELODY is sing_fail_embarrassed

    MELODY (talk_phone_sad_loop)
But what about Xavier The Hottie?

EXT. BLEVINS BATHROOM

@cut to zone 2

@zoom on 474 348 to 189% in 0

@NATHAN changes into AFTERWASH_NATHAN

@NATHAN stands screen center AND NATHAN faces left

    NATHAN (talk_phone_sad_loop)
I have to refuse his offer.

EXT. MELODY BEDROOM - NIGHT

@cut to zone 3

&zoom on 781 372 to 183% in 0

@MELODY stands screen center AND MELODY faces right

    MELODY (talk_phone_sad_loop)
I feel quite bad for him.

    MELODY (talk_phone_excited_loop)
But anyways, see you tonight!!

EXT. BLEVINS BATHROOM

@cut to zone 2

@zoom on 474 348 to 189% in 0

@NATHAN changes into AFTERWASH_NATHAN

@NATHAN stands screen center AND NATHAN faces left

    NATHAN (talk_phone_happy_loop)
See you Melody!

sound phone_callwaiting

@NATHAN is text_phone_neutral_loop THEN NATHAN is text_phone_sad_loop

INT. CELL PHONE

set format phonetext

    NATHAN
Good evening Xavier.

    NATHAN
Unfortunately I can't go out with you because I've already settled going out with my bestfriend.

    NATHAN
I'm sorry.

    XAVIER
Oh don't worry about it.

    XAVIER
We can do another time :)

    NATHAN
You're right.

    NATHAN
Bye Xavier!

    XAVIER
Bye! :))

EXT. BLEVINS BATHROOM

set format cinematic

@cut to zone 2

@zoom on 474 348 to 189% in 0

@NATHAN changes into AFTERWASH_NATHAN

@NATHAN stands screen center AND NATHAN faces left AND NATHAN is flirt_coy

    NATHAN
(Xavier...)

@NATHAN exits right

}

And it says: "There is a { on line 192 that does not have a matching }"

Why?? Pls look at my script here.

Can you help me? :zipper_mouth_face: :orange_heart:

Hey! Do you have another option listed (using else)? Also, since you have so many background changes going on, it may help to create a couple of labels where you can use the goto label under the choice. I’m not sure if that will help resolve the issue, but I would suggest trying it out as that was one of the things that removed a lot of errors when I was writing out choices.

Here are some links to pages on the forum that may help too:


1 Like

thank you so much!!:pleading_face::heart:

1 Like

You spelled readerMessage wrong

No problem!

Oh thank you! :heart:

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