Help Needed! Characters invading customization take over!

I am writing a story, I wanted to give readers an option of being able to choose MC gender as well as being able to choose LI gender. My problem is that somehow either the MC1 ends up in MC2 customizing or vise versa. (Almost as if the characters are refusing to let the reader choose…) I have tried removing the characters, I have tried redoing the IF/ElSE, at the beginning of the customization I put to remove the MC hoping that would force it to go one way or another. I thought I set more strict rules but it all is in vain. If anyone could give advice or help I would be super appreciative…But its me against this syntax and the syntax is winning. lol.I am legit stuck here.

label li_gender

    NARRATOR
Whom would you prefer to date?

choice
“I would prefer to date |bold|women.”{
@remove MC FEMALE
@remove MC MALE
@LI FEMALE stands screen center
@transition fade in black in 2

@LI FEMALE is flirt_coy_atcamera

    NARRATOR
Are you sure?

choice
“Yes, I am sure.”{
@transition fade out black in 2
@remove LI FEMALE
gain li_girls

}“No, I would like to change my preference.”{
@remove LI FEMALE
goto li_gender

}

}“I would prefer to date |bold|men.”{
@remove MC FEMALE
@remove MC MALE
@LI MALE stands screen center
@transition fade in black in 2

@LI MALE is flirt_coy_atcamera

    NARRATOR
Are you sure?

choice
“Yes, I am sure.”{
@transition fade out black in 2
@remove LI MALE
gain li_boys

}“No, I would like to change my preference.”{
@remove LI MALE
goto li_gender

}
}

if (girl) {
@MC FEMALE stands screen center
MC FEMALE (talk_agree_happy)
Hey! You are playing as me.

if (li_girls) {
@LI FEMALE enters from right to screen right
LI FEMALE (flirt_lookaway_bashful)
Hi. I will be playing your love interest.

} elif(li_boys) {
@LI MALE enters from right to screen right
LI MALE (flirt_lookaway_bashful)
Hi. I will be playing your love interest.

}

}if (boy) {
@MC MALE stands screen center
MC MALE (talk_agree_happy)
Hey! You are playing as me.

if (li_girls) {
@LI FEMALE enters from right to screen right
LI FEMALE (flirt_lookaway_bashful)
Hi. I will be playing your love interest.

} elif(li_boys) {
@LI MALE enters from right to screen right
LI MALE (flirt_lookaway_bashful)
Hi. I will be playing your love interest.

}
}

if (GIRL) {
goto fem_custom_1
} elif(BOY) {
goto boy_custom_1
}

if (GIRL) {
@remove MC MALE
} elif(BOY) {
@remove MC FEMALE
}

Any Help would be extremely appreciated. Thank You.

You have to many if.

You can repeat elif as much as you want but one if

If (li_girl) {

Goto fem branch / cc

} else {

Male line

}

1 Like

Reader can gain only

Li_girls or Li_boys

BUT in you if elif ese you have also gaiins which do not exist ( or at last are not visible in the code you show us.

This should not to be there ( or you need to show us the code related to this gains)

girl
boy
GIRL
BOY

you need to keep using all the time the same gains as reader has gained. Its not clear if you use right gains.

Also it seems to me you might not fully understand how if/elif/ else works since you (as sais above) have too many and it is not clear why.

So to explain it.

GAIN is something like a code word once its gained by reader the app will remember it till the end of the story.

If/elif/else basicly sends reader to a branch based on the gain.

Its like if it says if you have gain li_girls go to this branch if you have something else go to another branch.

There is eather

If/ else ~ this is for choices with 2 options

Or

If/ elif/ else ~ this is for 3 options

Or if you have more options you ad more elifs

if/ elif/ elif / elif / else -~ example for 5 options

Since you have only 2 options you should use if/ else

And remember next to else you do not write the condition in brackets.

if you want to let reader choice MC and LI genre and allow CC for both I would do it this way:

label MC_GENRE
NARR
Do you want to play as a boy or a girl?
choice
“I want to play as boy” {
NARR
Are you sure you want to play as boy?
choice
“YES” {
gain BOY
goto CC_BOY
} “NO” {
goto MC_GENRE
}
} “I want to play as girl” {
NARR
Are you sure you want to play as girl?
choice
“YES” {
gain GIRL
goto CC_GIRL
} “NO” {
goto MC_GENRE
}
}

label CC_BOY
NARR
Here add the CC for MC BOY
goto end_CC_MC
label CC_GIRL
NARR
Here add the CC for MC GIRL
label end_CC_MC

    NARR
Do you prefer to date boys or girls?

choice
“I want to date boys” {
NARR
Are you sure you want to date boys?
choice
“YES” {
gain BOY_LI
goto CC_BOY_LI
} “NO” {
goto end_CC_MC
}
} “I want to date girls” {
NARR
Are you sure you want to date girls?
choice
“YES” {
gain GIRL_LI
goto CC_GIRL_LI
} “NO” {
goto end_CC_MC
}
}

label CC_BOY_LI
NARR
Here add the CC for MC BOY
goto end_CC_LI
label CC_GIRL_LI
NARR
Here add the CC for MC GIRL
label end_CC_LI

    NARR
Now to the story

if (BOY) {
if (BOY_LI) {
#here add the branch MC Boy and LI Boy
} else {
#here add the branch MC Boy and LI Girl
}

} else {
if (BOY_LI) {
#here add the branch MC Girl and LI Boy
} else {
#here add the branch MC Girl and LI Girl
}
}

Hi there! I actually discovered a much easier way to allow for the reader to choose their gender and their love interest’s gender without the need for all the branching! It’s in my templates which you can find in my CARRD here:

It’s under the Links tab, then tap on the “Gender Selection Template” and read through the whole document. You’ll need to for it all to make sense, and if you have anymore questions about it, you can send me a message! x

the only problem with using becomes is that is often glitches and the character who has not the original body doesn’t do many animations even the coding is right.

That is the reason why even using “becomes” is known, most writers use separate branches.

1 Like

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