Narrator Showing Points not Working?

Yo, I’m trying to show my readers how many points they have with either love interest but it’s not working. Here’s my script:

INT. BLACK - DAY
NARRATOR
Would you like to view your points?
choice
“Yes, show me my points.” {

    NARRATOR
Who's points do you want to view?

choice
“Points with Liam” {
if (LIAMRELATIONSHIP = 0) {
NARRATOR
You have 0 points with Liam.

} elif (LIAMRELATIONSHIP = 2) {
NARRATOR
You have 2 points with Liam.

} } “Points with Phillip” {
if (PHILLIPRELATIONSHIP = 0) {
NARRATOR
You have 0 points with Phillip.
} elif (PHILLIPRELATIONSHIP = 1) {
NARRATOR
You have 1 point with Phillip.
} }

} “No, I’m done.” {
goto label TBC
}

label TBC
NARRATOR
To be continued…

I know the points are working because when I go in the app it shows them under the “story modifications” tab. The problem is when I press “show points for ___”, it goes straight to To Be Continued. Am I doing something wrong?

1 Like

You should use else instead of elif.

INT. BLACK - DAY
NARRATOR
Would you like to view your points?
choice
“Yes, show me my points.” {

    NARRATOR
Who's points do you want to view?

choice
“Points with Liam” {
if (LIAMRELATIONSHIP = 0) {
NARRATOR
You have 0 points with Liam.

} else {
NARRATOR
You have 2 points with Liam.

} } “Points with Phillip” {
if (PHILLIPRELATIONSHIP = 0) {
NARRATOR
You have 0 points with Phillip.
} else {
NARRATOR
You have 1 point with Phillip.
} }

} “No, I’m done.” {
goto label TBC
}

label TBC
NARRATOR
To be continued…

1 Like

Use else and not elif. You also added an extra bracket, but I removed it:

INT. BLACK - DAY
NARRATOR
Would you like to view your points?
choice
“Yes, show me my points.” {

    NARRATOR
Who's points do you want to view?

choice
“Points with Liam” {
if (LIAMRELATIONSHIP = 0) {
NARRATOR
You have 0 points with Liam.

} else {
NARRATOR
You have 2 points with Liam.

}

} “Points with Phillip” {
if (PHILLIPRELATIONSHIP = 0) {
NARRATOR
You have 0 points with Phillip.
} else {
NARRATOR
You have 1 point with Phillip.
}

} “No, I’m done.” {
goto label TBC
}

label TBC
NARRATOR
To be continued…
1 Like

@lazy_donut @rubywrites Thanks, guys!

2 Likes