|str||The string to show in the pop-up question.|
This function creates a pop-up message box with two buttons for
"Yes" and "No". It returns true or false
depending on which one of the two buttons the user presses.
NOTE: THIS FUNCTION IS FOR DEBUG USE ONLY.
if score > 500
if show_question("Continue to next room?")
The above code will check the score and if it is over 500, it will ask the user if they wish to continue or not and if the "yes" button is clicked it will go to another room, but if the "no" button is selected it will end the game.