# Copyright 2004-2010 PyTom <pytom@bishoujo.us>
# See LICENSE.txt for license details.

init python hide:

    layout.provides('yesno_prompt')

    def yesno_prompt(screen, message):
        return renpy.call_screen('yesno_prompt', message=message, yes_action=Return(True), no_action=Return(False))
    
    layout.yesno_prompt = yesno_prompt
