I'm getting an error about ep7_cscore not being defined. But it's defined in script_shell.rpy just like perv, karma and all other variables. It happens if I load my save, so I tried starting fresh from ep 6. Same thing happened as soon as I got to the first time the variable is used in episode 7.
Only thing I can think of is maybe a ctrl character or something in the definition line. Will try deleting the script_shell.rpyc file and replacing the definition line and those around it, and then re-run.