
define fadeSlow = Fade(0.8, 1.0, 1)

default persistent.gal_mc_name_set = False
default persistent.Gal_roomie1_name_set = False
default persistent.Gal_roomie2_name_set = False
default persistent.Gal_yu_name = "Yuna"
default persistent.Gal_Yae_name = "Yae"

label replayNameChange:
    if not persistent.gal_mc_name_set:
        scene s012
        $ persistent.Gal_mc_name = renpy.input("Choose your name", default="Christian", length=15).strip() or "Christian"
        $ persistent.gal_mc_name_set = True

    if not persistent.Gal_roomie1_name_set:
        scene s0188
        $ persistent.Gal_roomie1_name = renpy.input("Choose the name for your older female roommate.", default="Analia", length=15).strip() or "Analia"
        $ persistent.Gal_roomie1_name_set = True

    if not persistent.Gal_roomie2_name_set:
        scene s0204
        $ persistent.Gal_roomie2_name = renpy.input("Choose the name for your younger female roommate.", default="Cherina", length=15).strip() or "Cherina"
        $ persistent.Gal_roomie2_name_set = True

    return

label replayRename:
    scene s012
    $ persistent.Gal_mc_name = renpy.input("Choose your name", default="Christian", length=15).strip() or "Christian"
    scene s0188
    $ persistent.Gal_roomie1_name = renpy.input("Choose the name for your older female roommate.", default="Analia", length=15).strip() or "Analia"
    scene s0204
    $ persistent.Gal_roomie2_name = renpy.input("Choose the name for your younger female roommate.", default="Cherina", length=15).strip() or "Cherina"

    call screen sceneReplay1

screen sceneReplayMain():

    modal True tag menu

    add "#000"
    add Transform("shaddyMod/images/ShaddyBG.jpg", zoom=1.0) xcenter 0.5 ycenter 0.5 alpha 0.65

    text "Shaddy's Scene Gallery":
        style "shaddyHeader"
        xcenter 0.5
        ycenter 40

    # vbox:
    #     align (0.5,0.5)
    #     spacing 10
    #     textbutton "PAGE 1":
    #         text_style "shaddyTextButton1"
    #         action Hide("sceneReplay2"), Hide("sceneReplay3"), Show("sceneReplay1")
    #
    #     textbutton "PAGE 2":
    #         text_style "shaddyTextButton1"
    #         action Hide("sceneReplay1"), Hide("sceneReplay3"), Show("sceneReplay2")
    #
    #     textbutton "PAGE 3":
    #         text_style "shaddyTextButton1"
    #         action Hide("sceneReplay1"), Hide("sceneReplay2"), Show("sceneReplay3")
    #
    # imagebutton:
    #     align (0.0001,1.0)
    #     idle Transform("shaddyMod/images/Shaddy_Transparent_Rename_Button.png", zoom=0.5)
    #     hover Transform(im.MatrixColor("shaddyMod/images/Shaddy_Transparent_Rename_Button.png", im.matrix.colorize("#f00", "#009dff")), zoom=0.5)
    #     action Call ("replayRename")

    imagebutton:
        align (0.5,1.0)
        idle Transform("shaddyMod/images/Shaddy_Transparent_Return_Button.png", zoom=0.5)
        hover Transform(im.MatrixColor("shaddyMod/images/Shaddy_Transparent_Return_Button.png", im.matrix.colorize("#f00", "#009dff")), zoom=0.5)
        action Hide("sceneReplay1"), Hide("sceneReplay2"), Hide("sceneReplay3"), Hide("sceneReplayMain"), Return()

    vbox:
        align (0.998,0.998)
        xysize (175,150)
        imagebutton:
            idle im.Scale("shaddyMod/images/patreon.png", 150, 40)
            hover im.Scale(im.MatrixColor("shaddyMod/images/patreon.png", im.matrix.colorize("#cc33cc", "#009dff")), 175, 50)
            action OpenURL("https://www.patreon.com/ShaddyModda")
        imagebutton:
            idle im.Scale("shaddyMod/images/substar.png", 150, 40)
            hover im.Scale(im.MatrixColor("shaddyMod/images/substar.png", im.matrix.colorize("#cc33cc", "#009dff")), 175, 50)
            action OpenURL("https://subscribestar.adult/shaddymodda")
        imagebutton:
            idle im.Scale("shaddyMod/images/Discord.png", 150, 40)
            hover im.Scale(im.MatrixColor("shaddyMod/images/Discord.png", im.matrix.colorize("#f00", "#f00")), 175, 50)
            action OpenURL("https://discord.gg/MS3nkmkpm6")


screen sceneReplay1():

    use sceneReplayMain

    $ gallery_scene_list1=[]
    $ gallery_scene_list1.append(["scene001","images/s05313.png", {}])
    $ gallery_scene_list1.append(["scene002","images/s05277.png", {}])
    $ gallery_scene_list1.append(["scene003","images/s05246.png", {}])
    $ gallery_scene_list1.append(["scene004","images/s05462.png", {}])
    if renpy.has_label("p_ch6_event1"):
        $ gallery_scene_list1.append(["scene005","images/patch/p01114.png", {}])
    $ gallery_scene_list1.append(["scene006","images/s05537.png", {}])
    $ gallery_scene_list1.append(["scene007","images/s05635.png", {}])
    $ gallery_scene_list1.append(["ch6_ashley","images/s05654.png", {}])
    if renpy.has_label("p_ch6_event1"):
        $ gallery_scene_list1.append(["p_ch6_elise","images/patch/p01144.png", {}])
        $ gallery_scene_list1.append(["p_ch6_ange","images/patch/p01254.png", {}])

    $ gallery_scene_list2=[]
    if renpy.has_label("p_ch6_event1"):
        $ gallery_scene_list2.append(["scene008","images/patch/p01319.png", {}])
        $ gallery_scene_list2.append(["p_ch6_sisters","images/patch/p01174.png", {}])
    $ gallery_scene_list2.append(["scene009","images/s05857.png", {}])
    $ gallery_scene_list2.append(["ch6_l_02_r","images/s05933.png", {}])
    if renpy.has_label("p_ch6_event1"):
        $ gallery_scene_list2.append(["p_ch6_l_05","images/patch/p01366.png", {}])
    $ gallery_scene_list2.append(["ch7_a00","ShaddyMod/images/ch7_a00.webp", {}])
    $ gallery_scene_list2.append(["ch7_asia_event1","ShaddyMod/images/ch7_asia_event1.webp", {}])
    $ gallery_scene_list2.append(["ch7_asia_event2_con2","images/s06862.png", {}])



    $ scopeDict = {"mc_name":persistent.Gal_mc_name, "roomie1_name":persistent.Gal_roomie1_name, "roomie2_name":persistent.Gal_roomie2_name, "yu_name":persistent.Gal_yu_name, "ya_name":persistent.Gal_Yae_name}
    if not renpy.variant("mobile"):
        $ scopeDict.update({"quick_menu":False})
    vpgrid:
        cols 2
        spacing 20
        align (0.15,0.5)

        for i in gallery_scene_list1:
            $ scopeDict.update(i[2])
            frame:
                xysize (250,145)
                imagebutton:
                    xcenter 0.5 ycenter 0.5
                    idle Transform((i[1]),zoom=0.15)
                    hover Transform(im.MatrixColor(i[1], im.matrix.brightness(0.20)), zoom=0.15)
                    action Replay(i[0], scope=scopeDict, locked=False)

    vpgrid:
        cols 2
        spacing 20
        align (0.85,0.5)

        for i in gallery_scene_list2:
            $ scopeDict.update(i[2])
            frame:
                xysize (250,145)
                imagebutton:
                    xcenter 0.5 ycenter 0.5
                    idle Transform((i[1]),zoom=0.15)
                    hover Transform(im.MatrixColor(i[1], im.matrix.brightness(0.20)), zoom=0.15)
                    action Replay(i[0], scope=scopeDict, locked=False)


label Rep_Start:
    $ incKarma(100)
    return


label Rep_End:
    scene black with blinds
    $ renpy.end_replay()
    return


label Rep_Futa_choice:
    shaddy2 "Would you like to activate Futa content for this scene?"
    menu:
        "Fuck Yeah!":
            $ addChoice('ch1_futa', True)
        "Hell No!":
            $ addChoice('ch1_futa', False)

    return

label Rep_Sub_choice:
    shaddy2 "Are you Dom or Sub with Diana?"
    menu:
        "Dom":
            $ addChoice('ch4_diana_sub', False)
        "Sub":
            $ addChoice('ch4_diana_sub', True)

    return
# Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc
