screen status_screen():
    if arc2 ==False:
        imagebutton:
            idle "uistuff/menuscroll.webp"
            hover "uistuff/menuscroll_glow.webp"
            focus_mask True
            action ToggleVariable("menu_clicked")
        if menu_clicked:
            imagebutton:
                idle "menu_scroll_open"
                focus_mask True
            imagebutton:
                idle "uistuff/status.webp"
                hover "uistuff/statusglow.webp"
                focus_mask True
                hovered Notify("Check my status")
                action [Show('mc_status'), Hide('status_screen')]
            imagebutton:
                idle "uistuff/ryo.webp"
                hover "uistuff/ryoglow.webp"
                focus_mask True
                hovered Notify("Check my items")
                action [Show('item_screen'), Hide('status_screen')]
            imagebutton:
                idle "uistuff/girls.webp"
                hover "uistuff/girlsglow.webp"
                focus_mask True
                hovered Notify("Check status of girls")
                action [Show('girls_status'), Hide('status_screen')]
        else:
            imagebutton:
                idle "menu_scroll_close"
                focus_mask True

    if arc2:
        imagebutton:
            idle "uistuff/menuscroll.webp"
            hover "uistuff/menuscroll_glow.webp"
            focus_mask True
            action ToggleVariable("menu_clicked")
        if menu_clicked:
            imagebutton:
                idle "menu_scroll_open"
                focus_mask True
            imagebutton:
                idle "uistuff/status.webp"
                hover "uistuff/statusglow.webp"
                focus_mask True
                hovered Notify("Check my status")
                action [Show('mc_statuss2'), Hide('status_screen')]
            imagebutton:
                idle "uistuff/ryo.webp"
                hover "uistuff/ryoglow.webp"
                focus_mask True
                hovered Notify("Check my items.")
                action [Hide('mc_statuss2'), Show('item_screens2')]
            imagebutton:
                idle "uistuff/girls.webp"
                hover "uistuff/girlsglow.webp"
                focus_mask True
                hovered Notify("Check status of girls")
                action [Show('villageselections2'), Hide('status_screen')]
        else:
            imagebutton:
                idle "menu_scroll_close"
                focus_mask True
screen item_screen():
    modal True
    style_prefix "item_screen"
    frame:
        background "uistuff/item/itemscroll.webp"
    vbox:
        xalign 0.025
        yalign 0.25
        if hp_pills >=1:
            hbox:
                spacing 10
                add "uistuff/item/HP pills.webp"
                text "Recovery Pill x[hp_pills]"
        if chakra_pills >=1:
            hbox:
                spacing 10
                add "uistuff/item/chakra pills.webp"
                text "Energy Pill x[chakra_pills]"
        if hp_pills_plus >=1:
            hbox:
                spacing 10
                add "uistuff/item/HP pills plus.webp"
                text "Recovery Pill+ x[hp_pills_plus]"
        if chakra_pills_plus >=1:
            hbox:
                spacing 10
                add "uistuff/item/chakra pills plus.webp"
                text "Energy Pill+ x[chakra_pills_plus]"
        if dense_hp_pills >=1:
            hbox:
                spacing 10
                add "uistuff/item/dense HP pills.webp"
                text "Dense Recovery Pill x[dense_hp_pills]"
        if dense_chakra_pills >=1:
            hbox:
                spacing 10
                add "uistuff/item/dense chakra pills.webp"
                text "Dense Energy Pill x[dense_chakra_pills]"
        if tags >=1:
            hbox:
                spacing 10
                add "uistuff/item/tags.webp"
                text "Explosive tag x[tags]"
        if antidote >=1:
            hbox:
                spacing 10
                add "uistuff/item/antidote.webp"
                text "Antidote x[antidote]"
    vbox:
        xalign 0.415
        yalign 0.25
        if red_dye >=1:
            hbox:
                spacing 10
                add "uistuff/item/red dye.webp"
                text "Red dye x [red_dye]"
        if blue_dye >=1:
            hbox:
                spacing 10
                add "uistuff/item/blue dye.webp"
                text "Blue dye x [blue_dye]"
        if green_dye >=1:
            hbox:
                spacing 10
                add "uistuff/item/green dye.webp"
                text "Green dye x [green_dye]"
        if black_dye >=1:
            hbox:
                spacing 10
                add "uistuff/item/black dye.webp"
                text "Black dye x [black_dye]"
        if bear_fur >=1:
            hbox:
                spacing 10
                add "uistuff/item/fur.webp"
                text "Bear_fur x [bear_fur]"
        if claw >=1:
            hbox:
                spacing 10
                add "uistuff/item/claw.webp"
                text "Claw x [claw]"
        if leather >=1:
            hbox:
                spacing 10
                add "uistuff/item/leather.webp"
                text "Leather x [leather]"
        if cotton >=1:
            hbox:
                spacing 10
                add "uistuff/item/cotton.webp"
                text "Cotton x [cotton]"
        if rubbery_skin >=1:
            hbox:
                spacing 10
                add "uistuff/item/rubbery skin.webp"
                text "Rubbery skin x [rubbery_skin]"
        if weird_flower >=1:
            hbox:
                spacing 10
                add "uistuff/item/weird flower.webp"
                text "Weird Flower x [weird_flower]"
    vbox:
        xalign 0.82
        yalign 0.25
        hbox:
            spacing 10
            add "uistuff/item/ryo.webp"
            text "Money: [ryo] Ryo"
        if aphrodisiac >= 1:
            hbox:
                spacing 10
                add "uistuff/item/aphrodisiac.webp"
                text "Aphrodisiac x [aphrodisiac]"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('item_screen'),Show('status_screen')]

label shurikenbomb:
    "How much Ryo would you like to spend on the making the weapon scroll?"
    menu:
        "Enter amount":
            $ number2 = renpy.input("I'll spend...", "", allow="0123456789")
            $ number2 = number2.strip ()
            if number2 == "":
                $ number2 = "0"
            $ bomb_money = int(number2)
            if bomb_money == 0:
                mc "I'll do it later."
            else:
                "Spend [bomb_money] Ryo to buy supplies for the scroll?"
                menu:
                    "Yes":
                        if bomb_money <= ryo:
                            "You spent sometime buying supplies for the scroll."
                            $ ryo -= bomb_money
                            $ shuriken_bomb_loaded = True

                        else:
                            $ bomb_money = 0
                            mc "I don't have that much Ryo."
                    "No":
                        $ renpy.pop_call()
                        jump shurikenbomb

        "Do it later":
            mc "Maybe later."
    jump town
screen mc_status():
    modal True
    frame:
        background "uistuff/mcstatus/statusscroll.webp"
    imagebutton:
        idle "uistuff/mcstatus/status button.webp"
        hover "uistuff/mcstatus/status button glow.webp"
        focus_mask True
        action [Hide('mc_status'), Show('girls_status')]
    imagebutton:
        idle "uistuff/mcstatus/item button.webp"
        hover "uistuff/mcstatus/item button glow.webp"
        focus_mask True
        action [Hide('mc_status'), Show('item_screen')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('mc_status'), Show('status_screen')]
    if sakura_controlled:
        imagebutton:
            idle "uistuff/mcstatus/chakra recovery.webp"
            hover "uistuff/mcstatus/chakra recovery glow.webp"
            focus_mask True
            # action Notify("Use in battle to heal Chakra.")
            tooltip "Use in battle to heal Chakra."
            action NullAction()
    else:
        imagebutton:
            idle "uistuff/mcstatus/chakra recovery locked.webp"
            focus_mask True
            # action Notify("Control Sakura to learn this skill.")
            tooltip "Control Sakura to learn this skill."
            action NullAction()
    if ino_controlled:
        imagebutton:
            idle "uistuff/mcstatus/mind block.webp"
            hover "uistuff/mcstatus/mind block glow.webp"
            focus_mask True
            # action Notify("A skill used to temporarily stun an enemy.")
            tooltip "A skill used to temporarily stun an enemy."
            action NullAction()
    else:
        imagebutton:
            idle "uistuff/mcstatus/mind block locked.webp"
            focus_mask True
            # action Notify("Control Ino to learn this skill.")
            tooltip "Control Ino to learn this skill."
            action NullAction()
    if tenten_controlled:
        if shuriken_bomb_loaded:
            imagebutton:
                idle "uistuff/mcstatus/shuriken bomb loaded.webp"
                hover "uistuff/mcstatus/shuriken bomb loaded glow.webp"
                focus_mask True
                # action Notify("A scroll loaded with [bomb_money] Ryo worth of weapons.")
                tooltip "A scroll loaded with [bomb_money] Ryo worth of weapons."
                action NullAction()
        else:
            imagebutton:
                idle "uistuff/mcstatus/shuriken bomb.webp"
                hover "uistuff/mcstatus/shuriken bomb glow.webp"
                focus_mask True
                action [Hide('mc_status'), Show('status_screen'), Jump('shurikenbomb')]
    else:
        imagebutton:
            idle "uistuff/mcstatus/shuriken bomb locked.webp"
            focus_mask True
            # action Notify("Control Tenten to learn this skill.")
            tooltip "Control Tenten to learn this skill"
            action NullAction()
    if hinata_controlled:
        imagebutton:
            idle "uistuff/mcstatus/lesser byakugan.webp"
            hover "uistuff/mcstatus/lesser byakugan glow.webp"
            focus_mask True
            # action Notify("Gives information on battle status (HP, Chakra,etc).")
            tooltip "Gives information on battle status (HP, Chakra,etc)."
            action NullAction()
    else:
        imagebutton:
            idle "uistuff/mcstatus/lesser byakugan locked.webp"
            focus_mask True
            # action Notify("Control Hinata to learn this skill.")
            tooltip "Control Hinata to learn this skill."
            action NullAction()
    if shizune_controlled:
        imagebutton:
            idle "uistuff/mcstatus/poison fog.webp"
            hover "uistuff/mcstatus/poison fog glow.webp"
            focus_mask True
            # action Notify("High chance to poison all enemies.")
            tooltip "High chance to poison all enemies."
            action NullAction()
    else:
        imagebutton:
            idle "uistuff/mcstatus/poison fog locked.webp"
            focus_mask True
            # action Notify("Control ??? to learn this skill.")
            tooltip "Control ??? to learn this skill."
            action NullAction()
    if anko_controlled:
        imagebutton:
            idle "uistuff/mcstatus/cursed seal.webp"
            hover "uistuff/mcstatus/cursed seal glow.webp"
            focus_mask True
            # action Notify("Increases stats in battle, but decreases HP and Chakra each turn.")
            tooltip "Increases stats in battle, but decreases HP and Chakra each turn."
            action NullAction()
    else:
        imagebutton:
            idle "uistuff/mcstatus/cursed seal locked.webp"
            focus_mask True
            # action Notify("Control ??? to learn this skill.")
            tooltip "Control ??? to learn this skill."
            action NullAction()
    if kurenai_controlled:
        imagebutton:
            idle "uistuff/mcstatus/fallen petals.webp"
            hover "uistuff/mcstatus/fallen petals glow.webp"
            focus_mask True
            # action Notify("Chance to instantly KO an enemy when used.")
            tooltip "Chance to instantly KO an enemy when used."
            action NullAction()
    else:
        imagebutton:
            idle "uistuff/mcstatus/fallen petals locked.webp"
            focus_mask True
            # action Notify("Control ??? to learn this skill.")
            tooltip "Control ??? to learn this skill."
            action NullAction()
    if tsunade_controlled:
        imagebutton:
            idle "uistuff/mcstatus/strength release.webp"
            hover "uistuff/mcstatus/strength release glow.webp"
            focus_mask True
            # action Notify("Significantly increase stats until chakra is depleted.")
            tooltip "Significantly increase stats until chakra is depleted."
            action NullAction()
    else:
        imagebutton:
            idle "uistuff/mcstatus/strength release locked.webp"
            focus_mask True
            # action Notify("Control ??? to learn this skill.")
            tooltip "Control ??? to learn this skill."
            action NullAction()
    vbox :
        xpos 57
        ypos 118
        textbutton "HP: [mc_hp] / [mc_maxhp]":
            style "mc_screentext"
        textbutton "Chakra: [mc_chakra] / [mc_maxchakra]":
            style "mc_screentext"
    vbox:
        xpos 57
        ypos 420
        textbutton "Strength: [mc_str]":
            style "mc_screentext"
        textbutton "Dexterity: [mc_dex]":
            style "mc_screentext"
        textbutton "Agility: [mc_agi]":
            style "mc_screentext"
    vbox:
        xpos 280
        ypos 420
        textbutton "Endurance: [mc_edu]":
            style "mc_screentext"
        textbutton "Chakra control: [mc_ctrl]":
            style "mc_screentext"
        textbutton "Knowledge : [mc_knw]":
            style "mc_screentext"

    bar:
        xpos 320
        ypos 133
        xmaximum 140
        value mc_hp
        range mc_maxhp
        left_bar "uistuff/hpbar.webp"
        right_bar "uistuff/emptybar.webp"
        left_gutter 0
        right_gutter 0
        thumb None
        thumb_shadow None
    bar:
        xpos 320
        ypos 175
        xmaximum 140
        value mc_chakra
        range mc_maxchakra
        left_bar "uistuff/chakrabar.webp"
        right_bar "uistuff/emptybar.webp"
        left_gutter 0
        right_gutter 0
        thumb None
        thumb_shadow None
    vbox:
        xpos 580
        ypos 460
        textbutton "Girls controlled: [girls_controlled]":
            style "mc_screentext"


    if GetTooltip() is not None:
        use tooltip_screen

screen girls_status():
    modal True
    frame:
        background "uistuff/girlselection/girlselectscreen.webp"
    if sakura_controlled:
        imagebutton:
            idle "uistuff/girlselection/sakura[sakura_control].webp"
            hover "uistuff/girlselection/sakura[sakura_control]_glow.webp"
            focus_mask True
            tooltip "Sakura"
            action [Show('sakura_status'),Hide('girls_status')]
    else:
        imagebutton:
            idle "uistuff/girlselection/sakura0.webp"
            hover "uistuff/girlselection/sakura0_glow.webp"
            focus_mask True
            tooltip "Not controlled yet"
            action NullAction()
    if ino_controlled:
        imagebutton:
            idle "uistuff/girlselection/ino[ino_control].webp"
            hover "uistuff/girlselection/ino[ino_control]_glow.webp"
            focus_mask True
            tooltip "Ino"
            action [Show('ino_status'),Hide('girls_status')]
    else:
        imagebutton:
            idle "uistuff/girlselection/ino0.webp"
            hover "uistuff/girlselection/ino0_glow.webp"
            focus_mask True
            tooltip "Not controlled yet"
            action NullAction()
    if tenten_controlled:
        imagebutton:
            idle "uistuff/girlselection/tenten[tenten_control].webp"
            hover "uistuff/girlselection/tenten[tenten_control]_glow.webp"
            focus_mask True
            tooltip "Tenten"
            action [Show('tenten_status'),Hide('girls_status')]
    else:
        imagebutton:
            idle "uistuff/girlselection/tenten0.webp"
            hover "uistuff/girlselection/tenten0_glow.webp"
            focus_mask True
            tooltip "Not controlled yet"
            action NullAction()
    if hinata_controlled:
        imagebutton:
            idle "uistuff/girlselection/hinata[hinata_control].webp"
            hover "uistuff/girlselection/hinata[hinata_control]_glow.webp"
            focus_mask True
            tooltip "Hinata"
            action [Show('hinata_status'),Hide('girls_status')]
    else:
        imagebutton:
            idle "uistuff/girlselection/hinata0.webp"
            hover "uistuff/girlselection/hinata0_glow.webp"
            focus_mask True
            tooltip "Not controlled yet"
            action NullAction()
    if anko_controlled:
        imagebutton:
            idle "uistuff/girlselection/anko[anko_control].webp"
            hover "uistuff/girlselection/anko[anko_control]_glow.webp"
            focus_mask True
            tooltip "Anko"
            action [Show('anko_status'),Hide('girls_status')]
    else:
        imagebutton:
            idle "uistuff/girlselection/anko0.webp"
            hover "uistuff/girlselection/anko0_glow.webp"
            focus_mask True
            tooltip "Not controlled yet"
            action NullAction()
    if shizune_controlled:
        imagebutton:
            idle "uistuff/girlselection/shizune[shizune_control].webp"
            hover "uistuff/girlselection/shizune[shizune_control]_glow.webp"
            focus_mask True
            tooltip "Shizune"
            action [Show('shizune_status'),Hide('girls_status')]
    else:
        imagebutton:
            idle "uistuff/girlselection/shizune0.webp"
            hover "uistuff/girlselection/shizune0_glow.webp"
            focus_mask True
            tooltip "Not controlled yet"
            action NullAction()
    if kurenai_controlled:
        imagebutton:
            idle "uistuff/girlselection/kurenai[kurenai_control].webp"
            hover "uistuff/girlselection/kurenai[kurenai_control]_glow.webp"
            focus_mask True
            tooltip "Kurenai"
            action [Show('kurenai_status'),Hide('girls_status')]
    else:
        imagebutton:
            idle "uistuff/girlselection/kurenai0.webp"
            hover "uistuff/girlselection/kurenai0_glow.webp"
            focus_mask True
            tooltip "Not controlled yet"
            action NullAction()
    if tsunade_controlled:
        imagebutton:
            idle "uistuff/girlselection/tsunade[tsunade_control].webp"
            hover "uistuff/girlselection/tsunade[tsunade_control]_glow.webp"
            focus_mask True
            tooltip "Tsunade"
            action [Show('tsunade_status'),Hide('girls_status')]
    else:
        imagebutton:
            idle "uistuff/girlselection/tsunade0.webp"
            hover "uistuff/girlselection/tsunade0_glow.webp"
            focus_mask True
            tooltip "Not controlled yet"
            action NullAction()
    if ayame_controlled:
        imagebutton:
            idle "uistuff/girlselection/ayame5.webp"
            hover "uistuff/girlselection/ayame5_glow.webp"
            focus_mask True
            tooltip "Ayame"
            action [Show('ayame_status'), Hide('girls_status')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('girls_status'), Show('status_screen')]

    if GetTooltip() is not None:
        use tooltip_screen

#Girls status below
screen sakura_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/sakura.webp"
        add "uistuff/girlstatus/level [sakura_control].webp"
    if sakura_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if sakura_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/sakura[sakura_control].webp"
    text "[sakura_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[sakura_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/girlstatus/quest progress.webp"
        hover "uistuff/girlstatus/quest progress glow.webp"
        focus_mask True
        action [Hide('sakura_status'), Show('sakuras1_questlog')]
    imagebutton:
        idle "uistuff/girlstatus/outfitbutton.webp"
        hover "uistuff/girlstatus/outfitbutton glow.webp"
        focus_mask True
        action [Hide('sakura_status'), Show('sakuras1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('sakura_status'), Show('girls_status')]

screen ino_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/ino.webp"
        add "uistuff/girlstatus/level [ino_control].webp"
    if ino_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if ino_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/ino[ino_control].webp"
    text "[ino_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[ino_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/girlstatus/quest progress.webp"
        hover "uistuff/girlstatus/quest progress glow.webp"
        focus_mask True
        action [Hide('ino_status'), Show('inos1_questlog')]
    imagebutton:
        idle "uistuff/girlstatus/outfitbutton.webp"
        hover "uistuff/girlstatus/outfitbutton glow.webp"
        focus_mask True
        action [Hide('ino_status'), Show('inos1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('ino_status'), Show('girls_status')]

screen tenten_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/tenten.webp"
        add "uistuff/girlstatus/level [tenten_control].webp"
    if tenten_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if tenten_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/tenten[tenten_control].webp"
    text "[tenten_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[tenten_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/girlstatus/quest progress.webp"
        hover "uistuff/girlstatus/quest progress glow.webp"
        focus_mask True
        action [Hide('tenten_status'), Show('tentens1_questlog')]
    imagebutton:
        idle "uistuff/girlstatus/outfitbutton.webp"
        hover "uistuff/girlstatus/outfitbutton glow.webp"
        focus_mask True
        action [Hide('tenten_status'), Show('tentens1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('tenten_status'), Show('girls_status')]

screen hinata_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/hinata.webp"
        add "uistuff/girlstatus/level [hinata_control].webp"
    if hinata_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if hinata_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/hinata[hinata_control].webp"
    text "[hinata_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[hinata_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/girlstatus/quest progress.webp"
        hover "uistuff/girlstatus/quest progress glow.webp"
        focus_mask True
        action [Hide('hinata_status'), Show('hinatas1_questlog')]
    imagebutton:
        idle "uistuff/girlstatus/outfitbutton.webp"
        hover "uistuff/girlstatus/outfitbutton glow.webp"
        focus_mask True
        action [Hide('hinata_status'), Show('hinatas1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('hinata_status'), Show('girls_status')]

screen anko_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/anko.webp"
        add "uistuff/girlstatus/level [anko_control].webp"
    if anko_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if anko_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/anko[anko_control].webp"
    text "[anko_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[anko_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('anko_status'), Show('girls_status')]

screen shizune_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/shizune.webp"
        add "uistuff/girlstatus/level [shizune_control].webp"
    if shizune_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if shizune_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/shizune[shizune_control].webp"
    text "[shizune_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[shizune_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('shizune_status'), Show('girls_status')]

screen kurenai_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/kurenai.webp"
        add "uistuff/girlstatus/level [kurenai_control].webp"
    if kurenai_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if kurenai_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/kurenai[kurenai_control].webp"
    text "[kurenai_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[kurenai_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('kurenai_status'), Show('girls_status')]

screen tsunade_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/tsunade.webp"
        add "uistuff/girlstatus/level [tsunade_control].webp"
    if tsunade_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if tsunade_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/tsunade[tsunade_control].webp"
    text "[tsunade_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[tsunade_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/girlstatus/quest progress.webp"
        hover "uistuff/girlstatus/quest progress glow.webp"
        focus_mask True
        action [Hide('tsunade_status'), Show('tsunade_questlog')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('tsunade_status'), Show('girls_status')]

screen ayame_status():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
    add "uistuff/girlstatus/ayame.webp"
    add "uistuff/girlstatus/level 5.webp"
    add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/ayame5.webp"
    text "500":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "???":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('ayame_status'), Show('girls_status')]

#Sakuras1 all quest stuff
screen sakuras1_lvl1quest():
    vbox:
        xpos 680
        ypos 90
        if sakura_controlled:
            vbox:
                textbutton "{s}-Ask Sakura to heal you after getting hurt.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Use the control jutsu on Sakura.{/s}":
                    style "mc_screentext"
                textbutton "{u}Reward{/u}":
                    style "mc_screentext"
                textbutton "-Sakura controlled":
                    style "mc_screentext"
                textbutton "-Skill: 'Chakra Recovery' absorbed":
                    style "mc_screentext"
        else:
            if sakuras1_quest <= 2:
                textbutton "-Ask Sakura to heal you after getting hurt.":
                    style "mc_screentext"
            elif sakuras1_quest == 3:
                vbox:
                    textbutton "{s}-Ask Sakura to heal you after getting hurt.{/s}":
                        style "mc_screentext"
                    textbutton "-Use the control jutsu on Sakura.":
                        style "mc_screentext"

screen sakuras1_lvl2quest():
    vbox:
        xpos 680
        ypos 90
        if sakura_control >= 2:
            textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                style "mc_screentext"
            textbutton "{s}-Take the mission to get Red Wing Honey.{/s}":
                style "mc_screentext"
            textbutton "{s}-Defeat the bees.{/s}":
                style "mc_screentext"
            textbutton "{s}-Reinforce the jutsu's influence on Sakura.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Sakura increased:":
                style "mc_screentext"
            textbutton "Sakura's lust uncapped to 50":
                style "mc_screentext"
            textbutton "New scene for Sakura unlocked":
                style "mc_screentext"
        else:
            if sakuras1_mission_1:
                textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                    style "mc_screentext"
                textbutton "-Take the mission to get Red Wing Honey.":
                    style "mc_screentext"
            else:
                textbutton "-Ask Ayame for info on Sakura.":
                    style "mc_screentext"
screen sakuras1_lvl3quest():
    vbox:
        xpos 680
        ypos 90
        if sakura_control >= 3:
            textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                style "mc_screentext"
            if sakuras1_control3_sasuke:
                textbutton "{s}-Talk to Sakura again tomorrow.{/s}":
                    style "mc_screentext"
            textbutton "{s}-Take Sakura on a date.{/s}":
                style "mc_screentext"
            textbutton "{s}-Fortify your control over Sakura.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Sakura increased:":
                style "mc_screentext"
            textbutton "Sakura's lust uncapped to 75":
                style "mc_screentext"
            textbutton "New scene for Sakura unlocked":
                style "mc_screentext"
            textbutton "Notes:The jutsu seems to be slowly manifesting":
                style "mc_screentext"
            textbutton "passively now.":
                style "mc_screentext"
        else:
            if sakuras1_control3_sasuke:
                textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Sakura again tomorrow.":
                    style "mc_screentext"
            else:
                textbutton "-Ask Ayame for info on Sakura.":
                    style "mc_screentext"

screen sakuras1_lvl4quest():
    vbox:
        xpos 680
        ypos 90
        if sakura_control >= 4:
            textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Sakura.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Saru.{/s}":
                style "mc_screentext"
            textbutton "{s}-Bring Sakura to Saru.{/s}":
                style "mc_screentext"
            textbutton "{s}-Extend control over Sakura.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Sakura increased:":
                style "mc_screentext"
            textbutton "Sakura's lust uncapped to 100":
                style "mc_screentext"
            textbutton "New scene for Sakura unlocked":
                style "mc_screentext"
            textbutton "More outfits can be worn.":
                style "mc_screentext"
            textbutton "Able to join missions.":
                style "mc_screentext"
            textbutton "Notes: She's almost mine.":
                style "mc_screentext"
        else:
            if sakura4quest == 0:
                textbutton "-Ask Ayame for info on Sakura.":
                    style "mc_screentext"
            elif sakura4quest == 1:
                textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Sakura.":
                    style "mc_screentext"
            elif sakura4quest == 2:
                textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Sakura.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Saru.":
                    style "mc_screentext"
            elif sakura4quest == 3:
                textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Sakura.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Saru.{/s}":
                    style "mc_screentext"
                textbutton "-Bring Sakura to Saru.":
                    style "mc_screentext"
            elif sakura4quest == 4:
                textbutton "{s}-Ask Ayame for info on Sakura.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Sakura.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Saru.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Bring Sakura to Saru.{/s}":
                    style "mc_screentext"
                textbutton "-Extend control over Sakura.":
                    style "mc_screentext"

screen sakuras1_lvl5quest():
    vbox:
        xpos 680
        ypos 90
        if sakura_control >= 5:
            textbutton "{s}-Ask Saru for information.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Sakura at night.{/s}":
                style "mc_screentext"
            textbutton "{s}-Complete the Jutsu.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Sakura is now fully under your control:":
                style "mc_screentext"
            textbutton "All outfits can be worn.":
                style "mc_screentext"
        else:
            if girls_lvl5_event == False:
                textbutton "-Ask Saru for information.":
                    style "mc_screentext"
            else:
                textbutton "{s}-Ask Saru for information.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Sakura at night.":
                    style "mc_screentext"
                textbutton "-Complete the Jutsu.":
                    style "mc_screentext"


screen sakuras1_questlog():
    modal True
    frame:
        background "uistuff/quest/questscroll.webp"
    text "Sakura's progress":
        xpos 150
        ypos 50
        style "mc_screentext"
    if sakura_intro:
        imagebutton:
            idle "uistuff/quest/lvl 1 quest.webp"
            hover "uistuff/quest/lvl 1 quest glow.webp"
            focus_mask True
            action [Hide('sakuras1_lvl1quest'),Hide('sakuras1_lvl2quest'),Hide('sakuras1_lvl3quest'),Hide('sakuras1_lvl4quest'),Hide('sakuras1_lvl5quest'), Show('sakuras1_lvl1quest')]
    if sakura_control >= 1 and sakura_sub >= 100:
        imagebutton:
            idle "uistuff/quest/lvl 2 quest.webp"
            hover "uistuff/quest/lvl 2 quest glow.webp"
            focus_mask True
            action [Hide('sakuras1_lvl1quest'),Hide('sakuras1_lvl2quest'),Hide('sakuras1_lvl3quest'),Hide('sakuras1_lvl4quest'),Hide('sakuras1_lvl5quest'), Show('sakuras1_lvl2quest')]
    if sakura_control >= 2 and sakura_sub >= 250:
        imagebutton:
            idle "uistuff/quest/lvl 3 quest.webp"
            hover "uistuff/quest/lvl 3 quest glow.webp"
            focus_mask True
            action [Hide('sakuras1_lvl1quest'),Hide('sakuras1_lvl2quest'),Hide('sakuras1_lvl3quest'),Hide('sakuras1_lvl4quest'),Hide('sakuras1_lvl5quest'), Show('sakuras1_lvl3quest')]
    if sakura_control >= 3 and sakura_sub >= 400:
        imagebutton:
            idle "uistuff/quest/lvl 4 quest.webp"
            hover "uistuff/quest/lvl 4 quest glow.webp"
            focus_mask True
            action [Hide('sakuras1_lvl1quest'),Hide('sakuras1_lvl2quest'),Hide('sakuras1_lvl3quest'),Hide('sakuras1_lvl4quest'),Hide('sakuras1_lvl5quest'), Show('sakuras1_lvl4quest')]
    if sakura_control >= 4 and sakura_sub >= 500:
        imagebutton:
            idle "uistuff/quest/lvl 5 quest.webp"
            hover "uistuff/quest/lvl 5 quest glow.webp"
            focus_mask True
            action [Hide('sakuras1_lvl1quest'),Hide('sakuras1_lvl2quest'),Hide('sakuras1_lvl3quest'),Hide('sakuras1_lvl4quest'),Hide('sakuras1_lvl5quest'), Show('sakuras1_lvl5quest')]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('sakuras1_questlog'), Hide('sakuras1_lvl1quest'),Hide('sakuras1_lvl2quest'),Hide('sakuras1_lvl3quest'),Hide('sakuras1_lvl4quest'),Hide('sakuras1_lvl5quest'), Show('sakura_status')]

#Inos1 all quest stuff
screen inos1_lvl1quest():
    vbox:
        xpos 680
        ypos 90
        if ino_controlled:
            vbox:
                textbutton "{s}-Spread rumour at Ino's shop.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Ino.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Use the control jutsu on Ino.{/s}":
                    style "mc_screentext"
                textbutton "{u}Reward{/u}":
                    style "mc_screentext"
                textbutton "-Ino controlled":
                    style "mc_screentext"
                textbutton "-Skill: 'Mind block' absorbed":
                    style "mc_screentext"
        else:
            if inos1_quest <= 2:
                textbutton "-Spread rumour at Ino's shop.":
                    style "mc_screentext"
            elif inos1_quest == 3:
                vbox:
                    textbutton "{s}-Spread rumour at Ino's shop.{/s}":
                        style "mc_screentext"
                    textbutton "-Talk to Ino.":
                        style "mc_screentext"

screen inos1_lvl2quest():
    vbox:
        xpos 680
        ypos 90
        if ino_control >= 2:
            textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Ino about her problems.{/s}":
                style "mc_screentext"
            textbutton "{s}-Go to the Stadium.{/s}":
                style "mc_screentext"
            textbutton "{s}-Deal with the supplier.{/s}":
                style "mc_screentext"
            textbutton "{s}-Reinforce your control on Ino.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Ino increased:":
                style "mc_screentext"
            textbutton "Ino's lust uncapped to 50":
                style "mc_screentext"
            textbutton "New scene for Ino unlocked":
                style "mc_screentext"
        else:
            if inos1_control2_intro:
                if inos1_control2_stadium:
                    textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                        style "mc_screentext"
                    textbutton "{s}-Talk to Ino about her problems.{/s}":
                        style "mc_screentext"
                    textbutton "-Go to the Stadium.":
                        style "mc_screentext"
                    textbutton "-Deal with the supplier.":
                        style "mc_screentext"
                else:
                    textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                        style "mc_screentext"
                    textbutton "-Talk to Ino about her problems.":
                        style "mc_screentext"
            else:
                textbutton "-Ask Ayame for info on Ino.":
                    style "mc_screentext"

screen inos1_lvl3quest():
    vbox:
        xpos 680
        ypos 90
        if ino_control >= 3:
            textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                style "mc_screentext"
            textbutton "{s}-Help Ino with the buds in the forest.{/s}":
                style "mc_screentext"
            textbutton "{s}Note to self: Write down directions.{/s}":
                style "mc_screentext"
            textbutton "{s}-Fortify your control over Ino.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Ino increased:":
                style "mc_screentext"
            textbutton "Ino's lust uncapped to 75":
                style "mc_screentext"
            textbutton "New scene for Ino unlocked":
                style "mc_screentext"
            textbutton "Notes:The jutsu seems to be taking over":
                style "mc_screentext"
            textbutton "her slowly...":
                style "mc_screentext"
        else:
            if ino_control_3_part_1:
                textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                    style "mc_screentext"
                textbutton "-Help Ino with the buds in the forest.":
                    style "mc_screentext"
                textbutton "Note to self: Write down directions.":
                    style "mc_screentext"
            else:
                textbutton "-Ask Ayame for info on Ino.":
                    style "mc_screentext"

screen inos1_lvl4quest():
    vbox:
        xpos 680
        ypos 90
        if ino_control >= 4:
            textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Ino.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Saru.{/s}":
                style "mc_screentext"
            textbutton "{s}-Bring Ino to Saru.{/s}":
                style "mc_screentext"
            textbutton "{s}-Extend control over Ino.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Ino increased:":
                style "mc_screentext"
            textbutton "Ino's lust uncapped to 100":
                style "mc_screentext"
            textbutton "New scene for Ino unlocked":
                style "mc_screentext"
            textbutton "More outfits can be worn.":
                style "mc_screentext"
            textbutton "Able to join missions.":
                style "mc_screentext"
            textbutton "Notes: She's almost done.":
                style "mc_screentext"
        else:
            if ino4quest == 0:
                textbutton "-Ask Ayame for info on Ino.":
                    style "mc_screentext"
            elif ino4quest == 1:
                textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Ino.":
                    style "mc_screentext"
            elif ino4quest == 2:
                textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Ino.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Saru.":
                    style "mc_screentext"
            elif ino4quest == 3:
                textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Ino.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Saru.{/s}":
                    style "mc_screentext"
                textbutton "-Bring Ino to Saru.":
                    style "mc_screentext"
            elif ino4quest == 4:
                textbutton "{s}-Ask Ayame for info on Ino.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Ino.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Saru.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Bring Ino to Saru.{/s}":
                    style "mc_screentext"
                textbutton "-Extend control over Ino.":
                    style "mc_screentext"

screen inos1_lvl5quest():
    vbox:
        xpos 680
        ypos 90
        if ino_control >= 5:
            textbutton "{s}-Ask Saru for information.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Ino at night.{/s}":
                style "mc_screentext"
            textbutton "{s}-Complete the Jutsu.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Ino is now fully under your control:":
                style "mc_screentext"
            textbutton "All outfits can be worn.":
                style "mc_screentext"
        else:
            if girls_lvl5_event == False:
                textbutton "-Ask Saru for information.":
                    style "mc_screentext"
            else:
                textbutton "{s}-Ask Saru for information.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Ino at night.":
                    style "mc_screentext"
                textbutton "-Complete the Jutsu.":
                    style "mc_screentext"

screen inos1_questlog():
    modal True
    frame:
        background "uistuff/quest/questscroll.webp"
    text "Ino's progress":
        xpos 150
        ypos 50
        style "mc_screentext"
    if ino_intro:
        imagebutton:
            idle "uistuff/quest/lvl 1 quest.webp"
            hover "uistuff/quest/lvl 1 quest glow.webp"
            focus_mask True
            action [Hide('inos1_lvl1quest'),Hide('inos1_lvl2quest'),Hide('inos1_lvl3quest'),Hide('inos1_lvl4quest'),Hide('inos1_lvl5quest'), Show('inos1_lvl1quest')]
    if ino_control >= 1 and ino_sub >= 100:
        imagebutton:
            idle "uistuff/quest/lvl 2 quest.webp"
            hover "uistuff/quest/lvl 2 quest glow.webp"
            focus_mask True
            action [Hide('inos1_lvl1quest'),Hide('inos1_lvl2quest'),Hide('inos1_lvl3quest'),Hide('inos1_lvl4quest'),Hide('inos1_lvl5quest'), Show('inos1_lvl2quest')]
    if ino_control >= 2 and ino_sub >= 250:
        imagebutton:
            idle "uistuff/quest/lvl 3 quest.webp"
            hover "uistuff/quest/lvl 3 quest glow.webp"
            focus_mask True
            action [Hide('inos1_lvl1quest'),Hide('inos1_lvl2quest'),Hide('inos1_lvl3quest'),Hide('inos1_lvl4quest'),Hide('inos1_lvl5quest'), Show('inos1_lvl3quest')]
    if ino_control >= 3 and ino_sub >= 400:
        imagebutton:
            idle "uistuff/quest/lvl 4 quest.webp"
            hover "uistuff/quest/lvl 4 quest glow.webp"
            focus_mask True
            action [Hide('inos1_lvl1quest'),Hide('inos1_lvl2quest'),Hide('inos1_lvl3quest'),Hide('inos1_lvl4quest'),Hide('inos1_lvl5quest'), Show('inos1_lvl4quest')]
    if ino_control >= 4 and ino_sub >= 500:
        imagebutton:
            idle "uistuff/quest/lvl 5 quest.webp"
            hover "uistuff/quest/lvl 5 quest glow.webp"
            focus_mask True
            action [Hide('inos1_lvl1quest'),Hide('inos1_lvl2quest'),Hide('inos1_lvl3quest'),Hide('inos1_lvl4quest'),Hide('inos1_lvl5quest'), Show('inos1_lvl5quest')]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('inos1_questlog'), Hide('inos1_lvl1quest'),Hide('inos1_lvl2quest'),Hide('inos1_lvl3quest'),Hide('inos1_lvl4quest'),Hide('inos1_lvl5quest'), Show('ino_status')]

#Tentens1 quest stuff
screen tentens1_lvl1quest():
    vbox:
        xpos 680
        ypos 90
        if tenten_controlled:
            textbutton "{s}-Talk to Tenten.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Tenten.(Cautiously){/s}":
                style "mc_screentext"
            textbutton "{s}-Complete the training. (Having a high dex {/s}":
                style "mc_screentext"
            textbutton "{s}will help){/s}":
                style "mc_screentext"
            textbutton "{s}-Use the jutsu on Tenten.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Tenten controlled":
                style "mc_screentext"
            textbutton "-Skill: 'Shuriken Bomb' absorbed":
                style "mc_screentext"
        else:
            if tenten_control_1 == 0:
                textbutton "-Talk to Tenten.":
                    style "mc_screentext"
            if tenten_control_1 == 1:
                textbutton "{s}-Talk to Tenten.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Tenten.(Cautiously)":
                    style "mc_screentext"
            if tenten_control_1 == 2:
                textbutton "{s}-Talk to Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Tenten.(Cautiously){/s}":
                    style "mc_screentext"
                textbutton "-Complete the training. (Having a high dex ":
                    style "mc_screentext"
                textbutton "will help)":
                    style "mc_screentext"
screen tentens1_lvl2hint():
    modal True
    imagebutton:
        at center
        idle "images/uistuff/hints tenten.webp"
        action Hide('tentens1_lvl2hint')
screen tentens1_lvl2quest():
    vbox:
        xpos 680
        ypos 90
        if tenten_control >= 2:
            textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Tenten.{/s}":
                style "mc_screentext"
            textbutton "{s}Figure out the three locations (Click to view){/s}":
                style "mc_screentext"
                action (Show('tentens1_lvl2hint'))
            textbutton "{s}Figure the first hint.{/s} Bathhouse":
                style "mc_screentext"
            textbutton "{s}Figure the second hint.{/s} Stadium":
                style "mc_screentext"
            textbutton "{s}Figure the third hint.{/s} Hokage office":
                style "mc_screentext"
            textbutton "{s}Talk to Tenten in the training grounds.{/s}":
                style "mc_screentext"
            textbutton "{s}-Use the jutsu on Tenten again.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "Tenten's lust uncapped to 50":
                style "mc_screentext"
            textbutton "New scene for Tenten unlocked":
                style "mc_screentext"
        else:
            if tenten_control_2 == 0:
                textbutton "-Ask Ayame for info on Tenten.":
                    style "mc_screentext"
            elif tenten_control_2 == 1:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Tenten.{/s}":
                    style "mc_screentext"
                textbutton "Figure out the three locations (Click to view)":
                    style "mc_screentext"
                    action (Show('tentens1_lvl2hint'))
                if tenten_control_2_location_1:
                    textbutton "{s}Figure the first hint.{/s} Bathhouse":
                        style "mc_screentext"
                else:
                    textbutton "Figure the first hint.":
                        style "mc_screentext"
                if tenten_control_2_location_2:
                    textbutton "{s}Figure the second hint.{/s} Stadium":
                        style "mc_screentext"
                else:
                    textbutton "Figure the second hint.":
                        style "mc_screentext"
                if tenten_control_2_location_3:
                    textbutton "{s}Figure the third hint.{/s} Hokage office":
                        style "mc_screentext"
                else:
                    textbutton "Figure the third hint.":
                        style "mc_screentext"
            elif tenten_control_2 == 2:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}Figure out the three locations (Click to view){/s}":
                    style "mc_screentext"
                    action (Show('tentens1_lvl2hint'))
                textbutton "{s}Figure the first hint.{/s} Bathhouse":
                    style "mc_screentext"
                textbutton "{s}Figure the second hint.{/s} Stadium":
                    style "mc_screentext"
                textbutton "{s}Figure the third hint.{/s} Hokage office":
                    style "mc_screentext"
                textbutton "Talk to Tenten in the training grounds.":
                    style "mc_screentext"

screen tentens1_lvl3quest():
    vbox:
        xpos 680
        ypos 90
        if tenten_control >= 3:
            textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                style "mc_screentext"
            textbutton "{s}-Train at the training grounds.{/s}":
                style "mc_screentext"
            textbutton "{s}-Fight Tenten.{/s}":
                style "mc_screentext"
            textbutton "{s}-Use the jutsu on Tenten.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Tenten increased:":
                style "mc_screentext"
            textbutton "Tenten's lust uncapped to 75":
                style "mc_screentext"
            textbutton "New scene for Tenten unlocked":
                style "mc_screentext"
            textbutton "More outfits can be worn.":
                style "mc_screentext"
            textbutton "Notes: She seems more comaptible":
                style "mc_screentext"
            textbutton "with the jutsu...":
                style "mc_screentext"
        else:
            if tenten3quest == 0:
                textbutton "-Ask Ayame for info on Tenten.":
                    style "mc_screentext"
            elif tenten3quest == 1:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "-Train at the training grounds.":
                    style "mc_screentext"
            elif tenten3quest == 2:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Train at the training grounds.{/s}":
                    style "mc_screentext"
                textbutton "-Fight Tenten.":
                    style "mc_screentext"
            elif tenten3quest == 3:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Train at the training grounds.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Fight Tenten.{/s}":
                    style "mc_screentext"
                textbutton "-Use the jutsu on Tenten.":
                    style "mc_screentext"

screen tentens1_lvl4quest():
    vbox:
        xpos 680
        ypos 90
        if tenten_control >= 4:
            textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Tenten.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Saru.{/s}":
                style "mc_screentext"
            textbutton "{s}-Bring Tenten to Saru.{/s}":
                style "mc_screentext"
            textbutton "{s}-Extend control over Tenten.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Tenten increased:":
                style "mc_screentext"
            textbutton "Tenten's lust uncapped to 100":
                style "mc_screentext"
            textbutton "New scene for Tenten unlocked":
                style "mc_screentext"
            textbutton "More outfits can be worn.":
                style "mc_screentext"
            textbutton "Able to join missions.":
                style "mc_screentext"
            textbutton "Notes: I'm almost done training her.":
                style "mc_screentext"
        else:
            if tenten4quest == 0:
                textbutton "-Ask Ayame for info on Tenten.":
                    style "mc_screentext"
            elif tenten4quest == 1:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Tenten.":
                    style "mc_screentext"
            elif tenten4quest == 2:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Tenten.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Saru.":
                    style "mc_screentext"
            elif tenten4quest == 3:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Saru.{/s}":
                    style "mc_screentext"
                textbutton "-Bring Tenten to Saru.":
                    style "mc_screentext"
            elif tenten4quest == 4:
                textbutton "{s}-Ask Ayame for info on Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Tenten.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Saru.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Bring Tenten to Saru.{/s}":
                    style "mc_screentext"
                textbutton "-Extend control over Tenten.":
                    style "mc_screentext"

screen tentens1_lvl5quest():
    vbox:
        xpos 680
        ypos 90
        if tenten_control >= 5:
            textbutton "{s}-Ask Saru for information.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Tenten at night.{/s}":
                style "mc_screentext"
            textbutton "{s}-Complete the Jutsu.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Tenten is now fully under your control:":
                style "mc_screentext"
            textbutton "All outfits can be worn.":
                style "mc_screentext"
        else:
            if girls_lvl5_event == False:
                textbutton "-Ask Saru for information.":
                    style "mc_screentext"
            else:
                textbutton "{s}-Ask Saru for information.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Tenten at night.":
                    style "mc_screentext"
                textbutton "-Complete the Jutsu.":
                    style "mc_screentext"

screen tentens1_questlog():
    modal True
    frame:
        background "uistuff/quest/questscroll.webp"
    text "Tenten's progress":
        xpos 150
        ypos 50
        style "mc_screentext"
    if tenten_control_1 >= 0:
        imagebutton:
            idle "uistuff/quest/lvl 1 quest.webp"
            hover "uistuff/quest/lvl 1 quest glow.webp"
            focus_mask True
            action [Hide('tentens1_lvl1quest'),Hide('tentens1_lvl2quest'),Hide('tentens1_lvl3quest'),Hide('tentens1_lvl4quest'),Hide('tentens1_lvl5quest'), Show('tentens1_lvl1quest')]
    if tenten_control >= 1 and tenten_sub >= 100:
        imagebutton:
            idle "uistuff/quest/lvl 2 quest.webp"
            hover "uistuff/quest/lvl 2 quest glow.webp"
            focus_mask True
            action [Hide('tentens1_lvl1quest'),Hide('tentens1_lvl2quest'),Hide('tentens1_lvl3quest'),Hide('tentens1_lvl4quest'),Hide('tentens1_lvl5quest'), Show('tentens1_lvl2quest')]
    if tenten_control >= 2 and tenten_sub >= 250:
        imagebutton:
            idle "uistuff/quest/lvl 3 quest.webp"
            hover "uistuff/quest/lvl 3 quest glow.webp"
            focus_mask True
            action [Hide('tentens1_lvl1quest'),Hide('tentens1_lvl2quest'),Hide('tentens1_lvl3quest'),Hide('tentens1_lvl4quest'),Hide('tentens1_lvl5quest'), Show('tentens1_lvl3quest')]
    if tenten_control >= 3 and tenten_sub >= 400:
        imagebutton:
            idle "uistuff/quest/lvl 4 quest.webp"
            hover "uistuff/quest/lvl 4 quest glow.webp"
            focus_mask True
            action [Hide('tentens1_lvl1quest'),Hide('tentens1_lvl2quest'),Hide('tentens1_lvl3quest'),Hide('tentens1_lvl4quest'),Hide('tentens1_lvl5quest'), Show('tentens1_lvl4quest')]
    if tenten_control >= 4 and tenten_sub >= 500:
        imagebutton:
            idle "uistuff/quest/lvl 5 quest.webp"
            hover "uistuff/quest/lvl 5 quest glow.webp"
            focus_mask True
            action [Hide('tentens1_lvl1quest'),Hide('tentens1_lvl2quest'),Hide('tentens1_lvl3quest'),Hide('tentens1_lvl4quest'),Hide('tentens1_lvl5quest'), Show('tentens1_lvl5quest')]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('tentens1_questlog'), Hide('tentens1_lvl1quest'),Hide('tentens1_lvl2quest'),Hide('tentens1_lvl3quest'),Hide('tentens1_lvl4quest'),Hide('tentens1_lvl5quest'), Show('tenten_status')]

#Hinatas1 quest stuff
screen hinatas1_lvl1quest():
    vbox:
        xpos 680
        ypos 90
        if hinata_controlled:
            textbutton "{s}-Talk to Ayame for info on Hinata.{/s}":
                style "mc_screentext"
            textbutton "{s}-Go to the Hyuga Mansion for the job.{/s}":
                style "mc_screentext"
            textbutton "{s}Visit and train with Hinata in the mansion.{/s}":
                style "mc_screentext"
            textbutton "{s}-Use the jutsu on Hinata.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Hinata controlled":
                style "mc_screentext"
            textbutton "-Skill: 'Lesser Byakugan' absorbed":
                style "mc_screentext"
        else:
            if hinatas1_level1_control_mission == False:
                if hinata_control_1_part_2:
                    textbutton "{s}-Talk to Ayame for info on Hinata.{/s}":
                        style "mc_screentext"
                    textbutton "{s}-Go to the Hyuga Mansion for the job.{/s}":
                        style "mc_screentext"
                    textbutton "Visit and train with Hinata in the mansion.":
                        style "mc_screentext"
                else:
                    textbutton "-Talk to Ayame for info on Hinata.":
                        style "mc_screentext"
            else:
                if hinatas1_level1_control_mission:
                    textbutton "{s}-Talk to Ayame for info on Hinata.{/s}":
                        style "mc_screentext"
                    textbutton "-Go to the Hyuga Mansion for the job.":
                        style "mc_screentext"

screen hinatas1_lvl2quest():
    vbox:
        xpos 680
        ypos 90
        if hinata_control >= 2:
            textbutton "{s}-Talk to Ayame for info on Hinata.{/s}":
                style "mc_screentext"
            textbutton "{s}-Go talk to Hinata in the mansion.{/s}":
                style "mc_screentext"
            textbutton "{s}-Bring her somewhere quiet.{/s}":
                style "mc_screentext"
            textbutton "{s}-Improve your control over Hinata.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "Hinata's lust uncapped to 50":
                style "mc_screentext"
            textbutton "New scene for Hinata unlocked":
                style "mc_screentext"
        else:
            textbutton "-Talk to Ayame for info on Hinata.":
                style "mc_screentext"

screen hinatas1_lvl3quest():
    vbox:
        xpos 680
        ypos 90
        if hinata_control >= 3:
            textbutton "{s}-Talk to Ayame for info on Hinata.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Hinata in the mansion.{/s}":
                style "mc_screentext"
            textbutton "{s}-Ask Hinata to bring you to Kurenai.{/s}":
                style "mc_screentext"
            textbutton "{s}-Train with Kurenai.{/s}":
                style "mc_screentext"
            textbutton "{s}-Further extend your control over Hinata.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "Hinata's lust uncapped to 75":
                style "mc_screentext"
            textbutton "New scene for Hinata unlocked":
                style "mc_screentext"
            textbutton "Notes: Keep an eye out for Kurenai.":
                style "mc_screentext"
        else:
            if hinata_control_3_event == 0:
                textbutton "-Talk to Ayame for info on Hinata.":
                    style "mc_screentext"
            if hinata_control_3_event == 1:
                textbutton "{s}-Talk to Ayame for info on Hinata.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Hinata in the mansion.":
                    style "mc_screentext"
            if hinata_control_3_event == 2:
                textbutton "{s}-Talk to Ayame for info on Hinata.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Hinata in the mansion.{/s}":
                    style "mc_screentext"
                textbutton "-Ask Hinata to bring you to Kurenai.":
                    style "mc_screentext"
            if hinata_control_3_event == 3:
                textbutton "{s}-Talk to Ayame for info on Hinata.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Hinata in the mansion.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Ask Hinata to bring you to Kurenai.{/s}":
                    style "mc_screentext"
                textbutton "-Train with Kurenai.":
                    style "mc_screentext"

screen hinatas1_lvl4quest():
    vbox:
        xpos 680
        ypos 90
        if hinata_control >= 4:
            textbutton "{s}-Ask Ayame for info on Hinata.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Hinata.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Saru.{/s}":
                style "mc_screentext"
            textbutton "{s}-Bring Hinata to Saru.{/s}":
                style "mc_screentext"
            textbutton "{s}-Extend control over Hinata.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Hinata increased:":
                style "mc_screentext"
            textbutton "Hinata's lust uncapped to 100":
                style "mc_screentext"
            textbutton "New scene for Hinata unlocked":
                style "mc_screentext"
            textbutton "More outfits can be worn.":
                style "mc_screentext"
            textbutton "Able to join missions.":
                style "mc_screentext"
            textbutton "Notes: She's almost done.":
                style "mc_screentext"
        else:
            if hinata4quest == 0:
                textbutton "-Ask Ayame for info on Hinata.":
                    style "mc_screentext"
            elif hinata4quest == 1:
                textbutton "{s}-Ask Ayame for info on Hinata.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Hinata.":
                    style "mc_screentext"
            elif hinata4quest == 2:
                textbutton "{s}-Ask Ayame for info on Hinata.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Hinata.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Saru.":
                    style "mc_screentext"
            elif hinata4quest == 3:
                textbutton "{s}-Ask Ayame for info on Hinata.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Hinata.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Saru.{/s}":
                    style "mc_screentext"
                textbutton "-Bring Hinata to Saru.":
                    style "mc_screentext"
            elif hinata4quest == 4:
                textbutton "{s}-Ask Ayame for info on Hinata.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Hinata.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Talk to Saru.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Bring Hinata to Saru.{/s}":
                    style "mc_screentext"
                textbutton "-Extend control over Hinata.":
                    style "mc_screentext"

screen hinatas1_lvl5quest():
    vbox:
        xpos 680
        ypos 90
        if hinata_control >= 5:
            textbutton "{s}-Ask Saru for information.{/s}":
                style "mc_screentext"
            textbutton "{s}-Talk to Hinata at night.{/s}":
                style "mc_screentext"
            textbutton "{s}-Complete the Jutsu.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Hinata is now fully under your control:":
                style "mc_screentext"
            textbutton "All outfits can be worn.":
                style "mc_screentext"
        else:
            if girls_lvl5_event == False:
                textbutton "-Ask Saru for information.":
                    style "mc_screentext"
            else:
                textbutton "{s}-Ask Saru for information.{/s}":
                    style "mc_screentext"
                textbutton "-Talk to Hinata at night.":
                    style "mc_screentext"
                textbutton "-Complete the Jutsu.":
                    style "mc_screentext"

screen hinatas1_questlog():
    modal True
    frame:
        background "uistuff/quest/questscroll.webp"
    text "Hinata's progress":
        xpos 150
        ypos 50
        style "mc_screentext"
    if hinata_controlled:
        imagebutton:
            idle "uistuff/quest/lvl 1 quest.webp"
            hover "uistuff/quest/lvl 1 quest glow.webp"
            focus_mask True
            action [Hide('hinatas1_lvl1quest'),Hide('hinatas1_lvl2quest'),Hide('hinatas1_lvl3quest'),Hide('hinatas1_lvl4quest'),Hide('hinatas1_lvl5quest'), Show('hinatas1_lvl1quest')]
    if hinata_control >= 1 and hinata_sub >= 100:
        imagebutton:
            idle "uistuff/quest/lvl 2 quest.webp"
            hover "uistuff/quest/lvl 2 quest glow.webp"
            focus_mask True
            action [Hide('hinatas1_lvl1quest'),Hide('hinatas1_lvl2quest'),Hide('hinatas1_lvl3quest'),Hide('hinatas1_lvl4quest'),Hide('hinatas1_lvl5quest'), Show('hinatas1_lvl2quest')]
    if hinata_control >= 2 and hinata_sub >= 250:
        imagebutton:
            idle "uistuff/quest/lvl 3 quest.webp"
            hover "uistuff/quest/lvl 3 quest glow.webp"
            focus_mask True
            action [Hide('hinatas1_lvl1quest'),Hide('hinatas1_lvl2quest'),Hide('hinatas1_lvl3quest'),Hide('hinatas1_lvl4quest'),Hide('hinatas1_lvl5quest'), Show('hinatas1_lvl3quest')]
    if hinata_control >= 3 and hinata_sub >= 400:
        imagebutton:
            idle "uistuff/quest/lvl 4 quest.webp"
            hover "uistuff/quest/lvl 4 quest glow.webp"
            focus_mask True
            action [Hide('hinatas1_lvl1quest'),Hide('hinatas1_lvl2quest'),Hide('hinatas1_lvl3quest'),Hide('hinatas1_lvl4quest'),Hide('hinatas1_lvl5quest'), Show('hinatas1_lvl4quest')]
    if hinata_control >= 4 and hinata_sub >= 500:
        imagebutton:
            idle "uistuff/quest/lvl 5 quest.webp"
            hover "uistuff/quest/lvl 5 quest glow.webp"
            focus_mask True
            action [Hide('hinatas1_lvl1quest'),Hide('hinatas1_lvl2quest'),Hide('hinatas1_lvl3quest'),Hide('hinatas1_lvl4quest'),Hide('hinatas1_lvl5quest'), Show('hinatas1_lvl5quest')]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('hinatas1_questlog'), Hide('hinatas1_lvl1quest'),Hide('hinatas1_lvl2quest'),Hide('hinatas1_lvl3quest'),Hide('hinatas1_lvl4quest'),Hide('hinatas1_lvl5quest'), Show('hinata_status')]

#Tsunade quest stuff
screen tsunade_lvl1quest():
    vbox:
        xpos 680
        ypos 90
        if tsunade_controlled:
            textbutton "{s}-Prepare 2 weird flowers, 1 explosive tag and 300000 Ryo.{/s}":
                style "mc_screentext"
            textbutton "{s}-Tell your girls their role in the plan in your room.{/s}":
                style "mc_screentext"
            textbutton "{s}-Vist Tsunade.{/s}":
                style "mc_screentext"
            textbutton "{s}-Use the jutsu on Tsunade.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Tsunade controlled":
                style "mc_screentext"
        else:
            if weird_flower >= 2 and ryo >= 300000 and tags >= 1:
                textbutton "{s}-Prepare 2 weird flowers, 1 explosive tag and 300000 Ryo.{/s}":
                    style "mc_screentext"
                textbutton "-Tell your girls their role in the plan in your room.":
                    style "mc_screentext"
            else:
                textbutton "-Prepare 2 weird flowers, 1 explosive tag and 300000 Ryo.":
                    style "mc_screentext"

screen tsunade_lvl2quest():
    vbox:
        xpos 680
        ypos 90
        if tsunade_control >= 2:
            textbutton "{s}-Meet Tsunade in your room.{/s}":
                style "mc_screentext"
            textbutton "{s}-Go talk to Tsunade in the mansion.{/s}":
                style "mc_screentext"
            textbutton "{s}-Bring her somewhere quiet.{/s}":
                style "mc_screentext"
            textbutton "{s}-Improve your control over Tsunade.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "Tsunade's lust uncapped to 50":
                style "mc_screentext"
            textbutton "New scene for Tsunade unlocked":
                style "mc_screentext"
        else:
            textbutton "-Meet Tsunade in your room.":
                style "mc_screentext"

screen tsunade_lvl3quest():
    vbox:
        xpos 680
        ypos 90
        if tsunade_control >= 3:
            textbutton "{s}-Talk to girls about Tsunade in your room.{/s}":
                style "mc_screentext"
            textbutton "{s}-Meet Tsunade in the Training Grounds.{/s}":
                style "mc_screentext"
            textbutton "{s}-Survive.{/s}":
                style "mc_screentext"
            textbutton "{s}-Further extend your control over Tsunade.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "Tsunade's lust uncapped to 75":
                style "mc_screentext"
            textbutton "New scene for Tsunade unlocked":
                style "mc_screentext"
            textbutton "Notes:Complete control unlikely at this stage.":
                style "mc_screentext"
        else:
            if tsunades1_lvl3_quest == 0:
                textbutton "-Talk to the girls about Tsunade in your room.":
                    style "mc_screentext"
            if tsunades1_lvl3_quest == 1:
                textbutton "{s}-Talk to girls about Tsunade in your room.{/s}":
                    style "mc_screentext"
                textbutton "-Meet Tsunade in the Training Grounds.":
                    style "mc_screentext"
            if tsunades1_lvl3_quest == 2:
                textbutton "{s}-Talk to girls about Tsunade in your room.{/s}":
                    style "mc_screentext"
                textbutton "{s}-Meet Tsunade in the Training Grounds.{/s}":
                    style "mc_screentext"
                textbutton "-Survive.":
                    style "mc_screentext"


screen tsunade_lvl4quest():
    vbox:
        xpos 680
        ypos 90
        if tsunade_control >= 4:
            textbutton "{s}-Talk to Tsunade at night.{/s}":
                style "mc_screentext"
            textbutton "{s}-Extend control over Tsunade.{/s}":
                style "mc_screentext"
            textbutton "{u}Reward{/u}":
                style "mc_screentext"
            textbutton "-Control over Tsunade increased:":
                style "mc_screentext"
            textbutton "Tsunade's lust uncapped to 100":
                style "mc_screentext"
            textbutton "New scene for Tsunade unlocked":
                style "mc_screentext"
            textbutton "Notes: Long term control needed.":
                style "mc_screentext"
        else:
            textbutton "-Talk to Tsunade at night.":
                style "mc_screentext"

screen tsunade_questlog():
    modal True
    frame:
        background "uistuff/quest/questscroll.webp"
    text "Tsunade's progress":
        xpos 150
        ypos 50
        style "mc_screentext"
    if tsunade_controlled:
        imagebutton:
            idle "uistuff/quest/lvl 1 quest.webp"
            hover "uistuff/quest/lvl 1 quest glow.webp"
            focus_mask True
            action [Hide('tsunade_lvl1quest'),Hide('tsunade_lvl2quest'),Hide('tsunade_lvl3quest'),Hide('tsunade_lvl4quest'),Hide('tsunade_lvl5quest'), Show('tsunade_lvl1quest')]
    if tsunade_control >= 1 and tsunade_sub >= 100:
        imagebutton:
            idle "uistuff/quest/lvl 2 quest.webp"
            hover "uistuff/quest/lvl 2 quest glow.webp"
            focus_mask True
            action [Hide('tsunade_lvl1quest'),Hide('tsunade_lvl2quest'),Hide('tsunade_lvl3quest'),Hide('tsunade_lvl4quest'),Hide('tsunade_lvl5quest'), Show('tsunade_lvl2quest')]
    if tsunade_control >= 2 and tsunade_sub >= 250:
        imagebutton:
            idle "uistuff/quest/lvl 3 quest.webp"
            hover "uistuff/quest/lvl 3 quest glow.webp"
            focus_mask True
            action [Hide('tsunade_lvl1quest'),Hide('tsunade_lvl2quest'),Hide('tsunade_lvl3quest'),Hide('tsunade_lvl4quest'),Hide('tsunade_lvl5quest'), Show('tsunade_lvl3quest')]
    if tsunade_control >= 3 and tsunade_sub >= 400:
        imagebutton:
            idle "uistuff/quest/lvl 4 quest.webp"
            hover "uistuff/quest/lvl 4 quest glow.webp"
            focus_mask True
            action [Hide('tsunade_lvl1quest'),Hide('tsunade_lvl2quest'),Hide('tsunade_lvl3quest'),Hide('tsunade_lvl4quest'),Hide('tsunade_lvl5quest'), Show('tsunade_lvl4quest')]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('tsunade_questlog'), Hide('tsunade_lvl1quest'),Hide('tsunade_lvl2quest'),Hide('tsunade_lvl3quest'),Hide('tsunade_lvl4quest'),Hide('tsunade_lvl5quest'), Show('tsunade_status')]

#outfit stuff
screen sakuras1_outfit_preview():
    imagebutton:
        xpos 150
        ypos -30
        idle Transform("sakuras1/[number].webp", zoom = 0.3)
        focus_mask True
        action Hide('sakuras1_outfit_preview') #clicking will hide selected outfits

screen sakuras1_outfits():
    modal True
    frame:
        background "uistuff/girlsoutfit/outfitscroll.webp"
    textbutton "Sakura's outfits":
        xpos 100
        ypos 50
        style "mc_screentext"
    imagebutton:
        xpos 150
        ypos -30
        idle Transform("sakuras1 nude undressed", zoom=0.3)
        focus_mask True
    imagebutton:
        idle "uistuff/girlsoutfit/sakuras1/sakuras1_normaloutfit.webp"
        hover "uistuff/girlsoutfit/sakuras1/sakuras1_normaloutfitglow.webp"
        focus_mask True
        action [Hide('sakuras1_outfit_preview'), Show('sakuras1_outfit_preview'), SetVariable("number", "clothes")]
    imagebutton:
        idle "uistuff/girlsoutfit/sakuras1/sakuras1_normalundies.webp"
        hover "uistuff/girlsoutfit/sakuras1/sakuras1_normalundiesglow.webp"
        focus_mask True
        action [Hide('sakuras1_outfit_preview'), Show('sakuras1_outfit_preview'), SetVariable("number", "undies")]
    if sakura_schooluniform:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_school.webp"
            hover "uistuff/girlsoutfit/sakuras1/sakuras1_schoolglow.webp"
            focus_mask True
            action [Hide('sakuras1_outfit_preview'), Show('sakuras1_outfit_preview'), SetVariable("number", "school")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_schoollocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if sakura_bunnysuit:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_bunny.webp"
            hover "uistuff/girlsoutfit/sakuras1/sakuras1_bunnyglow.webp"
            focus_mask True
            action [Hide('sakuras1_outfit_preview'), Show('sakuras1_outfit_preview'), SetVariable("number", "bunny")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_bunnylocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if sakura_swimsuit:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_swimsuit.webp"
            hover "uistuff/girlsoutfit/sakuras1/sakuras1_swimsuitglow.webp"
            focus_mask True
            action [Hide('sakuras1_outfit_preview'), Show('sakuras1_outfit_preview'), SetVariable("number", "swimsuit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_swimsuitlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if sakura_nurseuniform:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_nurse.webp"
            hover "uistuff/girlsoutfit/sakuras1/sakuras1_nurseglow.webp"
            focus_mask True
            action [Hide('sakuras1_outfit_preview'), Show('sakuras1_outfit_preview'), SetVariable("number", "nurse")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_nurselocked.webp"
            focus_mask True
            tooltip "Not owned"
            action NullAction()
    if sakura_corruptoutfit:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_corruptoutfit.webp"
            hover "uistuff/girlsoutfit/sakuras1/sakuras1_corruptoutfitglow.webp"
            focus_mask True
            action [Hide('sakuras1_outfit_preview'), Show('sakuras1_outfit_preview'), SetVariable("number", "corruptoutfit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_corruptoutfitlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if sakura_street:
        imagebutton:
            idle "uistuff/girlsoutfit/sakuras1/sakuras1_street.webp"
            hover "uistuff/girlsoutfit/sakuras1/sakuras1_streetglow.webp"
            focus_mask True
            action [Hide('sakuras1_outfit_preview'), Show('sakuras1_outfit_preview'), SetVariable("number", "street")]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('sakuras1_outfits'), Hide('sakuras1_outfit_preview'), Show('sakura_status')]

    if GetTooltip() is not None:
        use tooltip_screen

screen inos1_outfit_preview():
    imagebutton:
        xpos 150
        ypos -30
        idle Transform("inos1/[number].webp", zoom = 0.3)
        focus_mask True
        action (Hide('inos1_outfit_preview'))

screen inos1_outfits():
    modal True
    frame:
        background "uistuff/girlsoutfit/outfitscroll.webp"
    textbutton "Ino's outfits":
        xpos 100
        ypos 50
        style "mc_screentext"
    imagebutton:
        xpos 150
        ypos -30
        idle Transform("inos1 nude undressed", zoom=0.3)
        focus_mask True
    imagebutton:
        idle "uistuff/girlsoutfit/inos1/inos1_normaloutfit.webp"
        hover "uistuff/girlsoutfit/inos1/inos1_normaloutfitglow.webp"
        focus_mask True
        action [Hide('inos1_outfit_preview'), Show('inos1_outfit_preview'), SetVariable("number", "clothes")]
    imagebutton:
        idle "uistuff/girlsoutfit/inos1/inos1_normalundies.webp"
        hover "uistuff/girlsoutfit/inos1/inos1_normalundiesglow.webp"
        focus_mask True
        action (Hide('inos1_outfit_preview'), Show('inos1_outfit_preview'), SetVariable("number", "undies"))
    if ino_schooluniform:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_school.webp"
            hover "uistuff/girlsoutfit/inos1/inos1_schoolglow.webp"
            focus_mask True
            action [Hide('inos1_outfit_preview'), Show('inos1_outfit_preview'), SetVariable("number", "school")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_schoollocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if ino_bunnysuit:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_bunny.webp"
            hover "uistuff/girlsoutfit/inos1/inos1_bunnyglow.webp"
            focus_mask True
            action [Hide('inos1_outfit_preview'), Show('inos1_outfit_preview'), SetVariable("number", "bunny")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_bunnylocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if ino_swimsuit:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_swimsuit.webp"
            hover "uistuff/girlsoutfit/inos1/inos1_swimsuitglow.webp"
            focus_mask True
            action [Hide('inos1_outfit_preview'), Show('inos1_outfit_preview'), SetVariable("number", "swimsuit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_swimsuitlocked.webp"
            focus_mask True
            tooltip "Not owned"
            action NullAction()
    if ino_shopuniform:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_apron.webp"
            hover "uistuff/girlsoutfit/inos1/inos1_apronglow.webp"
            focus_mask True
            action [Hide('inos1_outfit_preview'), Show('inos1_outfit_preview'), SetVariable("number", "apron")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_apronlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if ino_corruptoutfit:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_corruptoutfit.webp"
            hover "uistuff/girlsoutfit/inos1/inos1_corruptoutfitglow.webp"
            focus_mask True
            action [Hide('inos1_outfit_preview'), Show('inos1_outfit_preview'), SetVariable("number", "corruptoutfit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_corruptoutfitlocked.webp"
            focus_mask True
            tooltip "Not owned"
            action NullAction()
    if ino_yukata:
        imagebutton:
            idle "uistuff/girlsoutfit/inos1/inos1_yukata.webp"
            hover "uistuff/girlsoutfit/inos1/inos1_yukataglow.webp"
            focus_mask True
            action [Hide('inos1_outfit_preview'), Show('inos1_outfit_preview'), SetVariable("number", "yukata")]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('inos1_outfits'), Hide('inos1_outfit_preview'), Show('ino_status')]

    if GetTooltip() is not None:
        use tooltip_screen

screen tentens1_outfit_preview():
    imagebutton:
        xpos 150
        ypos -30
        idle Transform("tentens1/[number].webp", zoom = 0.3)
        focus_mask True
        action (Hide('tentens1_outfit_preview'))

screen tentens1_outfits():
    modal True
    frame:
        background "uistuff/girlsoutfit/outfitscroll.webp"
    textbutton "Tenten's outfits":
        xpos 100
        ypos 50
        style "mc_screentext"
    imagebutton:
        xpos 150
        ypos -30
        idle Transform("tentens1 nude undressed", zoom=0.3)
        focus_mask True
    imagebutton:
        idle "uistuff/girlsoutfit/tentens1/tentens1_normaloutfit.webp"
        hover "uistuff/girlsoutfit/tentens1/tentens1_normaloutfitglow.webp"
        focus_mask True
        action [Hide('tentens1_outfit_preview'), Show('tentens1_outfit_preview'), SetVariable("number", "clothes")]
    imagebutton:
        idle "uistuff/girlsoutfit/tentens1/tentens1_normalundies.webp"
        hover "uistuff/girlsoutfit/tentens1/tentens1_normalundiesglow.webp"
        focus_mask True
        action [Hide('tentens1_outfit_preview'), Show('tentens1_outfit_preview'), SetVariable("number", "undies")]
    if tenten_schooluniform:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_school.webp"
            hover "uistuff/girlsoutfit/tentens1/tentens1_schoolglow.webp"
            focus_mask True
            action [Hide('tentens1_outfit_preview'), Show('tentens1_outfit_preview'), SetVariable("number", "school")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_schoollocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if tenten_bunnysuit:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_bunny.webp"
            hover "uistuff/girlsoutfit/tentens1/tentens1_bunnyglow.webp"
            focus_mask True
            action [Hide('tentens1_outfit_preview'), Show('tentens1_outfit_preview'), SetVariable("number", "bunny")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_bunnylocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if tenten_swimsuit:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_swimsuit.webp"
            hover "uistuff/girlsoutfit/tentens1/tentens1_swimsuitglow.webp"
            focus_mask True
            action [Hide('tentens1_outfit_preview'), Show('tentens1_outfit_preview'), SetVariable("number", "swimsuit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_swimsuitlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if tenten_greensuit:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_greensuit.webp"
            hover "uistuff/girlsoutfit/tentens1/tentens1_greensuitglow.webp"
            focus_mask True
            action [Hide('tentens1_outfit_preview'), Show('tentens1_outfit_preview'), SetVariable("number", "greensuit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_greensuitlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if tenten_corruptoutfit:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_corruptoutfit.webp"
            hover "uistuff/girlsoutfit/tentens1/tentens1_corruptoutfitglow.webp"
            focus_mask True
            action [Hide('tentens1_outfit_preview'), Show('tentens1_outfit_preview'), SetVariable("number", "corruptoutfit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_corruptoutfitlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if tenten_combat:
        imagebutton:
            idle "uistuff/girlsoutfit/tentens1/tentens1_combat.webp"
            hover "uistuff/girlsoutfit/tentens1/tentens1_combatglow.webp"
            focus_mask True
            action [Hide('tentens1_outfit_preview'), Show('tentens1_outfit_preview'), SetVariable("number", "combat")]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('tentens1_outfits'), Hide('tentens1_outfit_preview'), Show('tenten_status')]

    if GetTooltip() is not None:
        use tooltip_screen

screen hinatas1_outfit_preview():
    imagebutton:
        xpos 150
        ypos -30
        idle Transform("hinatas1/[number].webp", zoom = 0.3)
        focus_mask True
        action (Hide('hinatas1_outfit_preview'))

screen hinatas1_outfits():
    modal True
    frame:
        background "uistuff/girlsoutfit/outfitscroll.webp"
    textbutton "Hinata's outfits":
        xpos 100
        ypos 50
        style "mc_screentext"
    imagebutton:
        xpos 150
        ypos -30
        idle Transform("hinatas1 nude undressed", zoom=0.3)
        focus_mask True
    imagebutton:
        idle "uistuff/girlsoutfit/hinatas1/hinatas1_normaloutfit.webp"
        hover "uistuff/girlsoutfit/hinatas1/hinatas1_normaloutfitglow.webp"
        focus_mask True
        action [Hide('hinatas1_outfit_preview'), Show('hinatas1_outfit_preview'), SetVariable("number", "clothes")]
    imagebutton:
        idle "uistuff/girlsoutfit/hinatas1/hinatas1_normalundies.webp"
        hover "uistuff/girlsoutfit/hinatas1/hinatas1_normalundiesglow.webp"
        focus_mask True
        action [Hide('hinatas1_outfit_preview'), Show('hinatas1_outfit_preview'), SetVariable("number", "undies")]
    if hinata_schooluniform:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_school.webp"
            hover "uistuff/girlsoutfit/hinatas1/hinatas1_schoolglow.webp"
            focus_mask True
            action [Hide('hinatas1_outfit_preview'), Show('hinatas1_outfit_preview'), SetVariable("number", "school")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_schoollocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if hinata_bunnysuit:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_bunny.webp"
            hover "uistuff/girlsoutfit/hinatas1/hinatas1_bunnyglow.webp"
            focus_mask True
            action [Hide('hinatas1_outfit_preview'), Show('hinatas1_outfit_preview'), SetVariable("number", "bunny")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_bunnylocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if hinata_swimsuit:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_swimsuit.webp"
            hover "uistuff/girlsoutfit/hinatas1/hinatas1_swimsuitglow.webp"
            focus_mask True
            action [Hide('hinatas1_outfit_preview'), Show('hinatas1_outfit_preview'), SetVariable("number", "swimsuit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_swimsuitlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if hinata_maiduniform:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_maid.webp"
            hover "uistuff/girlsoutfit/hinatas1/hinatas1_maidglow.webp"
            focus_mask True
            action [Hide('hinatas1_outfit_preview'), Show('hinatas1_outfit_preview'), SetVariable("number", "maid")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_maidlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if hinata_corruptoutfit:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_corruptoutfit.webp"
            hover "uistuff/girlsoutfit/hinatas1/hinatas1_corruptoutfitglow.webp"
            focus_mask True
            action [Hide('hinatas1_outfit_preview'), Show('hinatas1_outfit_preview'), SetVariable("number", "corruptoutfit")]
    else:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_corruptoutfitlocked.webp"
            focus_mask True
            tooltip "Not owned."
            action NullAction()
    if hinata_onesie:
        imagebutton:
            idle "uistuff/girlsoutfit/hinatas1/hinatas1_onesie.webp"
            hover "uistuff/girlsoutfit/hinatas1/hinatas1_onesieglow.webp"
            focus_mask True
            action [Hide('hinatas1_outfit_preview'), Show('hinatas1_outfit_preview'), SetVariable("number", "onesie")]
    imagebutton:
            idle "uistuff/back.webp"
            hover "uistuff/backglow.webp"
            focus_mask True
            action [Hide('hinatas1_outfits'), Hide('hinatas1_outfit_preview'), Show('hinata_status')]

    if GetTooltip() is not None:
        use tooltip_screen


#Sakura control game
screen sakura_control_game():
        modal True
        timer .5 repeat True action [If(points <= 0, true=Jump("sakura_control_fail"), false=(SetVariable("points", points - plus),SetVariable("alphaness", points*0.1 / max_point)))]
        imagebutton:
            xalign 0.5
            idle Transform("sakuras1 blank", zoom =0.4)
            action [SetVariable("clicked", True), If(points >= max_point, true=Jump("sakura_controlled"), false=SetVariable("points", points + plus))]
        imagebutton:
            xalign 0.5
            idle Transform("sakuras1/blankhypno.webp", zoom= 0.4, alpha = alphaness*10)

        #button:
        #    text "[points] / [max_point]" size 40 color "000000"
        #    xpos .5
        #    ypos .5
        #    xysize(300, 300)
        vbar value StaticValue(points, max_point)

screen ino_control_game():
        modal True
        timer .5 repeat True action [If(points <= 0, true=Jump("ino_control_fail"), false=(SetVariable("points", points - plus),SetVariable("alphaness", points*0.1 / max_point)))]
        imagebutton:
            xalign 0.5
            idle Transform("inos1 blank", zoom =0.4)
            action [SetVariable("clicked", True), If(points >= max_point, true=Jump("ino_controlled"), false=SetVariable("points", points + plus))]
        imagebutton:
            xalign 0.5
            idle Transform("inos1/blankhypno.webp", zoom= 0.4, alpha = alphaness*10)

        #button:
        #    text "[points] / [max_point]" size 40 color "000000"
        #    xpos .5
        #    ypos .5
        #    xysize(300, 300)
        vbar value StaticValue(points, max_point)

screen tenten_control_game():
        modal True
        timer .5 repeat True action [If(points <= 0, true=Jump("tenten_control_fail"), false=(SetVariable("points", points - plus),SetVariable("alphaness", points*0.1 / max_point)))]
        imagebutton:
            xalign 0.5
            idle Transform("tentens1 blank", zoom =0.4)
            action [SetVariable("clicked", True), If(points >= max_point, true=Jump("tenten_controlled"), false=SetVariable("points", points + plus))]
        imagebutton:
            xalign 0.5
            idle Transform("tentens1/blankhypno.webp", zoom =0.4, alpha = alphaness*10)

        #button:
        #    text "[points] / [max_point]" size 40 color "000000"
        #    xpos .5
        #    ypos .5
        #    xysize(300, 300)
        vbar value StaticValue(points, max_point)

screen tenten_control_1_minigame1():
    modal True
    if mc_dex <=25:
        timer 0.5 repeat True action [If(number <= 19, true=(Hide("tenten_control_1_minigame1"),SetVariable("number", number+1),Call("tenten_control_1_part_4")), false=(Jump("tenten_control_1_part_4")))]
    elif mc_dex <=35:
        timer 0.8 repeat True action [If(number <= 19, true=(Hide("tenten_control_1_minigame1"),SetVariable("number", number+1),Call("tenten_control_1_part_4")), false=(Jump("tenten_control_1_part_4")))]
    else:
        timer 1 repeat True action [If(number <= 19, true=(Hide("tenten_control_1_minigame1"),SetVariable("number", number+1),Call("tenten_control_1_part_4")), false=(Jump("tenten_control_1_part_4")))]
    $rngesus = renpy.random.randint(1,8)
    if rngesus == 1:
        imagebutton:
            xalign 0.5
            yalign 0.3
            idle "target"
            action [SetVariable("clicked", True), If(number >= 20, true=Jump("tenten_control_1_part_4"), false=(Play("sound","sound/damage.wav"),SetVariable("number2", number2+1),SetVariable("number", number+1),Hide("tenten_control_1_minigame1"),Call("tenten_control_1_part_4")))]
    if rngesus == 2:
        imagebutton:
            xalign 0.7
            yalign 0.2
            idle "target"
            action [SetVariable("clicked", True), If(number >= 20, true=Jump("tenten_control_1_part_4"), false=(Play("sound","sound/damage.wav"),SetVariable("number2", number2+1),SetVariable("number", number+1),Hide("tenten_control_1_minigame1"),Call("tenten_control_1_part_4")))]
    if rngesus == 3:
        imagebutton:
            xalign 0.2
            yalign 0.5
            idle "target"
            action [SetVariable("clicked", True), If(number >= 20, true=Jump("tenten_control_1_part_4"), false=(Play("sound","sound/damage.wav"),SetVariable("number2", number2+1),SetVariable("number", number+1),Hide("tenten_control_1_minigame1"),Call("tenten_control_1_part_4")))]
    if rngesus == 4:
        imagebutton:
            xalign 0.5
            yalign 0.8
            idle "target"
            action [SetVariable("clicked", True), If(number >= 20, true=Jump("tenten_control_1_part_4"), false=(Play("sound","sound/damage.wav"),SetVariable("number2", number2+1),SetVariable("number", number+1),Hide("tenten_control_1_minigame1"),Call("tenten_control_1_part_4")))]

    if rngesus == 5:
        imagebutton:
            xalign 0.2
            yalign 0.3
            idle "target"
            action [SetVariable("clicked", True), If(number >= 20, true=Jump("tenten_control_1_part_4"), false=(Play("sound","sound/damage.wav"),SetVariable("number2", number2+1),SetVariable("number", number+1),Hide("tenten_control_1_minigame1"),Call("tenten_control_1_part_4")))]
    if rngesus == 6:
        imagebutton:
            xalign 0.5
            yalign 0.5
            idle "target"
            action [SetVariable("clicked", True), If(number >= 20, true=Jump("tenten_control_1_part_4"), false=(Play("sound","sound/damage.wav"),SetVariable("number2", number2+1),SetVariable("number", number+1),Hide("tenten_control_1_minigame1"),Call("tenten_control_1_part_4")))]
    if rngesus == 7:
        imagebutton:
            xalign 0.7
            yalign 0.4
            idle "target"
            action [SetVariable("clicked", True), If(number >= 20, true=Jump("tenten_control_1_part_4"), false=(Play("sound","sound/damage.wav"),SetVariable("number2", number2+1),SetVariable("number", number+1),Hide("tenten_control_1_minigame1"),Call("tenten_control_1_part_4")))]

    if rngesus == 8:
        imagebutton:
            xalign 0.8
            yalign 0.4
            idle "target"
            action [SetVariable("clicked", True), If(number >= 20, true=Jump("tenten_control_1_part_4"), false=(Play("sound","sound/damage.wav"),SetVariable("number2", number2+1),SetVariable("number", number+1),Hide("tenten_control_1_minigame1"),Call("tenten_control_1_part_4")))]
screen sakuralvl4gamepre():
        modal True
        imagebutton:
            focus_mask True
            idle "images/others/mazestart.webp"
            hover "images/others/mazestart.webp"
            hovered Jump("sakuralvl4minigamestart")
            action Jump("sakuralvl4minigamestart")
screen sakuralvl4game():
        modal True
        imagebutton:
            focus_mask True
            idle "images/others/sakura_core.webp"
            hover "images/others/sakura_coreglow.webp"
            action Jump("sakuralvl4done")
        imagebutton:
            focus_mask True
            idle "images/others/sakura_maze.webp"
            hover "images/others/sakura_maze.webp"
            hovered Jump("sakuralvl4fail")
            action Jump("sakuralvl4fail")

screen inolvl4gamepre():
        modal True
        imagebutton:
            focus_mask True
            idle "images/others/mazestart.webp"
            hover "images/others/mazestart.webp"
            hovered Jump("inolvl4minigamestart")
            action Jump("inolvl4minigamestart")
screen inolvl4game():
        modal True
        imagebutton:
            focus_mask True
            idle "images/others/ino_core.webp"
            hover "images/others/ino_coreglow.webp"
            action Jump("inolvl4done")
        imagebutton:
            focus_mask True
            idle "images/others/ino_maze.webp"
            hover "images/others/ino_maze.webp"
            hovered Jump("inolvl4fail")
            action Jump("inolvl4fail")

screen tentenlvl4gamepre():
        modal True
        imagebutton:
            focus_mask True
            idle "images/others/mazestart.webp"
            hover "images/others/mazestart.webp"
            hovered Jump("tentenlvl4minigamestart")
            action Jump("tentenlvl4minigamestart")
screen tentenlvl4game():
        modal True
        imagebutton:
            focus_mask True
            idle "images/others/tenten_core.webp"
            hover "images/others/tenten_coreglow.webp"
            action Jump("tentenlvl4done")
        imagebutton:
            focus_mask True
            idle "images/others/tenten_maze.webp"
            hover "images/others/tenten_maze.webp"
            hovered Jump("tentenlvl4fail")
            action Jump("tentenlvl4fail")

screen hinatalvl4gamepre():
        modal True
        imagebutton:
            focus_mask True
            idle "images/others/mazestart.webp"
            hover "images/others/mazestart.webp"
            hovered Jump("hinatalvl4minigamestart")
            action Jump("hinatalvl4minigamestart")
screen hinatalvl4game():
        modal True
        imagebutton:
            focus_mask True
            idle "images/others/hinata_core.webp"
            hover "images/others/hinata_coreglow.webp"
            action Jump("hinatalvl4done")
        imagebutton:
            focus_mask True
            idle "images/others/hinata_maze.webp"
            hover "images/others/hinata_maze.webp"
            hovered Jump("hinatalvl4fail")
            action Jump("hinatalvl4fail")

screen tsunade_control_game():
        modal True
        timer .5 repeat True action [If(points <= 0, true=Jump("tsunade_control_fail"), false=(SetVariable("points", points - plus),SetVariable("alphaness", points*0.1 / max_point)))]
        imagebutton:
            xalign 0.5
            idle Transform("tsunade blank", zoom =0.4)
            action [SetVariable("clicked", True), If(points >= max_point, true=Jump("tsunade_controlled"), false=SetVariable("points", points + plus))]
        imagebutton:
            xalign 0.5
            idle Transform("tsunade/blankhypno.webp", zoom= 0.4, alpha = alphaness*10)

        #button:
        #    text "[points] / [max_point]" size 40 color "000000"
        #    xpos .5
        #    ypos .5
        #    xysize(300, 300)
        vbar value StaticValue(points, max_point)

label full_heal:
    $ action_taken = False
    $ ally1action_taken = False
    $ ally2action_taken = False
    $ ene1action_taken = False
    $ ene2action_taken = False
    $ ene3action_taken = False

    $ mc_attack = False
    $ ally1_attack = False
    $ ally2_attack = False
    $ ene1_attack = False
    $ ene2_attack = False
    $ ene3_attack = False

    $ mc_stun = False
    $ ally1_stun = False
    $ ally2_stun = False
    $ ene1_stun = False
    $ ene2_stun = False
    $ ene3_stun = False

    $ mc_poison = False
    $ ally1_poison = False
    $ ally2_poison = False
    $ ene1_poison = False
    $ ene2_poison = False
    $ ene3_poison = False

    $ mc_confused = False
    $ ally1_confused = False
    $ ally2_confused = False
    $ ene1_confused = False
    $ ene2_confused = False
    $ ene3_confused = False

    $ mc_charm = False
    $ ally1_charm = False
    $ ally2_charm = False
    $ ene1_charm = False
    $ ene2_charm = False
    $ ene3_charm = False

    $ mc_seal = False
    $ ally1_seal = False
    $ ally2_seal = False
    $ ene1_seal = False
    $ ene2_seal = False
    $ ene3_seal = False

    return

label day_ends2:
    call persistent_check from _call_persistent_check_1
    # if crew_fetched1 == False:
    $ crew_list = fetchCrewFiles()
        # $ crew_fetched1 = True
    $ reset_crew()
    if mission_result_dict:
        call screen mission_success()
    # $ dailyrandom = daily_random_missions()
    $ sex_action = (mc_edu + mc_str)/20
    $ sakura_aphrodisiac = 0 #To reset the aphrodisiac count
    $ ino_aphrodisiac = 0
    $ tenten_aphrodisiac = 0
    $ hinata_aphrodisiac = 0
    $ kurenai_aphrodisiac = 0
    $ shizune_aphrodisiac = 0
    $ anko_aphrodisiac = 0
    $ tsunade_aphrodisiac = 0
    $ bath = False
    if temari_sub >= 1:
        $ temari_controlled = True
    if temari_controlled and temari_control <= 0:
        $ temari_control = 1
    return

label day_end:
    call persistent_check from _call_persistent_check
    if mc_agi >= 50:
        $ mc_agi = 50
    if mc_str >= 50:
        $ mc_str = 50
    if mc_dex >= 50:
        $ mc_dex = 50
    if mc_knw >= 50:
        $ mc_knw = 50
    if mc_ctrl >= 50:
        $ mc_ctrl = 50
    if mc_edu >= 50:
        $ mc_edu = 50
    $ mc_maxhp = ((mc_edu*mc_edu) + (mc_str*mc_str))*5
    $ mc_hp = mc_maxhp
    $ mc_maxchakra = ((mc_edu*mc_edu) + (mc_ctrl*mc_ctrl)) * 5
    $ mc_chakra = mc_maxchakra
    $ sex_action = (mc_edu + mc_str)/20
    $ sakuras1_daily = False # for daily convo
    $ inos1_daily = False
    $ tentens1_daily = False
    $ hinatas1_daily = False
    $ bath = False
    call full_heal from _call_full_heal
    $ points = 10 #for clicker game
    $ ally1_hp = 0
    $ ally2_hp = 0
    $ ally1 = None
    $ ally2 = None
    $ sakura_joined = False #For joining teams to prevent heal abuse
    $ ino_joined = False
    $ tenten_joined = False
    $ hinata_joined = False
    $ sakura_aphrodisiac = 0 #To reset the aphrodisiac count
    $ ino_aphrodisiac = 0
    $ tenten_aphrodisiac = 0
    $ hinata_aphrodisiac = 0
    $ kurenai_aphrodisiac = 0
    $ shizune_aphrodisiac = 0
    $ anko_aphrodisiac = 0
    $ tsunade_aphrodisiac = 0
    if sakura_controlled:
        $ sakura_lust += 3
        if sakura_mast == True:
            if sakura_lust >= 60:
                "Sakura managed to relieve herself."
                "Sakura's lust -50"
                $ sakura_lust -= 50
    if ino_controlled:
        $ ino_lust += 4
        if ino_mast == True:
            if ino_lust >= 60:
                "Ino managed to relieve herself."
                "Ino's lust -50"
                $ ino_lust -= 50
    if tenten_controlled:
        $ tenten_lust += 3
        if tenten_mast == True:
            if tenten_lust >= 60:
                "Tenten managed to relieve herself."
                "Tenten's lust -50"
                $ tenten_lust -= 50
    if hinata_controlled:
        $ hinata_lust += 3
        if hinata_mast == True:
            if hinata_lust >= 60:
                "Hinata managed to relieve herself."
                "Hinata's lust -50"
                $ hinata_lust -= 50
    if anko_controlled:
        $ anko_lust += 4
        if anko_mast == True:
            if anko_lust >= 60:
                "Anko managed to relieve herself."
                "Anko's lust -50"
                $ anko_lust -= 50
    if shizune_controlled:
        $ shizune_lust += 3
        if shizune_mast == True:
            if shizune_lust >= 60:
                "Shizune managed to relieve herself."
                "Shizune's lust -50"
                $ shizune_lust -= 50
    if kurenai_controlled:
        $ kurenai_lust += 2
        if kurenai_mast == True:
            if kurenai_lust >= 60:
                "Kurenai managed to relieve herself."
                "Kurenai's lust -50"
                $ kurenai_lust -= 50
    if tsunade_controlled:
        $ tsunade_lust += 3
        if tsunade_mast == True:
            if tsunade_lust >= 60:
                "Tsunade managed to relieve herself."
                "Tsunade's lust -50"
                $ tsunade_lust -= 50
    if endings1:
        menu:
            "Jump to ending.":
                jump arc1_fake_end
            "Nevermind.":
                "You fall asleep..."
    if tsunade_control == 4 and endings1 == False:
        mc "I've completed my main task..."
        mc "The first part of my journey is finally coming to an end..."
        mc "Do I want more though..."
        mc "Tsunade is under my control, and I already have 4 kunoichi that are willing to bear my child."
        mc "I could just prepare them for the inevitable attack and live in peace after that."
        mc "Then again, that wouldn't be enough to restore my clan to it's former glory."
        mc "For that I'll need the support of the other villages..."
        mc "Not to mention the different women that I will meet if I travel to meet them..."
        mc "I can only choose one path..."
        mc "Either stop now, enjoy what I have and try to get them pregnant if I feel like it..."
        mc "Or I can prepare myself for when I have to travel to the other villages to get support. It wouldn't be wise to get them pregnant in that case, since I need them for my plans."
        "(YOU WILL NOT BE ABLE TO CHANGE YOUR MIND AFTER THIS, PLEASE SAVE HERE IF YOU'RE UNSURE WHAT YOU WANT.)"
        menu:
            "Prepare yourself for the future":
                mc "I can't be satisfied by just this."
                mc "I need to remember why I was brought back."
                mc "Besides, the women here aren't enough to satisfy me."
                jump arc1_true_end
            "Give up expanding and enjoy what I have":
                mc "Yeah, it doesn't make sense to risk what I already have."
                mc "With Tsunade like this, it's only a matter of time until I control the village."
                mc "Being able to have a team of loyal and skilled kunoichi doesn't sound too bad."
                mc "Besides, it's about time I started making heirs."
                $ endings1 = True
            "Decide next time":
                mc "I'll think about it tomorrow."
    call lust_check from _call_lust_check_24
    return

label damage_calc:
    $ dmg_var = renpy.random.randint(8, 12)
    $ damage_nin = int(((((mc_knw+mc_temp_knw)*(mc_dex+mc_temp_dex))/2))*(dmg_var)*(mc_ninjutsu)*0.1)
    $ damage_tai = int(((((mc_agi+mc_temp_agi) + ((mc_str+mc_temp_str)))/2))*(dmg_var)*(mc_taijutsu))
    $ damage_gen = int(((((mc_ctrl+mc_temp_ctrl)*(mc_knw+mc_temp_knw))/2))*(dmg_var)*(mc_genjutsu)*0.1)
    $ damage_suri = int(((((mc_dex+mc_temp_dex) + ((mc_str+mc_temp_str)))/2))*(dmg_var))
    return

label ally1_damage_calc:
    $ dmg_var = renpy.random.randint(8, 12)
    $ damage_ally1nin = int(((((ally1_knw)*(ally1_dex))/2))*(dmg_var)*(ally1_ninjutsu)*0.1)
    $ damage_ally1tai = int(((((ally1_agi) + ((ally1_str)))/2))*(dmg_var)*(ally1_taijutsu))
    $ damage_ally1gen = int(((((ally1_ctrl)*(ally1_knw))/2))*(dmg_var)*(ally1_genjutsu)*0.1)
    $ damage_ally1suri = int(((((ally1_dex) + ((ally1_str)))/2))*(dmg_var))
    return

label ally2_damage_calc:
    $ dmg_var = renpy.random.randint(8, 12)
    $ damage_ally2nin = int(((((ally2_knw)*(ally2_dex))/2))*(dmg_var)*(ally2_ninjutsu)*0.1)
    $ damage_ally2tai = int(((((ally2_agi) + ((ally2_str)))/2))*(dmg_var)*(ally2_taijutsu))
    $ damage_ally2gen = int(((((ally2_ctrl)*(ally2_knw))/2))*(dmg_var)*(ally2_genjutsu)*0.1)
    $ damage_ally2suri = int(((((ally2_dex) + ((ally2_str)))/2))*(dmg_var))
    return

label ene1_damage_calc:
    $ dmg_var = renpy.random.randint(8, 12)
    $ damage_ene1nin = int(((((ene1_knw)*(ene1_dex))/2))*(dmg_var)*(ene1_ninjutsu)*0.1)
    $ damage_ene1tai = int(((((ene1_agi) + (ene1_str))/2))*(dmg_var)*(ene1_taijutsu))
    $ damage_ene1gen = int(((((ene1_ctrl)*(ene1_knw))/2))*(dmg_var)*(ene1_genjutsu)*0.1)
    $ damage_ene1suri = int(((((ene1_dex) + ((ene1_str)))/2))*(dmg_var))
    return

label ene2_damage_calc:
    $ dmg_var = renpy.random.randint(8, 12)
    $ damage_ene2nin = int(((((ene2_knw)*(ene2_dex))/2))*(dmg_var)*(ene2_ninjutsu)*0.1)
    $ damage_ene2tai = int(((((ene2_agi) + (ene2_str))/2))*(dmg_var)*(ene2_taijutsu))
    $ damage_ene2gen = int(((((ene2_ctrl)*(ene2_knw))/2))*(dmg_var)*(ene2_genjutsu)*0.1)
    $ damage_ene2suri = int(((((ene2_dex) + ((ene2_str)))/2))*(dmg_var))
    return

label ene3_damage_calc:
    $ dmg_var = renpy.random.randint(8, 12)
    $ damage_ene3nin = int(((((ene3_knw)*(ene3_dex))/2))*(dmg_var)*(ene3_ninjutsu)*0.1)
    $ damage_ene3tai = int(((((ene3_agi) + (ene3_str))/2))*(dmg_var)*(ene3_taijutsu))
    $ damage_ene3gen = int(((((ene3_ctrl)*(ene3_knw))/2))*(dmg_var)*(ene3_genjutsu)*0.1)
    $ damage_ene3suri = int(((((ene3_dex) + ((ene3_str)))/2))*(dmg_var))
    return

label game_over:
    scene bg black
    "Try to increase your stats or be better prepared next time!"
    $ renpy.full_restart()

label battles1_win:
    call battle_sprites(False,True,ally1,ally2) from _call_battle_sprites
    call battle_end from _call_battle_end_9
    return

label lust_check:
    if sakura_lust <=0:
        $ sakura_lust = 0
    if sakura_control == 1:
        if sakura_lust >=25:
            $sakura_lust = 25
    if sakura_control == 2:
        if sakura_lust >=50:
            $sakura_lust = 50
    if sakura_control == 3:
        if sakura_lust >=75:
            $sakura_lust = 75
    if sakura_control >= 4:
        if sakura_lust >=100:
            $sakura_lust = 100
    if sakura_aphrodisiac >= 3 and sakura_lust <=90:
        $ sakura_lust = 90

    if ino_lust <=0:
        $ ino_lust = 0
    if ino_control == 1:
        if ino_lust >=25:
            $ino_lust = 25
    if ino_control == 2:
        if ino_lust >=50:
            $ino_lust = 50
    if ino_control == 3:
        if ino_lust >=75:
            $ino_lust = 75
    if ino_control >= 4:
        if ino_lust >=100:
            $ino_lust = 100
    if ino_aphrodisiac >= 3 and ino_lust <=90:
        $ ino_lust = 90

    if tenten_lust <=0:
        $ tenten_lust = 0
    if tenten_control == 1:
        if tenten_lust >=25:
            $tenten_lust = 25
    if tenten_control == 2:
        if tenten_lust >=50:
            $tenten_lust = 50
    if tenten_control == 3:
        if tenten_lust >=75:
            $tenten_lust = 75
    if tenten_control >= 4:
        if tenten_lust >=100:
            $tenten_lust = 100
    if tenten_aphrodisiac >= 3 and tenten_lust <=90:
        $ tenten_lust = 90

    if hinata_lust <=0:
        $ hinata_lust = 0
    if hinata_control == 1:
        if hinata_lust >=25:
            $hinata_lust = 25
    if hinata_control == 2:
        if hinata_lust >=50:
            $hinata_lust = 50
    if hinata_control == 3:
        if hinata_lust >=75:
            $hinata_lust = 75
    if hinata_control >= 4:
        if hinata_lust >=100:
            $hinata_lust = 100
    if hinata_aphrodisiac >= 3 and hinata_lust <=90:
        $ hinata_lust = 90

    if anko_lust <=0:
        $ anko_lust = 0
    if anko_control == 1:
        if anko_lust >=25:
            $anko_lust = 25
    if anko_control == 2:
        if anko_lust >=50:
            $anko_lust = 50
    if anko_control == 3:
        if anko_lust >=75:
            $anko_lust = 75
    if anko_control >= 4:
        if anko_lust >=100:
            $anko_lust = 100
    if anko_aphrodisiac >= 3 and anko_lust <=90:
        $ anko_lust = 90

    if kurenai_lust <=0:
        $ kurenai_lust = 0
    if kurenai_control == 1:
        if kurenai_lust >=25:
            $kurenai_lust = 25
    if kurenai_control == 2:
        if kurenai_lust >=50:
            $kurenai_lust = 50
    if kurenai_control == 3:
        if kurenai_lust >=75:
            $kurenai_lust = 75
    if kurenai_control >= 4:
        if kurenai_lust >=100:
            $kurenai_lust = 100
    if kurenai_aphrodisiac >= 3 and kurenai_lust <=90:
        $ kurenai_lust = 90

    if shizune_lust <=0:
        $ shizune_lust = 0
    if shizune_control == 1:
        if shizune_lust >=25:
            $shizune_lust = 25
    if shizune_control == 2:
        if shizune_lust >=50:
            $shizune_lust = 50
    if shizune_control == 3:
        if shizune_lust >=75:
            $shizune_lust = 75
    if shizune_control >= 4:
        if shizune_lust >=100:
            $shizune_lust = 100
    if shizune_aphrodisiac >= 3 and shizune_lust <=90:
        $ shizune_lust = 90

    if tsunade_lust <=0:
        $ tsunade_lust = 0
    if tsunade_control == 1:
        if tsunade_lust >=25:
            $tsunade_lust = 25
    if tsunade_control == 2:
        if tsunade_lust >=50:
            $tsunade_lust = 50
    if tsunade_control == 3:
        if tsunade_lust >=75:
            $tsunade_lust = 75
    if tsunade_control >= 4:
        if tsunade_lust >=100:
            $tsunade_lust = 100
    if tsunade_aphrodisiac >= 3 and tsunade_lust <=90:
        $ tsunade_lust = 90
    return

label clear_call_stack:
    if renpy.call_stack_depth() >= 3:
        $ renpy.pop_call()
        $ renpy.pop_call()
        call clear_call_stack from _call_clear_call_stack
    else:
        jump town

label persistent_check:
    $ persistent.mcname = mcname
    $ persistent.call = call
    if persistent.girls_completed <= girls_completed:
        $ persistent.girls_completed = girls_completed
    if ayame_controlled:
        $ persistent.ayame_controlled = True
    if sakura_controlled:
        $ persistent.sakura_controlled = True
    if ino_controlled:
        $ persistent.ino_controlled = True
    if tenten_controlled:
        $ persistent.tenten_controlled = True
    if hinata_controlled:
        $ persistent.hinata_controlled = True
    if shizune_controlled:
        $ persistent.shizune_controlled = True
    if kurenai_controlled:
        $ persistent.kurenai_controlled = True
    if tsunade_controlled:
        $ persistent.tsunade_controlled = True
    if persistent.sakura_control <= sakura_control:
        $ persistent.sakura_control = sakura_control
    if persistent.ino_control <= ino_control:
        $ persistent.ino_control = ino_control
    if persistent.tenten_control <= tenten_control:
        $ persistent.tenten_control = tenten_control
    if persistent.hinata_control <= hinata_control:
        $ persistent.hinata_control = hinata_control
    if persistent.shizune_control <= shizune_control:
        $ persistent.shizune_control = shizune_control
    if persistent.kurenai_control <= kurenai_control:
        $ persistent.kurenai_control = kurenai_control
    return

screen towns2():
    imagebutton auto "background/town_map_s1/office_%s.webp" focus_mask True:
        action Jump('hokage_offices2')
    imagebutton auto "background/town_map_s1/generalstore_%s.webp" focus_mask True:
        action Jump('supply_stores2')
    imagebutton auto "background/town_map_s1/ramenshop_%s.webp" focus_mask True:
        action Jump('ramens2')
    imagebutton auto "background/town_map_s1/academy_%s.webp" focus_mask True:
        action Jump('academys2')
    imagebutton auto "background/town_map_s1/bathhouse_%s.webp" focus_mask True:
        action Jump('bathhouses2')
    imagebutton auto "background/town_map_s1/flowershop_%s.webp" focus_mask True:
        action Jump('flowershops2')
    imagebutton auto "background/town_map_s1/mansion_%s.webp" focus_mask True:
        action Jump('mansions2')
    imagebutton auto "background/town_map_s1/gate_%s.webp" focus_mask True:
        action Jump('gates2')
    imagebutton auto "background/town_map_s1/traininggrounds_%s.webp" focus_mask True:
        action Jump('trainings2')
    imagebutton auto "background/town_map_s1/home_%s.webp" focus_mask True:
        action Jump('homes2')
    imagebutton auto "background/town_map_s1/clothingstore_%s.webp" focus_mask True:
        action Jump('clothingstores2')
    imagebutton auto "background/town_map_s1/stadium_%s.webp" focus_mask True:
        action Jump('stadiums2')
    add "background/town_map_s1/extra_buildings_idle.webp"
    if map_labels:
        add "background/town_map_s1/town_labels.webp"
    imagebutton auto ("background/town_map_s1/toggle_labels_%s.webp") focus_mask True:
        action ToggleVariable("map_labels",True,False)

#Mcstatuss2
screen mc_statuss2():
    modal True
    frame:
        background "uistuff/mcstatuss2/statusscroll.webp"
    imagebutton:
        idle "uistuff/mcstatuss2/status button.webp"
        hover "uistuff/mcstatuss2/status button glow.webp"
        focus_mask True
        action [Hide('mc_statuss2'), Show('villageselections2')]
    imagebutton:
        idle "uistuff/mcstatuss2/item button.webp"
        hover "uistuff/mcstatuss2/item button glow.webp"
        focus_mask True
        tooltip "Check my items."
        action [Hide('mc_statuss2'), Show('item_screens2')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('mc_statuss2'), Show('status_screen')]
    if tsunade_control == 5:
        imagebutton:
            idle "uistuff/mcstatuss2/konoha_support.webp"
            focus_mask True
            tooltip "Controlling Tsunade allowed you to secure Konoha's resources for your new village."
            action NullAction()
    if temari_control == 5:
        imagebutton:
            idle "uistuff/mcstatuss2/suna_support.webp"
            focus_mask True
            tooltip "You have secured support from Sunakagure."
            action NullAction()
    vbox :
        xpos 57
        ypos 118
        textbutton "HP: [mc_hp] / [mc_maxhp]":
            style "mc_screentext"
        textbutton "Chakra: [mc_chakra] / [mc_maxchakra]":
            style "mc_screentext"
    vbox:
        xpos 57
        ypos 420
        textbutton "Strength: [mc_str]":
            style "mc_screentext"
        textbutton "Dexterity: [mc_dex]":
            style "mc_screentext"
        textbutton "Agility: [mc_agi]":
            style "mc_screentext"
    vbox:
        xpos 280
        ypos 420
        textbutton "Endurance: [mc_edu]":
            style "mc_screentext"
        textbutton "Chakra control: [mc_ctrl]":
            style "mc_screentext"
        textbutton "Knowledge : [mc_knw]":
            style "mc_screentext"

    bar:
        xpos 320
        ypos 133
        xmaximum 140
        value mc_hp
        range mc_maxhp
        left_bar "uistuff/hpbar.webp"
        right_bar "uistuff/emptybar.webp"
        left_gutter 0
        right_gutter 0
        thumb None
        thumb_shadow None
    bar:
        xpos 320
        ypos 175
        xmaximum 140
        value mc_chakra
        range mc_maxchakra
        left_bar "uistuff/chakrabar.webp"
        right_bar "uistuff/emptybar.webp"
        left_gutter 0
        right_gutter 0
        thumb None
        thumb_shadow None
    vbox:
        xpos 580
        ypos 550
        textbutton "Girls controlled: [girls_controlled]":
            style "mc_screentext"


    if GetTooltip() is not None:
        use tooltip_screen
#items arc2
screen item_screens2():
    modal True
    style_prefix "item_screen"
    frame:
        background "uistuff/item/itemscroll.webp"
    vbox:
        xalign 0.025
        yalign 0.25
        if hp_pills >=1:
            hbox:
                spacing 10
                add "uistuff/item/HP pills.webp"
                text "Recovery Pill x[hp_pills]"
        if chakra_pills >=1:
            hbox:
                spacing 10
                add "uistuff/item/chakra pills.webp"
                text "Energy Pill x[chakra_pills]"
        if hp_pills_plus >=1:
            hbox:
                spacing 10
                add "uistuff/item/HP pills plus.webp"
                text "Recovery Pill+ x[hp_pills_plus]"
        if chakra_pills_plus >=1:
            hbox:
                spacing 10
                add "uistuff/item/chakra pills plus.webp"
                text "Energy Pill+ x[chakra_pills_plus]"
        if dense_hp_pills >=1:
            hbox:
                spacing 10
                add "uistuff/item/dense HP pills.webp"
                text "Dense Recovery Pill x[dense_hp_pills]"
        if dense_chakra_pills >=1:
            hbox:
                spacing 10
                add "uistuff/item/dense chakra pills.webp"
                text "Dense Energy Pill x[dense_chakra_pills]"
        if tags >=1:
            hbox:
                spacing 10
                add "uistuff/item/tags.webp"
                text "Explosive tag x[tags]"
        if antidote >=1:
            hbox:
                spacing 10
                add "uistuff/item/antidote.webp"
                text "Antidote x[antidote]"
    vbox:
        xalign 0.415
        yalign 0.25
        if red_dye >=1:
            hbox:
                spacing 10
                add "uistuff/item/red dye.webp"
                text "Red dye x [red_dye]"
        if blue_dye >=1:
            hbox:
                spacing 10
                add "uistuff/item/blue dye.webp"
                text "Blue dye x [blue_dye]"
        if green_dye >=1:
            hbox:
                spacing 10
                add "uistuff/item/green dye.webp"
                text "Green dye x [green_dye]"
        if black_dye >=1:
            hbox:
                spacing 10
                add "uistuff/item/black dye.webp"
                text "Black dye x [black_dye]"
        if bear_fur >=1:
            hbox:
                spacing 10
                add "uistuff/item/fur.webp"
                text "Bear_fur x [bear_fur]"
        if claw >=1:
            hbox:
                spacing 10
                add "uistuff/item/claw.webp"
                text "Claw x [claw]"
        if leather >=1:
            hbox:
                spacing 10
                add "uistuff/item/leather.webp"
                text "Leather x [leather]"
        if cotton >=1:
            hbox:
                spacing 10
                add "uistuff/item/cotton.webp"
                text "Cotton x [cotton]"
        if rubbery_skin >=1:
            hbox:
                spacing 10
                add "uistuff/item/rubbery skin.webp"
                text "Rubbery skin x [rubbery_skin]"
        if weird_flower >=1:
            hbox:
                spacing 10
                add "uistuff/item/weird flower.webp"
                text "Weird Flower x [weird_flower]"
    vbox:
        xalign 0.82
        yalign 0.25
        hbox:
            spacing 10
            add "uistuff/item/ryo.webp"
            text "Money: [ryo] Ryo"
        hbox:
            spacing 10
            text "Intel: [intel] Intel"
        hbox:
            spacing 10
            text "Reputation: [rep] Rep"
        if aphrodisiac >= 1:
            hbox:
                spacing 10
                add "uistuff/item/aphrodisiac.webp"
                text "Aphrodisiac x [aphrodisiac]"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('item_screens2'),Show('status_screen')]
#arc2_village selection screen
screen villageselections2():
    modal True
    frame:
        background "uistuff/girlstatuss2/screenbg.png"
    imagebutton:
        idle "uistuff/girlselections2/konoha.webp"
        hover "uistuff/girlselections2/konoha_glow.webp"
        focus_mask True
        tooltip "List of Konoha girls"
        action [Show('konoha_girlss2'),Hide('villageselections2')]
    imagebutton:
        idle "uistuff/girlselections2/suna.webp"
        hover "uistuff/girlselections2/suna_glow.webp"
        focus_mask True
        tooltip "List of Sunagakure girls"
        action [Show('suna_girlss2'),Hide('villageselections2')]
    # imagebutton:
    #     idle "uistuff/girlselections2/kumo.webp"
    #     hover "uistuff/girlselections2/kumo_glow.webp"
    #     focus_mask True
    #     tooltip "List of Kumogakure girls"
    #     action [Show('kumo_girlss2'),Hide('villageselections2')]
    # imagebutton:
    #     idle "uistuff/girlselections2/iwa.webp"
    #     hover "uistuff/girlselections2/iwa_glow.webp"
    #     focus_mask True
    #     tooltip "List of Iwagakure girls"
    #     action [Show('iwa_girlss2'),Hide('villageselections2')]
    # imagebutton:
    #     idle "uistuff/girlselections2/kirigakure.webp"
    #     hover "uistuff/girlselections2/kirigakure_glow.webp"
    #     focus_mask True
    #     tooltip "List of Kirigakure girls"
    #     action [Show('kiri_girlss2'),Hide('villageselections2')]
    #
    # if karin_controlled:
    #     imagebutton:
    #         idle "uistuff/girlselections2/others.webp"
    #         hover "uistuff/girlselections2/others_glow.webp"
    #         focus_mask True
    #         tooltip "List of Konoha girls"
    #         action [Show('other_girlss2'),Hide('villageselections2')]
    # else:
    #     imagebutton:
    #         idle "uistuff/girlselections2/others_locked.webp"
    #         focus_mask True
    #         tooltip "None found yet"
    #         action NullAction()

    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('villageselections2'), Show('status_screen')]

    if GetTooltip() is not None:
        use tooltip_screen

#Girl status arc 2
screen konoha_girlss2():
    modal True
    frame:
        background "uistuff/girlselections2/girlselectscreen.webp"
    imagebutton:
        idle "uistuff/girlselections2/sakura.webp"
        hover "uistuff/girlselections2/sakura_glow.webp"
        focus_mask True
        tooltip "Sakura"
        action [Show('sakura_statuss2'),Hide('konoha_girlss2')]

    imagebutton:
        idle "uistuff/girlselections2/ino.webp"
        hover "uistuff/girlselections2/ino_glow.webp"
        focus_mask True
        tooltip "Ino"
        action [Show('ino_statuss2'),Hide('konoha_girlss2')]

    imagebutton:
        idle "uistuff/girlselections2/tenten.webp"
        hover "uistuff/girlselections2/tenten_glow.webp"
        focus_mask True
        tooltip "Tenten"
        action [Show('tenten_statuss2'),Hide('konoha_girlss2')]

    imagebutton:
        idle "uistuff/girlselections2/hinata.webp"
        hover "uistuff/girlselections2/hinata_glow.webp"
        focus_mask True
        tooltip "Hinata"
        action [Show('hinata_statuss2'),Hide('konoha_girlss2')]


    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('konoha_girlss2'), Show('villageselections2')]

    if GetTooltip() is not None:
        use tooltip_screen

#Sunagakure girls
screen suna_girlss2():
    modal True
    frame:
        background "uistuff/girlselections2/girlselectscreen.webp"
    if temari_control >=1:
        imagebutton:
            idle "uistuff/girlselections2/temari.webp"
            hover "uistuff/girlselections2/temari_glow.webp"
            focus_mask True
            tooltip "Temari"
            action [Show('temari_statuss2'),Hide('suna_girlss2')]
    else:
        imagebutton:
            idle "uistuff/girlselections2/temari_locked.webp"
            focus_mask True
            tooltip "Not found yet"
            action NullAction()

    if yukata_controlled:
        imagebutton:
            idle "uistuff/girlselections2/yukata.webp"
            hover "uistuff/girlselections2/yukata_glow.webp"
            focus_mask True
            tooltip "Yukata"
            action [Show('yukata_statuss2'),Hide('suna_girlss2')]
    else:
        imagebutton:
            idle "uistuff/girlselections2/yukata_locked.webp"
            focus_mask True
            tooltip "Needs Temari's loyalty"
            #tooltip "Recruit her from missions"
            action NullAction()

    if matsuri_controlled:
        imagebutton:
            idle "uistuff/girlselections2/ino.webp"
            hover "uistuff/girlselections2/ino_glow.webp"
            focus_mask True
            tooltip "Matsuri"
            action [Show('matsuri_statuss2'),Hide('suna_girlss2')]
    else:
        imagebutton:
            idle "uistuff/girlselections2/matsuri_locked.webp"
            focus_mask True
            tooltip "Needs Temari's loyalty"
            #tooltip "Recruit her from missions"
            action NullAction()

    if sari_controlled:
        imagebutton:
            idle "uistuff/girlselections2/ino.webp"
            hover "uistuff/girlselections2/ino_glow.webp"
            focus_mask True
            tooltip "Sari"
            action [Show('sari_statuss2'),Hide('suna_girlss2')]
    else:
        imagebutton:
            idle "uistuff/girlselections2/sari_locked.webp"
            focus_mask True
            tooltip "Needs Temari's loyalty"
            #tooltip "Recruit her from missions"
            action NullAction()

    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('suna_girlss2'), Show('villageselections2')]

    if GetTooltip() is not None:
        use tooltip_screen

#Girls status below


screen sakura_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
        add "uistuff/girlstatuss2/sakura.webp"
        add "uistuff/girlstatuss2/level [sakura_control].webp"
    add "uistuff/girlstatuss2/sakura[sakura_control].webp"
    text "[sakura_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[sakura_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    # imagebutton:
    #     idle "uistuff/girlstatuss2/quest progress.webp"
    #     hover "uistuff/girlstatuss2/quest progress glow.webp"
    #     focus_mask True
    #     action [Hide('sakura_statuss2'), Show('sakuras1_questlog')]
    # imagebutton:
    #     idle "uistuff/girlstatuss2/outfitbutton.webp"
    #     hover "uistuff/girlstatuss2/outfitbutton glow.webp"
    #     focus_mask True
    #     action [Hide('sakura_statuss2'), Show('sakuras1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('sakura_statuss2'), Show('konoha_girlss2')]

screen ino_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
        add "uistuff/girlstatuss2/ino.webp"
        add "uistuff/girlstatuss2/level [ino_control].webp"
    add "uistuff/girlstatuss2/ino[ino_control].webp"
    text "[ino_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[ino_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    # imagebutton:
    #     idle "uistuff/girlstatuss2/quest progress.webp"
    #     hover "uistuff/girlstatuss2/quest progress glow.webp"
    #     focus_mask True
    #     action [Hide('ino_statuss2'), Show('inos1_questlog')]
    # imagebutton:
    #     idle "uistuff/girlstatuss2/outfitbutton.webp"
    #     hover "uistuff/girlstatuss2/outfitbutton glow.webp"
    #     focus_mask True
    #     action [Hide('ino_statuss2'), Show('inos1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('ino_statuss2'), Show('konoha_girlss2')]

screen tenten_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
        add "uistuff/girlstatuss2/tenten.webp"
        add "uistuff/girlstatuss2/level [tenten_control].webp"
    add "uistuff/girlstatuss2/tenten[tenten_control].webp"
    text "[tenten_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[tenten_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    # imagebutton:
    #     idle "uistuff/girlstatuss2/quest progress.webp"
    #     hover "uistuff/girlstatuss2/quest progress glow.webp"
    #     focus_mask True
    #     action [Hide('tenten_statuss2'), Show('tentens1_questlog')]
    # imagebutton:
    #     idle "uistuff/girlstatuss2/outfitbutton.webp"
    #     hover "uistuff/girlstatuss2/outfitbutton glow.webp"
    #     focus_mask True
    #     action [Hide('tenten_statuss2'), Show('tentens1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('tenten_statuss2'), Show('konoha_girlss2')]

screen hinata_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
        add "uistuff/girlstatuss2/hinata.webp"
        add "uistuff/girlstatuss2/level [hinata_control].webp"

    add "uistuff/girlstatuss2/hinata[hinata_control].webp"
    text "[hinata_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[hinata_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    # imagebutton:
    #     idle "uistuff/girlstatuss2/quest progress.webp"
    #     hover "uistuff/girlstatuss2/quest progress glow.webp"
    #     focus_mask True
    #     action [Hide('hinata_statuss2'), Show('hinatas1_questlog')]
    # imagebutton:
    #     idle "uistuff/girlstatuss2/outfitbutton.webp"
    #     hover "uistuff/girlstatuss2/outfitbutton glow.webp"
    #     focus_mask True
    #     action [Hide('hinata_statuss2'), Show('hinatas1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('hinata_statuss2'), Show('konoha_girlss2')]

screen anko_statuss2():
    modal True
    frame:
        background "uistuff/girlstatus/girl status.webp"
        add "uistuff/girlstatus/anko.webp"
        add "uistuff/girlstatus/level [anko_control].webp"
    if anko_control <= 4:
        add "uistuff/girlstatus/konohalogo.webp"
    if anko_control == 5:
        add "uistuff/girlstatus/jikagelogo.webp"
    add "uistuff/girlstatus/anko[anko_control].webp"
    text "[anko_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[anko_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('anko_statuss2'), Show('konoha_girlss2')]

screen shizune_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
        add "uistuff/girlstatuss2/shizune.webp"
        add "uistuff/girlstatuss2/level [shizune_control].webp"
    if shizune_control <= 4:
        add "uistuff/girlstatuss2/konohalogo.webp"
    if shizune_control == 5:
        add "uistuff/girlstatuss2/jikagelogo.webp"
    add "uistuff/girlstatuss2/shizune[shizune_control].webp"
    text "[shizune_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[shizune_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('shizune_statuss2'), Show('konoha_girlss2')]

screen kurenai_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
        add "uistuff/girlstatuss2/kurenai.webp"
        add "uistuff/girlstatuss2/level [kurenai_control].webp"
    if kurenai_control <= 4:
        add "uistuff/girlstatuss2/konohalogo.webp"
    if kurenai_control == 5:
        add "uistuff/girlstatuss2/jikagelogo.webp"
    add "uistuff/girlstatuss2/kurenai[kurenai_control].webp"
    text "[kurenai_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[kurenai_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('kurenai_statuss2'), Show('konoha_girlss2')]

screen tsunade_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
        add "uistuff/girlstatuss2/tsunade.webp"
        add "uistuff/girlstatuss2/level [tsunade_control].webp"
    if tsunade_control <= 4:
        add "uistuff/girlstatuss2/konohalogo.webp"
    if tsunade_control == 5:
        add "uistuff/girlstatuss2/jikagelogo.webp"
    add "uistuff/girlstatuss2/tsunade[tsunade_control].webp"
    text "[tsunade_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[tsunade_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    # imagebutton:
    #     idle "uistuff/girlstatuss2/quest progress.webp"
    #     hover "uistuff/girlstatuss2/quest progress glow.webp"
    #     focus_mask True
    #     action [Hide('tsunade_statuss2'), Show('tsunade_questlog')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('tsunade_statuss2'), Show('konoha_girlss2')]

screen ayame_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
    add "uistuff/girlstatuss2/ayame.webp"
    add "uistuff/girlstatuss2/level 5.webp"
    add "uistuff/girlstatuss2/jikagelogo.webp"
    add "uistuff/girlstatuss2/ayame5.webp"
    text "500":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "???":
        xpos 730
        ypos 290
        style "mc_screentext"
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('ayame_statuss2'), Show('konoha_girlss2')]

screen temari_statuss2():
    modal True
    frame:
        background "uistuff/girlstatuss2/girl statuss2.webp"
        add "uistuff/girlstatuss2/temari.webp"
        add "uistuff/girlstatuss2/level [temari_control].webp"
    add "uistuff/girlstatuss2/temari[temari_control].webp"
    text "[temari_sub]":
        xpos 822
        ypos 220
        style "mc_screentext"
    text "[temari_lust]":
        xpos 730
        ypos 290
        style "mc_screentext"
    # imagebutton:
    #     idle "uistuff/girlstatuss2/quest progress.webp"
    #     hover "uistuff/girlstatuss2/quest progress glow.webp"
    #     focus_mask True
    #     action [Hide('temari_statuss2'), Show('temaris1_questlog')]
    # imagebutton:
    #     idle "uistuff/girlstatuss2/outfitbutton.webp"
    #     hover "uistuff/girlstatuss2/outfitbutton glow.webp"
    #     focus_mask True
    #     action [Hide('temari_statuss2'), Show('temaris1_outfits')]
    imagebutton:
        idle "uistuff/back.webp"
        hover "uistuff/backglow.webp"
        focus_mask True
        action [Hide('temari_statuss2'), Show('suna_girlss2')]
