- Dec 21, 2018
- 2,399
- 2,336
This error should be impossible with current script.I'm running no mods -
Code:I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 9435, in <module> NameError: name 'sasha_sad' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "script.rpyc", line 899, in script call File "script.rpyc", line 9435, in script File "renpy/ast.py", line 1898, in execute if renpy.python.py_eval(condition): File "renpy/python.py", line 2276, in py_eval return py_eval_bytecode(code, globals, locals) File "renpy/python.py", line 2269, in py_eval_bytecode return eval(bytecode, globals, locals) File "game/script.rpy", line 9435, in <module> NameError: name 'sasha_sad' is not defined Windows-10-10.0.19041 Ren'Py 7.4.11.2266 Bastard 9.0 Wed Jul 20 19:26:03 2022
Variable sasha_sad is initialized at start.
You can only reach label d7s and the line 9435 if sasha_sad >=5, so sasha_sad should be known.
Code:
label start:
$ hil = 1
$sasha_sad =0
Code:
if sasha_sad >=5:
jump d7s
else:
jump d7tasha
label d7s:
scene black with dissolve
pause
scene d7gh9 with dissolve
k "Are you happy to see me? {p} I really enjoyed our last meeting."
scene d7gh10 with dissolve
s "Yes, I'm very happy. I also enjoyed our meeting at the hotel."
k "What did you like in particular?"
scene d7gh8 with dissolve
s " I liked everything."
k "That's not an answer."
scene d7gh3 with dissolve
pause
if sasha_sad >=7: ## line 9435
You can skip text with the CTRL-key. To skip all text go into settings.
Last edited: