I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/day01.rpy", line 27, in script
menu:
File "game/screens.rpy", line 406, in execute
File "game/screens.rpy", line 406, in execute
File "game/screens.rpy", line 409, in execute
File "game/screens.rpy", line 416, in execute
File "game/screens.rpy", line 417, in execute
File "game/screens.rpy", line 418, in execute
NameError: Name 'bad' is not defined.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/day01.rpy", line 27, in script
menu:
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\ast.py", line 1922, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\exports.py", line 1106, in menu
rv = renpy.store.menu(new_items)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\exports.py", line 1345, in display_menu
rv = renpy.ui.interact(mouse='menu', type=type, roll_forward=roll_forward)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\core.py", line 3579, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\core.py", line 4052, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\core.py", line 681, in visit_all
d.visit_all(callback, seen)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\core.py", line 681, in visit_all
d.visit_all(callback, seen)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\core.py", line 681, in visit_all
d.visit_all(callback, seen)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\screen.py", line 476, in visit_all
callback(self)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\core.py", line 4052, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\screen.py", line 487, in per_interact
self.update()
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\display\screen.py", line 680, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 406, in execute
File "game/screens.rpy", line 406, in execute
File "game/screens.rpy", line 409, in execute
File "game/screens.rpy", line 416, in execute
File "game/screens.rpy", line 417, in execute
File "game/screens.rpy", line 418, in execute
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\ui.py", line 988, in _textbutton
text = renpy.text.text.Text(label, style=text_style, substitute=substitute, scope=scope, **text_kwargs)
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\text\text.py", line 1633, in __init__
self.set_text(text, scope, substitute) # type: ignore
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\text\text.py", line 1763, in set_text
i, did_sub = renpy.substitutions.substitute(i, scope, substitute) # type: ignore
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\substitutions.py", line 278, in substitute
s = formatter.vformat(s, (), kwargs) # type: ignore
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 165, in vformat
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 205, in _vformat
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\substitutions.py", line 168, in get_field
obj, arg_used = super(Formatter, self).get_field(field_name, args, kwargs)
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 270, in get_field
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 227, in get_value
File "C:\Users\1king\OneDrive\Desktop\SL-1.1.11-Uncensored Edition\renpy\substitutions.py", line 236, in __getitem__
raise NameError("Name '{}' is not defined.".format(key))
NameError: Name 'bad' is not defined.
Windows-10-10.0.22621 AMD64
Ren'Py 8.1.1.23060707
SL 1.1.11
Sat Sep 9 01:35:09 2023