





screen say:


    default side_image = None
    default two_window = False
    key "e" action Language("english")
    key "j" action Language(None)


    if not two_window:


        window:
            id "window"

            has vbox:
                style "say_vbox"

            if who:
                text who id "who"

            text what id "what"

    else:


        vbox:
            style "say_two_window_vbox"

            if who:
                window:
                    style "say_who_window"

                    text who:
                        id "who"

            window:
                id "window"

                has vbox:
                    style "say_vbox"

                text what id "what"


    if side_image:
        add side_image
    else:
        add SideImage() xalign 0.0 yalign 1.0











screen choice:

    window:
        style "menu_window"
        xalign 0.5
        yalign 0.5

        has vbox:
            style "menu"
            spacing 2

        for caption, action, chosen in items:

            if action:

                button:
                    action action
                    style "menu_choice_button"

                    text caption style "menu_choice"

            else:
                text caption style "menu_caption"

init -2 python:
    config.narrator_menu = True

    style.menu_window.set_parent(style.default)
    style.menu_choice.set_parent(style.button_text)
    style.menu_choice.clear()
    style.menu_choice_button.set_parent(style.button)
    style.menu_choice_button.xminimum = int(config.screen_width * 0.75)
    style.menu_choice_button.xmaximum = int(config.screen_width * 0.75)








screen input:

    window style "input_window":
        has vbox

        text prompt style "input_prompt"
        input id "input" style "input_text"

    use quick_menu







screen nvl:
    key "e" action Language("english")
    key "j" action Language(None)

    window:
        style "nvl_window"

        has vbox:
            style "nvl_vbox"


        for who, what, who_id, what_id, window_id in dialogue:
            window:
                id window_id

                has hbox:
                    spacing 10

                if who is not None:
                    text who id who_id

                text what id what_id


        if items:

            vbox:
                id "menu"

                for caption, action, chosen in items:

                    if action:

                        button:
                            style "nvl_menu_choice_button"
                            action action

                            text caption style "nvl_menu_choice"

                    else:

                        text caption style "nvl_dialogue"

    add SideImage() xalign 0.0 yalign 1.0

    use quick_menu













    window:
        style "mm_root"


    frame:
        style_group "mm"
        xalign .98
        yalign .98

        has vbox

        textbutton _("Inciar") action Start()
        textbutton _("Cargar") action ShowMenu("load")
        textbutton _("Opciones") action ShowMenu("preferences")
        textbutton _("Salir") action Quit(confirm=False)

init -2 python:


    style.mm_button.size_group = "mm"








screen navigation:


    window:
        style "gm_root"


    frame:
        style_group "gm_nav"
        xalign .98
        yalign .98

        has vbox

        textbutton _("Regresar") action Return()
        textbutton _("Opciones") action ShowMenu("preferences")
        textbutton _("Guardar") action ShowMenu("save")
        textbutton _("Cargar") action ShowMenu("load")
        textbutton _("Menu") action MainMenu()
        textbutton _("Salir") action Quit()

init -2 python:
    style.gm_nav_button.size_group = "gm_nav"













screen file_picker:

    frame:
        style "file_picker_frame"

        has vbox



        hbox:
            style_group "file_picker_nav"

            textbutton _("Automático"):
                action FilePagePrevious()




            textbutton _("Rapido"):
                action FilePage("quick")

            for i in range(1, 9):
                textbutton str(i):
                    action FilePage(i)

            textbutton _("Siguiente"):
                action FilePageNext()

        $ columns = 2
        $ rows = 5


        grid columns rows:
            transpose True
            xfill True
            style_group "file_picker"


            for i in range(1, columns * rows + 1):


                button:
                    action FileAction(i)
                    xfill True

                    has hbox


                    add FileScreenshot(i)

                    $ file_name = FileSlotName(i, columns * rows)
                    $ file_time = FileTime(i, empty=_("Empty Slot."))
                    $ save_name = FileSaveName(i)

                    text "[file_name]. [file_time!t]\n[save_name!t]"

                    key "save_delete" action FileDelete(i)


screen save tag menu:




    use navigation
    use file_picker

screen load tag menu:




    use navigation
    use file_picker

init -2 python:
    style.file_picker_frame = Style(style.menu_frame)

    style.file_picker_nav_button = Style(style.small_button)
    style.file_picker_nav_button_text = Style(style.small_button_text)

    style.file_picker_button = Style(style.large_button)
    style.file_picker_text = Style(style.large_button_text)









screen preferences tag menu:




    use navigation


    grid 3 1:
        style_group "prefs"
        xfill True


        vbox:
            frame:
                style_group "pref"
                has vbox

                label _("Vista")
                textbutton _("Ventana") action Preference("display", "window")
                textbutton _("Pantalla Completa") action Preference("display", "fullscreen")

            frame:
                style_group "pref"
                has vbox

                label _("Transiciones")
                textbutton _("Todas") action Preference("transitions", "all")
                textbutton _("Ninguna") action Preference("transitions", "none")

            frame:
                style_group "pref"
                has vbox

                label _("Velocidad Texto")
                bar value Preference("text speed")

            frame:
                style_group "pref"
                has vbox

                label _("Idioma")
                textbutton _("Español") action Language("english")
                textbutton _("Japones") action Language(None)

        vbox:
            frame:
                style_group "pref"
                has vbox

                label _("Saltar")
                textbutton _("Texto Leido") action Preference("skip", "seen")
                textbutton _("Todo") action Preference("skip", "all")

            frame:
                style_group "pref"
                has vbox

                textbutton _("Saltar Ahora") action Skip()

            frame:
                style_group "pref"
                has vbox

                label _("Modo Automático")
                bar value Preference("auto-forward time")

        vbox:
            frame:
                style_group "pref"
                has vbox

                label _("Volumen Música")
                bar value Preference("music volume")

            frame:
                style_group "pref"
                has vbox

                label _("Volumen Sonido")
                bar value Preference("sound volume")

                if config.sample_sound:
                    textbutton _("Probar"):
                        action Play("sound", config.sample_sound)
                        style "soundtest_button"


init -2 python:
    style.pref_frame.xfill = True
    style.pref_frame.xmargin = 5
    style.pref_frame.top_margin = 5

    style.pref_vbox.xfill = True

    style.pref_button.size_group = "pref"
    style.pref_button.xalign = 1.0

    style.pref_slider.xmaximum = 192
    style.pref_slider.xalign = 1.0

    style.soundtest_button.xalign = 1.0








screen yesno_prompt:

    modal True

    window:
        style "gm_root"

    frame:
        style_group "yesno"

        xfill True
        xmargin .05
        ypos .1
        yanchor 0
        ypadding .05

        has vbox:
            xalign .5
            yalign .5
            spacing 30

        label _(message):
            xalign 0.5

        hbox:
            xalign 0.5
            spacing 100

            textbutton _("Sí") action yes_action
            textbutton _("No") action no_action


init -2 python:
    style.yesno_button.size_group = "yesno"
    style.yesno_label_text.text_align = 0.5







screen quick_menu:


    hbox:
        style_group "quick"

        xalign 0.1
        yalign 0.98

        textbutton _("G.Rapido") action QuickSave()
        textbutton _("C.Rapido") action QuickLoad()
        textbutton _("Guardar") action ShowMenu('save')
        textbutton _("Saltar") action Skip()
        textbutton _("Auto") action Preference("auto-forward", "toggle")
        textbutton _("Opcio.") action ShowMenu('preferences')

init -2 python:

    style.quick_button.set_parent('default')
    style.quick_button.background = None
    style.quick_button.xpadding = 5

    style.quick_button_text.set_parent('default')
    style.quick_button_text.size = 12
    style.quick_button_text.idle_color = "#8888"
    style.quick_button_text.hover_color = "#ccc"
    style.quick_button_text.selected_idle_color = "#cc08"
    style.quick_button_text.selected_hover_color = "#cc0"
    style.quick_button_text.insensitive_color = "#4448"



    config.default_afm_time = 10
    config.default_afm_enable = False
# Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc
