Code: Select all
default alright = ""
default chose = ""
[Some text]
label movie:
show dylan
menu:
"Talk":
if hp >= 1:
$ hp -= 1
if dylan_relationship = 0:
d "Oh hey, how's it going?"
menu:
"Err...":
$ alright = False
p "Uh....uh...um..."
d "You alright? You seem a little...off..."
jump movie
"Alright.":
$ alright = True
p "I'm alright. How about you?"
d "Yeah, I'm pretty good. Nothing spectacular but not bad either. Thanks."
if charisma >= 20:
$ dylan_relationship += 5
else:
$ dylan_relationship += 1
jump movie
elif alright == True:
d "Hey, it's you again! Sorry, I never caught your name before."
menu:
"Tell him your name":
$ chose = "name"
p "Oh, sorry. My name's [player_name]."
d "[player_name], I like that."
if charisma >= 20:
$ dylan_relationship += 5
else:
$ dylan_relationship += 1
jump movie
"Refuse to tell him":
p "Why should I tell you?"
hide dylan
show dylanangry
d "Whoa! No need to get defensive. I was just asking."
hide dylanangry
jump movie
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 102, in script
menu:
SyntaxError: invalid syntax (script.rpy, line 102)