The "direct entry command" option in the index page of the cheat menu.
If you type the variable name, you get its current value.
If you type a command it gets executed.
If you type into it, you'll get a 1 or a 0. If you type into it, you'll activate the auto-cure, as seen on line 24 here:
View attachment 2841059
Similarly, to get unaddicted:
View attachment 2841064
Oh, this doesn't look right,
Nutluck
View attachment 2841072
Two different stat names there. That's almost certain to break something.
Attractiveness calculation:
View attachment 2841094
Ouch.
Well, you could start by typing those variables into the "direct input command" thing and getting their values the night before and morning after the change. If one of them has gone from +232 to -243, there's your problem and it'll give me some clue what to look for.
There is a brute-force way to get around it, but if you've hit a bug I'd rather fix the bug.