This is very bizarre. I am having the same issue with testing if I hit 10 repair kits in total. The error it's bringing up is an issue with ren'py itself and not my script (pointing to renpy/display/core.rpy and ui.rpy). I've never looked into these and have never touched them so this may be a bit before I can come up with something.Found another problem:the repair kit i think? (the case next to the flashbang) create this error: