Code: Select all
While running game code:
File "game/script.rpy", line 286, in script
if Yoongi_Points == 0:
File "game/script.rpy", line 286, in <module>
if Yoongi_Points == 0:
NameError: name 'Yoongi_Points' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 286, in script
if Yoongi_Points == 0:
File "C:\Users\Karina\Downloads\renpy-6.99.14.1-sdk\renpy\ast.py", line 1702, in execute
if renpy.python.py_eval(condition):
File "C:\Users\Karina\Downloads\renpy-6.99.14.1-sdk\renpy\python.py", line 1843, in py_eval
return py_eval_bytecode(code, globals, locals)
File "C:\Users\Karina\Downloads\renpy-6.99.14.1-sdk\renpy\python.py", line 1836, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/script.rpy", line 286, in <module>
if Yoongi_Points == 0:
NameError: name 'Yoongi_Points' is not defined
Code: Select all
jm "Okay guys, there's someone I'd like you to meet!"
"The boys settled down, and stared right at you."
jm "Let me introduce you to the boys."
"Jimin smiled brightly."
jump introduction
label introduction:
jm "Okay, this is Jungkook, he's the youngest."
show jungkookneutral at right
jk "Nice to meet you!"
"Jungkook smiled at you, and gave a quick wave before skipping back to his seat."
hide jungkookneutral
jm "And this is Taehyung!"
show taehyungneutral at right
t "Hi..."
"Taehyung smiled at you and walked back to his seat."
hide taehyungneutral
jm "And this is..."
j "The best person you will ever meet!"
"Jimin sighed."
jm "This is..."
j "The most... HANDSOME person you will ever meet!"
jm "Ji..."
show jinneutral at right
j "KIM SEOKJIN!"
"Jin coughed."
j "Good afternoon."
"Jin walked up to you and kissed your hand."
"You could hear another boy sighing in the background as Jin stood back up."
show namjoonneutral
n "Just..."
n "Just sit down."
j "Hey!"
"Jin sat back in his chair and crossed his legs."
hide jinneutral
jm "Well then, since he's up, let me introduce you Namjoon!"
n "Hey, I'm the leader of the crew."
"He pronounced crew slightly wrong, and instead said 'gru', making you chuckle."
"Namjoon gave you a slight wave and an awkward smile."
"He walked back to his seat and sat down."
hide namjoonneutral
jm "This is Hoseok!"
show hoseokneutral
h "Hello!"
"Hoseok waved at you with both of his hands, and smiled a huge smile."
"He then skipped back to his seat in between Namjoon and Jungkook, and sat down."
hide hoseokneutral
jm "And this is..."
if Yoongi_Points == 0:
show yoongineutral at right
y "Don't worry, I can introduce myself, Chimmy."
y "Hey, I'm Yoongi."
"Yoongi winked at you, before walking back to his seat."
hide yoongineutral
jump jiminintroduce
if Yoongi_Points == -1:
jm "Yoongi!"
show yoongineutral at right
"Yoongi gave you a short wave and forced smile, before walking back to his seat."
hide yoongineutral
jump jiminintroduce
label jiminintroduce:
show jungkookneutral
show yoongineutral at right
jm "And last but not least, I'm Jimin!"
"Jimin smiled at you."
jm "Hey wait..."
I don't normally go onto forums to ask for help I normally just figure it out myself, but like I said, I really just can't find where the issue is. (Sorry about how the code looks here it's not an issue of indentation I don't think)