Help with gains/remembering choices Cont

Hi all, first of all I’d like to thank everyone who have already helped give me advice and tips for my dressing game. I really do appreciate all of you and how helpful the episode community is.

However, unfortunately it seems that no matter what I do or how many times I rewrite it, I can’t get it to play correctly. It either gets stuck on a specific outfit for multiple options, or it puts on the wrong one.

I seriously don’t understand what’s wrong, and I’ve been stuck on this choice for about two weeks now. It’s driving me crazy. I’m very close to just deleting the whole thing and using the outfits that I choose for them XP

I don’t think the problem is in chapter one, but rather in the memory of chapter 2, but I’ll paste both codes here anyway.

Chapter 1 code:

label dressing_game_1_tyler

    TYLER (think_rubchin)
(What should I wear?)

choice (TYLER_stylish)
“Stylish” {
@TYLER changes into TYLER_stylish
@pause for 2

gain TYLERstylish

} “Preppy” {
@TYLER changes into TYLER_preppy
@pause for 2
}
TYLER (think_rubchin)
(Do I want to wear this one?)
choice
“It’s perfect!” {
@TYLER is primp_neutral
@TYLER walks to screen right in zone 3
goto dressing_game_1_skye

} “No, I want to try on the other one!” {
goto dressing_game_1_tyler
}
“No, I want to try on the next set!” {
goto dressing_game_2_tyler
}

label dressing_game_2_tyler

    TYLER (think_rubchin)
(What should I wear?)

choice (TYLER_casual)
“Casual” {
@TYLER changes into TYLER_casual
@pause for 2

gain TYLER_casual

} “Original” {
@TYLER changes into TYLER_default
@pause for 2
}

    TYLER (think_rubchin)
(Do I want to wear this one?)

choice
“It’s perfect!” {
@TYLER is primp_neutral
@TYLER walks to screen right in zone 3
goto dressing_game_1_skye

} “No, I want to try on the other one!” {
goto dressing_game_2_tyler
}
“No, I want to try the first set!” {
goto dressing_game_1_tyler
}

@TYLER walks to screen right in zone 3

label dressing_game_1_skye

@SKYE changes into SKYE_default
@SKYE enters from right to screen center

label dress_up_1
SKYE (think_rubchin)
(What should I wear?)

choice (SKYE_stylish)
“Stylish” {
@SKYE changes into SKYE_stylish
@pause for 2

gain SKYEstylish

} “Preppy” {
@SKYE changes into SKYE_preppy
@pause for 2
}
SKYE (think_rubchin)
(Do I want to wear this one?)
choice
“It’s perfect!” {
@SKYE is primp_neutral
@pause for a beat
@SKYE walks to screen left in zone 3
goto scene_start

} “No, I want to try on the other one!” {
goto dress_up_1
}
“No, I want to try on the next set!” {
goto dressing_game_2_skye
}

label dressing_game_2_skye

    SKYE (think_rubchin)
(What should I wear?)

choice (SKYE_casual)
“Casual” {
@SKYE changes into SKYE_casual
@pause for 2

gain SKYE_casual

} “Original” {
@SKYE changes into SKYE_default
@pause for 2
}
SKYE (think_rubchin)
(Do I want to wear this one?)
choice
“It’s perfect!” {
@SKYE is primp_neutral
@pause for a beat
@SKYE walks to screen left in zone 3
goto scene_start

} “No, I want to try on the other one!” {
goto dressing_game_2_skye
}
“No, I want to try the first set!” {
goto dressing_game_1_skye
}

@SKYE walks to screen left in zone 3

@speechbubble is 171 326 to 100%

label scene_start

Chapter 2 code: Side note, this memory system was written in two separate sets for each character, because that was the only thing that didn’t give me errors on the portal. IDK if it matters or not, but even though the portal says its fine, it still doesn’t play.

if (TYLERstylish){
@TYLER changes into TYLER_stylish
}

else {
@TYLER changes into TYLER_preppy
}

if (TYLER_casual){
@TYLER changes into TYLER_casual
}

else {
@TYLER changes into TYLER_default
}

if (SKYE_stylish){
@SKYE changes into SKYE_stylish
}

else {
@SKYE changes into SKYE_preppy
}

if (SKYE_casual){
@SKYE changes into SKYE_casual
}

else {
@SKYE changes into SKYE_default
}

If anyone knows what’s wrong, you will be my hero and I’ll thank you with cookies :grin: :chococookie: :chococookie: :chococookie: :chococookie:

Okay so, when you’re doing this sort of thing you should either use gains or name/remember your choices - not both. It looks like you’re mixing these up. Also, where you have your gains positioned will result in the reader having all four gains if they simply view all four outfits.

If you’re not using gains, which I personally recommend, your script should look something like this:

label dressing_game_1_tyler

TYLER (think_rubchin)
(What should I wear?)

choice (TYLER_outfit_1)
“Stylish” {
@TYLER changes into TYLER_stylish
@pause for 2

} “Preppy” {
@TYLER changes into TYLER_preppy
@pause for 2

} “Casual” {
@TYLER changes into TYLER_casual
@pause for 2

} “Original” {
@TYLER changes into TYLER_default
@pause for 2
}

TYLER (think_rubchin)
(Do I want to wear this one?)

choice
“It’s perfect!” {
@TYLER is primp_neutral
@TYLER walks to screen right in zone 3

} “No, I want to try the others.” {
goto dressing_game_1_tyler
}

And then the exact same for Skye.

Later, when you go to remember the choices, you’ll do this:

if (TYLER_outfit_1 is “Stylish”) {
@TYLER changes into TYLER_stylish

} elif (TYLER_outfit_1 is “Preppy” {
@TYLER changes into TYLER_preppy

} elif (TYLER_outfit_1 is “Casual” {
@TYLER changes into TYLER_casual

} else {
@TYLER changes into TYLER_default
}

This is basically how I modify Dara’s template, which can be found here:
Simple Dressing Game | Dara Amarie (dara-amarie.com)
You might also find this helpful:
Remember a Choice | Dara Amarie (dara-amarie.com)
Or this if you’re set on using gains:
Dressing Game with Flags | Dara Amarie (dara-amarie.com)

Thank you very much, I will give this a try. It does seem a lot less complicated without the gains

1 Like

Hi I’m not sure if anyone will see this but i am not too sure how to add my own questions on here. Im having a similar problem. I did my choices and am doing the if/else but when it goes to remembering the past choices it always puts my character in the else option. could someone help me?

label dressing_game
choice “pants” {
@CALLA changes into CALLA_casual1
@pause for 2
} “skirt” {
@CALLA changes into CALLA_casual2
@pause for 2
}

then later on i am using the remembering option. i have tried multiple ways

if (CALLA_casual1 is “pants”) {
@CALLA changes into CALLA_casual1snow
} else {
@CALLA changes into CALLA_casual2snow

i have also tried…

if (dressing_game is “pants”)

if (dressing_game is CALLA_casual1)

and if (CALLA_casual1)

but each time it automatically puts my character in the else option :frowning: hopefully someone sees this!! thank you!!

Hello! I used this template for my story, which now makes my dressing game work perfectly. It’s designed for two characters, but I’m sure you can make it work for a single one also just by deleting what you don’t need.

Credit for this goes to fake_bananas above me

This is my code for chapter 1

@TYLER changes into TYLER_default
@TYLER enters from left to screen center

label dressing_game_1_tyler

    TYLER (think_rubchin)
(What should I wear?)

choice (TYLER_outfit_1)
“Stylish” {
@TYLER changes into TYLER_stylish
@pause for 2

} “Preppy” {
@TYLER changes into TYLER_preppy
@pause for 2

} “Casual” {
@TYLER changes into TYLER_casual
@pause for 2

} “Original” {
@TYLER changes into TYLER_default
@pause for 2
}

    TYLER (think_rubchin)
(Do I want to wear this one?)

choice
“It’s perfect!” {
@TYLER is primp_neutral
@TYLER walks to screen right in zone 3

} “No, I want to try the others.” {
goto dressing_game_1_tyler
}

@SKYE enters from left to screen center

label dressing_game_1_skye

    SKYE (think_rubchin)
(What should I wear?)

choice (SKYE_outfit_1)
“Stylish” {
@SKYE changes into SKYE_stylish
@pause for 2

} “Preppy” {
@SKYE changes into SKYE_preppy
@pause for 2

} “Casual” {
@SKYE changes into SKYE_casual
@pause for 2

} “Original” {
@SKYE changes into SKYE_default
@pause for 2
}

    SKYE (think_rubchin)
(Do I want to wear this one?)

choice
“It’s perfect!” {
@SKYE is primp_neutral
@SKYE walks to screen right in zone 3

} “No, I want to try the others.” {
goto dressing_game_1_skye
}

And this is my memory system for chapter 2

INT. BLACK - NIGHT
NARRATOR
Dare Gone Wrong- Chapter 2

if (TYLER_outfit_1 is “Stylish”) {
@TYLER changes into TYLER_stylish
}
elif (TYLER_outfit_1 is “Preppy”) {
@TYLER changes into TYLER_preppy
}
elif (TYLER_outfit_1 is “Casual”) {
@TYLER changes into TYLER_casual
}
elif (TYLER_outfit_1 is “Original”) {
@TYLER changes into TYLER_default
}
if (SKYE_outfit_1 is “Stylish”) {
@SKYE changes into SKYE_stylish
}
elif (SKYE_outfit_1 is “Preppy”) {
@SKYE changes into SKYE_preppy
}
elif (SKYE_outfit_1 is “Casual”) {
@SKYE changes into SKYE_casual
}
elif (SKYE_outfit_1 is “Original”) {
@SKYE changes into SKYE_default
}

Hope this helps!

1 Like

Awesome thank you!! I will try this later today :slight_smile:

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