In the wiki they provide with the below code snippet example, but I don’t really understand how it works. Does it automatically run in every scene because it was declared in choicescript_stats? Or do I need to specify it under a *label and treat it like a gosub routine? How about multiple subroutines?
*temp wound_text *if wounds = 0 *set wound_text "Uninjured" *goto chart *elseif wounds = 1 *set wound_text "Battle-scarred" *goto chart *elseif wounds = 2 *set wound_text "Permanently wounded" *goto chart *elseif wounds = 3 *set wound_text "Permanently weakened" *goto chart *elseif wounds = 4 *set wound_text "At Death's door" *goto chart *label chart *stat_chart text wound_text Wounds