Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
b "This is exactly why we should tell Zauer. It could be connected to the land of the crab vikings or something."
w "Crab vikings already exist on this plane."
$quick_menu = True
$ _game_menu_screen = "quick_load"
b "Zombie crab vikings."
pc "This was not in the instruction manual!"
So right now, I press ESC and it works fine. It goes to that screen.
But then I press ESC again, and instead of returning, it goes to the options screen, which completely screws up on the visual Return button and sends the player about twenty screens back, which is why I set ESC to just go to the save/load screen in the first place.
How do I stop it from going to the second screen on the second click of ESC and instead return on the second ESC?
While running game code:
File "game/script.rpy", line 646, in script
$ _game_menu_screen = none
File "game/script.rpy", line 646, in <module>
$ _game_menu_screen = none
NameError: name 'none' is not defined