I'd appreciate some help here. Im using menu: and should the player select the wrong choice, there's abit of dialog and then a Return statement. This should cause the game to end and bring the player back to the Main Menu.
Problem is the Return statement causes the game to attempt to loop back to a screen I called previously (which I thought I had hid or removed) before crashing out.
Here is the crashdump:
Code: Select all
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 7078, in script
call screen pick_partner1
File "renpy/common/000statements.rpy", line 471, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/common/00action_data.rpy", line 50, in get_selected
return getattr(self.object, self.field) == self.value
AttributeError: 'StoreModule' object has no attribute 'picked_lucky'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 7078, in script
call screen pick_partner1
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\ast.py", line 1706, in execute
self.call("execute")
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\ast.py", line 1724, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\statements.py", line 145, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 471, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\exports.py", line 2521, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\ui.py", line 285, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\core.py", line 2492, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\core.py", line 2759, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\core.py", line 482, in visit_all
d.visit_all(callback)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\core.py", line 482, in visit_all
d.visit_all(callback)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\core.py", line 482, in visit_all
d.visit_all(callback)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\screen.py", line 403, in visit_all
self.child.visit_all(callback)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\core.py", line 482, in visit_all
d.visit_all(callback)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\core.py", line 484, in visit_all
callback(self)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\core.py", line 2759, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\behavior.py", line 788, in per_interact
if self.is_selected():
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\behavior.py", line 778, in is_selected
return is_selected(self.action)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\behavior.py", line 356, in is_selected
return any(is_selected(i) for i in action)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\behavior.py", line 356, in <genexpr>
return any(is_selected(i) for i in action)
File "C:\Users\John John\Desktop\John\Games\renpy\renpy\display\behavior.py", line 359, in is_selected
return action.get_selected()
File "renpy/common/00action_data.rpy", line 50, in get_selected
return getattr(self.object, self.field) == self.value
AttributeError: 'StoreModule' object has no attribute 'picked_lucky'
Windows-8-6.2.9200
Ren'Py 6.99.12.2.2029
LetsMeatAdam 0.0