The concerned bit of code is this:
*choice *if (theatricality > 50) #... ... *choice # #
I already solved a similar error earlier, but the problem does not seem to be the same at all. And there seem to be nothing wrong at all with this particular part the error is indicating. I’ve tried looking higher and lower into the code, but nothing seems to be wrong.