Unsure how to use *choice

After using *choices and *ifs you have to finish with a *goto, so that the code knows where to go after it reaches that point.

The *gotos go to *label of a name you can define.

*choice
    #Male
        Ok.
        *set gender male
        *page_break
        *goto afterGender
    #Female
        Ok.
        *set gender female
        *page_break
        *goto afterGender

*label afterGender

Continue your game here...

Alternatively you can use *fake_choice, which doesn’t require a *goto at the end, and it will simply continue down when it finishes the choice code.

Also use this program to make coding easier, as well as handling indenting.

1 Like