label after_load:
    # Capture Player Name
    $ persistent.player_name = player_name
    $ persistent.player_lastname = player_lastname

    return

screen gallery():

    tag menu

    ## This use statement includes the game_menu screen inside this one. The
    ## vbox child is then included inside the viewport inside the game_menu
    ## screen.
    use game_menu(_("{color=#ffffff}Replay Gallery{/color}"), scroll="viewport"):

        style_prefix "help"

        hbox:
            textbutton _("Main Gallery  ") action ShowMenu("gallery")
            textbutton _("Holiday  ") action ShowMenu("holidaygallery")
        vbox:
            style_prefix "gallery"
            xsize 1340
            spacing 20
            hbox:
                spacing 20
                imagebutton:
                    idle "gui/gallery/sidebanner.jpg"
                vbox:
                    if True:#persistent.saw_oh_god_tits: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c002_s001_hover.jpg"
                            idle "gui/gallery/c002_s001_idle.jpg"
                            action Replay("oh_god_tits", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_oh_god_tits: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Two: Oops{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_ch4_drinking: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c004_s002_hover.jpg"
                            idle "gui/gallery/c004_s002_idle.jpg"
                            action Replay("ch4_drinking", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_ch4_drinking: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Four: Scotch O'clock{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.carol_first_time: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c005_s002_hover.jpg"
                            idle "gui/gallery/c005_s002_idle.jpg"
                            action Replay("carol_first_time", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.carol_first_time: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Five: Carol's First Time{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_ch7naomidream: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c007_s001_hover.jpg"
                            idle "gui/gallery/c007_s001_idle.jpg"
                            action Replay("ch7naomidream", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_ch7naomidream: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch Seven: Sexy Naomi Dream{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch8naomi_alt_unlock: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c010_s001_hover.jpg"
                            idle "gui/gallery/c010_s001_idle.jpg"
                            action Replay("ch10naomiintimacy", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch8naomi_alt_unlock: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch Ten: With Naomi{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch11naomi_rubdown_unlock: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c011_s002_hover.jpg"
                            idle "gui/gallery/c011_s002_idle.jpg"
                            action Replay("ch11s05naomi", scope={"player_name":persistent.player_name or "Jack", "ch10naomisex":"yes"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch11naomi_rubdown_unlock: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 11: Legitimate Massage{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch12carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c012_s002_hover.jpg"
                            idle "gui/gallery/c012_s002_idle.jpg"
                            action Replay("c12s11carolsex", scope={"player_name":persistent.player_name or "Jack", "mckink":"schoolgirl", "player_lastname":"Brooks"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch12carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 12: Schoolgirl (Alt.){/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch13naomisydney: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c013_s003_hover.jpg"
                            idle "gui/gallery/c013_s003_idle.jpg"
                            action Replay("ch13naomisydney", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch13naomisydney: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 13: Sydney and Naomi{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch14s14morningafter: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c014_s004_hover.jpg"
                            idle "gui/gallery/c014_s004_idle.jpg"
                            action Replay("c14s14morningex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch14s14morningafter: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 14: The Morning After{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch15sydney: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c015_s004_hover.jpg"
                            idle "gui/gallery/c015_s004_idle.jpg"
                            action Replay("c15s14sydneysex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch15sydney: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 15: \"Funeral Sex\"{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch16naomi: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c016_s004_hover.jpg"
                            idle "gui/gallery/c016_s004_idle.jpg"
                            action Replay("ch16s15naomisex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch16naomi: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 16: Overnight Stay{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch18loricar: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c018_s001_hover.jpg"
                            idle "gui/gallery/c018_s001_idle.jpg"
                            action Replay("ch18loricar", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch18loricar: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 18: Auto Erotic{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch19carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c019_s002_hover.jpg"
                            idle "gui/gallery/c019_s002_idle.jpg"
                            action Replay("c19s7carolsexyes", scope={"player_name":persistent.player_name or "Jack", "mckink":"daddy"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch19carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 19: Carol Kink Alt.{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch20alicesexytime: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c020_s002_hover.jpg"
                            idle "gui/gallery/c020_s002_idle.jpg"
                            action Replay("ch20s11sexytimechoice", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch20alicesexytime: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 20: Consenting Adults{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch21carolsex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c021_s003_hover.jpg"
                            idle "gui/gallery/c021_s003_idle.jpg"
                            action Replay("ch21s12carolsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch21carolsex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 21: Sexy Literature{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.c22s15carolsex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c022_s003_hover.jpg"
                            idle "gui/gallery/c022_s003_idle.jpg"
                            action Replay("c22s15carolsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.c22s15carolsex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 22: Bedside Manner{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch23s09naomisex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c023_s003_hover.jpg"
                            idle "gui/gallery/c023_s003_idle.jpg"
                            action Replay("ch23s09naomisex", scope={"player_name":persistent.player_name or "Jack", "alice_sex":"1"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch23s09naomisex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 23: Caught in the Act{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch24s06naomisex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c024_s003_hover.jpg"
                            idle "gui/gallery/c024_s003_idle.jpg"
                            action Replay("ch24s06naomisex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch24s06naomisex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 24: Exercise Regimen{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch25s05hanasex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c025_s002_hover.jpg"
                            idle "gui/gallery/c025_s002_idle.jpg"
                            action Replay("ch25s05hanasex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch25s05hanasex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 25: No Kissing{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
#                    imagebutton:
#                        idle "gui/gallery/gallery_empty.jpg"
#                    textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
#column 2
                vbox:
                    if True:#persistent.saw_hot_shower: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c003_s002_hover.jpg"
                            idle "gui/gallery/c003_s002_idle.jpg"
                            action Replay("hot_shower", scope={"player_name":persistent.player_name or "Jack", "ch3bloody":"yes"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_hot_shower: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Three: Hot Shower{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_alicedream: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c004_s003_hover.jpg"
                            idle "gui/gallery/c004_s003_idle.jpg"
                            action Replay("alice_dream", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_alicedream: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Four: A Dream of Alice{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_ch6_montage: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c006_s002_hover.jpg"
                            idle "gui/gallery/c006_s002_idle.jpg"
                            action Replay("ch6_montage", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_ch6_montage: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Six: Sex Montage{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_carolsvisit: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c007_s002_hover.jpg"
                            idle "gui/gallery/c007_s002_idle.jpg"
                            action Replay("carolsvisit", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_carolsvisit: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Seven: Carol Raw{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch10carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c010_s002_hover.jpg"
                            idle "gui/gallery/c010_s002_idle.jpg"
                            action Replay("ch10carolfuck", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch10carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch Ten: Carol Instead{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch11naomi_virgin_unlock: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c011_s003_hover.jpg"
                            idle "gui/gallery/c011_s003_idle.jpg"
                            action Replay("ch11s05naomi", scope={"player_name":persistent.player_name or "Jack", "ch11tellnaomi":"yes", "ch10naomisex":"no"})
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch11naomi_virgin_unlock: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Naomi's Virginity (Ch11 Variant){/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch12naomi: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c012_s003_hover.jpg"
                            idle "gui/gallery/c012_s003_idle.jpg"
                            action Replay("c12s14naomisex", scope={"player_name":persistent.player_name or "Jack", "naomi_sex":"1"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch12naomi: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch12: Cheerleading{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch14carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c014_s001_hover.jpg"
                            idle "gui/gallery/c014_s001_idle.jpg"
                            action Replay("ch14s06carolsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch14carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch14: Carol on the Rooftop{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch15carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c015_s001_hover.jpg"
                            idle "gui/gallery/c015_s001_idle.jpg"
                            action Replay("c15s05carolsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch15carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch15: Alone Time{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch16julie: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c016_s001_hover.jpg"
                            idle "gui/gallery/c016_s001_idle.jpg"
                            action Replay("ch16s10juliesex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch16julie: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch16: Drunk with Julie{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch17carolhj: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c017_s001_hover.jpg"
                            idle "gui/gallery/c017_s001_idle.jpg"
                            action Replay("c17s05hj", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch17carolhj: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch17: A Little Cocky{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.naomi_ch18_sex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c018_s002_hover.jpg"
                            idle "gui/gallery/c018_s002_idle.jpg"
                            action Replay("naomi_ch18s05_sex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.naomi_ch18_sex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch18: Cabin Fever{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch19naomi: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c019_s003_hover.jpg"
                            idle "gui/gallery/c019_s003_idle.jpg"
                            action Replay("c19s10naomisex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch19naomi: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 19: Hurry, hurry{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch20naomipoolsex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c020_s003_hover.jpg"
                            idle "gui/gallery/c020_s003_idle.jpg"
                            action Replay("ch20s12naomipool", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch20naomipoolsex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 20: Skinny-Dipping{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch21s16hanafuck: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c021_s004_hover.jpg"
                            idle "gui/gallery/c021_s004_idle.jpg"
                            action Replay("ch21s16hanafuck", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch21s16hanafuck: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 21: Fuck Me Hard{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch22s17hanasex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c022_s004_hover.jpg"
                            idle "gui/gallery/c022_s004_idle.jpg"
                            action Replay("ch22s17hanasex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch22s17hanasex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 22: Just Sex{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch23s11alicepool: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c023_s004_hover.jpg"
                            idle "gui/gallery/c023_s004_idle.jpg"
                            action Replay("ch23s11alicepool", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch23s11alicepool: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 23: Wet Clothes{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch24s13alicesex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c024_s004_hover.jpg"
                            idle "gui/gallery/c024_s004_idle.jpg"
                            action Replay("ch24s13alicesex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch24s13alicesex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 24: Stay the Night{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch25s09naomisex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c025_s003_hover.jpg"
                            idle "gui/gallery/c025_s003_idle.jpg"
                            action Replay("ch25s09naomisex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch25s09naomisex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 25: Garage Getaway{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
#                    imagebutton:
#                        idle "gui/gallery/gallery_empty.jpg"
#                    textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
#column 3
                vbox:
                    if True:#persistent.saw_lori_dream: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c003_s001_hover.jpg"
                            idle "gui/gallery/c003_s001_idle.jpg"
                            action Replay("lori_dream", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_lori_dream: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Three: Lori{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_carol_suck: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c004_s004_hover.jpg"
                            idle "gui/gallery/c004_s004_idle.jpg"
                            action Replay("carol_suck", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_carol_suck: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Four: Carol's Visit{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_ch6dare: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c006_s003_hover.jpg"
                            idle "gui/gallery/c006_s003_idle.jpg"
                            action Replay("ch6dare", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_ch6dare: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Six: A Round of Dares{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_twoforone: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c008_s001_hover.jpg"
                            idle "gui/gallery/c008_s001_idle.jpg"
                            action Replay("ch8s13carol", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_twoforone: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch Eight: Two Girls, Two Rooms{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_loriflash: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c010_s003_hover.jpg"
                            idle "gui/gallery/c010_s003_idle.jpg"
                            action Replay("ch10loriflash", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_loriflash: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch Ten: Lori Flashback{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch11naomibj_unlock: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c011_s004_hover.jpg"
                            idle "gui/gallery/c011_s004_idle.jpg"
                            action Replay("c11naomibj", scope={"player_name":persistent.player_name or "Jack", "ch11chazkill":"carol"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch11naomibj_unlock: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 11: Good Morning BJ{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch13naomi: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c013_s001_hover.jpg"
                            idle "gui/gallery/c013_s001_idle.jpg"
                            action Replay("ch13naomi", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch13naomi: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 13: Going Commando{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch14naomi: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c014_s002_hover.jpg"
                            idle "gui/gallery/c014_s002_idle.jpg"
                            action Replay("ch14s09naomisex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch14naomi: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 14: Adult Swim{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch15naomi: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c015_s002_hover.jpg"
                            idle "gui/gallery/c015_s002_idle.jpg"
                            action Replay("c15s05naomisex", scope={"player_name":persistent.player_name or "Jack", "mckink":"none"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch15naomi: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 15: Bathroom Sex{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch16carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c016_s002_hover.jpg"
                            idle "gui/gallery/c016_s002_idle.jpg"
                            action Replay("ch16s13carolsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch16carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 16: For Everyone to See{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch17carolnaturesex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c017_s002_hover.jpg"
                            idle "gui/gallery/c017_s002_idle.jpg"
                            action Replay("ch17s13carolsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch17carolnaturesex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 17: The Natural{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch18carolsex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c018_s003_hover.jpg"
                            idle "gui/gallery/c018_s003_idle.jpg"
                            action Replay("ch18carolsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch18carolsex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 18: Not So Subtle{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch19alicedatenight: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c019_s004_hover.jpg"
                            idle "gui/gallery/c019_s004_idle.jpg"
                            action Replay("ch19s16alicesex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch19alicedatenight: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 19: Date Night{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch21alicebathsex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c021_s001_hover.jpg"
                            idle "gui/gallery/c021_s001_idle.jpg"
                            action Replay("ch21sexyshower", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch21alicebathsex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 21: Bathtime{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch22s04alicesex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c022_s001_hover.jpg"
                            idle "gui/gallery/c022_s001_idle.jpg"
                            action Replay("ch22s04alicesex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch22s04alicesex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 22: A little loving{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch23s04hanasex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c023_s001_hover.jpg"
                            idle "gui/gallery/c023_s001_idle.jpg"
                            action Replay("ch23s04hanasex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch23s04hanasex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 23: Pinup Girl{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch24s02sydneysex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c024_s001_hover.jpg"
                            idle "gui/gallery/c024_s001_idle.jpg"
                            action Replay("ch24s02sydneysex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch24s02sydneysex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 24: Reunited{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch24s16carollove: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c024_s005_hover.jpg"
                            idle "gui/gallery/c024_s005_idle.jpg"
                            action Replay("ch24s16carollove", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch24s16carollove: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 24: Remembrance{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch25s11alicesex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c025_s004_hover.jpg"
                            idle "gui/gallery/c025_s004_idle.jpg"
                            action Replay("ch25s11alicesex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch25s11alicesex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 25: Post-pooltime Fun{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
#                    imagebutton:
#                        idle "gui/gallery/gallery_empty.jpg"
#                    textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
#column 4
                vbox:
                    if True:#persistent.saw_nighttime_visit: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c004_s001_hover.jpg"
                            idle "gui/gallery/c004_s001_idle.jpg"
                            action Replay("nighttime_visit", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_nighttime_visit: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Four: Night Time Visit{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.carol_first_time_full: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c005_s001_hover.jpg"
                            idle "gui/gallery/c005_s001_idle.jpg"
                            action Replay("carol_first_time_full", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.carol_first_time_full: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch Five: Carol's First Time (Full){/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_ch6blowjob: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c006_s004_hover.jpg"
                            idle "gui/gallery/c006_s004_idle.jpg"
                            action Replay("ch6blowjob", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_ch6blowjob: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Six: Good Night BJ{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.saw_schoolshower: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c009_s001_hover.jpg"
                            idle "gui/gallery/c009_s001_idle.jpg"
                            action Replay("schoolshower", scope={"player_name":persistent.player_name or "Jack", "carol_trust":"8"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_schoolshower: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Chapter Nine: High School Shower{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch11carol_quickie_unlock: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c011_s001_hover.jpg"
                            idle "gui/gallery/c011_s001_idle.jpg"
                            action Replay("ch11s06carol", scope={"player_name":persistent.player_name or "Jack", "ch10naomisex":"no"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch11carol_quickie_unlock: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 11: Carol Quickie{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch12carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c012_s001_hover.jpg"
                            idle "gui/gallery/c012_s001_idle.jpg"
                            action Replay("c12s11carolsex", scope={"player_name":persistent.player_name or "Jack", "mckink":"none"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch12carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 12: Teacher's Office{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch13carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c013_s002_hover.jpg"
                            idle "gui/gallery/c013_s002_idle.jpg"
                            action Replay("ch13carol", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch13carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 13: Library Time{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch14s14sydneysex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c014_s003_hover.jpg"
                            idle "gui/gallery/c014_s003_idle.jpg"
                            action Replay("ch14s14syndeysex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch14s14sydneysex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 14: Sydney's Comfort{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch15naomi: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c015_s003_hover.jpg"
                            idle "gui/gallery/c015_s003_idle.jpg"
                            action Replay("c15s05naomisex", scope={"player_name":persistent.player_name or "Jack", "mckink":"analplay", "naomi_sex":"1"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch15naomi: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 15: Butt Stuff (Alt.){/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch16sydney: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c016_s003_hover.jpg"
                            idle "gui/gallery/c016_s003_idle.jpg"
                            action Replay("ch16s14sex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch16sydney: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 16: Goodbye Sex{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch17naominaturesex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c017_s003_hover.jpg"
                            idle "gui/gallery/c017_s003_idle.jpg"
                            action Replay("ch17s13naomisex", scope={"player_name":persistent.player_name or "Jack", "ch15naomianal":"yes"}, locked=False)#) #CHEATER!
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch17naominaturesex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 17: Caveman-style{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch19carol: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c019_s001_hover.jpg"
                            idle "gui/gallery/c019_s001_idle.jpg"
                            action Replay("c19s7carolsexyes", scope={"player_name":persistent.player_name or "Jack", "mckink":"none"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch19carol: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 19: If you want it to be{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch20s8carolbeachhouse: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c020_s001_hover.jpg"
                            idle "gui/gallery/c020_s001_idle.jpg"
                            action Replay("ch20s8carolbeachhouse", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch20s8carolbeachhouse: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 20: The \"Beach House\"{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch21naomimorningwank: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c021_s002_hover.jpg"
                            idle "gui/gallery/c021_s002_idle.jpg"
                            action Replay("ch21s05morningwank", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch21naomimorningwank: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 21: Wake Up{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch22s09naomisex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c022_s002_hover.jpg"
                            idle "gui/gallery/c022_s002_idle.jpg"
                            action Replay("ch22s09naomisex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch22s09naomisex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 22: Defense Training{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch23s06carolbackyard: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c023_s002_hover.jpg"
                            idle "gui/gallery/c023_s002_idle.jpg"
                            action Replay("ch23s06carolbackyard", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch23s06carolbackyard: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 23: Backyard Fun{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch24s04hanasex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c024_s002_hover.jpg"
                            idle "gui/gallery/c024_s002_idle.jpg"
                            action Replay("ch24s04hanasex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch24s04hanasex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 24: Pent Up{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch25s03sydneysex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c025_s001_hover.jpg"
                            idle "gui/gallery/c025_s001_idle.jpg"
                            action Replay("ch25s03sydneysex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch25s03sydneysex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 25: On the Kitchen Table{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    if True:#persistent.ch25s17carolsex: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/c025_s005_hover.jpg"
                            idle "gui/gallery/c025_s005_idle.jpg"
                            action Replay("ch25s17carolsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.ch25s17carolsex: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}Ch 25: Survivors{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
#                    imagebutton:
#                        idle "gui/gallery/gallery_empty.jpg"
#                    textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
####################3endings
        if True:#persistent.theend: #CHEATER!
            hbox:
                imagebutton:
                    idle "gui/menu/end_gallery_bar.png"
            vbox:
                style_prefix "gallery"
                xsize 1340
                spacing 20
                hbox:
                    spacing 20
                    imagebutton:
                        idle "gui/gallery/spacer.jpg"
                    vbox:
                        if True:#persistent.carolendsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s001_hover.jpg"
                                idle "gui/gallery/end_s001_idle.jpg"
                                action Replay("carolendsex", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Carol"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.carolendsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Carol at the Diner{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.sydneyendsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s005_hover.jpg"
                                idle "gui/gallery/end_s005_idle.jpg"
                                action Replay("sydneyendsex", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Sydney"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.sydneyendsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Sydney Date Night{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.naomicarol3someendsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s009_hover.jpg"
                                idle "gui/gallery/end_s009_idle.jpg"
                                action Replay("carol_naomi_3some", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Naomi"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.naomicarol3someendsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Naomi & Carol{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.naomisydney3someendsex_wjack: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s013_hover.jpg"
                                idle "gui/gallery/end_s013_idle.jpg"
                                action Replay("naomisydney3someendsex_wjack", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Naomi"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.naomisydney3someendsex_wjack: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Naomi & Sydney{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    vbox:
                        if True:#persistent.carolendpregnantsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s002_hover.jpg"
                                idle "gui/gallery/end_s002_idle.jpg"
                                action Replay("carolendpregnantsex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.carolendpregnantsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Carol Pregnancy Sex{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.hanafucktime: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s006_hover.jpg"
                                idle "gui/gallery/end_s006_idle.jpg"
                                action Replay("hanafucktime", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.hanafucktime: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Visiting Hana{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.naomialice3someendsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s010_hover.jpg"
                                idle "gui/gallery/end_s010_idle.jpg"
                                action Replay("naomialice3someendsex", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Alice"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.naomialice3someendsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Alice & Naomi{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.naomisydney3someendsex_wjack: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s014_hover.jpg"
                                idle "gui/gallery/end_s014_idle.jpg"
                                action Replay("naomisydney3someendsex_wjack", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Sydney"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.naomisydney3someendsex_wjack: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Sydney & Naomi{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                    vbox:
                        if True:#persistent.naomiendsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s003_hover.jpg"
                                idle "gui/gallery/end_s003_idle.jpg"
                                action Replay("naomiendsex", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Naomi"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.naomiendsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Naomi Shower and More{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.julieepilogue: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s007_hover.jpg"
                                idle "gui/gallery/end_s007_idle.jpg"
                                action Replay("juliesexend", scope={"player_name":persistent.player_name or "Jack", "ch16julie":"sex"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.julieepilogue: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Beers with Julie{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.naomialice3someendsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s011_hover.jpg"
                                idle "gui/gallery/end_s011_idle.jpg"
                                action Replay("naomialice3someendsex", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Naomi"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.naomialice3someendsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Naomi & Alice{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        imagebutton:
                            idle "gui/gallery/gallery_empty.jpg"
                        textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
                    vbox:
                        if True:#persistent.aliceendsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s004_hover.jpg"
                                idle "gui/gallery/end_s004_idle.jpg"
                                action Replay("aliceendsex", scope={"player_name":persistent.player_name or "Jack", "player_lastname":persistent.player_lastname or "Brooks", "endlovermain":"Alice"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.aliceendsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Movie Night with Alice{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.naomicarol3someendsex: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s008_hover.jpg"
                                idle "gui/gallery/end_s008_idle.jpg"
                                action Replay("naomicarol3someendsex", scope={"player_name":persistent.player_name or "Jack", "endlovermain":"Carol"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.naomicarol3someendsex: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Carol & Naomi{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        if True:#persistent.naomisydney3someendsex_girls: #CHEATER!
                            imagebutton:
                                hover "gui/gallery/end_s012_hover.jpg"
                                idle "gui/gallery/end_s012_idle.jpg"
                                action Replay("naomisydney3someendsex_girls", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                        else:
                            imagebutton:
                                idle "gui/gallery/gallery_locked.jpg"
                        if True:#persistent.naomisydney3someendsex_girls: #CHEATER!
                            textbutton "{color=#ffffff}{size=30}End: Sydney & Naomi Pregame{/size}{/color}"
                        else:
                            textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        imagebutton:
                            idle "gui/gallery/gallery_empty.jpg"
                        textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
######################altscenes
        if True:#persistent.parttwo_end: #CHEATER!
                hbox:
                    imagebutton:
                        idle "gui/menu/alt_gallery_bar.png"
                vbox:
                    style_prefix "gallery"
                    xsize 1340
                    spacing 20
                    hbox:
                        spacing 20
                        imagebutton:
                            idle "gui/gallery/spacer.jpg"
                        vbox:
                            if True:#persistent.ch12s08naomi_alt_sex_unlock: #CHEATER!
                                imagebutton:
                                    hover "gui/gallery/c012_s001a_hover.jpg"
                                    idle "gui/gallery/c012_s001a_idle.jpg"
                                    action Replay("c012_s008_alt_sex", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                            else:
                                imagebutton:
                                    idle "gui/gallery/gallery_locked.jpg"
                            if True:#persistent.ch12s08naomi_alt_sex_unlock: #CHEATER!
                                textbutton "{color=#ffffff}{size=30}Ch12: Rooftop at Night{/size}{/color}"
                            else:
                                textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                            if True:#persistent.c20s04hanamasturbate: #CHEATER!
                                imagebutton:
                                    hover "gui/gallery/c021_s001a_hover.jpg"
                                    idle "gui/gallery/c021_s001a_idle.jpg"
                                    action Replay("c20s04hanamasturbate", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                            else:
                                imagebutton:
                                    idle "gui/gallery/gallery_locked.jpg"
                            if True:#persistent.c20s04hanamasturbate: #CHEATER!
                                textbutton "{color=#ffffff}{size=30}Ch20: Hana's Shower Need{/size}{/color}"
                            else:
                                textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                        vbox:
                            if True:#persistent.ch14s02naomi_altsex_unlock: #CHEATER!
                                imagebutton:
                                    hover "gui/gallery/c014_s001a_hover.jpg"
                                    idle "gui/gallery/c014_s001a_idle.jpg"
                                    action Replay("c014_s002_naomi_alt", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                            else:
                                imagebutton:
                                    idle "gui/gallery/gallery_locked.jpg"
                            if True:#persistent.ch14s02naomi_altsex_unlock: #CHEATER!
                                textbutton "{color=#ffffff}{size=30}Ch14: Tanning That Ass{/size}{/color}"
                            else:
                                textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                            imagebutton:
                                idle "gui/gallery/gallery_empty.jpg"
                            textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
                        vbox:
                            if True:#persistent.ch15_carol_altsex_unlock: #CHEATER!
                                imagebutton:
                                    hover "gui/gallery/c015_s001a_hover.jpg"
                                    idle "gui/gallery/c015_s001a_idle.jpg"
                                    action Replay("c015_s003_carol_alt", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                            else:
                                imagebutton:
                                    idle "gui/gallery/gallery_locked.jpg"
                            if True:#persistent.ch15_carol_altsex_unlock: #CHEATER!
                                textbutton "{color=#ffffff}{size=30}Ch15: Boobs and Weights{/size}{/color}"
                            else:
                                textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                            imagebutton:
                                idle "gui/gallery/gallery_empty.jpg"
                            textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
                        vbox:
                            if True:#persistent.ch15_syndeynaomi_altsex_unlock: #CHEATER!
                                imagebutton:
                                    hover "gui/gallery/c015_s002a_hover.jpg"
                                    idle "gui/gallery/c015_s002a_idle.jpg"
                                    action Replay("c015_s006_naomisydney_alt", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                            else:
                                imagebutton:
                                    idle "gui/gallery/gallery_locked.jpg"
                            if True:#persistent.ch15_syndeynaomi_altsex_unlock: #CHEATER!
                                textbutton "{color=#ffffff}{size=30}Ch15: Threesome (J+N+S){/size}{/color}"
                            else:
                                textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
                            imagebutton:
                                idle "gui/gallery/gallery_empty.jpg"
                            textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
## This is redefined in options.rpy to add text to the about screen.
screen holidaygallery():

    tag menu

    ## This use statement includes the game_menu screen inside this one. The
    ## vbox child is then included inside the viewport inside the game_menu
    ## screen.
    use game_menu(_("{color=#ffffff}Replay Gallery - Holiday{/color}"), scroll="viewport"):

        style_prefix "help"
        hbox:
            textbutton _("Main Gallery  ") action ShowMenu("gallery")
            textbutton _("Holiday  ") action ShowMenu("holidaygallery")
        vbox:
            style_prefix "gallery"
            xsize 1340
            spacing 20
            hbox:
                spacing 20
                imagebutton:
                    idle "gui/gallery/sidebanner_holiday.jpg"
                vbox:
                    imagebutton:
                        hover "gui/gallery/h2020_all_hover.jpg"
                        idle "gui/gallery/h2020_all_idle.jpg"
                        action Start("start_halloween")
                    textbutton "{color=#ffffff}{size=30}Halloween 2020{/size}{/color}"
                    imagebutton:
                        hover "gui/gallery/x2020_all_hover.jpg"
                        idle "gui/gallery/x2020_all_idle.jpg"
                        action Start("start_christmas")
                    textbutton "{color=#ffffff}{size=30}Christmas 2020{/size}{/color}"
#                    imagebutton:
#                        idle "gui/gallery/gallery_empty.jpg"
#                    textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
#column 2
                vbox:
                    if True:#persistent.saw_halloween_2020_then: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/h2020_s001_hover.jpg"
                            idle "gui/gallery/h2020_s001_idle.jpg"
                            action Replay("halloween_2020_then", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_halloween_2020_then: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}The First Trick or Treat{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
#                    imagebutton:
#                        idle "gui/gallery/gallery_empty.jpg"
#                    textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
#column 3
                vbox:
                    if True:#persistent.saw_halloween_2020_scene2: #CHEATER!
                        imagebutton:
                            hover "gui/gallery/h2020_s002_hover.jpg"
                            idle "gui/gallery/h2020_s002_idle.jpg"
                            action Replay("halloween_2020_scene2", scope={"player_name":persistent.player_name or "Jack"}, locked=False)
                    else:
                        imagebutton:
                            idle "gui/gallery/gallery_locked.jpg"
                    if True:#persistent.saw_halloween_2020_scene2: #CHEATER!
                        textbutton "{color=#ffffff}{size=30}The Last Halloween{/size}{/color}"
                    else:
                        textbutton "{color=#ffffff}{size=30}Locked{/size}{/color}"
#                    imagebutton:
#                        idle "gui/gallery/gallery_empty.jpg"
#                    textbutton "{color=#ffffff}{size=30}Empty{/size}{/color}"
## This is redefined in options.rpy to add text to the about screen.
