DRESSING GAME remembering

hi ! the server tells this command is wrong but idk how to fix it, do you guys know what’s wrong ?

if (dressing_game is “Outfit 1”) {
@ALEK changes into classic n bag for school
} elif (dressing_game is “Outfit 2”) {
@ALEK changes classic n bag for school 2
} elif (dressing_game is “Outfit 3”) {
@ALEK changes into classic n bag for school 3
} else {
@ALEK changes into classic n bag for school 4
}

thank uuuu

Can you show me what your dressing game code looks like?

I’m not sure since I’m still new to coding but I think it’s just supposed to be:

if (Outfit 1){
@CHARACTER changes into classic n bag for school
}

And so on for the other choices :thinking:

Hi this is my dressing game

and the remembering code

remembering code

okay i’ll try thks

Okay I see the problem here. “dressing_game” is the label, not the choice name. To fix this, all you have to do is put something in brackets next to “choice” and use that in the elif code instead of dressing_game. Does that make sense or do you want me to give you an example?

I also had trouble with remembering outfits as in coding it but I just did the choices again and let them repick them, I’m such a noob for coding :see_no_evil:

Mine looked like this but I fixed it to where I knew it was easier for me

Coding outfits

i’m so sorry but i’m gonna need an example i don’t clearly understand

like this ?
but now it says error
error

remembering code

Okay, that’s fine:

label dressing_game
CHARACTER (animation)
What do I want to wear?

choice (Outfit_choice)
“Outfit 1”{
(code for this outfit)
}
“Outfit 2”{
(code for this outfit)
}
“Outfit 3”{
(code for this outfit)
}
“Outfit 4”{
(code for this outfit)
}

if (Outfit_choice is “Outfit 1”) {
(code for this option)
}
elif (Outfit_choice is “Outfit 2”){
(code for this option)
}
elif (Outfit_choice is “Outfit 3”){
(code for this option)
}
else {
(code for this option)
}

Does that make any more sense? The bits in bold have to be the same was what I was trying to say.

it worked thank you so much !!! :smiling_face_with_three_hearts: :relieved: :smiling_face_with_three_hearts:

1 Like

No problem!

1 Like

omg wait it shows this now but i don’t understand i was wearing outfit 2 so it exists

error

@ALEK changes into classic n bag for school 2

you have excellent eyes thank you so much
for how long have you been coding on episode ?

A few of months.

Okay you’re legit talented and smart haha thks anyway

1 Like

I wouldn’t go as far as saying that, but thank you! Happy to help.

1 Like

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