DARA’S GUIDE: Typed-in Choices

label background_code

INT. CODE LETTER 
@pause for 10

label unlock_code

input What is the passcode? | What is the passcode? | Unlock(CODE)

if (CODE is “Apple”) {
		NARRATOR
	Correct! You’ve unlocked the door!

} else {
		NARRATOR
	Code incorrect.
	Please try again.
    Would you like to see the code again?
choice
"Yes" {
goto background_code
} "No" {
goto unlock_code
}
}

Add a label before the background, then when they get the code wrong add in a choice to see the background again or not.

9 Likes