Choice Not Being Remembered

I don’t know what’s wrong but the choices aren’t being remembered and the character only keeps changing into the first sleepwear.

Script:
label sleepwear_outfits

    SERENA
(What should I wear?)

choice
“Sleepwear 1” {

@SERENA is dustoff_loop
@pause for 1

@SERENA changes into Serena Sleepwear 1
@pause for 1

@SERENA is think

gain sleepwear_1

} “Sleepwear 2” {

@SERENA is dustoff_loop
@pause for 1

@SERENA changes into Serena Sleepwear 2
@pause for 1

@SERENA is think

gain sleepwear_2

} “Sleepwear 3” {

@SERENA is dustoff_loop
@pause for 1

@SERENA changes into Serena Sleepwear 3
@pause for 1

@SERENA is think

gain sleepwear_3

}
SERENA
(This one?)

choice
“This will do” {

    SERENA (dustoff_loop)
(This will do.)

@pause for 1

@SERENA is text_phone_neutral_loop

} “Nah” {

    SERENA (eyeroll)
(I'll try another one.)

@SERENA is think

goto sleepwear_outfits

}

If Statements/Conditions:

if (sleepwear_1) {

@SERENA changes into Serena Sleepwear 1

} elif (sleepwear_2) {

@SERENA changes into Serena Sleepwear 2

} elif (sleepwear_3) {

@SERENA changes into Serena Sleepwear 3

}

Can someone please help me out here. I don’t see what’s the problem and why my character only changes into the first one when I clearly put the “gain” flag.

The last one should be “else”

Thanks. Hopefully it works.

With the way you set up your dressing game, your readers will gain all of the outfits if they try them all on. Thus the if/elif/else will not work because they have gained all 3 flags.

You will have to put a yes/no choice inside each choice option and put the gain inside the yes choices.

Also FYI when you test out gains you have to reset story progress.

How would you do the yes/no choice in each? :thinking:

If you go to my remembering choices guide and scroll down to the end, I give an example of how to remember dressing games.

HOW TO: Remember Past Choices (if/elif/else)

Thanks :slight_smile:

You’re welcome :blush:

If it gets confusing for you or the original poster (or anyone who reads this thread) there’s a template for a simple dressing game in the link in my bio with the yes/no choices inside each option.

1 Like

Thank you😊 I’ll try that

Closing due to one month of inactivity :slight_smile: