- Aug 28, 2018
- 1,896
- 2,875
This is the last little bit of code that I need to fix for this VN adventure, then I should be good to go. Earlier on in the game there is a choice and I set variables:
Later on I call on the variable was_peeking to shape other dialogue with a different character, to wit:
I have looked this up multiple places and just can't see where I am goofing up on this code. Any assistance would be appreciated. I have tried putting quotes around "true" in the second case and not, but it does not seem to make a difference.
Code:
menu:
"What should I do?"
"Look a little closer.":
$ was_peeking = "true"
jump peeking
"Wait patiently in the living room.":
$ was_peeking = "false"
jump notpeeking
Code:
if was_peeking = true:
jump was_peeking
else:
jump was_not_peeking