Let me tell you about the miracle that is *params. Essentially, you can pass specific pieces of data to a *gosub and *gosub_scene.
Where to go?
*fake_choice
#Go to dinner
*gosub outing "dinner"
#Go to club
*gosub outing "club"
Such a good way to spend the night.
*ending
*comment Params down here takes the string passed from above.
*label outing
*params where
*if (where= "club")
You had a lovely time at the club.
*return
*elseif (where = "dinner")
You had a lovely time at dinner.
*return
If you’re familiar with other programming languages, it works like an argument for a function. The post that has a better explanation is here.
