hey just want to ask if this also happens when playing unmodded saves. My unmodded saves with fresh S3 file also encountered this problem
Yep. That's why I looked into the code. My game and my saves are clear and even so it fucked me over.
I am using the unren tool, copied it in my directory, and clicked on 1. Anything specific I need to do after? I still get the same error
Okay, you need to EXTRACT AND DECOMPILE. Extract will, well, extract the RPA files and with decompile you get the RPY files out of the RPYC files. The RPY's are the scripts and you can edit them with Notepad+ or any other editor.
After you edit the update10.RPY make sure you delete the update10.RPYC file. You can do it before editing, too. The RPYC is the compiled RPY and if Ren'Py found it at starting the game it will use this. If it isn't there the game will compile the RPY into RPYC, so you got a fresh edited game.
And also don't forget to kill the scripts.RPA. When you start the game it will alway look first into the RPA and in it is the original file. When the game didn't found the RPA it will use the RPYC. That's why we deleted it. If there isn't a RPYC the game compiles the RPYC from the RPY. You just have to do it once. After the game compiled your edited RPY it will use the new file you created.