Help with branching? Clicking on one choice doesn't go to the if/else command?

I’m new to gains and branching. The basics of the choice (it’s a major choice, it splits the story into 2 paths) called “janitor” and “kitchen.” The player has to choose between two jobs (kitchen or janitor). I’ve used the gain “kitchen” for the “Kitchen” branch and the gain “janitor” for the “Janitor” branch. Also, I’ve also did some character points changes. Is that alright? Here’s the code:

DYLAN (talk_handsonhips_neutral)
I want to work

choice
“Janitor”{

@CONFIDENCE =0

gain janitor

}
“Kitchen”{

@STEALTH =0

gain kitchen

}

if(janitor){

#scenes for janitor

}else{

#scenes for kitchen

}

No matter what choice I push, it goes to the “janitor” gain. I’ve also tried to use labels, but it doesn’t work. What did I do wrong and how do I correct it? Thanks!

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