there are some places where things that claim to affect stats, don't actually affect said stats (ie: prism's stress after trust thing) it also seems to be possible to to cap a stat so that it can't be reduced. (again, prism.sts after the trust thing is an example, but i'm pretty sure i remember it happening with a few other stats during her minigame.)
also the comment that someone had about having the wrong name during a prism event happened to me too, iirc, withing three or 4 vists after the trust thing.
there were also a couple of wierd happenings with the stress relief potion of prism that makes me thing you may want to give that entire set of loops another look.
Since i wasn't sure you would actually see the comment i stopped keeping track of things like that and just edited the html to fix it where i could and went on about my day. the stress relief portion of the "pirsm minigame" was convoluted enough that i didn't attempt to do anything... oh, also, it's possible to get bondage to show up in your vault... as many times as you want.... so, the check(s) for that push don't seem to be set up right...
View attachment 1500930
also, and this doesn't have anything to do with bugs in the game, but i noticed that you switch conventions for variable changes
set $player.stat = $player.stat + 4
vs
set $player.stat+=4 (or set $player.stat += 4)
using the condenced $player.stat+=4 saves the most characters and with how many times it gets used may be the best choice to find/replace all with... unless you want to rip it all out and make it into a function. (I do not recommend making it a function at this point in development).