Please help with continuity/stat error

Have a look here for ideas:

And for pronoun switching, make variables for each pronoun. Create the variable his in startup, for example. Set it to “his” for a male character, “her” for a female. Then write ${his} in your text, and it’ll display as the appropriate pronoun.

As an example of what this can look like in Choice of Rebels:

"Don't call ${him} '${milady}'," Chirex retorts at once.  "$!{He} has forfeited all right to the title.  Call ${him} Shame-Veined, for ${his} treachery brings disrepute on all who share ${his} blood."