Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 77, in script
if <visiting_maria> == True:
SyntaxError: invalid syntax (game/script.rpy, line 77)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 77, in script
if < visiting_maria > == True:
File "C:\Users\zakoo\Desktop\renpy-7.1.1-sdk\renpy\ast.py", line 1760, in execute
if renpy.python.py_eval(condition):
File "C:\Users\zakoo\Desktop\renpy-7.1.1-sdk\renpy\python.py", line 1942, in py_eval
code = py_compile(code, 'eval')
File "C:\Users\zakoo\Desktop\renpy-7.1.1-sdk\renpy\python.py", line 674, in py_compile
raise e
SyntaxError: invalid syntax (game/script.rpy, line 77)
Windows-8-6.2.9200
Ren'Py 7.1.1.929
Yellow Roses And Silver Knives 1.0
Tue May 21 17:45:35 2019
my code is :
label meeting_with_james:
if < visiting_maria > == True:
scene bg meeting room
show James tied calm
Js "Oh, %(player_name)s , you took your time coming here."
pov "Hello James, so what is this meeting about?"
else:
scene bg meeting room
show James tied calm
Js "Ah %(player_name)s , thank you for coming here right away. I appreciate your punctuality."
if <visiting_anthony> == True:
scene bg meeting room
show James tied calm
Js "Oh, %(player_name)s , you took your time coming here."
pov "Hello James, so what is this meeting about?"
else:
scene bg meeting room
show James tied calm
Js "Ah %(player_name)s , thank you for coming here right away. I appreciate your punctuality."
return
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have no error for the "visiting_anthony" if statement, despite it being the exact same as the "visiting_maria" if statement. Is anyone able to help me figure out what's my error?