I’m playtesting a game with two scenes (i.e. two .txt files) so far and they pass quicktest without any problems. When I get to the second scene (code below), I get the error message “prevOption is undefined” and the choices aren’t displayed. I see someone else has asked this but it was never resolved, and I can’t find it on the wikia.
EDIT: Resolved! Please see below for possible fix.
Does anyone have any idea why this error message might pop up? Any other details I should include?
`*label consult You start seeing patients yo Because you are sadly without receptionist, you ask people to wait in the waiting room, then do all the registration stuff inside. *choice *if (rcount = 1) #It's a bit quiet around here *set rcount +3 *set workday_counter -30 *goto consult *if (rcount = 3) #Call the well-dressed lady in *set rcount -2 *set workday_counter -20 *goto consult *if (rcount = 5) #Call the schoolboy in *rand rcount 4 20 *set workday_counter -20 *goto consult `