I'm making my own custom menus and screens and I wanted to make my own quit confirm screen, so I was able to make one and it functions correctly except for one thing....
When you get the quit confirm screen you have the option of 'yes' or 'no' to quit, if you select yes its fine because it exits the game, however I'm having some difficulty with the "no' option. what i want is for if you select 'No' that it will return you to what ever screen or part of the game you were at when you first invoked the quit confirm screen. I can't figure out what code to use for that...If I use the following It works fine as long as you invoke the quit confirm screen while IN gameplay:
Code: Select all
label confirm_quit:
$ result = renpy.imagemap("benizukimiquit.bmp", "benizukimiquithov.bmp", [
(213, 153, 263, 200, "yes"),
(350, 153, 400, 200, "no")])
if result == "yes":
jump _quit
elif result == "no":
return
I'm sure theres an easy fix for this, but I have no idea what it is. Can someone please help me out?