--- namespace: global state: var1: false var2: false characters: Alice: --- Start: - call: SingleIf - call: NestedIf - call: ChoicesIf - call: TestElse - Alice: Success! SingleIf: # flattens to: # - branch # - text # flow should be: # evaluate to false - if $var1: - Alice: I shouldn't say this. # implicit return: NestedIf: # flattens to: # - branch # - branch # - text - if $var1: - if $var2: - Alice: I shouldn't say this either. ChoicesIf: - if true: - choices: Yeah!: Yes!: ChoiceYes No!: ChoiceNo else: - Alice: I will not say this. TestElse: - if false: - choices: Yeah!: Yes!: ChoiceYes No!: ChoiceNo else: - Alice: I will say this. - if false: - Alice: I will not say this. else: - Alice: I will also say this. ChoiceYes: - Alice: Yes! ChoiceNo: - Alice: No!