Need help with dressing game

can some please fix this for me

NARRATOR
Do you want to pick your pj?

choice
“Yes!”{

goto dressing_game_yes

label dressing_game_yes

@YOU faces right
label dressinggame_1
@speechbubble reset

	YOU (think_rubchin)
(I'd like to wear...)

choice
“Something comfortable.”{
@YOU previews outfit YOU_OUTFIT2
@YOU is admire_happy
@pause for a beat
@YOU starts idle

	YOU (idle_armscrossed_neutral_loop)
(I love this look! but ill see something else!)

choice
“Wear this!” {
@AUTHOR changes into YOU_OUTFIT2

} “I’ll try something else.” {
@YOU unpreviews outfit YOU_default
goto dressinggame_1

}}“Something warm.”{
@YOU previews outfit YOU_PJ4
@YOU is admire_happy
@pause for a beat

	YOU (idle_armscrossed_neutral_loop)
(This pj is really warm!)

choice
“Wear this!” {
@YOU changes into YOU_PJ4

}“I’ll try something else”{
@YOU unpreviews outfit YOU_default
@YOU starts idle_armscrossed_neutral_loop
goto dressinggame_1

}}“Something normal.” {
@YOU previews outfit YOU_OUTFIT3PJ
@YOU is admire_happy
@pause for a beat

YOU (idle_armscrossed_neutral_loop)
(this is nice)

choice “Wear this!” {
@YOU changes into YOU_OUTFIT3PJ

} “Ill try something else!” {
@YOU unpreviews outfit YOU_default
@YOU starts idle_armscrossed_neutral_loop
goto dressinggame_1
}

@YOU starts idle_armscrossed_neutral_loop
@YOU exits left

}“No…”{
@YOU is tinker_stand_neutral_loop_rear
@pause for a beat
@YOU changes into YOU_PJ4
@YOU exits left

}

You can’t have the label inside the" { …script… }"

Write something like this (any script changes are in bold):

NARRATOR
Do you want to pick your pj?

choice
“Yes!”{

goto dressing_game_yes

}“No…”{
@YOU is tinker_stand_neutral_loop_rear
@pause for a beat
@YOU changes into YOU_PJ4

goto continue

}

label dressing_game_yes

@YOU faces right
label dressinggame_1
@speechbubble reset

	YOU (think_rubchin)
(I'd like to wear...)

choice
“Something comfortable.”{
@YOU previews outfit YOU_OUTFIT2
@YOU is admire_happy
@pause for a beat
@YOU starts idle

	YOU (idle_armscrossed_neutral_loop)
(I love this look! but ill see something else!)

choice
“Wear this!” {
@AUTHOR changes into YOU_OUTFIT2

} “I’ll try something else.” {
@YOU unpreviews outfit YOU_default
goto dressinggame_1

}

}“Something warm.”{
@YOU previews outfit YOU_PJ4
@YOU is admire_happy
@pause for a beat

	YOU (idle_armscrossed_neutral_loop)
(This pj is really warm!)

choice
“Wear this!” {
@YOU changes into YOU_PJ4

}“I’ll try something else”{
@YOU unpreviews outfit YOU_default
@YOU starts idle_armscrossed_neutral_loop
goto dressinggame_1

}}“Something normal.” {
@YOU previews outfit YOU_OUTFIT3PJ
@YOU is admire_happy
@pause for a beat

YOU (idle_armscrossed_neutral_loop)
(this is nice)

choice “Wear this!” {
@YOU changes into YOU_OUTFIT3PJ

} “Ill try something else!” {
@YOU unpreviews outfit YOU_default
@YOU starts idle_armscrossed_neutral_loop
goto dressinggame_1
}

@YOU starts idle_armscrossed_neutral_loop
@YOU exits left

goto label dressing_game_yes

@YOU faces right
label dressinggame_1
@speechbubble reset

	YOU (think_rubchin)
(I'd like to wear...)

choice
“Something comfortable.”{
@YOU previews outfit YOU_OUTFIT2
@YOU is admire_happy
@pause for a beat
@YOU starts idle

	YOU (idle_armscrossed_neutral_loop)
(I love this look! but ill see something else!)

choice
“Wear this!” {
@AUTHOR changes into YOU_OUTFIT2

} “I’ll try something else.” {
@YOU unpreviews outfit YOU_default
goto dressinggame_1

}}“Something warm.”{
@YOU previews outfit YOU_PJ4
@YOU is admire_happy
@pause for a beat

	YOU (idle_armscrossed_neutral_loop)
(This pj is really warm!)

choice
“Wear this!” {
@YOU changes into YOU_PJ4

}“I’ll try something else”{
@YOU unpreviews outfit YOU_default
@YOU starts idle_armscrossed_neutral_loop
goto dressinggame_1

}}“Something normal.” {
@YOU previews outfit YOU_OUTFIT3PJ
@YOU is admire_happy
@pause for a beat

YOU (idle_armscrossed_neutral_loop)
(this is nice)

choice “Wear this!” {
@YOU changes into YOU_OUTFIT3PJ

} “Ill try something else!” {
@YOU unpreviews outfit YOU_default
@YOU starts idle_armscrossed_neutral_loop
goto dressinggame_1
}

@YOU starts idle_armscrossed_neutral_loop

goto continue

label continue

@YOU exits left

If it keeps saying there is an error I’ll try something different.

I hope it helps :sparkling_heart:

Moved to Directing Helps and Tips since this involves coding. Make sure to check out our Forum Tutorial for more info about where to correctly create topics. :wink:

Hi @Xjasmine.A! There are several issues with your code:

  1. Like Cata01 said, you cannot have labels inside { } so you’ll have to move the dressing game outside of the ‘yes’ branch.
  2. Your code unpreviews YOU_default instead of YOU_OUTFIT2, YOU_PJ4, and YOU_OUTFIT3PJ.
  3. There is an @AUTHOR in the “Something comfortable.” instead of @YOU.

Here is the fixed donacode. Let me know if it works. :slight_smile:

NARRATOR
Do you want to pick your pj?

choice
“Yes!”{

goto dressing_game_yes

}“No…”{
@YOU is tinker_stand_neutral_loop_rear
@pause for a beat
@YOU changes into YOU_PJ4
@YOU exits left

goto continue_story
}

label dressing_game_yes

@YOU faces right
@speechbubble reset

YOU (think_rubchin)
(I’d like to wear…)
choice
“Something comfortable.”{
@YOU previews outfit YOU_OUTFIT2
@YOU is admire_happy
@pause for a beat
@YOU starts idle

YOU (idle_armscrossed_neutral_loop)
(I love this look! but ill see something else!)
choice
“Wear this!” {
@YOU changes into YOU_OUTFIT2

} “I’ll try something else.” {
@YOU unpreviews outfit YOU_OUTFIT2

goto dressing_game_yes

}}“Something warm.”{
@YOU previews outfit YOU_PJ4
@YOU is admire_happy
@pause for a beat

YOU (idle_armscrossed_neutral_loop)
(This pj is really warm!)
choice
“Wear this!” {
@YOU changes into YOU_PJ4

}“I’ll try something else”{
@YOU unpreviews outfit YOU_PJ4
@YOU starts idle_armscrossed_neutral_loop
goto dressing_game_yes

}}“Something normal.” {
@YOU previews outfit YOU_OUTFIT3PJ
@YOU is admire_happy
@pause for a beat

YOU (idle_armscrossed_neutral_loop)
(this is nice)

choice “Wear this!” {
@YOU changes into YOU_OUTFIT3PJ

} “Ill try something else!” {
@YOU unpreviews outfit YOU_OUTFIT3PJ
@YOU starts idle_armscrossed_neutral_loop
goto dressing_game_yes
}}

@YOU starts idle_armscrossed_neutral_loop
@YOU exits left

label continue_story

Hi @Cata01! I hope you don’t mind me posting an alternative solution, but there were several issues with your answer. Aside from the unpreview and @AUTHOR errors I mentioned above, you seem to have set up the dressing game twice (e.g. there are two ‘label dressinggame_1’)…?

2 Likes

It’s totally okay! I had to make it quite fast because I was going out :slight_smile: I’m glad you did it :smiley:

:sparkling_heart:

Thank you so much for your help

Thank you heaps for your help :slight_smile:

1 Like

You’re welcome! :slight_smile: Please like my post if it worked, and good luck with writing!

1 Like