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


#309

Thank you for the hint regarding line 104 :smiley:

And…I got this before the choice…


#310

You must always have dialogue before a choice. You can’t have anything between dialogue and the word choice


#311

Oh dear. Really? This easy? :smiley:
I will never get behind those features. Thank you a lot!


#312

After I came across this I haven’t came across any problems with my choices. Thxs for this amazing template!!!


#313

Version:1.0 StartHTML:000000221 EndHTML:000021796 StartFragment:000007141 EndFragment:000021688 StartSelection:000007141 EndSelection:000021684 SourceURL:https://forums.episodeinteractive.com/u/kweenKori/activity

So here’s the deal…
In the next chapter, there’s flashbacks and the clothes that the main performance was wearing that day must be the same as in the flashback. How do I do?

label halloween_dressing_game

    NAME (idle)
(What should I wear?)
    NAME (admire_happy)
(Oh my god, WhAt ShOuLd |italic| I |reset| wEaR?!?!)

choice “Angel” {
goto angel

} “Cat” {
goto cat

} “Cowgirl” {
goto cowgirl

} “Demon” {
goto demon

} “FireWoman” {
@NAME is dustoff_neutral_loop
@NAME changes into FIREWOMAN
goto are_you_f_sure

} “Dame Nature” {
goto dame_nature

} “Gladiator” {
goto gladiator

} “Lolita” {
goto lolita

} “Nurse” {
goto nurse

} “Pilot” {
@NAME is dustoff_neutral_loop
@NAME changes into PILOT
goto are_you_f_sure

} “Pirate” {
goto pirates

} “Princess” {
@NAME is dustoff_neutral_loop
@NAME changes into PRINCESS_1
goto are_you_f_sure

} “Police” {
@NAME is dustoff_neutral_loop
@NAME changes into POLICE
goto are_you_f_sure

} “Skeleton” {
goto skeleton

} “A la Victorienne!” {
goto victorian

} “Witch” {
goto witch

} “Let’s say it a…” {
@NAME is dustoff_neutral_loop
@NAME changes into ZOMBIE
goto are_you_f_sure

} “Doctor” {
@NAME is dustoff_neutral_loop
@NAME changes into DOCTOR
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label angel

    NARRATOR (MK)
Here's the Angel costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Shy” {
@NAME is dustoff_neutral_loop
@NAME changes into ANGEL_1
goto are_you_f_sure

} “Goldie” {
@NAME is dustoff_neutral_loop
@NAME changes into ANGEL_2
goto are_you_f_sure

} “Deadly” {
@NAME is dustoff_neutral_loop
@NAME changes into ANGEL_3
goto are_you_f_sure

} “Dark” {
@NAME is dustoff_neutral_loop
@NAME changes into ANGEL_6
goto are_you_f_sure

} “Sky” {
@NAME is dustoff_neutral_loop
@NAME changes into ANGEL_7
goto are_you_f_sure

} “Snow” {
@NAME is dustoff_neutral_loop
@NAME changes into ANGEL_5
goto are_you_f_sure

} “D-D-DONE!!” {
goto are_you_f_sure

}

label cat

    NARRATOR (MK)
Here's the Cats costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Goth” {
@NAME is dustoff_neutral_loop
@NAME changes into CAT_1
goto are_you_f_sure

} “Velvet” {
@NAME is dustoff_neutral_loop
@NAME changes into CAT_2
goto are_you_f_sure

} “Sweet!” {
@NAME is dustoff_neutral_loop
@NAME changes into CAT_3
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label cowgirl

    NARRATOR (MK)
Here's the Cowgirl costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Yee” {
@NAME is dustoff_neutral_loop
@NAME changes into COWGIRL_1
goto are_you_f_sure

} “Haw” {
@NAME is dustoff_neutral_loop
@NAME changes into COWGIRL_2
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label demon

    NARRATOR (MK)
Here's the Demon costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Demonic” {
@NAME is dustoff_neutral_loop
@NAME changes into EVIL_1
goto are_you_f_sure

} “Angelic” {
NARRATOR (MK)
Sorry, this outfit is unavailable because Heather will wear it.
goto demon

} “Pinky” {
@NAME is dustoff_neutral_loop
@NAME changes into EVIL_3
goto are_you_f_sure

} “Shadow” {
@NAME is dustoff_neutral_loop
@NAME changes into EVIL_4
goto are_you_f_sure

} “Leprechaun” {
@NAME is dustoff_neutral_loop
@NAME changes into EVIL_5
goto are_you_f_sure

} “Night” {
@NAME is dustoff_neutral_loop
@NAME changes into EVIL_6
goto are_you_f_sure

} “666” {
@NAME is dustoff_neutral_loop
@NAME changes into EVIL_7
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label dame_nature

    NARRATOR (MK)
Here's the ~Nature~ costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Daugther of Dame Nature” {
@NAME is dustoff_neutral_loop
@NAME changes into FORESTGIRL_1
goto are_you_f_sure

} “Dame Nature herself” {
@NAME is dustoff_neutral_loop
@NAME changes into FORESTGIRL_2
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label gladiator

    NARRATOR (MK)
Here's the Gladiators costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Shadow” {
@NAME is dustoff_neutral_loop
@NAME changes into GLADIATOR_1
goto are_you_f_sure

} “Shade of Grey” {
@NAME is dustoff_neutral_loop
@NAME changes into GLADIATOR_2
goto are_you_f_sure

} “Fierce” {
@NAME is dustoff_neutral_loop
@NAME changes into GLADIATOR_3
goto are_you_f_sure

} “Gold” {
@NAME is dustoff_neutral_loop
@NAME changes into GLADIATOR_4
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label lolita

    NARRATOR (MK)
Here's the Lolita costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Little Red Riding Hood” {
@NAME changes into LOLITA_1
goto are_you_f_sure

} “Baby Doll” {
@NAME is dustoff_neutral_loop
@NAME changes into LOLITA_2
goto are_you_f_sure

} “Cerisette” {
@NAME is dustoff_neutral_loop
@NAME changes into LOLITA_3
goto are_you_f_sure

} “Vampire” {
@NAME is dustoff_neutral_loop
@NAME changes into LOLITA_4
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label nurse

    NARRATOR (MK)
Here's the Nurse costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Deep Blue” {
@NAME is dustoff_neutral_loop
@NAME changes into NURSE_girl1
goto are_you_f_sure

} “Aqua” {
@NAME is dustoff_neutral_loop
@NAME changes into NURSE_girl2
goto are_you_f_sure

} “Navy” {
@NAME is dustoff_neutral_loop
@NAME changes into NURSE_girl3
goto are_you_f_sure

} “Light blue” {
@NAME is dustoff_neutral_loop
@NAME changes into NURSE_girl4
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label pirates

    NARRATOR (MK)
Here's the Pirate costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Honey” {
@NAME is dustoff_neutral_loop
@NAME changes into PIRATE_1
goto are_you_f_sure

} “Mauve” {
@NAME is dustoff_neutral_loop
@NAME changes into PIRATE_2
goto are_you_f_sure

} “Girly” {
@NAME is dustoff_neutral_loop
@NAME changes into PIRATE_3
goto are_you_f_sure

} “Mermaid tail” {
@NAME is dustoff_neutral_loop
@NAME changes into PIRATE_4
goto are_you_f_sure

} “Kaki” {
@NAME is dustoff_neutral_loop
@NAME changes into PIRATE_5
goto are_you_f_sure

} “Ombrageuse” {
@NAME is dustoff_neutral_loop
@NAME changes into PIRATE_6
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label skeleton

    NARRATOR (MK)
Here's the Skeleton costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Pink Neon” {
@NAME changes into SKELETON_1_2
goto are_you_f_sure

} “Green Neon” {
@NAME is dustoff_neutral_loop
@NAME changes into SKELETON_2_2
goto are_you_f_sure

} “Gold Skeleton” {
@NAME is dustoff_neutral_loop
@NAME changes into SKELETON_3_2
goto are_you_f_sure

} “Silver” {
@NAME is dustoff_neutral_loop
@NAME changes into SKELETON_4_2
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label victorian

    NARRATOR (MK)
Here's the Victorian Style costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “Cerulean” {
@NAME is dustoff_neutral_loop
@NAME changes into VICTORIANSTYLE_1
goto are_you_f_sure

} “Burgundy” {
NARRATOR (MK)
Sorry, this choice is locked because Kadijah will wear this outfit.
goto victorian

} “Lavender coat” {
@NAME is dustoff_neutral_loop
@NAME changes into VICTORIANSTYLE_3
goto are_you_f_sure

} “Silk purple” {
@NAME is dustoff_neutral_loop
@NAME changes into VICTORIANSTYLE_4
goto are_you_f_sure

} “Angeline” {
@NAME is dustoff_neutral_loop
@NAME changes into VICTORIANSTYLE_5
goto are_you_f_sure

} “Wish me luck” {
@NAME is dustoff_neutral_loop
@NAME changes into VICTORIANSTYLE_6
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label witch

    NARRATOR (MK)
Here's the Witch costumes. What do you want to wear?
|underline| Don't forget, there will be a time at the end of the chapter, you'll get to do screenshots! |reset| :)

choice “DIE” {
@NAME is dustoff_neutral_loop
@NAME changes into WITCH_1
goto are_you_f_sure

} “KILL” {
@NAME is dustoff_neutral_loop
@NAME changes into WITCH_2
goto are_you_f_sure

} “CURSE” {
@NAME is dustoff_neutral_loop
@NAME changes into WITCH_3
goto are_you_f_sure

} “D-D-DONE!” {
goto are_you_f_sure

}

label are_you_f_sure

@pause for 3 THEN NAME is think_rubchin
@pause for 1.5 THEN NAME is idle_shiftweight_neutral_loop
NARRATOR (MK)
Are you sure that you actually like your |color:darkorange| Halloween costume|reset|?

choice “YASS!” {
goto partayy

} “No let me think again!” {
NAME (talk_shrug_neutral)
Meh…
@NAME is dustoff_neutral_loop
@NAME changes into towel_girl
goto halloween_dressing_game

}