Hi Episode Community!
I was coding an outfit choice, and the first part was fine and I didn’t get any warnings for an error. I copied and pasted the same code and changed the choice’s names (from Outfit 1 to Outfit 2) and changed the outfit my character is supposed to change into. Somehow, I got an error, even though my previous code was correct…
The error says stuff like “Choices must follow a dialogue immediately, not a branch” or something like “There’s a “{” in line __ without a matching “}”.”
Even though I have all the brackets I need, I checked multiple times.
Also, I wrote the word “choice” above them.
I may have done something wrong, but if I did, then why wasn’t I told so the first time I wrote this code?
I’ll put the code down below, if you detect something, please let me know. Thanks, everyone in advance!
My 1st Code
choice
“Outfit 1” {
@MC is undress_top
@MC is undress_bottom
@MC changes into MC_RANDOM
NARRATOR
Do you want to wear this?
choice
“Yes, I love it!” {
goto CONTINUE
} “No, let me see the other outfits.” {
goto OUTFIT_CHANGE
}
}
This is correct (it doesn’t give any errors) Now here is my second code.
2nd Code
choice
“Outfit 2” {
@MC is undress_top
@MC is undress_bottom
@MC changes into MC_RANDOM2
NARRATOR
Do you want to wear this?
choice
“Yes, I love it!” {
goto CONTINUE
} “No, let me see the other outfits.” {
goto OUTFIT_CHANGE
}
}
Again, thank you, everyone, in advance