################################################################################
## Initialization
################################################################################

init offset = -1


################################################################################
## Event Helper Functions
################################################################################

init python:

    def event_row(title, label=None, done_flag=None, miss_flag=None, miss_title=None, divider=False, etype=None):
        return {"title": title, "label": label, "done_flag": done_flag, "miss_flag": miss_flag, "miss_title": miss_title, "divider": divider, "etype": etype}

    def render_title(e):
        if e.get("divider"):
            return "-----------------------------------------------------------"
        miss = e.get("miss_flag")
        done = e.get("done_flag")
        if miss and not getattr(renpy.store, done, False) and eval(miss, vars(renpy.store)):
                t = e.get("miss_title")
                return "{color=%s}{s}%s{/s}{/color}" % (MISSED_COLOR, t)
        t = e.get("title") or ""
        etype = e.get("etype")
        c = EVENT_TYPE_COLOR.get(etype)
        if c:
            return "{color=%s}%s{/color}" % (c, t)
        return t

    EVENT_TYPE_COLOR = {
        "lust": "FF85FD",
        "inviteover": "778EFF",
    }

    MISSED_COLOR = "EF1A1A"

    def can_replay(e):
        return e.get("label") and getattr(renpy.store, e.get("done_flag"), False)

    def is_divider(e):
        return bool(e.get("divider"))

default current_event_title = ""

################################################################################
## Event Lists
################################################################################

init python:

    MAIN_EVENTSCH1 = [
        event_row("Every Day I Grow Some More", label="start", done_flag="everyday"),
        event_row("A New You", label="startsleepover", done_flag="clichebath"),
        event_row("Am I Awake?", label="firstfriday", done_flag="amiawake"),
        event_row("First (?) Day of School", label="thefirstclass", done_flag="firstclass"),
        event_row("Slumber Party", label="slumparty", done_flag="sleepover"),
        event_row("The Devil Incarnate", label="day5", done_flag="day5"),
        event_row("Super Secret Sex Dungeon", label="day7", done_flag="day7"),
        event_row("Delinquent", label="day8", done_flag="day8"),
        event_row("Mitochondria", label="day12", done_flag="day12"),
        event_row("Self-Esteem", label="day14", done_flag="day14"),
        event_row("Operation: Fallen Angel", label="day16", done_flag="day16"),
        event_row("I Thought of You", label="day20", done_flag="day20"),
        event_row("Not Even Me", label="day21", done_flag="day21"),
        event_row("No Romeo", label="day24", done_flag="day24"),
        event_row("Outside of Everything", label="day26", done_flag="day26"),
        event_row("Ponytail", label="day28", done_flag="day28"),
        event_row("Drowning", label="day30", done_flag="day30"),
        event_row("So Many Voices", label="day33", done_flag="day33"),
        event_row("Cleaning Duty", label="day36", done_flag="day36"),
        event_row("Walk in the Park", label="day38", done_flag="day38"),
        event_row("Saved by the Bell", label="day40", done_flag="day40"),
        event_row("This Town Has Two Halves", label="day44", done_flag="day44"),
        event_row("Little Girl", label="day48", done_flag="day48"),
        event_row("Missing", label="day50", done_flag="day50"),
        event_row("The Sakakibara Diet", label="day54", done_flag="day54"),
        event_row("Normal Office Visit", label="day56", done_flag="day56"),
        event_row("O World (In Our Final Moments)", label="day60", done_flag="day60"),
        event_row("One to Seven", label="day63", done_flag="day63"),
        event_row("Girl-Talk", label="day65", done_flag="day65"),
        event_row("The 'S' Word", label="day70", done_flag="day70"),
        event_row("Weight Limit", label="day72", done_flag="day72"),
        event_row("Slope Intercept Form", label="day77", done_flag="day77"),
        event_row("Scientific Research", label="day79", done_flag="day79"),
        event_row("Secret Ingredient", label="day80", done_flag="day80"),
        event_row("Parasite", label="day83", done_flag="day83"),
        event_row("Contractions", label="day85", done_flag="day85"),
        event_row("Milk, Eggs, and Water", label="day89", done_flag="day89"),
        event_row("Stronger I Become", label="day91", done_flag="day91"),
        event_row("Recall", label="day96", done_flag="day96"),
        event_row("Rewrite", label="day102", done_flag="day102"),
        event_row("Reset", label="day103", done_flag="day103"),
        event_row("Cursed Birds", label="day110", done_flag="day110"),
        event_row("Human Trafficking", label="day114", done_flag="day114"),
        event_row("Girl Talk Pt. II", label="day120", done_flag="day120"),
        event_row("A Different View", label="day121", done_flag="day121"),
        event_row("On The Bright Side", label="day126", done_flag="day126"),
        event_row("Everything Horrible", label="day128", done_flag="day128"),
        event_row("Erotic Game Protagonist", label="day130", done_flag="day130"),
        event_row("Rumors", label="day138", done_flag="day138"),
        event_row("The Gem of the Emerald Isle", label="day140", done_flag="day140"),
        event_row("Size Matters", label="day142", done_flag="day142"),
        event_row("Tsuneyo Tojo, Stand-up Comedian", label="day144", done_flag="day144"),
        event_row("A Proper Introduction", label="day150", done_flag="day150"),
        event_row("Supreme Overlord", label="day153", done_flag="day153"),
        event_row("Lifting the Curse", label="day154", done_flag="day154"),
        event_row("What's Done is Done", label="beachvacation1", done_flag="beachvacation1"),
        event_row("All Along the Shoreline", label="beachvacation2", done_flag="beachvacation2"),
        event_row("My Heart is Full", label="beachvacation3", done_flag="beachvacation3"),
        event_row("Extra French Fries", label="beachvacation4", done_flag="beachvacation4"),
        event_row("Behind a Bathroom, Under the Blazing Sun", label="beachvacation5", done_flag="beachvacation5"),
        event_row("Three Girls in a Line on the Beach", label="beachvacation6", done_flag="beachvacation6"),
        event_row("The Moon is Beautiful", label="beachvacation7", done_flag="beachvacation7"),
        event_row("The Legacy of Thaum Pt. I", label="beachvacation8", done_flag="beachvacation8"),
        event_row("Summer and Winter", label="beachvacation9", done_flag="beachvacation9"),
        event_row("Where Puppies Roam Free", label="beachvacation10", done_flag="beachvacation10"),
        event_row("Die For What You Believe In", label="beachvacation11", done_flag="beachvacation11"),
        event_row("Reverse Cowgirl", label="beachvacation12", done_flag="beachvacation12"),
        event_row("Smile Guide", label="beachvacation13", done_flag="beachvacation13"),
        event_row("Prayer Position", label="beachvacation14", done_flag="beachvacation14"),
        event_row("Cry. Cry. Cry.", label="beachvacation15", done_flag="beachvacation15"),
        event_row("See You in the Morning", label="beachvacation16", done_flag="beachvacation16"),
        event_row("The Value of Sharing", label="halloween1", done_flag="halloween1"),
        event_row("Guest of Honor", label="halloween2", done_flag="halloween2"),
        event_row("The Meat has Come", label="halloween3", done_flag="halloween3"),
        event_row("Mysterious Abundance of Chickens", label="halloween4", done_flag="halloween4"),
        event_row("Sexy Land", label="halloween5", done_flag="halloween5"),
        event_row("They're Just Lights", label="halloween6", done_flag="halloween6"),
        event_row("Once, Twice, Ten Times", label="halloween7", done_flag="halloween7"),
        event_row("Mechanical Bull", label="halloween8", done_flag="halloween8"),
        event_row("At Least It's Not Christmas", label="halloween9", done_flag="halloween9"),
        event_row("Samhain", label="halloween10", done_flag="halloween10"),
        event_row("Wicked Witch of Kumon-mi", label="halloween11", done_flag="halloween11"),
        event_row("The Depressing Implication of Goosebumps", label="halloween12", done_flag="halloween12"),
        event_row("Pry With a Smile", label="halloween13", done_flag="halloween13"),
        event_row("Kadrillionbilliontrillion", label="halloween14", done_flag="halloween14"),
        event_row("As Loud as a Whisper Can Be", label="day214", done_flag="day214"),
        event_row("Two Wooden Doors", label="day215", done_flag="day215"),
        event_row("Happy Places", label="day216", done_flag="day216"),
        event_row("Tradition", label="day217", done_flag="day217"),
        event_row("Stray Cat", label="day218", done_flag="day218"),
        event_row("There is Nothing", label="day220", done_flag="day220"),
        event_row("Changing of Seasons", label="hoorayanotherreset", done_flag="hoorayanotherreset"),
    ]

    MAIN_EVENTSCH2 = [
        event_row("Snow-Covered Footprints", label="christmas1", done_flag="christmas1"),
        event_row("Patent-Pending", label="christmas2", done_flag="christmas2"),
        event_row("Fuck Christmas", label="christmas3", done_flag="christmas3"),
        event_row("Disappointing Everyone", label="christmas4", done_flag="christmas4"),
        event_row("Bottled Dreams", label="christmas5", done_flag="christmas5"),
        event_row("Christmas Miracle", label="christmas6", done_flag="christmas6"),
        event_row("Fireworks, Chicken, and the Innate Fear of Death", label="christmas7", done_flag="christmas7"),
        event_row("Suicide Pact", label="day237", done_flag="day237"),
        event_row("A Door that People Move Through", label="day239", done_flag="day239"),
        event_row("Uta's Last Stand", label="day240", done_flag="day240"),
        event_row("Opposites Attract", label="day244", done_flag="day244"),
        event_row("All Kinds of People, All Kinds of Things", label="day246", done_flag="day246"),
        event_row("Caterpillar", label="day247", done_flag="day247"),
        event_row("Let Me Die in Spring", label="day261", done_flag="day261"),
        event_row("There's Always a Chance", label="day263", done_flag="day263"),
        event_row("Forty Degrees Below Zero", label="day264", done_flag="day264"),
        event_row("What Could Have Been", label="day269", done_flag="day269"),
        event_row("What Is", label="day270", done_flag="day270"),
        event_row("What Was", label="day271", done_flag="day271"),
        event_row("Annabel Lee", label="day280", done_flag="day280"),
        event_row("Yuritopia", label="day281", done_flag="day281"),
        event_row("Birdcage", label="day282", done_flag="day282"),
        event_row("Survive! Grow!", label="day283", done_flag="day283"),
        event_row("Another Long Year", label="day287", done_flag="day287"),
        event_row("Adult Supervision", label="day288", done_flag="day288"),
        event_row("The WAP Man", label="day295", done_flag="day295"),
        event_row("The Color of a Heart", label="day295parttwo", done_flag="day295parttwo"),
        event_row("Call Me By Your Name", label="day297", done_flag="day297"),
        event_row("Lives and Minds of Laymen", label="day302", done_flag="day302"),
        event_row("Sounds of Cicadas", label="day303", done_flag="day303"),
        event_row("Horses or the Whispers of the Dead", label="day304", done_flag="day304"),
        event_row("Operation: Firestarter", label="day318", done_flag="day318"),
        event_row("Super Mega Ultimate Dorm War!", label="dormwar1", done_flag="dormwar1"),
        event_row("Pre-Game Show!", label="dormwar2", done_flag="dormwar2"),
        event_row("Imouto Mode!", label="dormwar3", done_flag="dormwar3"),
        event_row("Alive & Active! All Out Athletics!", label="dormwar4", done_flag="dormwar4"),
        event_row("Friend Zone Fight!", label="dormwar5", done_flag="dormwar5"),
        event_row("Sphenopalatine Ganglioneuralgia", label="dormwar6", done_flag="dormwar6"),
        event_row("Ruthless Rhyme Rhomp! Rap Rampage!", label="dormwar7", done_flag="dormwar7"),
        event_row("Chaperone", label="dormwar8", done_flag="dormwar8"),
        event_row("Why Now?", label="dormwar9", done_flag="dormwar9"),
        event_row("In Some Cases, Love", label="dormwar10", done_flag="dormwar10"),
        event_row("The Legacy of Thaum Pt. Z: Alentha Amastacia", label="dormwar11", done_flag="dormwar11"),
        event_row("Us", label="dormwar12", done_flag="dormwar12"),
        event_row("First Last Date", label="dormwar13", done_flag="dormwar13"),
        event_row("The Scary Room", label="dormwar14", done_flag="dormwar14"),
        event_row("Fallen Angels", label="dormwar15", done_flag="dormwar15"),
        event_row("Post-Game Celebration!", label="dormwar16", done_flag="dormwar16"),
        event_row("War's End", label="dormwar17", done_flag="dormwar17"),
        event_row("Record Breaker", label="day333", done_flag="day333"),
        event_row("Lesbian Stuff", label="day333part2", done_flag="day333part2"),
        event_row("Mana Transfer", label="day340", done_flag="day340"),
        event_row("The Price of Experience", label="day344", done_flag="day344"),
        event_row("Word of the Day", label="thirdreset1", done_flag="thirdreset1"),
        event_row("Backwards Dancing", label="thirdreset2", done_flag="thirdreset2"),
        event_row("Sayonara", label="thirdreset3", done_flag="thirdreset3"),
        event_row("Food Groups", label="day351", done_flag="day351"),
        event_row("Permission Slip", label="day355", done_flag="day355"),
        event_row("Good Morning", label="secondbeach1", done_flag="secondbeach1"),
        event_row("Egg Tossing", label="secondbeach2", done_flag="secondbeach2"),
        event_row("De-Briefing the Teacher", label="secondbeach3", done_flag="secondbeach3"),
        event_row("TPK (Banana Boat)", label="secondbeach4", done_flag="secondbeach4"),
        event_row("The Next Best Thing", label="secondbeach5", done_flag="secondbeach5"),
        event_row("The Yellow Wallpaper", label="secondbeach6", done_flag="secondbeach6"),
        event_row("Everything Ephemeral (Face Forward)", label="secondbeach7", done_flag="secondbeach7"),
        event_row("The Legacy of Thaum Pt. III: Changeling", label="secondbeach8", done_flag="secondbeach8"),
        event_row("Alderaan", label="secondbeach9", done_flag="secondbeach9"),
        event_row("Torrential Downpour. Child of Man.", label="secondbeach10", done_flag="secondbeach10"),
        event_row("Getting Comfortable", label="secondbeach11", done_flag="secondbeach11"),
        event_row("Left Out in Light", label="secondbeach12", done_flag="secondbeach12"),
        event_row("We Were Angels", label="secondbeach13", done_flag="secondbeach13"),
        event_row("Lavender's Blue", label="secondbeach14", done_flag="secondbeach14"),
        event_row("Pluto Was Never Really a Planet", label="secondbeach15", done_flag="secondbeach15"),
        event_row("Try. Try. Try.", label="secondbeach16", done_flag="secondbeach16"),
        event_row("Goodnight", label="secondbeach17", done_flag="secondbeach17"),
        event_row("All is Bright. All is Beautiful.", label="secondbeach18", done_flag="secondbeach18"),
        event_row("Girls in Spandex", label="halloweentwo1", done_flag="halloweentwo1"),
        event_row("Butterfly Facts", label="halloweentwo2", done_flag="halloweentwo2"),
        event_row("Immernachtreich", label="halloweentwo3", done_flag="halloweentwo3"),
        event_row("Take Me Anywhere", label="halloweentwo4", done_flag="halloweentwo4"),
        event_row("Anglerfish", label="halloweentwo5", done_flag="halloweentwo5"),
        event_row("Porcelain Labyrinth", label="halloweentwo6", done_flag="halloweentwo6"),
        event_row("The First Signs of Fraying Threads", label="halloweentwo7", done_flag="halloweentwo7"),
        event_row("Official Unofficial Double Date", label="halloweentwo8", done_flag="halloweentwo8"),
        event_row("In Circles", label="halloweentwo9", done_flag="halloweentwo9"),
        event_row("Escape Rope", label="halloweentwo10", done_flag="halloweentwo10"),
        event_row("Lavender's Green", label="halloweentwo11", done_flag="halloweentwo11"),
        event_row("Gallows Edge", label="halloweentwo12", done_flag="halloweentwo12"),
        event_row("Metal in Microwaves", label="halloweentwo13", done_flag="halloweentwo13"),
        event_row("Three Amigos", label="christmastwo1", done_flag="christmastwo1"),
        event_row("The Reliable and Totally Legitimate Princess Imani", label="christmastwo2", done_flag="christmastwo2"),
        event_row("Room to Grow", label="christmastwo3", done_flag="christmastwo3"),
        event_row("Dodging Snowflakes", label="christmastwo4", done_flag="christmastwo4"),
        event_row("Everything Evil", label="christmastwo5", done_flag="christmastwo5"),
        event_row("Tokimeki Labyrinth", label="christmastwo6", done_flag="christmastwo6"),
        event_row("Love Set to Max (Class Warfare)", label="christmastwo7", done_flag="christmastwo7"),
        event_row("Dohoonkabhankoloos", label="christmastwo8", done_flag="christmastwo8"),
        event_row("Fear of Missing Out", label="christmastwo9", done_flag="christmastwo9"),
        event_row("Walking on Eggshells", label="christmastwo10", done_flag="christmastwo10"),
        event_row("New Age Entrepreneurs", label="christmastwo11", done_flag="christmastwo11"),
        event_row("The Smile, The Face", label="christmastwo12", done_flag="christmastwo12"),
        event_row("Shadowmeld", label="christmastwo13", done_flag="christmastwo13"),
        event_row("Chashu (A Cracked Bowl)", label="christmastwo14", done_flag="christmastwo14"),
        event_row("A Way's Away", label="christmastwo15", done_flag="christmastwo15"),
        event_row("No Escape", label="christmastwo16", done_flag="christmastwo16"),
        event_row("Spotless Mind", label="christmastwo17", done_flag="christmastwo17"),
        event_row("Me Without You", label="christmastwo18", done_flag="christmastwo18"),
        event_row("The Color White", label="christmastwo19", done_flag="christmastwo19"),
        event_row("Glued to the Sky", label="christmastwo20", done_flag="christmastwo20"),
        event_row("The Light of Last Summer", label="returntosummer1", done_flag="returntosummer1"),
        event_row("A Life of Prizes", label="returntosummer2", done_flag="returntosummer2"),
        event_row("Utinam Ne Illum Numquam Conspexissem", label="returntosummer3", done_flag="returntosummer3"),
    ]

    MAIN_EVENTSCH3 = [
        event_row("The Virgin of the Apocalypse", label="chapthree1", done_flag="chapthree1"),
        event_row("Memories", label="chapthree2", done_flag="chapthree2"),
        event_row("Empty Eyes", label="chapthree3", done_flag="chapthree3"),
        event_row("The Great Migration", label="chapthree4", done_flag="chapthree4"),
        event_row("Creatures of Habit", label="chapthree5", done_flag="chapthree5"),
        event_row("Everything Everywhere All At Once", label="chapthree6", done_flag="chapthree6"),
        event_row("Normal-ish", label="chapthree7", done_flag="chapthree7"),
        event_row("Life is Changing", label="chapthree8", done_flag="chapthree8"),
        event_row("Dead in the Water", label="yumichikaspecial1", done_flag="yumichikaspecial1"),
        event_row("The Road to Recovery", label="yumiyukispecial1", done_flag="yumiyukispecial1"),
        event_row("No Strings Attached", label="imanispecial1", done_flag="imanispecial1"),
        event_row("Metronome In Love", label="rikaspecial1", done_flag="rikaspecial1"),
        event_row("Grief Seed", label="day543", done_flag="day543"),
        event_row("A Walk Through Hell", label="dormwartwo1", done_flag="dormwartwo1"),
        event_row("Dorm War II: Pre-Game Show", label="dormwartwo2", done_flag="dormwartwo2"),
        event_row("A Frame on a Shelf in a House", label="dormwartwo3", done_flag="dormwartwo3"),
        event_row("Gamer Girl Grindfest", label="dormwartwo4", done_flag="dormwartwo4"),
        event_row("Hiding in Plain Sight", label="dormwartwo5", done_flag="dormwartwo5"),
        event_row("She Is", label="dormwartwo6", done_flag="dormwartwo6"),
        event_row("Burden to Bear", label="dormwartwo7", done_flag="dormwartwo7"),
        event_row("Everyone", label="dormwartwo8", done_flag="dormwartwo8"),
        event_row("Midnight Mom Mosh", label="dormwartwo9", done_flag="dormwartwo9"),
        event_row("The Way it Scatters", label="dormwartwo10", done_flag="dormwartwo10"),
        event_row("Misfit Maid Madness", label="dormwartwo11", done_flag="dormwartwo11"),
        event_row("Somewhere Far From Here", label="dormwartwo12", done_flag="dormwartwo12"),
        event_row("Swimming With Sharks", label="dormwartwo13", done_flag="dormwartwo13"),
        event_row("Remove Curse", label="dormwartwo14", done_flag="dormwartwo14"),
        event_row("The Cracking of the Egg (Nothing is Beautiful)", label="dormwartwo15", done_flag="dormwartwo15"),
        event_row("World of Lines", label="dormwartwo16", done_flag="dormwartwo16"),
        event_row("Popping Off", label="dormwartwo17", done_flag="dormwartwo17"),
        event_row("Tip Your Bartender", label="dormwartwo18", done_flag="dormwartwo18"),
        event_row("Redeemer", label="dormwartwo19", done_flag="dormwartwo19"),
        event_row("Walk Into the Water", label="beachmas1", done_flag="beachmas1"),
        event_row("Imaginary Veins", label="beachmas2", done_flag="beachmas2"),
        event_row("Friends (The Maya Route)", label="beachmas3", done_flag="beachmas3"),
        event_row("Chandler's Law", label="beachmas4", done_flag="beachmas4"),
        event_row("The Chains That Bind", label="beachmas5", done_flag="beachmas5"),
        event_row("No Cumming on Christmas", label="beachmas6", done_flag="beachmas6"),
        event_row("Fetch Quest", label="beachmas7", done_flag="beachmas7"),
        event_row("A Thousand Truths", label="beachmas8", done_flag="beachmas8"),
        event_row("The Bending of Italics", label="beachmas9", done_flag="beachmas9"),
        event_row("Treasured", label="beachmas10", done_flag="beachmas10"),
        event_row("いないいない。。。ばあ！", label="beachmas11", done_flag="beachmas11"),
        event_row("Robin Hood", label="beachmas12", done_flag="beachmas12"),
        event_row("The Legacy of Thaum Pt. IV", label="beachmas13", done_flag="beachmas13"),
        event_row("On The Fence", label="beachmas14", done_flag="beachmas14"),
        event_row("To the Future With a Smile", label="beachmas15", done_flag="beachmas15"),
        event_row("Neverender", label="beachmas16", done_flag="beachmas16"),
        event_row("Moon-Touched", label="beachmas17", done_flag="beachmas17"),
        event_row("Smells of Summer", label="beachmas18", done_flag="beachmas18"),
        event_row("I Will Deliver You to the Fireflies", label="beachmas19", done_flag="beachmas19"),
        event_row("Shelter", label="beachmas20", done_flag="beachmas20"),
        event_row("To Catch Me If I Fall", label="slumberreset1", done_flag="slumberreset1"),
        event_row("Approximation", label="slumberreset2", done_flag="slumberreset2"),
        event_row("December 28, 2020 (Clay & Clockwork)", label="slumberreset3", done_flag="slumberreset3"),
        event_row("Untitled", label="slumberreset4", done_flag="slumberreset4"),
        event_row("A Thousand Years", label="slumberreset5", done_flag="slumberreset5"),
        event_row("White-Fronted Parrot", label="postnodokachain1", done_flag="postnodokachain1"),
        event_row("First Contact", label="treasureisland", done_flag="treasureisland"),
        event_row("All For You", label="amispecial50mainp1", done_flag="amispecial50mainp1"),
        event_row("From the Desk of the Ninth God", label="amispecial50mainp2", done_flag="amispecial50mainp2"),
        event_row("May the Winter Come", label="predormwars3", done_flag="predormwars3"),
        event_row("Boner on the Bus", label="beachwars1", done_flag="beachwars1"),
        event_row("When You Snap", label="beachwars2", done_flag="beachwars2"),
        event_row("Until My Back is Broken", label="beachwars3", done_flag="beachwars3"),
        event_row("The Rest of Me", label="beachwars4", done_flag="beachwars4"),
        event_row("Hyzenthlay", label="beachwars5", done_flag="beachwars5"),
        event_row("More Human Than Human", label="beachwars6", done_flag="beachwars6"),
        event_row("Eyes Closed, Chin Up", label="beachwars7", done_flag="beachwars7"),
        event_row("Sexy Swimsuit Showdown", label="beachwars8", done_flag="beachwars8"),
        event_row("Fairytale (The End Until Tomorrow)", label="beachwars9", done_flag="beachwars9"),
        event_row("Monsters", label="beachwars10", done_flag="beachwars10"),
        event_row("Pairs in Different Places", label="beachwars11", done_flag="beachwars11"),
        event_row("Forbidden Artistry", label="beachwars12", done_flag="beachwars12"),
        event_row("Too Many Cooks", label="beachwars13", done_flag="beachwars13"),
        event_row("Judgement Day", label="beachwars14", done_flag="beachwars14"),
        event_row("Mother May I", label="beachwars15", done_flag="beachwars15"),
        event_row("Cicadian Rhythm (The Gardener)", label="beachwars16", done_flag="beachwars16"),
        event_row("Bidder's Organs", label="beachwars17intro", done_flag="beachwars17", miss_flag="beachwars17skip", miss_title="Bitter Organs"),
        event_row("Flowerchild", label="beachwars18", done_flag="beachwars18"),
        event_row("Danger to Society", label="beachwars19", done_flag="beachwars19"),
        event_row("Eggside Octopus", label="halloweenfour1", done_flag="halloweenfour1"),
        event_row("The Tenth Step", label="halloweenfour2", done_flag="halloweenfour2"),
        event_row("BONE-TOWN", label="halloweenfour3", done_flag="halloweenfour3"),
        event_row("Try Honesty", label="halloweenfour4", done_flag="halloweenfour4"),
        event_row("Heartache", label="halloweenfour5", done_flag="halloweenfour5"),
        event_row("The King of Thebes", label="halloweenfour6", done_flag="halloweenfour6"),
        event_row("Our Fathers", label="halloweenfour7", done_flag="halloweenfour7"),
        event_row("Eighth Eye of the Wolf Spider", label="halloweenfour8", done_flag="halloweenfour8"),
        event_row("Childspawn", label="halloweenfour9", done_flag="halloweenfour9"),
        event_row("An Excerpt From a Waterlogged Journal", label="halloweenfour10", done_flag="halloweenfour10"),
        event_row("Party Animal", label="halloweenfour11", done_flag="halloweenfour11"),
        event_row("Girls Just Want to Have Fun", label="halloweenfour12", done_flag="halloweenfour12"),
        event_row("Happy Memories", label="halloweenfour13", done_flag="halloweenfour13"),
        event_row("For More Than Just Me", label="halloweenfour14", done_flag="halloweenfour14"),
        event_row("I Won't Say I'm In Love", label="halloweenfour15", done_flag="halloweenfour15"),
        event_row("The End of the World", label="halloweenfour16", done_flag="halloweenfour16"),
        event_row("Times New Roman", label="resetsix1", done_flag="resetsix1"),
        event_row("Paper City", label="resetsix2", done_flag="resetsix2"),
        event_row("Meant to Be", label="resetsix3", done_flag="resetsix3"),
        event_row("Remember to Smile", label="resetsix4", done_flag="resetsix4"),
    ]

    MAIN_EVENTSCH4 = [
        event_row("The Collector", label="springtime1", done_flag="springtime1"),
        event_row("On the Count of Three", label="springtime2", done_flag="springtime2"),
        event_row("Not the Nightingale", label="springtime3", done_flag="springtime3"),
        event_row("Silver & Gold", label="springtime4", done_flag="springtime4"),
        event_row("November 1st", label="springtime5", done_flag="springtime5"),
        event_row("Visibly Impatient", label="springtime6", done_flag="springtime6"),
        event_row("The Final Human on the Face of the Earth", label="springtime7", done_flag="springtime7"),
        event_row("Actual Jesus Quotes", label="springtime8", done_flag="springtime8"),
        event_row("In Regard to the Peony", label="springtime9", done_flag="springtime9"),
        event_row("When the Sun Sleeps", label="springtime10", done_flag="springtime10"),
        event_row("Hunger Games", label="springtime11", done_flag="springtime11"),
        event_row("Shut Up & Kiss", label="springtime12", done_flag="springtime12"),
        event_row("Death (And Other Sad Stuff)", label="springtime13", done_flag="springtime13"),
        event_row("The Legacy of Thaum Pt. V: The Faceless Empyrean", label="springtime14", done_flag="springtime14"),
        event_row("Goodnight Moon", label="springtime15", done_flag="springtime15"),
        event_row("Your Blood in Spring", label="springtime16", done_flag="springtime16"),
        event_row("Rhythm of a Black Heart", label="springtime17", done_flag="springtime17"),
        event_row("You & Me Against the World", label="springtime18", done_flag="springtime18"),
        event_row("Miserably Ever After", label="springtime19", done_flag="springtime19"),
        event_row("Episcopalis: Pickled Plums & Polyrhythmic Psalms", label="springend1", done_flag="springend1"),
        event_row("Okonomiyaki", label="springend2", done_flag="springend2"),
        event_row("500 Channels", label="springend3", done_flag="springend3"),
        event_row("Wild Boar", label="springend4", done_flag="springend4"),
        event_row("All Eyes On Me", label="springend5", done_flag="springend5"),
        event_row("War Never Changes: Egg Time Madness", label="sportswars3", done_flag="sportswars3"),
        event_row("Shohei Ohtani", label="sportswars4", done_flag="sportswars4"),
        event_row("Sea of Balls (Wise Turtle)", label="sportswars6", done_flag="sportswars6"),
        event_row("Cock Party 2 (Better Than The First)", label="sportswars7", done_flag="sportswars7"),
        event_row("Flowers & Forklifts", label="sportswars8", done_flag="sportswars8"),
        event_row("David Beckham's Large Banana", label="sportswars11", done_flag="sportswars11"),
        event_row("Mr. Bones' Wild Ride", label="sportswars12", done_flag="sportswars12"),
        event_row("Priestess of Fallen Snow", label="sportswars13", done_flag="sportswars13"),
        event_row("Trauma Bond", label="sportswars15", done_flag="sportswars15"),
        event_row("Irregular Heartbeat", label="sportswars16", done_flag="sportswars16"),
        event_row("Happy", label="sportswars20", done_flag="sportswars20"),
        event_row("From The Heart (Red Shell)", label="beachfive1", done_flag="beachfive1"),
        event_row("Monkey's Paw", label="beachfive2", done_flag="beachfive2"),
        event_row("Operation: Sleepytime", label="beachfive4", done_flag="beachfive4"),
        event_row("Sod in the Seedbed", label="beachfive5", done_flag="beachfive5"),
        event_row("Recycling", label="beachfive7", done_flag="beachfive7"),
        event_row("Albatross", label="beachfive11", done_flag="beachfive11"),
        event_row("Pros, Cons, and Countermeasures", label="beachfive12", done_flag="beachfive12"),
        event_row("Perfect Harmony", label="beachfive16", done_flag="beachfive16"),
        event_row("Rubik’s Cube", label="halloweenfive1", done_flag="halloweenfive1"),
        event_row("More Than Her", label="halloweenfive2", done_flag="halloweenfive2"),
        event_row("Action/Inaction", label="halloweenfive3", done_flag="halloweenfive3"),
        event_row("Empty Heart Appeal", label="halloweenfive4", done_flag="halloweenfive4"),
        event_row("The Art of Tribadism", label="halloweenfive5", done_flag="halloweenfive5"),
        event_row("Four Walls, A Garden", label="halloweenfive6", done_flag="halloweenfive6"),
        event_row("SENSEI-QUEST", label="halloweenfive7", done_flag="halloweenfive7"),
        event_row("Restart", label="endofgameworld", done_flag="halloweenfive8"),
        event_row("Recap", label="halloweenfive9", done_flag="halloweenfive9"),
        event_row("Yellow Patch (Heaven in My Hands)", label="halloweenfive10", done_flag="halloweenfive10"),
        event_row("Episcopalis: A Hymn for Him and She and Her", label="halloweenfive11", done_flag="halloweenfive11"),
        event_row("Sigma Grindset", label="halloweenfive12", done_flag="halloweenfive12"),
        event_row("All Around the Mulberry Bush", label="halloweenfive13", done_flag="halloweenfive13"),
        event_row("Pop Goes the Weasel", label="halloweenfive14", done_flag="halloweenfive14"),
        event_row("God of Light", label="halloweenfive15", done_flag="halloweenfive15"),
        event_row("Sonny Boy & The Magnificent Waiting Room", label="halloweenfive16", done_flag="halloweenfive16"),
        event_row("What We’ll See When We Get There", label="halloweenfive17", done_flag="halloweenfive17"),
        event_row("Aunt Niki (A Hundred Christmases)", label="christmasfive1", done_flag="christmasfive1"),
        event_row("Caught in the Crossfire", label="christmasfive2", done_flag="christmasfive2"),
        event_row("The Legacy of Thaum Pt. VI: Thought Mirror", label="christmasfive3", done_flag="christmasfive3"),
        event_row("DON’T TALK TO MONKS", label="christmasfive4", done_flag="christmasfive4"),
        event_row("The One With All the Sex Toys", label="christmasfive5", done_flag="christmasfive5"),
        event_row("Seed of Self-Doubt", label="christmasfive6", done_flag="christmasfive6"),
        event_row("Even Heaven", label="christmasfive7", done_flag="christmasfive7"),
        event_row("Post-Nut Clarity", label="christmasfive8", done_flag="christmasfive8"),
        event_row("Prepare For Battle!", label="dormwarsfive1", done_flag="dormwarsfive1"),
        event_row("Poetry At Best", label="dormwarsfive2", done_flag="dormwarsfive2"),
        event_row("Beach(?) Babe Breakfast Barrage!", label="dormwarsfive3", done_flag="dormwarsfive3"),
        event_row("Dungeons & Divas! Normies Gone Nerdy!", label="dormwarsfive4", done_flag="dormwarsfive4"),
        event_row("Talentless & Talkative! Trivia Turmoil!", label="dormwarsfive5", done_flag="dormwarsfive5"),
        event_row("Sweet Joy Befall Thee! Be Nice to Sensei Battle!", label="dormwarsfive6", done_flag="dormwarsfive6"),
        event_row("Shadow Word: Death Ball", label="dormwarsfive7", done_flag="dormwarsfive7"),
        event_row("Lovely Lawyers & The Laws of...Love!", label="dormwarsfive8", done_flag="dormwarsfive8"),
        event_row("Silhouettes of Scorned Princesses", label="dormwarsfive9", done_flag="dormwarsfive9"),
        event_row("A Ghost's Guide on Haunting", label="dormwarsfive10", done_flag="dormwarsfive10"),
        event_row("Strippers? No! Swimsuits! (Pool-Toucher)", label="dormwarsfive11", done_flag="dormwarsfive11"),
        event_row("Goth Girl Glamour Gala!", label="dormwarsfive12", done_flag="dormwarsfive12"),
        event_row("And Then There Were Two", label="dormwarsfive13", done_flag="dormwarsfive13"),
        event_row("John 13 (From God to God)", label="nodokathontwo1", done_flag="nodokathontwo1", miss_flag="nodokathontwo1miss", miss_title="New Commandments"),
        event_row("Genesis 19 (Pillars of Salt)", label="nodokathontwo2", done_flag="nodokathontwo2", miss_flag="nodokathontwo2miss", miss_title="Zoar in Flames"),
        event_row("Thessalonians 4 (Lust Like the Pagans)", label="nodokathontwo3", done_flag="nodokathontwo3", miss_flag="nodokathontwo3miss", miss_title="The Trumpet Call of God"),
        event_row("Partial to Jasmine", label="dormwarsfive14", done_flag="dormwarsfive14"),
        event_row("The Legacy of Thaum (On a Bus)", label="beachsix1", done_flag="beachsix1"),
        event_row("Natural Instinct", label="beachsix2", done_flag="beachsix2"),
        event_row("Buyer's Remorse (Suicide Fund)", label="beachsix3", done_flag="beachsix3"),
        event_row("Peregrine Falcon", label="beachsix4", done_flag="beachsix4"),
        event_row("Pulling Ahead", label="beachsix5", done_flag="beachsix5"),
        event_row("Cities in Gifu", label="beachsix6", done_flag="beachsix6"),
        event_row("Flowers for Algernon", label="beachsix7", done_flag="beachsix7"),
        event_row("Into the Void", label="beachsix8", done_flag="beachsix8"),
        event_row("Behind the Scenes", label="undeservedfuture11", done_flag="undeservedfuture11"),
        event_row("The Web This World Has Spun", label="undeservedfuture12", done_flag="undeservedfuture12"),
        event_row("Engagement Farming", label="undeservedfuture13", done_flag="undeservedfuture13"),
        event_row("Wind Chime", label="undeservedfuture14", done_flag="undeservedfuture14"),
        event_row("F4972-B", label="undeservedfuture15", done_flag="undeservedfuture15"),
        event_row("Last Supper", label="undeservedfuture16", done_flag="undeservedfuture16"),
        event_row("All That's Left Are Stars", label="undeservedfuture17", done_flag="undeservedfuture17"),
        event_row("The First Christmalloween", label="undeservedfuture18", done_flag="undeservedfuture18"),
        event_row("Double-Bestiality", label="christmalloween1", done_flag="christmalloween1"),
        event_row("Pattern Recognition", label="christmalloween2", done_flag="christmalloween2", miss_flag="christmalloween2miss", miss_title="Burn the Arboretum"),
        event_row("Pen & Paper", label="christmalloween3", done_flag="christmalloween3"),
        event_row("The Forest (For the Trees)", label="christmalloween4", done_flag="christmalloween4"),
        event_row("A Game of Our Own", label="christmalloween5", done_flag="christmalloween5"),
        event_row("Hot Father Juice", label="christmalloween6", done_flag="christmalloween6"),
        event_row("A Vivid Explosion of Color", label="springtimesadness1", done_flag="springtimesadness1"),
        event_row("The Touch of God", label="springtimesadness2", done_flag="springtimesadness2"),
        event_row("One Man's Hell", label="dormwarssix1", done_flag="dormwarssix1"),
        event_row("Athletics Abound! Keep in Shape With Karin!", label="dormwarssix2", done_flag="dormwarssix2"),
        event_row("Kaori's Chaotic Cooking Class!", label="dormwarssix3", done_flag="dormwarssix3"),
        event_row("Familial Face-Off!", label="dormwarssix4", done_flag="dormwarssix4"),
        event_row("Amplified Artistry! Drawing With Nao-chan!", label="dormwarssix5", done_flag="dormwarssix5"),
        event_row("Think Fast! Flirt Faster!", label="dormwarssix6", done_flag="dormwarssix6"),
        event_row("Trivial Trivia on Topical Topics!", label="dormwarssix7", done_flag="dormwarssix7"),
        event_row("Teenage Teacher Takedown!", label="dormwarssix8", done_flag="dormwarssix8"),
        event_row("Sea of Balls 2: Electric Boogaloo", label="dormwarssix9", done_flag="dormwarssix9"),
        event_row("Barista Beatdown: Revenge of the White People!", label="dormwarssix10", done_flag="dormwarssix10"),
        event_row("Mabby Dick (Sweetmeats for My Dolphin)", label="dormwarssix11", done_flag="dormwarssix11"),
        event_row("The Infinite Common Route", label="dormwarssix12", done_flag="dormwarssix12"),
        event_row("Vault of Glass", label="postwarsix1", done_flag="postwarsix1"),
        event_row("Make Me Into Gyoza", label="beachseven1", done_flag="beachseven1"),
        event_row("Male-Enhancement", label="beachseven2", done_flag="beachseven2"),
        event_row("Shaken, Not Stirred", label="beachseven3", done_flag="beachseven3"),
        event_row("A Night of Just One Prize This Time", label="beachseven4intro", done_flag="beachseven4"),
        event_row("The End Complete", label="beachseven5", done_flag="beachseven5"),
    ]

    SECRET_EVENTS = [
        event_row("The Room With Clocks", label="roomwithclocks", done_flag="roomwithtrack"),
        event_row("The Letter 'T'", label="lettert", done_flag="letterttrack"),
        event_row("Swim Trip", label="swimming", done_flag="swimmingtrack", miss_flag="amidorm10 and not amifingered", miss_title="You Don't Love Me, Do You?"),
        event_row("How I Feel", label="howifeel", done_flag="howifeeltrack"),
        event_row("Everything is Connected", label="everythingisconnected", done_flag="connecttrack", miss_flag="day103 and not connecttrack", miss_title="Nothing is Beautiful"),
        event_row("Turn Off The Lights", label="specialclassroom", done_flag="specialclassroomtrack", miss_flag="amisroom15 and not amifingered", miss_title="List the Things You Love"),
        event_row("Tick Tock Tick Tock Tick Tock", label="ticktock", done_flag="ticktocktrack"),
        event_row("Trinity Pt. I: Stations of the Cross", label="trinity1", done_flag="trinity1track"),
        event_row("Trinity Pt. II: Hell is Empty", label="trinity2", done_flag="trinity2track"),
        event_row("Trinity Pt. III: Non Est Deus", label="trinity3", done_flag="trinity3track"),
        event_row("Baby Finches", label="babyfinches", done_flag="babyfinches", miss_flag="not babyfinches and hoorayanotherreset", miss_title="A Time When Things Were Horrible"),
        event_row("Something Everyone Knows and Ignores", label="kindergartenclass", done_flag="lesson1", miss_flag="not lesson1 and thirdreset1", miss_title="LET ME OUT"),
        event_row("Good Boy", label="goodboy", done_flag="goodboy", miss_flag="sarabar25p2 and not anewkey and not goodboy", miss_title="Bad Boy"),
        event_row("Lamb Legs", label="specialbonusamiscene", done_flag="lamblegs", miss_flag="returntosummer2 and not anewkey", miss_title="Ground Into Nothing"),
        event_row("Second Sun", label="bucketscene", done_flag="buckettrack"),
        event_row("Mother's Milk", label="mothersmilk", done_flag="mothersmilk", miss_flag="mothersmiss", miss_title="Overlooked"),
        event_row("Amy", label="amyevent", done_flag="amyevent"),
        event_row("Rain King", label="rainking", done_flag="rainking", miss_flag="rainkingmiss", miss_title="Drought God"),
        event_row("Arms Bent Back", label="armsbentback", done_flag="armsbenttrack", miss_flag="armsbentmiss", miss_title="Lost in the Red Room"),
        event_row("Kyoto", label="postfreddeathscene", done_flag="kyotoevent", miss_flag="kyotomiss", miss_title="No One Leaves This City"),
        event_row("Alexisthymia", label="alexisevent", done_flag="persistent.alexisevent"),
        event_row("Sally Sells Seashells", label="swimtrip2", done_flag="swimtrip2", miss_flag="swimtrip2miss", miss_title="Sally is Homeless"),
    ]

    AMI_EVENTS = [
        event_row("Harem Tutorial", label="firsttimeamisroom", done_flag="firsttimeamisroom"),
        event_row("Uninvited", label="amifirsthall", done_flag="amifirsthall"),
        event_row("The Queen of Spiders", label="amisroom5", done_flag="amisroom5"),
        event_row("Home Away From Home", label="amidorm5", done_flag="amidorm5"),
        event_row("Something Darker", label="amisroom10", done_flag="amisroom10"),
        event_row("Couple's Discount (Sea of Diamonds)", label="aminew1", done_flag="aminew1"),
        event_row("Ode to a Marsh Warbler", label="aminew2", done_flag="aminew2"),
        event_row("No One Can See Us", label="amidorm10", done_flag="amidorm10"),
        event_row("Walking on Air", label="day98", done_flag="day98", miss_flag="amidorm10 and not amifingered", miss_title="Falling, Falling, Falling", etype="lust"),
        event_row("Back Out in the Heat", label="amidorm15", done_flag="amidorm15"),
        event_row("Important Things", label="amisroom15", done_flag="amisroom15"),
        event_row("Wake Up Call", label="amilust10", done_flag="amilust10", miss_flag="beachvacation16 and not amilust10", miss_title="Sleep Forever", etype="lust"),
        event_row("Cute Girls and Stuff", label="amisroom20", done_flag="amisroom20"),
        event_row("Divergence", label="amidorm20", done_flag="amidorm20"),
        event_row("Such Small Hands", label="amisroom25", done_flag="amisroom25", miss_flag="amidorm20 and not amifingered", miss_title="Ghosts in the Walls"),
        event_row("Everlasting Love", label="amidorm25", done_flag="amidorm25"),

        event_row("", divider=True),

        event_row("Living", label="amiinvite1", done_flag="amiinvite1", etype="inviteover"),
        event_row("Rising to the Challenge", label="amiinvite2", done_flag="amiinvite2", miss_flag="amiinvite2miss", miss_title="Failing at Everything", etype="inviteover"),
        event_row("Best Friends Forever", label="amiinvite3", done_flag="amiinvite3", etype="inviteover"),
        event_row("Third Place", label="amimaid30", done_flag="amimaid30"),
        event_row("The Big Sleep (Cute Girl Magic)", label="amidate35", done_flag="amidate35"),
        event_row("Heaven for Human Blood", label="amidorm40", done_flag="amidorm40", miss_flag="amidorm40miss", miss_title="A Horse Misused"),
        event_row("As Light as Air", label="amilust15", done_flag="amilust15", miss_flag="amilust15skip", miss_title="Does She Remind You?", etype="lust"),
        event_row("Conscious or Not", label="amilust20", done_flag="amilust20", miss_flag="amilust20skip", miss_title="A Hallway Full of Eyes", etype="lust"),
        event_row("Outcry of the Hunted Hare", label="amidate50", done_flag="amidate50"),
        event_row("Fruits of the Two Seasons", label="amidate50p2", done_flag="amidate50p2"),
        event_row("My Life With You", label="amidate50p3", done_flag="amidate50p3"),
        event_row("Somnambula", label="amidate50p4", done_flag="amidate50p4"),

        event_row("", divider=True),

        event_row("No One Can Hear Us", label="amilust35", done_flag="amilust35", miss_flag="amilust35skip", miss_title="Splat", etype="lust"),
        event_row("Not Safe For Work", label="amimaid50", done_flag="amimaid50"),
        event_row("Mama's Girl", label="amiinvite4", done_flag="amiinvite4", etype="inviteover"),
        event_row("Worry Not, The Mason Jar", label="amispecial50", done_flag="amispecial50"),
        event_row("Family Matters", label="amilust50", done_flag="amilust50", miss_flag="amilust50skip", miss_title="Fucking Die You Piece of Shit", etype="lust"),

        event_row("", divider=True),

        event_row("The Caretaker", label="amilust60", done_flag="amilust60", miss_flag="amilust60skip", miss_title="Bucket, Bucket, Lovely Old Bucket", etype="lust"),
        event_row("Della", label="amispring1", done_flag="amispring1"),
        event_row("Every Day Birds (In Nothing But Blood)", label="amicamp1", done_flag="amicamp1"),
        event_row("There Is A Light That Never Goes Out", label="amicamp2", done_flag="amicamp2"),
        event_row("Soon (Another Nightmare)", label="halloweenami1", done_flag="halloweenami1"),
        event_row("Faith & Sacrifice", label="amispring2", done_flag="amispring2"),
        event_row("Shiritori", label="amispring3", done_flag="amispring3"),
        event_row("Nakadashi", label="amispring4", done_flag="amispring4", miss_flag="amispring4miss", miss_title="SPRAY AND PRAY"),
        event_row("Victrola", label="amispring5", done_flag="amispring5", miss_flag="amispring5miss", miss_title="INESCAPABLE WHITE NOISE"),
        event_row("Antarctic Treaty System", label="beachsevenami1", done_flag="beachsevenami1"),
    ]

    MAYA_EVENTS = [
        event_row("A New Beginning", label="firsttimeshrine", done_flag="firsttimeshrine"),
        event_row("Mondays", label="mayafirsthall", done_flag="mayafirsthall"),
        event_row("Different Worlds", label="shrine5", done_flag="shrine5"),
        event_row("Secrets Worth Keeping", label="mayadorm5", done_flag="mayadorm5"),
        event_row("Past/Present/Future", label="shrine10", done_flag="shrine10"),
        event_row("Rewind/Repeat/Refuse", label="mayadorm10", done_flag="mayadorm10"),
        event_row("You and Me", label="shrine15", done_flag="shrine15"),
        event_row("Takoyaki", label="mayadorm15", done_flag="mayadorm15"),
        event_row("Nothing is Real", label="shrine20", done_flag="shrine20"),
        event_row("Close Your Eyes", label="mayadorm20", done_flag="mayadorm20"),
        event_row("Watermelons and Violin", label="shrine25", done_flag="shrine25"),
        event_row("FLAVOR BEAM!", label="mayadorm25", done_flag="mayadorm25"),

        event_row("", divider=True),

        event_row("What it Means to Be Destroyed", label="mayadorm30", done_flag="mayadorm30"),
        event_row("Now More Than Ever", label="shrine30", done_flag="shrine30", miss_flag="mayadorm30 and ami_virgin", miss_title="Breaking, the Best Way"),
        event_row("A Place That Can Only Exist in Our Minds", label="mayadorm35", done_flag="mayadorm35"),
        event_row("Stop Looking For Answers", label="shrine35", done_flag="shrine35"),
        event_row("Somewhere Inside of a Dream", label="mayafestival1", done_flag="mayafestival1"),
        event_row("Three Halves Make a Whole (Itadakimasu)", label="mayafestival2", done_flag="mayafestival2"),
        event_row("As The Sun Disappears", label="mayafestival3", done_flag="mayafestival3"),
        event_row("Everlasting Mercy", label="mayafestival4", done_flag="mayafestival4"),

        event_row("", divider=True),

        event_row("The Sun, And All Its Toxic Rays", label="shrine40", done_flag="shrine40"),
        event_row("Anything & Everything", label="mayadate45", done_flag="mayadate45"),
        event_row("A Brutal, Violent Creaming", label="mayaspecial45", done_flag="mayaspecial45"),

        event_row("", divider=True),

        event_row("The Motherland Calls!", label="sportswars5", done_flag="sportswars5"),
        event_row("Miraculous Human-Glue", label="sportswars10", done_flag="sportswars10"),
        event_row("Radio Silence", label="sportswars14", done_flag="sportswars14"),
        event_row("The Girl Who Leapt Through Time", label="halloweenmaya1", done_flag="halloweenmaya1"),
        event_row("Wake Up (My Story)", label="halloweenmaya2", done_flag="halloweenmaya2"),
        event_row("Right as Rain", label="halloweenmaya3", done_flag="halloweenmaya3"),
        event_row("Billy Pilgrim", label="mayaspring1", done_flag="mayaspring1"),
        event_row("A Second Haunting", label="mayaspring2", done_flag="mayaspring2"),
        event_row("My Perfect World", label="mayaspring3", done_flag="mayaspring3"),
        event_row("Tying the Knot", label="mayachristmalloween1", done_flag="mayachristmalloween1"),
        event_row("This Room and Everything in It", label="mayachristmalloween2", done_flag="mayachristmalloween2"),
        event_row("Something to Do With Love", label="mayachristmalloween3", done_flag="mayachristmalloween3"),
        event_row("Ground Zero", label="dormwarssixmaya1", done_flag="dormwarssixmaya1"),
        event_row("Ode on the Death of a Favorite Cat Drowned in a Tub of Goldfishes", label="mayaspring4", done_flag="mayaspring4", miss_flag="mayaspring4miss", miss_title="Ode on a Thing That Did a Thing or Something"),
        event_row("The War Invalid", label="mayaspring5", done_flag="mayaspring5"),
    ]

    CHIKA_EVENTS = [
        event_row("The Retail Machine", label="firsttimemall", done_flag="firsttimemall"),
        event_row("A Dog that Does Math", label="chikafirsthall", done_flag="chikafirsthall"),
        event_row("Big Shot Teacher", label="mall5", done_flag="mall5"),
        event_row("Something About Biting", label="chikadorm5", done_flag="chikadorm5"),
        event_row("Behind The Curtain", label="mall10", done_flag="mall10"),
        event_row("Side Event", label="chikadorm10", done_flag="chikadorm10"),
        event_row("A Castle for Everyone", label="chikadorm15", done_flag="chikadorm15"),
        event_row("A Dog that Doesn't Do Math", label="mall15", done_flag="mall15"),
        event_row("Schadenfreude", label="chikadorm20", done_flag="chikadorm20"),
        event_row("True Power: Unleashed", label="mall20", done_flag="mall20"),
        event_row("Detention", label="day139", done_flag="day139", etype="lust"),
        event_row("A Trip to the Moon", label="chikainvite1", done_flag="chikainvite1", etype="inviteover"),
        event_row("First Hunt", label="chikainvite2", done_flag="chikainvite2", etype="inviteover"),

        event_row("", divider=True),

        event_row("Baby it's Cold Outside", label="chikalust10", done_flag="chikalust10", miss_flag="chikalust10miss", miss_title="Freezing to Death", etype="lust"),
        event_row("Little Miracles", label="chikaonsen1", done_flag="chikaonsen1"),
        event_row("Bleed", label="chikaonsen2", done_flag="chikaonsen2"),
        event_row("Three Words", label="chikaonsen3", done_flag="chikaonsen3"),
        event_row("Zanzibar (Counting Cats)", label="chikaonsen4", done_flag="chikaonsen4"),
        event_row("The Princess & The Pauper", label="chikalust15", done_flag="chikalust15", miss_flag="chikalust15skip", miss_title="Them", etype="lust"),
        event_row("Into the Woods", label="chikalust20", done_flag="chikalust20", miss_flag="chikalust20skip", miss_title="Out of the Woods", etype="lust"),
        event_row("In Search of Summer", label="chikaspecial40", done_flag="chikaspecial40"),
        event_row("Self Care", label="mall40", done_flag="mall40"),
        event_row("The Gap in the Curtain", label="mall40p2", done_flag="mall40p2"),
        event_row("The Gap in the Door", label="chikadate45", done_flag="chikadate45"),

        event_row("", divider=True),

        event_row("Mating Season", label="chikalust25", done_flag="chikalust25", miss_flag="chikalust25skip", miss_title="Hibernation", etype="lust"),
        event_row("Rough Cuts", label="mall45", done_flag="mall45"),
        event_row("Curry Night", label="chikaspecial45", done_flag="chikaspecial45"),
        event_row("Our Time Atop This Mattress", label="chikadorm45", done_flag="chikadorm45"),

        event_row("", divider=True),

        event_row("Gold Digger", label="chikaspring1", done_flag="chikaspring1"),
        event_row("Original Sin", label="chikaspring2", done_flag="chikaspring2"),
        event_row("To Drink, To Drown", label="chikaspring3", done_flag="chikaspring3"),
        event_row("Rabies", label="chikaspring4", done_flag="chikaspring4"),
        event_row("Frogging", label="chikaspring5", done_flag="chikaspring5"),
        event_row("Everyone I've Ever Loved", label="chikaspring6", done_flag="chikaspring6"),
        event_row("Transpacific Sadness Symposium V: NEW BLACK PARADIGM", label="chikaspring7", done_flag="chikaspring7"),
        event_row("Chika-chan vs. Auto-Pilot", label="chikaspring8", done_flag="chikaspring8"),
        event_row("A Violent Sort of Sadness", label="chikachristmalloween1", done_flag="chikachristmalloween1"),
        event_row("See You in School", label="chikachristmalloween2", done_flag="chikachristmalloween2"),
        event_row("Melancholera", label="beachsevenchika1", done_flag="beachsevenchika1"),
        event_row("Storybook Romance", label="beachsevenchika2", done_flag="beachsevenchika2"),
    ]

    YUMI_EVENTS = [
        event_row("Five Million Dollars", label="firsttimestreets", done_flag="firsttimestreets"),
        event_row("Micropenis", label="yumifirsthall", done_flag="yumifirsthall"),
        event_row("Three Second Smile", label="streets5", done_flag="streets5"),
        event_row("I See You", label="streets10", done_flag="streets10"),
        event_row("Fuck The Police", label="yumidorm5", done_flag="yumidorm5"),
        event_row("Yumi Revitalization Project", label="yumidorm10", done_flag="yumidorm10"),
        event_row("Worse Comes to Worst", label="yumidorm15", done_flag="yumidorm15"),
        event_row("Apples to Apples", label="streets15", done_flag="streets15"),
        event_row("Token Tsundere", label="streets20", done_flag="streets20"),
        event_row("Great Expectations", label="yumidorm20", done_flag="yumidorm20"),
        event_row("A Place Like This", label="streets25", done_flag="streets25"),
        event_row("Caught in the Vortex", label="yumidorm25", done_flag="yumidorm25"),

        event_row("", divider=True),

        event_row("Where the Sidewalk Ends", label="streets30", done_flag="streets30"),
        event_row("Walls Too Thick to Hear Through", label="yumidorm30", done_flag="yumidorm30"),
        event_row("Tech Support", label="yumidorm35", done_flag="yumidorm35"),
        event_row("Abyss", label="yumicallnight35", done_flag="yumicallnight35"),
        event_row("Reconciliation", label="yumispecial40", done_flag="yumispecial40"),
        event_row("Neon Heart (If I Close My Eyes)", label="yumispecial40p2", done_flag="yumispecial40p2"),
        event_row("Unsung Heroes", label="streets40", done_flag="streets40"),
        event_row("See You Around", label="yumispecial45", done_flag="yumispecial45"),

        event_row("", divider=True),

        event_row("Two Months of Nothing", label="yumislumber1", done_flag="yumislumber1"),
        event_row("Loggerhead", label="yumislumber2", done_flag="yumislumber2"),
        event_row("A Day in the Life", label="yumislumber3", done_flag="yumislumber3"),

        event_row("", divider=True),

        event_row("Kid of the Month", label="yumispring1", done_flag="yumispring1"),
        event_row("Frog Boy", label="yumispring2", done_flag="yumispring2"),
        event_row("Wake Me Up When It's Over", label="beachfive13", done_flag="beachfive13"),
        event_row("A Life I Never Wanted", label="yumispring3", done_flag="yumispring3"),
        event_row("Pogonomyrmex Occidentalis Owyheei", label="yumispring4", done_flag="yumispring4"),
        event_row("The Dragon", label="yumispring5", done_flag="yumispring5"),
        event_row("Ittekimasu", label="yumispring6", done_flag="yumispring6"),
        event_row("Transpacific Sadness Symposium VI: STICK(BUG) SICKNESS", label="yumispring7", done_flag="yumispring7"),
        event_row("Death With Dignity", label="yumispring8", done_flag="yumispring8"),
        event_row("Scar Tissue", label="yumispring9", done_flag="yumispring9"),
        event_row("Chabudai (Plastic Corpses)", label="yumispring10", done_flag="yumispring10"),
    ]

    AYANE_EVENTS = [

        event_row("The Unwavering Bravery of Ayane Amamiya", label="firsttimedojo", done_flag="firsttimedojo"),
        event_row("Spy on Me", label="ayanefirsthall", done_flag="ayanefirsthall"),
        event_row("The Battle for Kumon-mi", label="dojo5", done_flag="dojo5"),
        event_row("Names of Our Children", label="dojo10", done_flag="dojo10"),
        event_row("Home Sweet Home", label="ayanedorm5", done_flag="ayanedorm5"),
        event_row("Imprinting", label="ayanenew1", done_flag="ayanenew1"),
        event_row("Far From Fantasy", label="ayanenew2", done_flag="ayanenew2"),
        event_row("Forever Yours (Top of the World)", label="ayanenew3", done_flag="ayanenew3"),
        event_row("Less Like the Vulture", label="ayanedorm10", done_flag="ayanedorm10"),
        event_row("First Words", label="ayanedorm15", done_flag="ayanedorm15"),
        event_row("Backwards Spider Crawl", label="day68", done_flag="day68", etype="lust"),
        event_row("Endless Torment", label="dojo20", done_flag="dojo20"),
        event_row("Still Young", label="ayanedorm20", done_flag="ayanedorm20"),
        event_row("Prisoner", label="ayanelust10", done_flag="ayanelust10", miss_flag="beachvacation16 and not ayanelust10", miss_title="Back to Normal", etype="lust"),
        event_row("Regularly Scheduled Programming", label="dojo25", done_flag="dojo25"),
        event_row("Cold Air of an Encroaching Winter", label="ayanedorm25", done_flag="ayanedorm25"),
        event_row("First and Second", label="dojo30", done_flag="dojo30"),
        event_row("Crazier Things Have Happened", label="ayanedorm30", done_flag="ayanedorm30"),

        event_row("", divider=True),

        event_row("Hail Mary", label="ayaneinvite1", done_flag="ayaneinvite1", etype="inviteover"),
        event_row("One of Many Rooms", label="ayaneinvite2", done_flag="ayaneinvite2", etype="inviteover"),
        event_row("What a Wonderful World", label="ayanelust15", done_flag="ayanelust15", miss_flag="ayanelust15skip and dormwar7", miss_title="The World is Bad!", etype="lust"),
        event_row("Under the World Tree", label="dojo35", done_flag="dojo35"),
        event_row("Crash of Thunder", label="ayanedorm35", done_flag="ayanedorm35"),
        event_row("Nevermind", label="ayanespecial1", done_flag="ayanespecial1"),
        event_row("Before the Sun Comes Up", label="ayanespecial2", done_flag="ayanespecial2"),
        event_row("Out With the Old", label="ayanelust20", done_flag="ayanelust20", miss_flag="ayanelust20skip", miss_title="In With the New", etype="lust"),

        event_row("", divider=True),

        event_row("Chronokinetics (Hell Exists)", label="ayanespecial40", done_flag="ayanespecial40"),
        event_row("How the World Works", label="ayanesanabeach1", done_flag="ayanesanabeach1"),
        event_row("Chiburi", label="ayanespecial50", done_flag="ayanespecial50"),
        event_row("Furlough (Tell the World)", label="ayanekirintalk", done_flag="ayanekirintalk", miss_flag="ayanekirintalkskip", miss_title="Indefinite Parole"),
        event_row("Double Jeopardy", label="ayanespecial55", done_flag="ayanespecial55"),
        event_row("The Aforementioned Light", label="ayanebonus1", done_flag="ayanebonus1", miss_flag="ayanebonus1skip", miss_title="Dark Side of the Room"),
        event_row("Over & Over", label="ayanebonus2", done_flag="ayanebonus2", miss_flag="ayanebonus2skip", miss_title="A Failed Attempt at Being Good"),
        event_row("Dizzy On The Comedown", label="ayanepool55", done_flag="ayanepool55"),

        event_row("", divider=True),

        event_row("...But Home is Nowhere", label="ayanespring1", done_flag="ayanespring1"),
        event_row("Doomsayer", label="beachfive3", done_flag="beachfive3"),
        event_row("As You Wish", label="beachfive15", done_flag="beachfive15", miss_flag="beachfive15skip", miss_title="As You Wash", etype="lust"),
        event_row("Chamomile", label="halloweenayane1", done_flag="halloweenayane1"),
        event_row("Time, Resets, and the Like", label="halloweenayane2", done_flag="halloweenayane2"),
        event_row("Soliloquy (Wearing Someone Else's Clothes)", label="halloweenayane3", done_flag="halloweenayane3"),
        event_row("In Shoes That Don't Fit", label="ayanespring2", done_flag="ayanespring2", miss_flag="ayanespring2miss", miss_title="Bipedal Deformation"),
        event_row("Mortal Coil (Gay Stuff)", label="ayanespring3", done_flag="ayanespring3"),
        event_row("Our Cage in Tralfamadore", label="undeservedfuture1", done_flag="undeservedfuture1"),
        event_row("Ikura", label="undeservedfuture2", done_flag="undeservedfuture2"),
        event_row("A Nightmare, in Retrospect", label="undeservedfuture3", done_flag="undeservedfuture3"),
        event_row("Trophy Wife Pt. I", label="undeservedfuture4", done_flag="undeservedfuture4"),
        event_row("Light of My Life", label="undeservedfuture5", done_flag="undeservedfuture5"),
        event_row("Infinite Joy", label="undeservedfuture6", done_flag="undeservedfuture6"),
        event_row("Bitter Cherries", label="undeservedfuture7", done_flag="undeservedfuture7"),
        event_row("Trophy Wife Pt. II", label="undeservedfuture8", done_flag="undeservedfuture8"),
        event_row("Like Lions", label="undeservedfuture9", done_flag="undeservedfuture9"),
        event_row("Aomori", label="undeservedfuture10", done_flag="undeservedfuture10"),
        event_row("Transpacific Sadness Symposium N: CHAINSMOKER CHANGELING", label="ayanespring4", done_flag="ayanespring4"),
    ]

    SANA_EVENTS = [
        event_row("Family Business", label="firsttimebar", done_flag="firsttimebar"),
        event_row("Nothing to Do", label="sanafirsthall", done_flag="sanafirsthall"),
        event_row("The Bare Minimum", label="bar5", done_flag="bar5"),
        event_row("Recluse", label="sanadorm5", done_flag="sanadorm5"),
        event_row("Supermom", label="bar10", done_flag="bar10"),
        event_row("Anywhere At All", label="sanadorm10", done_flag="sanadorm10"),
        event_row("Carry Me Home", label="bar15", done_flag="bar15"),
        event_row("Shaking The Tree", label="sanadorm15", done_flag="sanadorm15"),
        event_row("Scouting Mission", label="bar20", done_flag="bar20"),
        event_row("Nice Weather We're Having", label="sanadorm20", done_flag="sanadorm20"),
        event_row("Life is a Tomato", label="bar25", done_flag="bar25"),
        event_row("The Girl in the Black Dress", label="sanadorm25", done_flag="sanadorm25"),
        event_row("Self-Medication", label="bar30", done_flag="bar30"),
        event_row("Tortoises and the Concept of Friendship", label="sanadorm30", done_flag="sanadorm30"),

        event_row("", divider=True),

        event_row("Purest Intentions", label="bar35", done_flag="bar35"),
        event_row("Waiting for Anything", label="sanadorm35", done_flag="sanadorm35"),
        event_row("Closer to Me", label="bar40", done_flag="bar40"),
        event_row("The Inside of a Triangle", label="sanadorm40", done_flag="sanadorm40"),
        event_row("Sweet Vermouth", label="bar45", done_flag="bar45"),
        event_row("The Complete Absence of Everything", label="sanadorm45", done_flag="sanadorm45"),
        event_row("Mine (Yours)", label="sanadorm50", done_flag="sanadorm50"),
        event_row("Melatonin", label="bar50", done_flag="bar50", miss_flag="bar50miss", miss_title="Why Don't You Ever Lock the Door?"),

        event_row("", divider=True),

        event_row("Black Sandy Beaches", label="bar55", done_flag="bar55"),
        event_row("Ad Meliora", label="ayanesanabeach2", done_flag="ayanesanabeach2", miss_flag="ayanesanabeach2skip", miss_title="It's All Wrong"),
        event_row("It Comes to Claim Us All", label="ayanesanabeach3", done_flag="ayanesanabeach3"),
        event_row("Ad Infinitum", label="ayanesanabeach4", done_flag="ayanesanabeach4", miss_flag="ayanesanabeach4skip", miss_title="Gods Don't Smile Down"),

        event_row("", divider=True),

        event_row("Taller", label="sanaspring1", done_flag="sanaspring1"),
        event_row("Stutter-Step", label="sanaspring2", done_flag="sanaspring2"),
        event_row("Weak Man, Weak Boy", label="sanaspring3", done_flag="sanaspring3"),
        event_row("Transpacific Sadness Symposium III: TWO-HEADED HORSE", label="sanaspring4", done_flag="sanaspring4"),
        event_row("Piggy & The Boulder", label="sanainvite1", done_flag="sanainvite1", etype="inviteover"),
        event_row("Four Letter Words", label="sanainvite2", done_flag="sanainvite2", etype="inviteover"),
        event_row("Despicable Meat Toilet", label="beachsixsana1", done_flag="beachsixsana1", etype="lust"),
        event_row("Addict in Training", label="sanaspring5", done_flag="sanaspring5", miss_flag="sanaspring5miss", miss_title="Failing the Sex Exam"),
        event_row("Counting Down From Four", label="sanaspring6", done_flag="sanaspring6"),
    ]

    MAKOTO_EVENTS = [
        event_row("Unexpected Profession", label="firsttimepornshop", done_flag="firsttimepornshop"),
        event_row("Teacher's Pet", label="makotofirsthall", done_flag="makotofirsthall"),
        event_row("Watching Porn Alone", label="pornshop5", done_flag="pornshop5"),
        event_row("Completely Platonic", label="makotodorm5", done_flag="makotodorm5"),
        event_row("Rising of the Tide", label="pornshop10", done_flag="pornshop10"),
        event_row("Frogger", label="makotonew1", done_flag="makotonew1"),
        event_row("Sowing the Seeds", label="makotonew2", done_flag="makotonew2"),
        event_row("Egg Tooth", label="makotonew3", done_flag="makotonew3"),
        event_row("Fishing For Love", label="pornshop15", done_flag="pornshop15"),
        event_row("Quid Pro Quo", label="makotolust5", done_flag="makotolust5", etype="lust"),
        event_row("Declaration of War", label="makotoinvite1", done_flag="makotoinvite1", etype="inviteover"),
        event_row("Studious Teen Virgin", label="makotoinvite2", done_flag="makotoinvite2", etype="inviteover"),
        event_row("Aftermath", label="pornshop20", done_flag="pornshop20"),
        event_row("Residual Sadness", label="makotodorm20", done_flag="makotodorm20"),
        event_row("Service Charge", label="pornshop25", done_flag="pornshop25"),
        event_row("Bluejay", label="makotodorm25", done_flag="makotodorm25"),

        event_row("", divider=True),

        event_row("Semblance of a Soul", label="makotolust10", done_flag="makotolust10", etype="lust"),
        event_row("Condoms in the Sand", label="makotowinterbeach1", done_flag="makotowinterbeach1"),
        event_row("Humans With Hollow Bones", label="makotowinterbeach2", done_flag="makotowinterbeach2"),
        event_row("I'm Not Here", label="makotowinterbeach3", done_flag="makotowinterbeach3"),
        event_row("Something, Somewhere", label="makotowinterbeach4", done_flag="makotowinterbeach4"),
        event_row("Hot Water", label="makotolust20", done_flag="makotolust20", miss_flag="makotolust20skip", miss_title="Cold Water", etype="lust"),

        event_row("", divider=True),

        event_row("Whispers of the World", label="sadgirls1", done_flag="sadgirls1"),
        event_row("Parallelogram", label="sadgirls7", done_flag="sadgirls7"),
        event_row("White Oak Doors", label="makotolust30", done_flag="makotolust30", miss_flag="makotolust30skip", miss_title="Daddy's Girl", etype="lust"),
        event_row("A Beautiful Mind", label="sadgirls8", done_flag="sadgirls8"),
        event_row("Young Cardinals", label="makotospecial50", done_flag="makotospecial50"),
        event_row("Cool Sex Tips", label="makotopool55", done_flag="makotopool55"),
        event_row("Bra Shopping", label="makotodorm55p1", done_flag="makotodorm55p1"),
        event_row("Suffer the Same", label="makotodorm55p2", done_flag="makotodorm55p2"),

        event_row("", divider=True),

        event_row("The Pit of Despair", label="sportswars19", done_flag="sportswars19"),
        event_row("Midnight Snack", label="makotospring1", done_flag="makotospring1"),
        event_row("T Is For Time (Trees & Threes)", label="makotospring2", done_flag="makotospring2"),
        event_row("Six Ways From Sunday", label="halloweenmakoto1", done_flag="halloweenmakoto1"),
        event_row("Precious Little Life", label="halloweenmakoto2", done_flag="halloweenmakoto2"),
        event_row("Transpacific Sadness Symposium IV: TALKATIVE OBLONG MIRROR", label="halloweenmakoto3", done_flag="halloweenmakoto3"),
        event_row("The World, Alive (Ant Farm)", label="makotospring3", done_flag="makotospring3"),
        event_row("Black Mass", label="beachsixmakoto1", done_flag="beachsixmakoto1"),
        event_row("A Matter of Time", label="beachsixmakoto2", done_flag="beachsixmakoto2"),
        event_row("This Penis, Eternal", label="makotospring4", done_flag="makotospring4"),
        event_row("Code Red", label="makotospring5", done_flag="makotospring5"),
    ]

    MIKU_EVENTS = [
        event_row("Daytime Stalking Pass", label="firsttimesoccer", done_flag="firsttimesoccerfield"),
        event_row("Behind Closed Doors", label="mikufirsthall", done_flag="mikufirsthall"),
        event_row("It's Always Sunny in Kumon-mi", label="soccer5", done_flag="soccer5"),
        event_row("Broken Bones", label="mikudorm5", done_flag="mikudorm5"),
        event_row("Nightvision", label="soccer10", done_flag="soccer10"),
        event_row("You and Me and the Night", label="mikudorm10", done_flag="mikudorm10"),
        event_row("Hormones Running Wild", label="soccer15", done_flag="soccer15"),
        event_row("Moments Like This", label="mikudorm15", done_flag="mikudorm15"),
        event_row("Coach", label="soccer20", done_flag="soccer20"),
        event_row("Thighs On-Demand", label="soccer25", done_flag="soccer25"),
        event_row("Scaredy Cat", label="mikudorm25", done_flag="mikudorm25"),
        event_row("An Extra Set of Arms", label="soccer30", done_flag="soccer30"),
        event_row("One. Two. Three.", label="mikudorm30", done_flag="mikudorm30"),

        event_row("", divider=True),

        event_row("Loxonin", label="soccer35", done_flag="soccer35"),
        event_row("To Sleep, Perchance to Dream", label="mikuwinterbeach1", done_flag="mikuwinterbeach1"),
        event_row("Triple Whammy", label="mikudorm35", done_flag="mikudorm35"),
        event_row("Speed of Light", label="mikudorm40", done_flag="mikudorm40"),
        event_row("Acute Love Triangle", label="mikudorm45", done_flag="mikudorm45"),
        event_row("Chrysalis", label="mikudorm45p2", done_flag="mikudorm45p2"),
        event_row("Someone Else's Skin", label="mikuspecial50", done_flag="mikuspecial50"),
        event_row("The Devil & God Are Raging Inside Me", label="mikudorm50", done_flag="mikudorm50"),

        event_row("", divider=True),

        event_row("Breakaway", label="mikuinvite1", done_flag="mikuinvite1", etype="inviteover"),
        event_row("Fair is Fair", label="mikuinvite2", done_flag="mikuinvite2", etype="inviteover"),
        event_row("Voice of Vibration", label="mikupool55", done_flag="mikupool55"),
        event_row("Essence of Eiderdown", label="mikudorm55p1", done_flag="mikudorm55p1"),
        event_row("Rostrum of Recollection", label="mikudorm55p2", done_flag="mikudorm55p2"),

        event_row("", divider=True),

        event_row("Captain Sorrow", label="mikuspring1", done_flag="mikuspring1"),
        event_row("Bonerville", label="mikuspring2", done_flag="mikuspring2"),
        event_row("The Boys", label="mikuspring3", done_flag="mikuspring3"),
        event_row("Live Fast, Die Young", label="mikuspring4", done_flag="mikuspring4"),
        event_row("The Gazelle", label="mikuspring5", done_flag="mikuspring5"),
        event_row("Practice Makes Perfect", label="mikulust5", done_flag="mikulust5", etype="lust"),
        event_row("Bean Sprouts", label="mikuspring6", done_flag="mikuspring6"),
        event_row("The Whale", label="mikuspring7", done_flag="mikuspring7"),
    ]

    FUTABA_EVENTS = [
        event_row("Impossible Blossoms", label="firsttimelibrary", done_flag="firsttimelibrary"),
        event_row("Fan Fiction", label="futabafall", done_flag="futabafall"),
        event_row("Upside Down", label="library10", done_flag="library10"),
        event_row("Unidentical Twins", label="futabafirsthall", done_flag="futabafirsthall"),
        event_row("Under the Radar", label="futabafirstvisit", done_flag="futabafirstvisit"),
        event_row("Cutting Through Cocoons", label="futabadorm10", done_flag="futabadorm10"),
        event_row("Self-Insert", label="library15", done_flag="library15"),
        event_row("Broken Flowers", label="futabanew1", done_flag="futabanew1"),
        event_row("Great Burdock Leaves", label="futabanew2", done_flag="futabanew2"),
        event_row("Clam's Tongue", label="futabanew3", done_flag="futabanew3"),
        event_row("Legs of a Dying Spider", label="futabadorm15", done_flag="futabadorm15"),
        event_row("Only Child", label="library20", done_flag="library20"),
        event_row("A Book About Dragons", label="library25", done_flag="library25"),
        event_row("Two Hours", label="futabadorm25", done_flag="futabadorm25", miss_flag="library25 and not bookdate", miss_title="I Just Want to Be Loved"),
        event_row("Like Fucking a Cloud", label="day86", done_flag="day86"),
        event_row("Under the Table", label="library30", done_flag="library30"),
        event_row("A Tree Falls in the Forest", label="futabadorm30", done_flag="futabadorm30"),
        event_row("No, You", label="library35", done_flag="library35"),
        event_row("Overload", label="futabadorm35", done_flag="futabadorm35"),

        event_row("", divider=True),

        event_row("Selfless", label="futabalust10", done_flag="futabalust10", miss_flag="futabalust10miss", miss_title="Loveless", etype="lust"),
        event_row("Sonnet 18", label="futabainvite1", done_flag="futabainvite1", etype="inviteover"),
        event_row("Floral Aura", label="futabainvite2", done_flag="futabainvite2", etype="inviteover"),
        event_row("C'est La Vie", label="futabalust15", done_flag="futabalust15", miss_flag="futabalust15skip and dormwar9", miss_title="Mourir. Dormir.", etype="lust"),
        event_row("Skin (Start Somewhere)", label="futabadorm40", done_flag="futabadorm40"),
        event_row("Shadowplay", label="library40", done_flag="library40"),
        event_row("Without Running Away", label="library40part2", done_flag="library40part2"),
        event_row("Hall of Mirrors", label="futabadorm45", done_flag="futabadorm45"),

        event_row("", divider=True),

        event_row("This Infected Wound", label="futabadorm50", done_flag="futabadorm50"),
        event_row("Bestial Vigor", label="library50", done_flag="library50"),
        event_row("Too Blind To See", label="futabainvite3", done_flag="futabainvite3", etype="inviteover"),
        event_row("Toys", label="makotofutabafuntimelustevent", done_flag="makotofutabafuntimelustevent", miss_flag="makotofutabalustskip", miss_title="Grounded", etype="lust"),
        event_row("Book Burning", label="futabaspecial60p1", done_flag="futabaspecial60p1"),
        event_row("Pg. 99", label="futabaspecial60p2", done_flag="futabaspecial60p2"),
        event_row("Fish Eyes", label="futabaspecial60p3", done_flag="futabaspecial60p3"),

        event_row("", divider=True),

        event_row("Weapons of Mass Destruction", label="futabalust25", done_flag="futabalust25", etype="lust"),
        event_row("My Curse", label="futabaspring1", done_flag="futabaspring1"),
        event_row("Transpacific Sadness Symposium II: SISTER SOFTSKIN", label="beachfive9", done_flag="beachfive9"),
        event_row("The Meat in the Hole in the Wall in My Room", label="futabalust40", done_flag="futabalust40", miss_flag="futabalust40miss", miss_title="Maisie Belle", etype="lust"),
        event_row("The Taking Tree", label="futabaspring2", done_flag="futabaspring2"),
        event_row("Spam", label="beachsixfutaba1", done_flag="beachsixfutaba1"),
        event_row("ELATION PROTOCOL 99: RE:SOLUTION (RESOLVED)", label="futabaspring3", done_flag="futabaspring3"),
        event_row("New Ways to Love", label="futabaspring4", done_flag="futabaspring4"),
    ]

    RIN_EVENTS = [
        event_row("Guinea Pig", label="firsttimecafe", done_flag="firsttimecafe"),
        event_row("The Flavor of Love", label="cafesugar", done_flag="cafesugar"),
        event_row("Haruka", label="cafe10", done_flag="cafe10"),
        event_row("Locked Out", label="rinfirsthall", done_flag="rinfirsthall"),
        event_row("Skulls", label="rinfirstvisit", done_flag="rinfirstvisit"),
        event_row("Rin's Secret", label="rindorm10", done_flag="rindorm10"),
        event_row("Window of the Waking Mind", label="cafe15", done_flag="cafe15"),
        event_row("Boundaries", label="rindorm15", done_flag="rindorm15"),
        event_row("Nothing Was Missing, Except Me", label="cafe20", done_flag="cafe20"),
        event_row("Delirium", label="rindorm20", done_flag="rindorm20"),
        event_row("Good Day, Humans", label="cafe25", done_flag="cafe25"),
        event_row("Sock Fetish", label="rindorm25", done_flag="rindorm25"),
        event_row("Nothing Was Different", label="cafe30", done_flag="cafe30"),
        event_row("Two Steps Back", label="rindorm30", done_flag="rindorm30"),
        event_row("Ten Steps Forward", label="rindorm35", done_flag="rindorm35"),
        event_row("I Died With You", label="cafe35", done_flag="cafe35", miss_flag="rindorm35 and not rininvite", miss_title="Love Life, Let Go"),

        event_row("", divider=True),

        event_row("Sketchy Basement", label="cafe40", done_flag="cafe40"),
        event_row("Semantics", label="rindorm40", done_flag="rindorm40"),
        event_row("Debatably Bisexual Musicians", label="cafe45", done_flag="cafe45"),
        event_row("The Art of Never Knowing", label="rindorm45", done_flag="rindorm45"),
        event_row("The Paragon of Not Worrying About Stuff", label="cafe50", done_flag="cafe50"),
        event_row("Technicolored Happiness Explosion", label="rindorm50", done_flag="rindorm50"),
        event_row("Lifejacket", label="rindorm50special", done_flag="rindorm50special"),
        event_row("The Happiest Girl in the World", label="rindate50", done_flag="rindate50", miss_flag="rindorm50special and rinbetrayed", miss_title="The Raw Sting of Lacerated Skin"),

        event_row("", divider=True),

        event_row("Disaster Lesbian", label="rindorm55", done_flag="rindorm55"),
        event_row("Hot Boy Summer", label="rindorm55p2", done_flag="rindorm55p2"),
        event_row("Ever Fallen In Love", label="rinspecial55", done_flag="rinspecial55"),

        event_row("", divider=True),

        event_row("Anthem of the Heart", label="rinspring1", done_flag="rinspring1"),
        event_row("Voices of a Distant Star", label="rinspring2", done_flag="rinspring2"),
        event_row("Sex Dreams", label="rinspring3", done_flag="rinspring3", miss_flag="harukaspring1miss", miss_title="Virgin Nightmares"),
        event_row("Voice of Reason", label="rinspring4", done_flag="rinspring4"),
        event_row("Dear Sensei (Red Sea)", label="rinspring5", done_flag="rinspring5"),
        event_row("Love Long Overdue", label="rinspring6", done_flag="rinspring6"),
        event_row("The First Time Since the Last Time", label="dormwarsfiverin1", done_flag="dormwarsfiverin1"),
        event_row("Days to Waste", label="rinspring7", done_flag="rinspring7"),
        event_row("Table for Two", label="rinspring8", done_flag="rinspring8"),
        event_row("Transpacific Sadness Symposium VIII: AN ATOM (ME) AND ADAM (YOU)", label="rinspring9", done_flag="rinspring9"),
        event_row("Little Waves", label="beachsevenrin1", done_flag="beachsevenrin1"),
    ]

    MOLLY_EVENTS = [
        event_row("NTR & Pregnancy", label="mollycafe1", done_flag="mollycafe1"),
        event_row("The Cult of Molly", label="mollyfirsthall", done_flag="mollyfirsthall"),
        event_row("Remnants of Forgotten Memes", label="mollycafe5", done_flag="mollycafe5"),
        event_row("Torrent of Power", label="mollydorm5", done_flag="mollydorm5"),
        event_row("Something Out of a Nukige", label="mollycafe10", done_flag="mollycafe10"),
        event_row("The Dark Entity", label="mollydorm10", done_flag="mollydorm10"),

        event_row("", divider=True),

        event_row("Onward to Valhalla", label="mollycafe15", done_flag="mollycafe15"),
        event_row("Unpaid Promotion", label="mollydorm15", done_flag="mollydorm15"),
        event_row("The Legacy of Thaum Pt. II", label="mollycafe20", done_flag="mollycafe20"),
        event_row("Ahead of the Curve", label="mollydorm20", done_flag="mollydorm20"),
        event_row("Resurrection Sickness", label="mollycafe25", done_flag="mollycafe25"),
        event_row("Tír na nÓg", label="mollycafe25p2", done_flag="mollycafe25p2"),
        event_row("Transmogrification", label="mollydorm25", done_flag="mollydorm25"),
        event_row("Walkthrough", label="mollydorm30", done_flag="mollydorm30"),

        event_row("", divider=True),

        event_row("Hook", label="mollycafe30p1", done_flag="mollycafe30p1"),
        event_row("A Night to Remember", label="mollycafe30p2", done_flag="mollycafe30p2"),
        event_row("Anar'alah Belore", label="mollydate35p1", done_flag="mollydate35p1"),
        event_row("Sardines", label="mollydate35p2", done_flag="mollydate35p2"),

        event_row("", divider=True),

        event_row("Corrupted Blood", label="mollycamp1", done_flag="mollycamp1"),
        event_row("Level One", label="mollyspring1", done_flag="mollyspring1"),
        event_row("Fated to Love You", label="mollyspring2", done_flag="mollyspring2"),
        event_row("The Farmer’s Daughter", label="mollylust10", done_flag="mollylust10", miss_flag="mollylust10miss", miss_title="Goblin Queen", etype="lust"),
        event_row("No Murder in the House", label="mollyinvite1", done_flag="mollyinvite1", etype="inviteover"),
        event_row("Pixels & Polygons", label="mollyinvite2", done_flag="mollyinvite2", etype="inviteover"),
        event_row("Power-Leveling", label="beachsixmolly1", done_flag="beachsixmolly1", etype="lust"),
        event_row("Nihongo Jouzu", label="mollyspring3", done_flag="mollyspring3"),
        event_row("Missable Event", label="mollyspring4", done_flag="mollyspring4", miss_flag="mollyspring4miss", miss_title="Missed Event"),
    ]

    TSUNEYO_EVENTS = [
        event_row("Snake Venom", label="ramen1", done_flag="ramen1"),
        event_row("The Life of a Blue Whale", label="tsuneyofirsthall", done_flag="tsuneyofirsthall"),
        event_row("Between the Slurps of Pork Broth", label="ramen5", done_flag="ramen5"),
        event_row("Drug Use & Jump-Rope", label="tsuneyodorm5", done_flag="tsuneyodorm5"),
        event_row("A Short List", label="ramen10", done_flag="ramen10"),
        event_row("The Man Who Loves Nothing", label="tsuneyodorm10", done_flag="tsuneyodorm10"),

        event_row("", divider=True),

        event_row("Seeds", label="ramen15", done_flag="ramen15"),
        event_row("Moe Fan Service", label="tsuneyodorm15", done_flag="tsuneyodorm15"),
        event_row("Fucking...Or What it Means to Live (Shio & Shoyu)", label="tsuneyodorm20", done_flag="tsuneyodorm20"),
        event_row("Blackout", label="ramen20", done_flag="ramen20"),
        event_row("Like Noodles in the Wind", label="ramen25", done_flag="ramen25"),
        event_row("Green Onions and Contraceptives", label="ramen25p2", done_flag="ramen25p2"),
        event_row("Unsleeping Aegis", label="tsuneyodorm25", done_flag="tsuneyodorm25"),
        event_row("Things Like Stairs", label="ramen30", done_flag="ramen30"),

        event_row("", divider=True),

        event_row("With Her", label="tsuneyoslumber1", done_flag="tsuneyoslumber1"),
        event_row("Stripped Away", label="tsuneyoslumber2", done_flag="tsuneyoslumber2"),
        event_row("Sudden Light", label="tsuneyoslumber3", done_flag="tsuneyoslumber3"),

        event_row("", divider=True),

        event_row("Ramen Girl", label="tsuneyospring1", done_flag="tsuneyospring1"),
        event_row("Soothsayer", label="tsuneyospring2", done_flag="tsuneyospring2"),
        event_row("TH15 15NT M3", label="tsuneyospring3", done_flag="tsuneyospring3"),
        event_row("ELATION PROTOCOL 99: NOODLEFOOT DISCO", label="halloweentsuneyo1", done_flag="halloweentsuneyo1"),
        event_row("Thomas Mato, M.D.", label="tsuneyospring4", done_flag="tsuneyospring4"),
        event_row("Yamato Nadeshiko", label="tsuneyospring5", done_flag="tsuneyospring5"),
        event_row("WORMGOD54", label="tsuneyospring6", done_flag="tsuneyospring6"),
        event_row("Defilement of a Temple", label="beachsixtsuneyo1", done_flag="beachsixtsuneyo1"),
        event_row("Denouement", label="beachsixtsuneyo2", done_flag="beachsixtsuneyo2"),
        event_row("Shaka-Shaka-HEY", label="tsuneyospring7", done_flag="tsuneyospring7"),
        event_row("Anyone for Any Reason", label="tsuneyospring8", done_flag="tsuneyospring8"),
    ]

    SARA_EVENTS = [
        event_row("A Woman's Heart", label="saradate1", done_flag="saradate1"),
        event_row("Zero Friction", label="saralust5", done_flag="saralust5", miss_flag="bar15 and not sarasex", miss_title="The World Moves too Quickly", etype="lust"),
        event_row("Third Wheel", label="sarainvite1", done_flag="sarainvite1", etype="inviteover"),
        event_row("A Mostly Empty Home", label="sarainvite2", done_flag="sarainvite2", etype="inviteover"),
        event_row("Medical Assistance", label="saralust10", done_flag="saralust10", miss_flag="halloween8 and not saralust10", miss_title="Almost Burning", etype="lust"),

        event_row("", divider=True),

        event_row("Uptown Girl", label="saradate10", done_flag="saradate10"),
        event_row("She's Always a Woman", label="sarabar20", done_flag="sarabar20", miss_flag="saradate10 and not sarasex", miss_title="I've Loved These Days"),
        event_row("Tell Me When", label="sarabar25", done_flag="sarabar25"),
        event_row("The Place She Falls Asleep At Night", label="sarabar25p2", done_flag="sarabar25p2"),
        event_row("Engulfed", label="saralust20x", done_flag="saralust20", miss_flag="saralust20skip", miss_title="Swallowed Whole", etype="lust"),

        event_row("", divider=True),

        event_row("The Creaking of the Seventh Step", label="saraspecial30p1", done_flag="saraspecial30p1"),
        event_row("Halfway Down the Wishing Well", label="saraspecial30p2", done_flag="saraspecial30p2", miss_flag="saraspecial30p2skip", miss_title="Zoopledoop"),
        event_row("Nicolas Cage", label="sarabar30", done_flag="sarabar30"),

        event_row("", divider=True),

        event_row("The One With A Happy Ending", label="saracamp1", done_flag="saracamp1"),
        event_row("I've Been Thinking About Leaving This Place", label="saracamp2", done_flag="saracamp2"),
        event_row("Details in the Fabric", label="saraspring1", done_flag="saraspring1"),
        event_row("Silent Night (Onee-san)", label="saraspring2", done_flag="saraspring2", miss_flag="saraspring2miss", miss_title="Sister Says No"),
        event_row("Worthless Me", label="saraspring3", done_flag="saraspring3", miss_flag="saraspring3miss", miss_title="Worthless You"),
        event_row("Two for the Price of One", label="saraspring4", done_flag="saraspring4", miss_flag="saraspring4miss", miss_title="One for the Price of Two"),
        event_row("The Puppeteer", label="saraspring5", done_flag="saraspring5", miss_flag="saraspring5miss", miss_title="The Puppet"),
        event_row("The Most Beautiful Bitter Fruit", label="saraspring6", done_flag="saraspring6", miss_flag="saraspring6miss", miss_title="Sister Says No"),
        event_row("You and I in Unison", label="saraspring7", done_flag="saraspring7"),
        event_row("Ring of Fire", label="dormwarssixsara1", done_flag="dormwarssixsara1", miss_flag="dormwarssixsara1miss", miss_title="Empire of Dirt"),
    ]

    HARUKA_EVENTS = [
        event_row("Drunk Again", label="harukadate1", done_flag="harukadate1"),
        event_row("Invisible Worm", label="harukadate5", done_flag="harukadate5"),
        event_row("The Need to be Hurt", label="harukafirstlust", done_flag="harukafirstlust", miss_flag="harukadate5 and not harukasex", miss_title="Hurt Me", etype="lust"),
        event_row("Bad Kitty", label="harukalust10", done_flag="harukalust10", miss_flag="halloween14 and not harukalust10", miss_title="Fixing Pipes", etype="lust"),
        event_row("Performance Review", label="harukadate10", done_flag="harukadate10"),
        event_row("Watching TV Alone", label="harukadate15", done_flag="harukadate15"),

        event_row("", divider=True),

        event_row("Shades of Green", label="harukainvite1", done_flag="harukainvite1", etype="inviteover"),
        event_row("Roses", label="harukainvite2", done_flag="harukainvite2", etype="inviteover"),
        event_row("Sober-ish", label="harukadate20", done_flag="harukadate20"),
        event_row("Unfiltered Tap Water", label="harukainvite3", done_flag="harukainvite3", miss_flag="harukadate20 and not harukasex", miss_title="Worms", etype="inviteover"),

        event_row("", divider=True),

        event_row("The World Outside The Walls", label="sadgirls2", done_flag="sadgirls2", miss_flag="sadgirls2skip and sadgirls1", miss_title="Personal Hell"),
        event_row("To Anyone Who Passes By", label="sadgirls4", done_flag="sadgirls4"),
        event_row("Again, I Can't Recall", label="sadgirls5", done_flag="sadgirls5"),
        event_row("Secret Weapon", label="harukalust25", done_flag="harukalust25", miss_flag="harukalust25skip", miss_title="Fatal Misfire", etype="lust"),
        event_row("Stress Level Midnight", label="makihornytrip1", done_flag="makihornytrip1"),
        event_row("Conflict of Interest", label="makihornytrip4", done_flag="makihornytrip4"),
        event_row("Scum", label="harukadate30", done_flag="harukadate30", miss_flag="harukadate30skip and makihornytrip4", miss_title="Soap"),

        event_row("", divider=True),

        event_row("Small Paper Cups", label="harukacamp1", done_flag="harukacamp1"),
        event_row("Subhuman", label="harukaspring1", done_flag="harukaspring1", miss_flag="harukaspring1miss", miss_title="Crisis Averted!"),
        event_row("Limp-Dicked Loser", label="harukaspring2", done_flag="harukaspring2", miss_flag="harukaspring2miss", miss_title="Open For Business!"),
        event_row("This Town, On its Knees", label="harukaspring3", done_flag="harukaspring3", miss_flag="harukaspring3miss", miss_title="The Ballad of Tebiso"),
        event_row("JR East's DC Tilting EMU E353 Series (Kaiji)", label="harukaspring4", done_flag="harukaspring4"),
        event_row("Traitor's Mark", label="harukachristmalloween1", done_flag="harukachristmalloween1", miss_flag="harukachristmalloween1miss", miss_title="Cattlebrand"),
        event_row("Blood in the Water", label="harukachristmalloween2", done_flag="harukachristmalloween2", miss_flag="harukachristmalloween2miss", miss_title="Mola Mola"),
        event_row("Ancient Dragons", label="harukaspring5", done_flag="harukaspring5", miss_flag="harukaspring5miss", miss_title="Crumbled Golem"),
        event_row("Camelopardalis (At Hoshimachi Station)", label="harukaspring6", done_flag="harukaspring6", miss_flag="harukaspring6miss", miss_title="Caelum's Cancer"),
    ]

    MAKI_EVENTS = [
        event_row("Beautiful Porn Salesman", label="makidate1", done_flag="makidate1"),
        event_row("Maki Miyamura's Mom-Mode Mission", label="makidate5", done_flag="makidate5"),

        event_row("", divider=True),

        event_row("A Fair Trade", label="makidate10", done_flag="makidate10"),
        event_row("Three Afloat On One Raft", label="makiday351", done_flag="makiday351"),
        event_row("Thank You For Your Business", label="makidate15", done_flag="makidate15", miss_flag="makiday351 and (not makibj or not harukalust10)", miss_title="Closed for Renovation"),
        event_row("Traveling Lube Dealer", label="makiinvite1", done_flag="makiinvite1", etype="inviteover"),
        event_row("Special Occasions", label="makiinvite2", done_flag="makiinvite2", etype="inviteover"),

        event_row("", divider=True),

        event_row("Adulting", label="sadgirls3", done_flag="sadgirls3"),
        event_row("Rolling Stop (Turned Backwards)", label="sadgirls6", done_flag="sadgirls6"),
        event_row("Baby Steps", label="makiinv3", done_flag="makiinv3", etype="inviteover"),
        event_row("The Maltese Falcon", label="makihornyquestintro", done_flag="makihornyquestintro"),
        event_row("Shut Up & Cum", label="makihornytrip2", done_flag="makihornytrip2", miss_flag="harumakihornyskip and makihornytrip1", miss_title="You Missed Something Again"),
        event_row("Rotting From the Inside Out", label="makihornytrip3", done_flag="makihornytrip3"),

        event_row("", divider=True),

        event_row("Wires...and the Concept of Breathing", label="makicamp1", done_flag="makicamp1"),
        event_row("A Place Between the Trees", label="makicamp2", done_flag="makicamp2"),
        event_row("To Boldly Go...", label="makilust5", done_flag="makilust5", miss_flag="makilust5miss", miss_title="Humble ABITCH", etype="lust"),
        event_row("Sex Box Memories", label="makispring1", done_flag="makispring1"),
        event_row("Hello Alone", label="makispring2", done_flag="makispring2"),
        event_row("ASS", label="makispring3", done_flag="makispring3"),
        event_row("Budd Dwyer", label="makispring4", done_flag="makispring4"),
        event_row("A Million Tiny Pieces", label="makispring5", done_flag="makispring5"),
    ]

    KIRIN_EVENTS = [
        event_row("Partners in Crime", label="kirindate1", done_flag="kirindate1"),
        event_row("Long and Hard", label="kirindate5", done_flag="kirindate5"),
        event_row("Politics! Pleasure! Ponies!", label="kirindate10", done_flag="kirindate10"),

        event_row("", divider=True),

        event_row("Full Blossom", label="kirinlust5", done_flag="kirinlust5", etype="lust"),
        event_row("Too Much, All at Once", label="kirininvite1", done_flag="kirininvite1", etype="inviteover"),
        event_row("No Extortion Necessary", label="kirininvite2", done_flag="kirininvite2", etype="inviteover"),
        event_row("Morals vs. Orgasms", label="kirinfirsthall", done_flag="kirinfirsthall"),
        event_row("Love, Dorms, and Other Things", label="kirindorm10", done_flag="kirindorm10"),
        event_row("Flickering Spotlight", label="kirinsoccer15", done_flag="kirinsoccer15"),
        event_row("Enigmatology", label="kirinsoccer20", done_flag="kirinsoccer20"),
        event_row("Bye Bye, Boner", label="kirindorm15", done_flag="kirindorm15"),
        event_row("Terms & Conditions", label="kirindorm20", done_flag="kirindorm20"),
        event_row("All That is Contaminated", label="kirindate25", done_flag="kirindate25"),
        event_row("Taking the Reins", label="kirinlust20", done_flag="kirinlust20", miss_flag="kirinlust20skip", miss_title="Falling Off the Tracks", etype="lust"),
        event_row("Dyed Orange, Drenched in Sun", label="kirinspecial25", done_flag="kirinspecial25", miss_flag="kirinspecial25skip", miss_title="Drowned in Blue"),
        event_row("Temporary Bliss", label="kirindorm25", done_flag="kirindorm25"),
        event_row("Four Hand Massage", label="kirinsoccer25", done_flag="kirinsoccer25"),
        event_row("Made Out of Nothing", label="kirinspecial30", done_flag="kirinspecial30", miss_flag="kirinspecial30skip", miss_title="At Least Someone Smiles"),
        event_row("The Other Half", label="kirinlust202", done_flag="kirinlust202", miss_flag="kirinlust202skip", miss_title="Eternally Empty", etype="lust"),

        event_row("", divider=True),

        event_row("Falling Asleep Standing Up", label="kirinlust30", done_flag="kirinlust30", miss_flag="kirinlust30skip", miss_title="Drugs Are Bad", etype="lust"),
        event_row("At the Edge of the Riverbank", label="kirinspecial40", done_flag="kirinspecial40"),
        event_row("Never Enough", label="kirinspecial45p1", done_flag="kirinspecial45p1"),
        event_row("Salmon Onigiri", label="kirinspecial45p2", done_flag="kirinspecial45p2"),

        event_row("", divider=True),

        event_row("Rubber Traits", label="sportswars9", done_flag="sportswars9"),
        event_row("Girls Vs. Robots", label="sportswars18", done_flag="sportswars18"),
        event_row("Clockless Watch", label="kirinspring1", done_flag="kirinspring1"),
        event_row("Solar Eclipse", label="christmaskirin1", done_flag="christmaskirin1"),
        event_row("Animal Control", label="christmaskirin2", done_flag="christmaskirin2"),
        event_row("Perfect Days", label="kirinchristmalloween1", done_flag="kirinchristmalloween1", miss_flag="kirinchristmalloween1miss", miss_title="SEPTIC SEPSIS"),
        event_row("Transpacific Sadness Symposium VII: ANTFARM ANTECHAMBER", label="kirinchristmalloween2", done_flag="kirinchristmalloween2", miss_flag="kirinchristmalloween2miss", miss_title="THE CANCELLATION OF ACT V"),
        event_row("Love, Love, Love", label="kirinspring2", done_flag="kirinspring2", miss_flag="kirinspring2miss", miss_title="SQUIRM, SQUIRM, SQUIRM"),
        event_row("In the Morning, In the Cold", label="kirinspring3", done_flag="kirinspring3"),
        event_row("Failed Attempts at Arson", label="kirinspring4", done_flag="kirinspring4", miss_flag="kirinspring4miss", miss_title="Firestopper"),
    ]

    KARIN_EVENTS = [
        event_row("Further and Further", label="karindate1", done_flag="karindate1"),
        event_row("Walking Penis Monster", label="karindate5", done_flag="karindate5"),
        event_row("If Only", label="karindate10", done_flag="karindate10"),

        event_row("", divider=True),

        event_row("Dying Alone With Ten Cats", label="karindate15", done_flag="karindate15", miss_flag="day264 and not karinlied", miss_title="The Price of Honesty"),
        event_row("Tendrils of Flame", label="karinsoccer15", done_flag="karinsoccer15"),
        event_row("The Adventures of Karli & Steve", label="karinsoccer20", done_flag="karinsoccer20"),
        event_row("Sweet Tooth", label="karindate20", done_flag="karindate20"),

        event_row("", divider=True),

        event_row("Emerald Eyes", label="karindate25", done_flag="karindate25"),
        event_row("Wrong Places/Wrong Times", label="karindate30", done_flag="karindate30"),

        event_row("", divider=True),

        event_row("Touch of Grey", label="karinspring1", done_flag="karinspring1"),
        event_row("Paranoid", label="karinspring2", done_flag="karinspring2"),
        event_row("Better Boy", label="karinspring3", done_flag="karinspring3"),
        event_row("Back to the Basics", label="karinspring4", done_flag="karinspring4"),
        event_row("A Trip to Uzbekistan", label="karinspring5", done_flag="karinspring5"),
        event_row("Top 10 Thoughts to Think", label="karinspring6", done_flag="karinspring6"),
        event_row("Oatmeal Raisin", label="karinspring7", done_flag="karinspring7", miss_flag="karinspring7miss", miss_title="Burnt Chocolate"),
        event_row("Same Time Tomorrow", label="beachsevenkarin1", done_flag="beachsevenkarin1", miss_flag="beachsevenkarin1miss", miss_title="Closed for the Season"),
    ]

    KAORI_EVENTS = [
        event_row("How to Date a Human", label="kaoridate1", done_flag="kaoridate1"),
        event_row("The Best Ways to Rub a Cock", label="kaoridate5", done_flag="kaoridate5"),
        event_row("Objects and Appendages", label="kaoridate10", done_flag="kaoridate10"),

        event_row("", divider=True),

        event_row("To Die, To Sleep", label="kaoridate15", done_flag="kaoridate15"),
        event_row("Sad Girl Special", label="kaoridate15p2", done_flag="kaoridate15p2"),
        event_row("Clouds", label="kaoridate15p3", done_flag="kaoridate15p3"),
        event_row("Såsom i en Spegel", label="kaoridate20", done_flag="kaoridate20"),
        event_row("Wither", label="kaoridate25", done_flag="kaoridate25"),

        event_row("", divider=True),

        event_row("Where the Trees Live", label="kaorispecial35", done_flag="kaorispecial35"),
        event_row("Human Females", label="kaorispecial40", done_flag="kaorispecial40"),
        event_row("Run, Rabbit, Run (Why the Fieldmice Hide)", label="kaoridate40", done_flag="kaoridate40"),

        event_row("", divider=True),

        event_row("Tree Village (The Color Machine)", label="kaoricamp1", done_flag="kaoricamp1"),
        event_row("Il Cervo", label="kaoricamp2", done_flag="kaoricamp2"),
        event_row("Friend", label="halloweenkaori1", done_flag="halloweenkaori1"),
        event_row("Kittens", label="halloweenkaori2", done_flag="halloweenkaori2"),
        event_row("Seas of White (Why Not Here?)", label="kaorispring1", done_flag="kaorispring1"),
        event_row("Clearer Skies & Changing Eyes", label="kaorispring2", done_flag="kaorispring2"),
        event_row("Breeding Material", label="kaorispring3", done_flag="kaorispring3"),
        event_row("Borrowed Flesh", label="kaoriinvite1", done_flag="kaoriinvite1", etype="inviteover"),
        event_row("Scatter the Ashes", label="kaoriinvite2", done_flag="kaoriinvite2", etype="inviteover"),
    ]

    IMANI_EVENTS = [
        event_row("Somewhere I Belong", label="imanidate1", done_flag="imanidate1"),
        event_row("A Hairline Fracture", label="imanidate5", done_flag="imanidate5"),
        event_row("Knotted Up", label="imanidate15p1", done_flag="imanidate15p1"),
        event_row("Arm's Length", label="imanidate15p2", done_flag="imanidate15p2"),
        event_row("Debbie Downer", label="imanispecial15", done_flag="imanispecial15"),

        event_row("", divider=True),

        event_row("Antoa Suo Nyamaa", label="imanispring1", done_flag="imanispring1"),
        event_row("I Will Carry You, My Light", label="imanispring2", done_flag="imanispring2"),
        event_row("Yehoshua", label="christmasimani1", done_flag="christmasimani1"),
        event_row("The Truman Show", label="christmasimani2", done_flag="christmasimani2"),
        event_row("Now & Forever", label="christmasimani3", done_flag="christmasimani3"),
        event_row("The Devil's Bed", label="imanilust5", done_flag="imanilust5", etype="lust"),
        event_row("Lesbian Hand Stuff", label="imanispring3", done_flag="imanispring3"),
        event_row("Lost in the Sauce (Pied Piper)", label="imanispring4", done_flag="imanispring4"),
        event_row("ELATION PROTOCOL 99: HASSAN, HOSANNA (THE MIRROR OF AMIR)", label="beachsevenimani1", done_flag="beachsevenimani1"),
    ]

    RIKA_EVENTS = [
        event_row("Impregnation Spree", label="rikadate1", done_flag="rikadate1"),
        event_row("Back on Track", label="rikaspecial2", done_flag="rikaspecial2"),
        event_row("James and the Giant Peach (Together-ish)", label="rikadive1", done_flag="rikadive1"),

        event_row("", divider=True),

        event_row("Ten Tips and Tricks to Make Even Straight Girls Want to Fuck You", label="sportswars1", done_flag="sportswars1"),
        event_row("Rat College", label="rikaspring1", done_flag="rikaspring1"),
        event_row("Sixty-Minute Mark", label="rikaspring2", done_flag="rikaspring2"),
        event_row("Sins of Thy Beloved", label="rikaspring3", done_flag="rikaspring3"),
        event_row("Four Hours, Thirteen Minutes, Eleven Seconds", label="rikaspring4", done_flag="rikaspring4"),
        event_row("A Horse Rides an Elephant", label="rikaspring5", done_flag="rikaspring5"),
        event_row("Solidarity (Hag Scene)", label="rikaspring6", done_flag="rikaspring6"),
        event_row("How to Escape a Quagmire", label="rikaspring7", done_flag="rikaspring7"),
    ]

    NAO_EVENTS = [
        event_row("Silver Tongue", label="naospecial1", done_flag="naospecial1"),
        event_row("Becoming a Kidnapper", label="naospecial2", done_flag="naospecial2"),
        event_row("Eternity Until", label="naospecial3", done_flag="naospecial3"),

        event_row("", divider=True),

        event_row("Flora", label="naocamp1", done_flag="naocamp1"),
        event_row("What's in the Pot?", label="naocamp2", done_flag="naocamp2"),
        event_row("Even Gods Get Lost", label="halloweennao1", done_flag="halloweennao1"),
        event_row("A House Near a Lake (The Same Place as Always)", label="halloweennao2", done_flag="halloweennao2"),
        event_row("Wings of Anhedonia", label="naospring1", done_flag="naospring1"),
        event_row("Miracle", label="naospring2", done_flag="naospring2"),
        event_row("Nao More Than Ever", label="naospring3", done_flag="naospring3"),
        event_row("Menma", label="naospring4", done_flag="naospring4"),
    ]

    CHINAMI_EVENTS = [
        event_row("5,000 Year-Old Wizard", label="chinamidate1", done_flag="chinamidate1"),
        event_row("Chinami-Corp", label="chinamidate5", done_flag="chinamidate5"),

        event_row("", divider=True),

        event_row("Giant Pool of Jell-O", label="chinamidate10", done_flag="chinamidate10"),
        event_row("Pool Party (Love & Puppies)", label="chinamidate15", done_flag="chinamidate15"),
        event_row("Happy Hour", label="chinamidate20", done_flag="chinamidate20"),

        event_row("", divider=True),

        event_row("Death Trap", label="chinamidate25", done_flag="chinamidate25"),
        event_row("Bad News Bears", label="chinamidate30", done_flag="chinamidate30"),

        event_row("", divider=True),

        event_row("Lucky (China Doll)", label="chinamispring1", done_flag="chinamispring1"),
        event_row("Holden Caulfield", label="chinamispring2", done_flag="chinamispring2"),
        event_row("Backwards Boulevard", label="chinamispring3", done_flag="chinamispring3"),
        event_row("Feed Me to the Farm", label="chinamispring4", done_flag="chinamispring4", miss_flag="chinamispring4miss", miss_title="Mad Cow Disease"),
        event_row("Obnoxious Sexual Rampage", label="chinamispring5", done_flag="chinamispring5", miss_flag="chinamispring5miss", miss_title="Even More Obnoxious Abstinence"),
        event_row("Five Hundred Pancakes", label="chinamispring6", done_flag="chinamispring6", miss_flag="chinamispring6miss", miss_title="Zero Pancakes"),
        event_row("My Adventures as a Trash Compactor", label="chinamispring7", done_flag="chinamispring7"),
        event_row("Transpacific Sadness Symposium IX: HUNG HIGH IN THE HARE HOUSE", label="chinamispring8", done_flag="chinamispring8"),
    ]

    YUKI_EVENTS = [
        event_row("Rule #1", label="yukidate1", done_flag="yukidate1"),
        event_row("Better Off Alone", label="yukidate5", done_flag="yukidate5"),
        event_row("Opposite Directions", label="yukidate10", done_flag="yukidate10"),
        event_row("A Thing of the Past", label="yukidate10p2", done_flag="yukidate10p2"),

        event_row("", divider=True),

        event_row("Funeral Plans", label="yukidate20p1", done_flag="yukidate20p1"),
        event_row("Douchebag McDouchefuck", label="yukidate20p2", done_flag="yukidate20p2"),
        event_row("Pride & Joy", label="yukidate25", done_flag="yukidate25"),

        event_row("", divider=True),

        event_row("Big Dog", label="yukicamp1", done_flag="yukicamp1"),
        event_row("My Heart is in Rotenburg", label="yukicamp2", done_flag="yukicamp2"),
        event_row("Small Plastic Baggies", label="yukispring1", done_flag="yukispring1"),
        event_row("Better Than Sex", label="yukispring2", done_flag="yukispring2"),
        event_row("As the Footsteps Die Out Forever", label="yukispring3", done_flag="yukispring3"),
        event_row("Heart of Fear", label="yukispring4", done_flag="yukispring4"),
        event_row("When I Say “Jump”", label="yukispring5", done_flag="yukispring5"),
        event_row("Bridge Burner", label="yukispring6", done_flag="yukispring6"),
        event_row("Yuki-onna", label="yukispring7", done_flag="yukispring7"),
    ]

    WAKANA_EVENTS = [
        event_row("To the River", label="wakanadate1", done_flag="wakanadate1"),
        event_row("Soup, or Another Year With You", label="wakanadate5", done_flag="wakanadate5"),

        event_row("", divider=True),

        event_row("Pseudonym", label="wakanadate15", done_flag="wakanadate15"),
        event_row("Don't Hold Back", label="wakanaspecial15", done_flag="wakanaspecial15"),
        event_row("The Desk Scene", label="wakanadate25p1", done_flag="wakanadate25p1"),
        event_row("Human Error", label="wakanadate25p2", done_flag="wakanadate25p2"),
        event_row("Follow My Lead", label="wakanadate25p3", done_flag="wakanadate25p3"),

        event_row("", divider=True),

        event_row("Enough is Not Enough", label="wakanaspring1", done_flag="wakanaspring1"),
        event_row("In the Morning, I'll Forget", label="wakanaspring2", done_flag="wakanaspring2"),
        event_row("I'm Wide Awake, It's Morning", label="wakanaspring3", done_flag="wakanaspring3"),
        event_row("Dark White (Pretty Joy)", label="wakanaspring4", done_flag="wakanaspring4"),
        event_row("Connect the Dots", label="wakanaspring5", done_flag="wakanaspring5"),
        event_row("From the Horse’s Mouth", label="wakanaspring6", done_flag="wakanaspring6"),
        event_row("Road to Nowhere", label="wakanaspring7", done_flag="wakanaspring7"),
        event_row("Dick Wizard", label="wakanaspring8", done_flag="wakanaspring8"),
        event_row("The Cask of Amontillado", label="beachsevenwakana1", done_flag="beachsevenwakana1"),
        event_row("Les Fleurs du Mal", label="beachsevenwakana2", done_flag="beachsevenwakana2"),
    ]

    TSUBASA_EVENTS = [
        event_row("Everbloom (Pride of the Sinful Sort)", label="tsubasadate1", done_flag="tsubasadate1"),
        event_row("The Deep End", label="tsubasadate1p2", done_flag="tsubasadate1p2"),

        event_row("", divider=True),

        event_row("Heart of Gold", label="tsubasaspecial15", done_flag="tsubasaspecial15"),
        event_row("Playing God", label="tsubasadate20", done_flag="tsubasadate20"),
        event_row("The Lucky Few", label="tsubasaspecial20", done_flag="tsubasaspecial20"),

        event_row("", divider=True),

        event_row("The Bird & The Worm", label="tsubasaspring1", done_flag="tsubasaspring1"),
        event_row("Petite Sirah", label="tsubasaspring2", done_flag="tsubasaspring2", miss_flag="tsubasaspring2miss", miss_title="Bum Wine"),
        event_row("The Pleasures of the Flesh", label="tsubasaspring3", done_flag="tsubasaspring3", miss_flag="tsubasaspring3miss", miss_title="It Changes With The Light"),
        event_row("Yes, Mother", label="christmastsubasa1", done_flag="christmastsubasa1", miss_flag="christmastsubasa1miss", miss_title="You Are a Very Bad Boy"),
        event_row("Hands-On Learning", label="tsubasaspring4", done_flag="tsubasaspring4", miss_flag="tsubasaspring4miss", miss_title="The Good Guy Approach"),
        event_row("For the Sake of Brevity", label="tsubasaspring5", done_flag="tsubasaspring5", miss_flag="tsubasaspring5miss", miss_title="Solitary Bath Time"),
        event_row("When We Dead Awaken", label="tsubasaspring6", done_flag="tsubasaspring6"),
        event_row("Climbing Up the Ladder", label="tsubasaspring7", done_flag="tsubasaspring7"),
        event_row("Human Veal", label="tsubasaspring8", done_flag="tsubasaspring8", miss_flag="tsubasaspring8miss", miss_title="Cage Legs"),
    ]

    OSAKO_EVENTS = [
        event_row("Pressure Point", label="osakodate1", done_flag="osakodate1"),
        event_row("Floating Forever, Unfulfilled", label="osakodojo1", done_flag="osakodojo1"),

        event_row("", divider=True),

        event_row("Young At Heart", label="osakodate15", done_flag="osakodate15"),
        event_row("House of the Unholy", label="osakodate20", done_flag="osakodate20"),

        event_row("", divider=True),

        event_row("Chaos Spiral (Heterosexual Sex)", label="osakospring1", done_flag="osakospring1"),
        event_row("Meat-Pocket", label="osakospring2", done_flag="osakospring2"),
        event_row("Indecent Proposal", label="osakospring3", done_flag="osakospring3"),
        event_row("MILF of the Month Club", label="osakospring4", done_flag="osakospring4"),
        event_row("Girl C", label="osakospring5", done_flag="osakospring5"),
        event_row("All Good Things", label="osakospring6", done_flag="osakospring6"),
        event_row("When Harry Met Gandalf", label="osakospring7", done_flag="osakospring7"),
        event_row("Troubles, Trials, and Tribadism", label="osakospring8", done_flag="osakospring8"),
        event_row("Pica", label="osakospring9", done_flag="osakospring9"),
    ]

    TSUKASA_EVENTS = [
        event_row("National Tsukasa Day", label="tsukasaspecial1", done_flag="tsukasaspecial1"),
        event_row("Jeeves Tsukioka XIII", label="tsukasaspecial1p2", done_flag="tsukasaspecial1p2"),

        event_row("", divider=True),

        event_row("Vow of Silence (Pole Position)", label="tsukasaspring1", done_flag="tsukasaspring1", miss_flag="tsukasaspring1skip", miss_title="YOU"),
        event_row("Blood & Sunset", label="tsukasaspring2", done_flag="tsukasaspring2", miss_flag="tsukasaspring2skip", miss_title="ARE"),
        event_row("Failsafe", label="tsukasaspring3", done_flag="tsukasaspring3", miss_flag="tsukasaspring3skip", miss_title="WEAK"),
        event_row("A Part of Your World", label="christmastsukasa1", done_flag="christmastsukasa1"),
        event_row("The Talk", label="tsukasaspring4", done_flag="tsukasaspring4", miss_flag="tsukasaspring4skip", miss_title="WEAK"),
        event_row("Six Inches of Suffering", label="tsukasaspring5", done_flag="tsukasaspring5", miss_flag="tsukasaspring5miss", miss_title="No Penis, No Gain"),
        event_row("Useless, Flightless Fledgling", label="tsukasaspring6", done_flag="tsukasaspring6", miss_flag="tsukasaspring6miss", miss_title="Leaving the Nest"),
        event_row("The Gays", label="tsukasaspring7", done_flag="tsukasaspring7", miss_flag="tsukasaspring7miss", miss_title="The Gaze"),
        event_row("To Bury a Body", label="tsukasaspring8", done_flag="tsukasaspring8", miss_flag="tsukasaspring8miss", miss_title="To Rise From the Dead"),
        event_row("Simple Moving Average", label="tsukasaspring9", done_flag="tsukasaspring9", miss_flag="tsukasaspring9miss", miss_title="Overbought"),
    ]

    UTA_EVENTS = [
        event_row("Far From Home", label="utafirsthall", done_flag="utafirsthall"),
        event_row("Abuse of Power", label="utamaid1", done_flag="utamaid1"),
        event_row("Love Me to Pieces", label="utamaid5", done_flag="utamaid5"),
        event_row("The VIP Treatment", label="utadorm5", done_flag="utadorm5"),
        event_row("Shawshank Redemption", label="utadorm10", done_flag="utadorm10"),
        event_row("Happier Things", label="utamaid10", done_flag="utamaid10"),
        event_row("Facetime With My Mom (Tonight)", label="utadorm15", done_flag="utadorm15"),
        event_row("Veins and the Circulatory System", label="utamaid20", done_flag="utamaid20"),
        event_row("Blood Everywhere", label="utadorm20", done_flag="utadorm20"),

        event_row("", divider=True),

        event_row("Impulse", label="utaarchery1", done_flag="utaarchery1"),
        event_row("Where Wishes Come True", label="utamaid25p1", done_flag="utamaid25p1"),
        event_row("After the Rain", label="utamaid25p2", done_flag="utamaid25p2"),
        event_row("Uta-chan", label="utadorm30", done_flag="utadorm30"),
        event_row("Young & Stupid", label="utaspecial35", done_flag="utaspecial35"),
        event_row("Enjo Kousai", label="utadate35", done_flag="utadate35"),
        event_row("Whore", label="utadorm40p1", done_flag="utadorm40p1"),
        event_row("The Girl From Nara", label="utadorm40p2", done_flag="utadorm40p2"),

        event_row("", divider=True),

        event_row("To Be Wanted", label="utaspring1", done_flag="utaspring1"),
        event_row("Meet Me At Our Spot", label="utaspring2", done_flag="utaspring2"),
        event_row("Reasons For Rain", label="beachfive14", done_flag="beachfive14"),
        event_row("Songs of Autumn", label="utaspring3", done_flag="utaspring3"),
        event_row("Heebie-Jeebies", label="utaspring4", done_flag="utaspring4"),
        event_row("A Thousand Times, Yes", label="utaspring5", done_flag="utaspring5"),
        event_row("Stolen Valor", label="utaspring6", done_flag="utaspring6", miss_flag="utaspring6miss", miss_title="One Year in Prison"),
        event_row("ASL", label="utaspring7", done_flag="utaspring7"),
        event_row("ELATION PROTOCOL 99: DEFINE INTERVENTION", label="utaspring8", done_flag="utaspring8"),
        event_row("Secret Admirer", label="utaspring9", done_flag="utaspring9"),
    ]

    IO_EVENTS = [
        event_row("Viva la Revolución", label="iofirsthall", done_flag="iofirsthall"),
        event_row("Nonetheless, I'm Here", label="bathhouse1", done_flag="bathhouse1"),
        event_row("The Girl with the Dragon Tattoo", label="bathhouse5", done_flag="bathhouse5"),
        event_row("Unnamed Wooden Robots", label="iodorm5", done_flag="iodorm5"),
        event_row("Paperthin", label="iodorm10", done_flag="iodorm10"),
        event_row("Turn On The Lights", label="bathhouse10", done_flag="bathhouse10"),
        event_row("Amongst Other Things", label="iodorm15", done_flag="iodorm15"),
        event_row("One Man's Trash", label="bathhouse20", done_flag="bathhouse20"),
        event_row("Another Man's Treasure", label="bathhouse20part2", done_flag="bathhouse20part2"),

        event_row("", divider=True),

        event_row("Cupid's Arrow", label="ioarchery1", done_flag="ioarchery1"),
        event_row("Work Less, Not Hard", label="bathhouse25", done_flag="bathhouse25"),
        event_row("Heartbreak & Harmony", label="iodorm25", done_flag="iodorm25"),
        event_row("1999 PC Classic, Rollercoaster Tycoon", label="iospecial30", done_flag="iospecial30"),
        event_row("Tennis Ball", label="bathhouse35p1", done_flag="bathhouse35p1"),
        event_row("Hold You Over", label="bathhouse35p2", done_flag="bathhouse35p2"),
        event_row("Yellow Cactus Flower", label="iodorm35", done_flag="iodorm35"),
        event_row("Two Of Us Are Thinking", label="ioarchery35", done_flag="ioarchery35"),

        event_row("", divider=True),

        event_row("My Indigo (The Blue Death)", label="iospring1", done_flag="iospring1"),
        event_row("Komorebi", label="iospring2", done_flag="iospring2"),
        event_row("Stomachache", label="iospring3", done_flag="iospring3", miss_flag="iospring3miss", miss_title="Dress-Up"),
        event_row("1997 PC Classic, Theme Hospital", label="iospring4", done_flag="iospring4"),
        event_row("Even Winning Feels Bad", label="iospring5", done_flag="iospring5"),
        event_row("Endless Black (Sea of Nothing)", label="dormwarsfiveio1", done_flag="dormwarsfiveio1"),
        event_row("Man-Meat", label="iospring6", done_flag="iospring6"),
        event_row("Animal Cruelty", label="iospring7", done_flag="iospring7", miss_flag="iospring7miss", miss_title="Joining PETA"),
        event_row("The Hatchery", label="iospring8", done_flag="iospring8"),
        event_row("My Anchor & Me", label="beachsevenio1", done_flag="beachsevenio1"),
    ]

    NORIKO_EVENTS = [
        event_row("Sculpture (Dream Girl)", label="norikofirsthall", done_flag="norikofirsthall"),
        event_row("Nakayarakawayama", label="convenience1", done_flag="convenience1"),
        event_row("Semi-Constructive Criticism", label="norikodorm5", done_flag="norikodorm5"),
        event_row("Mouthjob", label="convenience5", done_flag="convenience5"),
        event_row("Kind Of, Yes. Kind Of, No.", label="norikodorm10", done_flag="norikodorm10"),
        event_row("New Shoes", label="norikoinvite1", done_flag="norikoinvite1", etype="inviteover"),
        event_row("Beginnings. Endings. Things in Between.", label="norikoinvite2", done_flag="norikoinvite2", etype="inviteover"),
        event_row("Fair & Square", label="norikospecial20", done_flag="norikospecial20"),
        event_row("Homes for the Homeless", label="norikodorm20", done_flag="norikodorm20"),
        event_row("That One FMK Scene", label="convenience25", done_flag="convenience25"),
        event_row("Loxosceles Reclusa", label="norikodorm25", done_flag="norikodorm25"),

        event_row("", divider=True),

        event_row("Hotel Noriko", label="norikodate30", done_flag="norikodate30"),
        event_row("Dotted Line", label="norikodorm30", done_flag="norikodorm30"),
        event_row("I Really Want to Stay at Your House", label="norikoinvite3", done_flag="norikoinvite3", miss_flag="norikoinvite3skip", miss_title="CONSUMED BY THE OLD ONE", etype="inviteover"),
        event_row("Somewhere", label="norikoinvite4", done_flag="norikoinvite4", miss_flag="norikoinvite4skip", miss_title="NOWHERE", etype="inviteover"),

        event_row("", divider=True),

        event_row("Rivals (Taco Tuesday)", label="sportswars2", done_flag="sportswars2"),
        event_row("The Long Road Ahead", label="norikospring1", done_flag="norikospring1"),
        event_row("Transpacific Sadness Symposium I: DEN OF THE MOLE RAT", label="norikospring2", done_flag="norikospring2"),
        event_row("Hard-Off", label="norikospring3", done_flag="norikospring3"),
        event_row("Haiku", label="norikospring4", done_flag="norikospring4"),
        event_row("At The Beach, In Every Life", label="norikospring5", done_flag="norikospring5"),
        event_row("Circling the Drain", label="beachsixnoriko1", done_flag="beachsixnoriko1", etype="lust"),
        event_row("Reasons to Die", label="norikoinvite5", done_flag="norikoinvite5", etype="inviteover"),
        event_row("Love in Strange Forms", label="norikoinvite6", done_flag="norikoinvite6", miss_flag="norikoinvite6miss", miss_title="PYRAMID OF HATE", etype="inviteover"),
    ]

    NIKI_EVENTS = [
        event_row("Cotton Candy", label="nikidate1", done_flag="nikidate1"),
        event_row("Like it's Any Other Day", label="nikidate5", done_flag="nikidate5"),
        event_row("Thousands, If Not Millions", label="nikidate10", done_flag="nikidate10"),
        event_row("Hotel Rooms", label="nikidate15", done_flag="nikidate15"),
        event_row("Sisters", label="nikiinvite1", done_flag="nikiinvite1", etype="inviteover"),
        event_row("Dear You", label="nikiinvite2", done_flag="nikiinvite2", etype="inviteover"),

        event_row("", divider=True),

        event_row("What it Takes to Move Forward", label="nikilovesyou1", done_flag="nikilovesyou1"),
        event_row("The End of the Tour (Glasswalker)", label="nikilovesyou2", done_flag="nikilovesyou2"),
        event_row("How To Make Love Stay", label="nikilovesyou3", done_flag="nikilovesyou3"),
        event_row("Non-Disclosure Agreement", label="nikifirstlust", done_flag="nikifirstlust", etype="lust"),

        event_row("", divider=True),

        event_row("They Came Together", label="nikispring1", done_flag="nikispring1"),
        event_row("The Clod and the Pebble", label="nikispring2", done_flag="nikispring2"),
        event_row("Broken Furniture", label="beachfive8", done_flag="beachfive8"),
        event_row("That Funny Feeling", label="nikispring3", done_flag="nikispring3"),
        event_row("Costco (Dick Lover)", label="nikispring4", done_flag="nikispring4"),
        event_row("Beauty in What's Broken", label="nikispring5", done_flag="nikispring5"),
        event_row("Artificial Love", label="nikispring6", done_flag="nikispring6"),
        event_row("This World, So Full of Fish", label="nikispring7", done_flag="nikispring7"),
        event_row("Say Anything", label="nikispring8", done_flag="nikispring8"),
        event_row("Take it Easy (Love Nothing)", label="dormwarssixniki1", done_flag="dormwarssixniki1"),
    ]

    NODOKA_EVENTS = [
        event_row("Humbert Humbert", label="nodokafirsthall", done_flag="nodokafirsthall"),
        event_row("The Man Who Would Be King", label="nodokadorm1", done_flag="nodokadorm1"),
        event_row("Cracks in the Armor", label="nodokalibrary1", done_flag="nodokalibrary1"),
        event_row("Coloring Book", label="nodokalibrary5", done_flag="nodokalibrary5"),
        event_row("I See Everything", label="nodokadorm5", done_flag="nodokadorm5"),

        event_row("", divider=True),

        event_row("Beyond the Reach of God", label="nodokadorm15", done_flag="nodokadorm15"),
        event_row("So Far Below", label="nodokaspecial15p1", done_flag="nodokaspecial15p1"),
        event_row("Matador", label="nodokaspecial15p2", done_flag="nodokaspecial15p2"),
        event_row("Things That Hurt", label="nodokaspecial15p3", done_flag="nodokaspecial15p3", miss_flag="nodokaspecial15p3skip", miss_title="Seeing Red"),
        event_row("Twisting Ivy", label="nodokaspecial20", done_flag="nodokaspecial20"),
        event_row("Amoeba (Incontrovertible Peculiarity)", label="nodokaspecial30p1", done_flag="nodokaspecial30p1"),
        event_row("This is Us", label="nodokaspecial30p2", done_flag="nodokaspecial30p2"),
        event_row("Taco Attack", label="nodokaspecial30p3", done_flag="nodokaspecial30p3"),
        event_row("Lavender", label="nodokaspecial30p4", done_flag="nodokaspecial30p4"),

        event_row("", divider=True),

        event_row("Meet & Fuck", label="sportswars17", done_flag="sportswars17"),
        event_row("The Silver King", label="beachfive6", done_flag="beachfive6"),
        event_row("Mille Crepe", label="beachfive10", done_flag="beachfive10"),
        event_row("When the Well Runs Dry", label="halloweennodoka1", done_flag="halloweennodoka1"),
        event_row("Perfect Hair Forever", label="nodokainvite1", done_flag="nodokainvite1", etype="inviteover"),
        event_row("Number One Fan", label="nodokainvite2", done_flag="nodokainvite2", etype="inviteover"),
        event_row("How to Fuck Your Father", label="nodokainvite3", done_flag="nodokainvite3", miss_flag="nodokainvite3miss", miss_title="How to Cuck Your Daughter", etype="inviteover"),
        event_row("Hark! Now I Hear Them.", label="nodokachristmalloween1", done_flag="nodokachristmalloween1"),
        event_row("Beseech the Queen", label="nodokachristmalloween2", done_flag="nodokachristmalloween2"),
        event_row("The Hours of Folly (Return to Sender)", label="nodokachristmalloween3", done_flag="nodokachristmalloween3"),
        event_row("Rotten Wood & Rusty Nails", label="dormwarssixnodoka1", done_flag="dormwarssixnodoka1"),
        event_row("Number Girl", label="nodokaspring1", done_flag="nodokaspring1"),
        event_row("Virgin Birth (Passer Montanus)", label="nodokaspring2", done_flag="nodokaspring2"),
        event_row("Worlds Unseen", label="nodokaspring3", done_flag="nodokaspring3"),
    ]

    OTOHA_EVENTS = [
        event_row("Everybody Loves Otoha", label="otohafirsthall", done_flag="otohafirsthall"),
        event_row("Conversations Outside of a Girls’ Dorm", label="otohadorm1", done_flag="otohadorm1"),
        event_row("Japanese Summer (Double Suicide)", label="otohapark1", done_flag="otohapark1"),
        event_row("Locked In", label="otohapark5", done_flag="otohapark5"),
        event_row("Highly Pornographic", label="otohadorm5", done_flag="otohadorm5"),
        event_row("Pull the Plug", label="otohapark10", done_flag="otohapark10"),
        event_row("Two-Octave Pitch Glide", label="otohaspecial10", done_flag="otohaspecial10"),
        event_row("Breathing in Unison", label="otohadorm10", done_flag="otohadorm10"),
        event_row("Vanilla Bean", label="otohadorm10p2", done_flag="otohadorm10p2"),

        event_row("", divider=True),

        event_row("King Midas", label="otohaspecial15p1", done_flag="otohaspecial15p1"),
        event_row("White People", label="otohaspecial15p2", done_flag="otohaspecial15p2"),
        event_row("Breaking Character", label="otohadate20", done_flag="otohadate20"),

        event_row("", divider=True),

        event_row("This Curse Called Youth", label="otohaspring1", done_flag="otohaspring1"),
        event_row("Taint the Sapling", label="otohaspring2", done_flag="otohaspring2"),
        event_row("Something Wonderful", label="otohaspring3", done_flag="otohaspring3"),
        event_row("Sisterly Love", label="christmasotoha1", done_flag="christmasotoha1"),
        event_row("Becoming Closer to Closure", label="otohaspring4", done_flag="otohaspring4"),
        event_row("Something in the Water", label="beachsixotoha1", done_flag="beachsixotoha1"),
        event_row("Five Star Review", label="otohaspring5", done_flag="otohaspring5"),
        event_row("Billboard Hot 100", label="otohaspring6", done_flag="otohaspring6"),
        event_row("Pet Sounds", label="otohaspring7", done_flag="otohaspring7"),
    ]

    TOUKA_EVENTS = [
        event_row("Spontaneous Sentimentality", label="toukafirsthall", done_flag="toukafirsthall"),
        event_row("Trial Period", label="toukastreets1", done_flag="toukastreets1"),
        event_row("Fish Out of Water", label="toukadorm1", done_flag="toukadorm1"),
        event_row("A Brief Moment in Time", label="toukastreets5", done_flag="toukastreets5"),
        event_row("Loser", label="toukadorm5", done_flag="toukadorm5"),
        event_row("House Call", label="toukadorm10", done_flag="toukadorm10"),
        event_row("A Commoner's Tour of Summer", label="toukaspecial15", done_flag="toukaspecial15"),
        event_row("Red-ish Light District", label="toukaspecial15p2", done_flag="toukaspecial15p2"),
        event_row("Something Less Lonely", label="toukaspecial15p3", done_flag="toukaspecial15p3"),

        event_row("", divider=True),

        event_row("Kryptonite", label="toukaarchery20", done_flag="toukaarchery20"),
        event_row("For Want Of", label="toukadorm25p1", done_flag="toukadorm25p1"),
        event_row("To Lift This Aching Head", label="toukadorm25p2", done_flag="toukadorm25p2"),
        event_row("Under My Wing", label="toukadorm25p3", done_flag="toukadorm25p3"),

        event_row("", divider=True),

        event_row("Salt in the Wound", label="toukacamp1", done_flag="toukacamp1"),
        event_row("Blankets & Ball-Gags", label="toukaspring1", done_flag="toukaspring1"),
        event_row("Artisan Hands", label="toukaspring2", done_flag="toukaspring2"),
        event_row("One Thousand Penises", label="toukaspring3", done_flag="toukaspring3"),
        event_row("Come For Me", label="toukaspring4", done_flag="toukaspring4"),
        event_row("One of the Girls", label="toukaspring5", done_flag="toukaspring5"),
        event_row("Spermicide", label="toukaspring6", done_flag="toukaspring6"),
        event_row("The Corpse of Seth Rogen", label="toukaspring7", done_flag="toukaspring7"),
        event_row("One Step Closer", label="toukaspring8", done_flag="toukaspring8"),
        event_row("Hitohira", label="beachseventouka1", done_flag="beachseventouka1"),
    ]

    YASU_EVENTS = [
        event_row("The Hole That Swallowed Everything", label="yasufirsthall", done_flag="yasufirsthall"),
        event_row("Transference", label="church1", done_flag="church1"),
        event_row("Armor of Older Gods", label="church5", done_flag="church5"),
        event_row("Repentance", label="yasudorm10", done_flag="yasudorm10"),
        event_row("Sakura Season", label="church10", done_flag="church10"),

        event_row("", divider=True),

        event_row("Down The Rabbit Hole", label="church15", done_flag="church15"),
        event_row("Sore Thumb", label="yasuspecial15", done_flag="yasuspecial15"),
        event_row("Mother Duck", label="church20", done_flag="church20"),
        event_row("Glossolalia", label="yasudorm20", done_flag="yasudorm20"),
        event_row("The River Styx", label="yasuspecial20", done_flag="yasuspecial20"),
        event_row("Frankincense & Myrrh", label="church25", done_flag="church25"),
        event_row("Hand of God", label="yasudorm25", done_flag="yasudorm25"),
        event_row("An Apple Each Day", label="yasudorm30", done_flag="yasudorm30"),

        event_row("", divider=True),

        event_row("Throne of Flesh", label="yasuspring1", done_flag="yasuspring1"),
        event_row("Fruits of Torment", label="yasuspring2", done_flag="yasuspring2"),
        event_row("The Art of Drowning", label="yasuspring3", done_flag="yasuspring3"),
        event_row("Infinity House", label="halloweenyasu1", done_flag="halloweenyasu1"),
        event_row("False Chameleon", label="yasuspring4", done_flag="yasuspring4"),
        event_row("Etinsib Ziwa & The Book of Colors", label="yasuspring5", done_flag="yasuspring5"),
        event_row("Before the Sun Sets", label="yasuchristmalloween1", done_flag="yasuchristmalloween1"),
        event_row("His Eternal Diary", label="yasuchristmalloween2", done_flag="yasuchristmalloween2"),
        event_row("Child of Light", label="yasuspring6", done_flag="yasuspring6"),
        event_row("Ichigo Daifuku", label="yasuspring7", done_flag="yasuspring7"),
        event_row("Heretic", label="yasuspring8", done_flag="yasuspring8"),
    ]


################################################################################
## Now Playing Tracking
################################################################################

init 1 python:

    _ALL_EVENT_LISTS = [
        MAIN_EVENTSCH1, MAIN_EVENTSCH2, MAIN_EVENTSCH3, MAIN_EVENTSCH4,
        SECRET_EVENTS,
        AMI_EVENTS, MAYA_EVENTS, CHIKA_EVENTS, YUMI_EVENTS, AYANE_EVENTS,
        SANA_EVENTS, MAKOTO_EVENTS, MIKU_EVENTS, FUTABA_EVENTS, RIN_EVENTS,
        MOLLY_EVENTS, TSUNEYO_EVENTS, SARA_EVENTS, HARUKA_EVENTS, MAKI_EVENTS,
        KIRIN_EVENTS, KARIN_EVENTS, KAORI_EVENTS, IMANI_EVENTS, RIKA_EVENTS,
        NAO_EVENTS, CHINAMI_EVENTS, YUKI_EVENTS, WAKANA_EVENTS, TSUBASA_EVENTS,
        OSAKO_EVENTS, TSUKASA_EVENTS, UTA_EVENTS, IO_EVENTS, NORIKO_EVENTS,
        NIKI_EVENTS, NODOKA_EVENTS, OTOHA_EVENTS, TOUKA_EVENTS, YASU_EVENTS,
    ]

    # Maps arbitrary labels to titles; most useful for correctly displaying events that "enclose" other events
    # Include the label the inner event returns to and then the name of the outer event
    EXTRA_EVENT_LABELS = {
        "happyloop1": "Rewrite",
        "coolrectanglemachine": "There is Nothing",
        "survivemenu": "Word of the Day",
        "resetfourmenu": "A Life of Prizes",
        "gstriviaround2": "Untitled",
        "escaperoommainmenu": "Times New Roman",
        "gameworldmainhub": "SENSEI-QUEST",
        "gpmi": "Amy",
        "gpmh": "Amy",
        "gpmq": "Amy",
        "buildamayahub": "Flowers for Algernon",
    }

    ALL_EVENTS_BY_LABEL = {}
    for _lst in _ALL_EVENT_LISTS:
        for _e in _lst:
            if _e.get("label") and not _e.get("divider"):
                ALL_EVENTS_BY_LABEL[_e["label"]] = _e.get("title", "")
    ALL_EVENTS_BY_LABEL.update(EXTRA_EVENT_LABELS)

    SANDBOX_LABELS = {
        "saturdaymorning", "saturdayafternoon", "saturdaynight",
        "weekdaymorning", "morningch4", "noonch4", "nightch4",
        "dellaslump",
    }

    def _track_event_label(label, abnormal):
        if label in ALL_EVENTS_BY_LABEL:
            store.current_event_title = ALL_EVENTS_BY_LABEL[label]
        elif label in SANDBOX_LABELS:
            store.current_event_title = ""

    config.label_callback = _track_event_label

    _MUSIC_TITLES = {k.lower(): v[0] for k, v in musicList.items()}

    def get_music_title():
        path = renpy.music.get_playing(channel='music')
        if not path:
            return None
        filename = path.replace("\\", "/").rsplit("/", 1)[-1]
        return _MUSIC_TITLES.get(filename.lower(), filename)



init python:
    def jump_pages(current_page, amount):
        renpy.run(FilePage(current_page + amount))

################################################################################
## Styles
################################################################################

style aff:
    size 35
    font "YuGothM.ttc"

style event_button:
    size 33
    font "YuGothM.ttc"
    color "#00C803"
    hover_color "#FF00F7"
    padding (0, 0)
    margin(0, 0)

style affgrid:
    size 35
    font "YuGothM.ttc"
    padding (0, 0)
    margin(0, 0)
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style affgrid2_text:
    size 35
    font "YuGothM.ttc"
    hover_color "#0034FF"
    padding (0, 0)
    margin(0, 0)
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style mybutton:
    size 35
    font "YuGothM.ttc"
    color "#00C803"
    hover_color "#FF00F7"
    padding (0, 0)
    margin(0, 0)

style dlcbutton:
    size 35
    font "YuGothM.ttc"
    color "#ff4dd2"
    hover_color "#00bab1"
    padding (0, 0)
    margin(0, 0)
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style dlcmaya:
    size 35
    font "YuGothM.ttc"
    color "#18b500"
    padding (0, 0)
    margin(0, 0)
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style dlcami:
    size 35
    font "YuGothM.ttc"
    color "#ff4dd2"
    padding (0, 0)
    margin(0, 0)
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style dlcayane:
    size 35
    font "YuGothM.ttc"
    color "#00bab1"
    padding (0, 0)
    margin(0, 0)
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style profile:
    size 55
    #font "yugothm.ttc"
    font "hellowins.ttf"
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style progress:
    size 32
    #font "yugothm.ttc"
    font "YuGothM.ttc"
    #outlines [ (absolute(1.3), "#000", absolute(0), absolute(0)) ]

style default:
    properties gui.text_properties()
    language gui.language

style input:
    properties gui.text_properties("input", accent=True)
    adjust_spacing False

style hyperlink_text:
    properties gui.text_properties("hyperlink", accent=True)
    hover_underline True

style gui_text:
    properties gui.text_properties("interface")


style button:
    properties gui.button_properties("button")

style button_text is gui_text:
    properties gui.text_properties("button")
    yalign 0.5


style label_text is gui_text:
    properties gui.text_properties("label", accent=True)

style prompt_text is gui_text:
    properties gui.text_properties("prompt")


style bar:
    ysize gui.bar_size
    left_bar Frame("gui/bar/left.png", gui.bar_borders, tile=gui.bar_tile)
    right_bar Frame("gui/bar/right.png", gui.bar_borders, tile=gui.bar_tile)

style vbar:
    xsize gui.bar_size
    top_bar Frame("gui/bar/top.png", gui.vbar_borders, tile=gui.bar_tile)
    bottom_bar Frame("gui/bar/bottom.png", gui.vbar_borders, tile=gui.bar_tile)

style scrollbar:
    ysize gui.scrollbar_size
    base_bar Frame("gui/scrollbar/horizontal_[prefix_]bar.png", gui.scrollbar_borders, tile=gui.scrollbar_tile)
    thumb Frame("gui/scrollbar/horizontal_[prefix_]thumb.png", gui.scrollbar_borders, tile=gui.scrollbar_tile)

style vscrollbar:
    xsize gui.scrollbar_size
    base_bar Frame("gui/scrollbar/vertical_[prefix_]bar.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile)
    thumb Frame("gui/scrollbar/vertical_[prefix_]thumb.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile)

style slider:
    ysize gui.slider_size
    base_bar Frame("gui/slider/horizontal_[prefix_]bar.png", gui.slider_borders, tile=gui.slider_tile)
    thumb "gui/slider/horizontal_[prefix_]thumb.png"

style vslider:
    xsize gui.slider_size
    base_bar Frame("gui/slider/vertical_[prefix_]bar.png", gui.vslider_borders, tile=gui.slider_tile)
    thumb "gui/slider/vertical_[prefix_]thumb.png"


style frame:
    padding gui.frame_borders.padding
    background Frame("gui/frame.png", gui.frame_borders, tile=gui.frame_tile)



################################################################################
## In-game screens
################################################################################


## Say screen ##################################################################
##
## The say screen is used to display dialogue to the player. It takes two
## parameters, who and what, which are the name of the speaking character and
## the text to be displayed, respectively. (The who parameter can be None if no
## name is given.)
##
## This screen must create a text displayable with id "what", as Ren'Py uses
## this to manage text display. It can also create displayables with id "who"
## and id "window" to apply style properties.
##
## https://www.renpy.org/doc/html/screen_special.html#say

screen say(who, what):
    style_prefix "say"

    window:
        id "window"

        if persistent.theme == "dark":
            background Image("gui/textboxdark.png", xalign=0.5, yalign=1.0)
        else:
            background Image("gui/textbox.png", xalign=0.5, yalign=1.0)

        if who is not None:

            window:
                id "namebox"
                style "namebox"
                text who id "who"

        text what id "what":
            if persistent.theme == "dark":
                color "#FFFFFF"
            else:
                color gui.text_color

    if day == 1:
        add "sprites/Monday.png"
    elif day == 2:
        add "sprites/Tuesday.png"
    elif day == 3:
        add "sprites/Wednesday.png"
    elif day == 4:
        add "sprites/Thursday.png"
    elif day == 5:
        add "sprites/Friday.png"
    elif day == 6:
        add "sprites/Saturday.png"
    elif day == 7:
        add "sprites/Sunday.png"

    ## If there's a side image, display it above the text. Do not display on the
    ## phone variant - there's no room.
    if not renpy.variant("small"):
        add SideImage() xalign 0.0 yalign 1.0


## Make the namebox available for styling through the Character object.
init python:
    config.character_id_prefixes.append('namebox')

style window is default
style say_label is default
style say_dialogue is default
style say_thought is say_dialogue

style namebox is default
style namebox_label is say_label


style window:
    xalign 0.5
    xfill True
    yalign gui.textbox_yalign
    ysize gui.textbox_height

style namebox:
    xpos gui.name_xpos
    xanchor gui.name_xalign
    xsize gui.namebox_width
    ypos gui.name_ypos
    ysize gui.namebox_height

    background Frame("gui/namebox.png", gui.namebox_borders, tile=gui.namebox_tile, xalign=gui.name_xalign)
    padding gui.namebox_borders.padding

style say_label:
    properties gui.text_properties("name", accent=True)
    xalign gui.name_xalign
    yalign 0.5

style say_dialogue:
    properties gui.text_properties("dialogue")

    xpos gui.dialogue_xpos
    xsize gui.dialogue_width
    ypos gui.dialogue_ypos


## Input screen ################################################################
##
## This screen is used to display renpy.input. The prompt parameter is used to
## pass a text prompt in.
##
## This screen must create an input displayable with id "input" to accept the
## various input parameters.
##
## https://www.renpy.org/doc/html/screen_special.html#input

screen input(prompt):
    style_prefix "input"

    window:

        vbox:
            xalign gui.dialogue_text_xalign
            xpos gui.dialogue_xpos
            xsize gui.dialogue_width
            ypos gui.dialogue_ypos

            text prompt style "input_prompt"
            input id "input"

style input_prompt is default

style input_prompt:
    xalign gui.dialogue_text_xalign
    properties gui.text_properties("input_prompt")

style input:
    xalign gui.dialogue_text_xalign
    xmaximum gui.dialogue_width


## Choice screen ###############################################################
##
## This screen is used to display the in-game choices presented by the menu
## statement. The one parameter, items, is a list of objects, each with caption
## and action fields.
##
## https://www.renpy.org/doc/html/screen_special.html#choice

#screen choice(items):
#    style_prefix "choice"
#
#    vbox:
#        for i in items:
#            textbutton i.caption action i.action

style choice_button_light:
    background "gui/button/choice_idle_background.png"
    hover_background "gui/button/choice_hover_background.png"

style choice_button_dark:
    background "gui/button/choice_idle_backgrounddark.png"
    hover_background "gui/button/choice_hover_backgrounddark.png"

screen choice(items):
    style_prefix "choice"

    if len(items) >= 10:
        viewport:
            draggable True
            mousewheel True
            scrollbars "vertical"

            xsize gui.choice_button_width
            ysize config.screen_height - 180

            xalign 0.5
            yalign 0.5

            vbox:
                for i in items:
                    textbutton i.caption action i.action:
                        if persistent.theme == "dark":
                            background "gui/button/choice_idle_backgrounddark.png"
                            hover_background "gui/button/choice_hover_backgrounddark.png"
                            text_style "choice_button_text_dark"
                        else:
                            background "gui/button/choice_idle_background.png"
                            hover_background "gui/button/choice_hover_background.png"
                            text_style "choice_button_text"

    else:
        vbox:
            for i in items:
                textbutton i.caption action i.action:
                    if persistent.theme == "dark":
                        background "gui/button/choice_idle_backgrounddark.png"
                        hover_background "gui/button/choice_hover_backgrounddark.png"
                        text_style "choice_button_text_dark"
                    else:
                        background "gui/button/choice_idle_background.png"
                        hover_background "gui/button/choice_hover_background.png"
                        text_style "choice_button_text"

## When this is true, menu captions will be spoken by the narrator. When false,
## menu captions will be displayed as empty buttons.
define config.narrator_menu = True


style choice_vbox is vbox
style choice_button is button
style choice_button_text is button_text

style choice_vbox:
    xalign 0.5
    ypos 405
    yanchor 0.5

    spacing gui.choice_spacing

style choice_button is default:
    properties gui.button_properties("choice_button")

style choice_button_text is default:
    properties gui.button_text_properties("choice_button")

style choice_button_text_dark is choice_button_text:
    color "#FFFFFF"
    hover_color "#FFFFFF"
    insensitive_color "#888888"

## Quick Menu screen ###########################################################
##
## The quick menu is displayed in-game to provide easy access to the out-of-game
## menus.

screen quick_menu():

    ## Ensure this appears on top of other screens.
    zorder 100

    if quick_menu:

        hbox:
            style_prefix "quick"

            xalign 0.5
            yalign 1.0

            textbutton _("History") action ShowMenu('history')
            textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
            textbutton _("Auto") action Preference("auto-forward", "toggle")
            textbutton _("Event Tracker") action ShowMenu('eventtracker11')
            textbutton _("Girls") action ShowMenu('eventtrackercharahub')
            textbutton _("Progress") action ShowMenu('affection')
            textbutton _("Unlockables") action ShowMenu('unlockables')
            textbutton _("Save") action ShowMenu('save')
            textbutton _("Load") action ShowMenu('load')
            textbutton _("Q.Save") action QuickSave()
            textbutton _("Q.Load") action QuickLoad()
            textbutton _("Prefs") action ShowMenu('preferences')

    if allnudecheck > 0:
        imagebutton:
            idle "phonenewnotif.png"
            hover "phonenewhover.png"
            action ShowMenu('newmessages')
            align (0.995, 0.99)

## This code ensures that the quick_menu screen is displayed in-game, whenever
## the player has not explicitly hidden the interface.
init python:
    config.overlay_screens.append("quick_menu")

default quick_menu = True

style quick_button is default
style quick_button_text is button_text

style quick_button:
    properties gui.button_properties("quick_button")

style quick_button_text:
    properties gui.button_text_properties("quick_button")


################################################################################
## Main and Game Menu Screens
################################################################################

## Navigation screen ###########################################################
##
## This screen is included in the main and game menus, and provides navigation
## to other menus, and to start the game.

screen navigation():

    vbox:
        style_prefix "navigation"

        xpos gui.navigation_xpos
        yalign 0.5

        spacing gui.navigation_spacing

        if main_menu:

            textbutton _("Start") action Start()

        else:

            if not renpy.variant("mobile"):
                textbutton _("History") action ShowMenu("history")

            textbutton _("Save") action ShowMenu("save")

            textbutton _("Event Tracker") action ShowMenu('eventtracker11')

            textbutton _("Main Girls") action ShowMenu('eventtrackermaincharahub')

            textbutton _("Side Girls") action ShowMenu('eventtrackersidecharahub')

            if not renpy.variant("mobile") and bonus == True:
                textbutton _("Guide/Wiki") action OpenURL("https://lessonsinlove.wiki/")

        textbutton _("Load") action ShowMenu("load")

        textbutton _("Settings") action ShowMenu("preferences")

        if _in_replay:

            textbutton _("End Replay") action EndReplay(confirm=True)

        elif not main_menu:

            textbutton _("Main Menu") action MainMenu()

        if main_menu:
            textbutton _("About") action ShowMenu("about")

            textbutton _("Donate") action OpenURL("https://subscribestar.adult/selebus")

        textbutton _("Merch Store") action OpenURL("https://selebus-inc.myshopify.com/")

        if main_menu:
            textbutton "Jukebox" action ShowMenu("music_room")

        #if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")):

            ## Help isn't necessary or relevant to mobile devices.
            #textbutton _("Help") action ShowMenu("help")

        #if renpy.variant("pc"):

            ## The quit button is banned on iOS and unnecessary on Android and
            ## Web.
        textbutton _("Quit") action Quit(confirm=not main_menu)

    textbutton _("{size=+20}{b}DLC"):
        action ShowMenu("dlc")
        xpos 266 ypos 564


style navigation_button is gui_button
style navigation_button_text is gui_button_text

style navigation_button:
    size_group "navigation"
    properties gui.button_properties("navigation_button")

style navigation_button_text:
    properties gui.button_text_properties("navigation_button")


## Main Menu screen ############################################################
##
## Used to display the main menu when Ren'Py starts.
##
## https://www.renpy.org/doc/html/screen_special.html#main-menu

screen main_menu():

    ## This ensures that any other menu screen is replaced.
    tag menu

    style_prefix "main_menu"

    if persistent.main_menu_image is not None and renpy.loadable(persistent.main_menu_image) :
        add persistent.main_menu_image
    else :
        add gui.main_menu_background


    if len(installed_care_packages) > 0:
        textbutton _("Change Menu Image"):
            action ShowMenu("main_menu_image_picker")
            xpos 60 ypos 900

    if persistent.theme == "dark":
        add "gui/main_menudark.png"
        add "gui/overlay/main_menudark.png"
    else:
        add "gui/main_menu.png"
        add gui.main_menu_overlay

    ## This empty frame darkens the main menu.
    frame:
        pass

    ## The use statement includes another screen inside this one. The actual
    ## contents of the main menu are in the navigation screen.
    use navigation

    if gui.show_name:

        vbox:
            if bonus == True:
                text "[config.name!t]":
                    style "main_menu_title"
            else:
                text "Hug Simulator":
                    style "main_menu_title"

            text "[config.version]":
                style "main_menu_version"

screen main_menu_image_picker:
    tag menu

    use game_menu(_("Picker"), scroll="viewport"):

        style_prefix "aff"

        vpgrid :
            cols 2
            align (0.6, 0.45)
            spacing 80

            imagebutton:
                idle im.FactorScale("gui/main_menu.png", 0.3, bilinear=True)
                action [SetVariable("persistent.main_menu_image", None), Return()]

            for img in installed_menu_images:
                imagebutton:
                    idle im.FactorScale(img.file, 0.3, bilinear=True)
                    action [SetVariable("persistent.main_menu_image", img.file), Return()]


style main_menu_frame is empty
style main_menu_vbox is vbox
style main_menu_text is gui_text
style main_menu_title is main_menu_text
style main_menu_version is main_menu_text

#style main_menu_frame:
    #xsize 420
    #yfill True
    #background "gui/overlay/main_menu.png"

style main_menu_vbox:
    xalign 1.0
    xoffset -30
    xmaximum 1200
    yalign 1.0
    yoffset -30

style main_menu_text:
    properties gui.text_properties("main_menu", accent=True)

style main_menu_title:
    properties gui.text_properties("title")

style main_menu_version:
    properties gui.text_properties("version")

## Game Menu screen ############################################################
##
## This lays out the basic common structure of a game menu screen. It's called
## with the screen title, and displays the background, title, and navigation.
##
## The scroll parameter can be None, or one of "viewport" or "vpgrid". When
## this screen is intended to be used with one or more children, which are
## transcluded (placed) inside it.

screen game_menu(title, scroll=None, yinitial=0.0):

    style_prefix "game_menu"

    if main_menu:
        add gui.main_menu_background
    else:
        add gui.game_menu_background

    frame:
        style "game_menu_outer_frame"

        if persistent.theme == "dark":
            background "gui/overlay/game_menudark.png"
        else:
            background "gui/overlay/game_menu.png"

        hbox:

            ## Reserve space for the navigation section.
            frame:
                style "game_menu_navigation_frame"

            frame:
                style "game_menu_content_frame"

                if scroll == "viewport":

                    viewport:
                        yinitial yinitial
                        scrollbars "vertical"
                        mousewheel True
                        draggable True
                        pagekeys True

                        side_yfill True

                        vbox:
                            transclude

                elif scroll == "vpgrid":

                    vpgrid:
                        cols 1
                        yinitial yinitial

                        scrollbars "vertical"
                        mousewheel True
                        draggable True
                        pagekeys True

                        side_yfill True

                        transclude

                else:

                    transclude

    use navigation

    textbutton _("Return"):
        style "return_button"

        action Return()

    label title

    if main_menu:
        key "game_menu" action ShowMenu("main_menu")


style game_menu_outer_frame is empty
style game_menu_navigation_frame is empty
style game_menu_content_frame is empty
style game_menu_viewport is gui_viewport
style game_menu_side is gui_side
style game_menu_scrollbar is gui_vscrollbar

style game_menu_label is gui_label
style game_menu_label_text is gui_label_text

style return_button is navigation_button
style return_button_text is navigation_button_text

style game_menu_navigation_frame:
    xsize 420
    yfill True

style game_menu_content_frame:
    left_margin 60
    right_margin 30
    top_margin 15

style game_menu_viewport:
    xsize 1380

style game_menu_vscrollbar:
    unscrollable gui.unscrollable

style game_menu_side:
    spacing 15

style game_menu_label:
    xpos 75
    ysize 180

style game_menu_label_text:
    size gui.title_text_size
    color gui.accent_color
    yalign 0.5

style return_button:
    xpos gui.navigation_xpos
    yalign 1.0
    yoffset -45

style game_menu_outer_frame is empty
style game_menu_navigation_frame is empty
style game_menu_content_frame is empty
style game_menu_viewport is gui_viewport
style game_menu_side is gui_side
style game_menu_scrollbar is gui_vscrollbar

style game_menu_label is gui_label
style game_menu_label_text is gui_label_text

style return_button is navigation_button
style return_button_text is navigation_button_text

style game_menu_outer_frame:
    bottom_padding 45
    top_padding 180

style game_menu_navigation_frame:
    xsize 420
    yfill True

style game_menu_content_frame:
    left_margin 60
    right_margin 30
    top_margin 15

style game_menu_viewport:
    xsize 1380

style game_menu_vscrollbar:
    unscrollable gui.unscrollable

style game_menu_side:
    spacing 15

style game_menu_label:
    xpos 75
    ysize 180

style game_menu_label_text:
    size gui.title_text_size
    color gui.accent_color
    yalign 0.5

style return_button:
    xpos gui.navigation_xpos
    yalign 1.0
    yoffset -45



## About screen ################################################################
##
## This screen gives credit and copyright information about the game and Ren'Py.
##
## There's nothing special about this screen, and hence it also serves as an
## example of how to make a custom screen.

screen about():

    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(_("About"), scroll="viewport"):

        style_prefix "about"

        vbox:

            if bonus == True:
                label "[config.name!t]"
            else:
                label "Hug Simulator"

            text _("Version [config.version!t]")

            if bonus == True:
                text _("\nThank you for downloading Lessons in Love!\nAll character models and scenes in this game were created using Koikatsu by Illusion.")
            else:
                text _("\nThank you for downloading THE LEGEND OF THE HUGGY BOY!\nAll character models and scenes in this game were created using Koikatsu by Illusion.")

            text _("Please support them as well as the many modders and community members who have contributed to Koikatsu and made games like this possible.\n")
            text _("{b}Music:{/b} Days to Waste, Good Kid, TeishotokuP, Frank Tedesco, Kei Morimoto, Sharou, MusMus, Bensound, ASOBEAT, Ramine, Bungakuseinen, Bubblebeats, SougetsuOn, 369Musiq, and various others.")
            text _("{b}Menu Song:{/b} 'Shining Star' performed by Shiho. Written and composed by Koichi Morita")
            text _("{b}Everything Else:{/b} Selebus\n")

            text _("{i}The music in Lessons in Love is a combination of licensed, commissioned, and royalty free properties. Redistribution is prohibited.{/i}")
            if gui.about:
                text "[gui.about!t]\n"

            text _("Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]")

screen affection():

    tag menu

    $ v11check()

    use game_menu(_("Progress"), scroll="viewport"):

        style_prefix "profile"

        vbox:
            if ami_love >= 0:
                if resetsix4 == True:
                    if chap1point + chap2point + chap3point + chap3miss + chap4point + chap4miss != 426:
                        text "Main Events Available!"  style "affgrid"
                    if happypoint + happymiss != 20:
                        text "Secret Events Available!"  style "affgrid"
                elif chapthreeactive == True:
                    if chap1point + chap2point + chap3point + chap3miss != 304:
                        text "Main Events Available!"  style "affgrid"
                    if happypoint + happymiss != 17:
                        text "Secret Events Available!"  style "affgrid"
                elif hoorayanotherreset == True and chapthreeactive == False:
                    if chap1point + chap2point != 203:
                        text "Main Events Available!"  style "affgrid"
                    if happypoint + happymiss != 14:
                        text "Secret Events Available!"  style "affgrid"
                else:
                    text "Main Events Available!"  style "affgrid"
                    if happypoint + happymiss < 11:
                        text "Secret Events Available!"  style "affgrid"

                text "\n"

                grid 4 36:
                    xspacing 85
                    yspacing 20

                    text "{u}Name{/u}" style "affgrid"
                    text "{u}Affection{/u}" style "affgrid"
                    text "{u}Lust{/u}" style "affgrid"
                    text "{u}Events{/u}" style "affgrid"

                    textbutton _("Ami Arakawa") text_style "affgrid2_text":
                        text_color "#ff4dd2"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuami")
                        left_margin -5
                        top_margin -6
                    text "{color=#ff4dd2}[ami_love]{/color}" style "affgrid"
                    text "{color=#ff4dd2}[ami_lust]{/color}" style "affgrid"
                    if amitotal == 43:
                        text "{color=#ff4dd2}[amitotal]/43 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#ff4dd2}[amitotal]/43{/color}" style "affgrid"

                    textbutton _("Ayane Amamiya") text_style "affgrid2_text":
                        text_color "#00bab1"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuayane")
                        left_margin -5
                        top_margin -6
                    text "{color=#00bab1}[ayane_love]{/color}" style "affgrid"
                    text "{color=#00bab1}[ayane_lust]{/color}" style "affgrid"
                    if ayanetotal == 53:
                        text "{color=#00bab1}[ayanetotal]/53 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#00bab1}[ayanetotal]/53{/color}" style "affgrid"

                    textbutton _("Chika Chosokabe") text_style "affgrid2_text":
                        text_color "#AF7F00"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuchika")
                        left_margin -5
                        top_margin -6
                    text "{color=#AF7F00}[chika_love]{/color}" style "affgrid"
                    text "{color=#AF7F00}[chika_lust]{/color}" style "affgrid"
                    if chikatotal == 40:
                        text "{color=#AF7F00}[chikatotal]/40 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#AF7F00}[chikatotal]/40{/color}" style "affgrid"

                    textbutton _("Chinami Chosokabe") text_style "affgrid2_text":
                        text_color "#FF9999"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuchinami")
                        left_margin -5
                        top_margin -6
                    text "{color=#FF9999}[chinami_love]{/color}" style "affgrid"
                    text "{color=#FF9999}[chinami_lust]{/color}" style "affgrid"
                    if chinamitotal == 15:
                        text "{color=#FF9999}[chinamitotal]/15 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#FF9999}[chinamitotal]/15{/color}" style "affgrid"

                    textbutton _("Futaba Fukuyama") text_style "affgrid2_text":
                        text_color "#9326ff"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenufutaba")
                        left_margin -5
                        top_margin -6
                    text "{color=#9326ff}[futaba_love]{/color}" style "affgrid"
                    text "{color=#9326ff}[futaba_lust]{/color}" style "affgrid"
                    if futabatotal == 42:
                        text "{color=#9326ff}[futabatotal]/42 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#9326ff}[futabatotal]/42{/color}" style "affgrid"

                    textbutton _("Haruka Hamasaki") text_style "affgrid2_text":
                        text_color "#B02E8C"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuharuka")
                        left_margin -5
                        top_margin -6
                    text "{color=#B02E8C}[haruka_love]{/color}" style "affgrid"
                    text "{color=#B02E8C}[haruka_lust]{/color}" style "affgrid"
                    if harukatotal == 26:
                        text "{color=#B02E8C}[harukatotal]/26 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#B02E8C}[harukatotal]/26{/color}" style "affgrid"

                    textbutton _("Imani Imai") text_style "affgrid2_text":
                        text_color "#80C9DC"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuimani")
                        left_margin -5
                        top_margin -6
                    text "{color=#80C9DC}[imani_love]{/color}" style "affgrid"
                    text "{color=#80C9DC}[imani_lust]{/color}" style "affgrid"
                    if imanitotal == 14:
                        text "{color=#80C9DC}[imanitotal]/14 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#80C9DC}[imanitotal]/14{/color}" style "affgrid"

                    textbutton _("Io Ichimonji") text_style "affgrid2_text":
                        text_color "#BBE3A1"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuio")
                        left_margin -5
                        top_margin -6
                    text "{color=#BBE3A1}[io_love]{/color}" style "affgrid"
                    text "{color=#BBE3A1}[io_lust]{/color}" style "affgrid"
                    if iototal == 27:
                        text "{color=#BBE3A1}[iototal]/27 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#BBE3A1}[iototal]/27{/color}" style "affgrid"

                    textbutton _("Kaori Kadowaki") text_style "affgrid2_text":
                        text_color "#4B4B4B"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenukaori")
                        left_margin -5
                        top_margin -6
                    text "{color=#4B4B4B}[kaori_love]{/color}" style "affgrid"
                    text "{color=#4B4B4B}[kaori_lust]{/color}" style "affgrid"
                    if kaoritotal == 20:
                        text "{color=#4B4B4B}[kaoritotal]/20 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#4B4B4B}[kaoritotal]/20{/color}" style "affgrid"

                    textbutton _("Karin Kanda") text_style "affgrid2_text":
                        text_color "#AC9D77"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenukarin")
                        left_margin -5
                        top_margin -6
                    text "{color=#AC9D77}[karin_love]{/color}" style "affgrid"
                    text "{color=#AC9D77}[karin_lust]{/color}" style "affgrid"
                    if karintotal == 17:
                        text "{color=#AC9D77}[karintotal]/17 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#AC9D77}[karintotal]/17{/color}" style "affgrid"

                    textbutton _("Kirin Kanda") text_style "affgrid2_text":
                        text_color "#9C8080"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenukirin")
                        left_margin -5
                        top_margin -6
                    text "{color=#9C8080}[kirin_love]{/color}" style "affgrid"
                    text "{color=#9C8080}[kirin_lust]{/color}" style "affgrid"
                    if kirintotal == 33:
                        text "{color=#9C8080}[kirintotal]/33 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#9C8080}[kirintotal]/33{/color}" style "affgrid"

                    textbutton _("Maki Miyamura") text_style "affgrid2_text":
                        text_color "#3B84A9"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenumaki")
                        left_margin -5
                        top_margin -6
                    text "{color=#3B84A9}[maki_love]{/color}" style "affgrid"
                    text "{color=#3B84A9}[maki_lust]{/color}" style "affgrid"
                    if makitotal == 21:
                        text "{color=#3B84A9}[makitotal]/21 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#3B84A9}[makitotal]/21{/color}" style "affgrid"

                    textbutton _("Makoto Miyamura") text_style "affgrid2_text":
                        text_color "#3c55fa"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenumakoto")
                        left_margin -5
                        top_margin -6
                    text "{color=#3c55fa}[makoto_love]{/color}" style "affgrid"
                    text "{color=#3c55fa}[makoto_lust]{/color}" style "affgrid"
                    if makotototal == 41:
                        text "{color=#3c55fa}[makotototal]/41 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#3c55fa}[makotototal]/41{/color}" style "affgrid"

                    textbutton _("Maya Makinami") text_style "affgrid2_text":
                        text_color "#18b500"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenumaya")
                        left_margin -5
                        top_margin -6
                    text "{color=#18b500}[maya_love]{/color}" style "affgrid"
                    text "{color=#18b500}[maya_lust]{/color}" style "affgrid"
                    if mayatotal == 38:
                        text "{color=#18b500}[mayatotal]/38 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#18b500}[mayatotal]/38{/color}" style "affgrid"

                    textbutton _("Miku Maruyama") text_style "affgrid2_text":
                        text_color "#ff8112"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenumiku")
                        left_margin -5
                        top_margin -6
                    text "{color=#ff8112}[miku_love]{/color}" style "affgrid"
                    text "{color=#ff8112}[miku_lust]{/color}" style "affgrid"
                    if mikutotal == 34:
                        text "{color=#ff8112}[mikutotal]/34 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#ff8112}[mikutotal]/34{/color}" style "affgrid"

                    textbutton _("Molly MacCormack") text_style "affgrid2_text":
                        text_color "#4FCB80"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenumolly")
                        left_margin -5
                        top_margin -6
                    text "{color=#4FCB80}[molly_love]{/color}" style "affgrid"
                    text "{color=#4FCB80}[molly_lust]{/color}" style "affgrid"
                    if mollytotal == 27:
                        text "{color=#4FCB80}[mollytotal]/27 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#4FCB80}[mollytotal]/27{/color}" style "affgrid"

                    textbutton _("Nao-chan") text_style "affgrid2_text":
                        text_color "#602F2B"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenunao")
                        left_margin -5
                        top_margin -6
                    text "{color=#602F2B}[nao_love]{/color}" style "affgrid"
                    text "{color=#602F2B}[nao_lust]{/color}" style "affgrid"
                    if naototal == 11:
                        text "{color=#602F2B}[naototal]/11 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#602F2B}[naototal]/11{/color}" style "affgrid"

                    textbutton _("Niki Nakayama") text_style "affgrid2_text":
                        text_color "#FF0074"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuniki")
                        left_margin -5
                        top_margin -6
                    text "{color=#FF0074}[niki_love]{/color}" style "affgrid"
                    text "{color=#FF0074}[niki_lust]{/color}" style "affgrid"
                    if nikitotal == 20:
                        text "{color=#FF0074}[nikitotal]/20 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#FF0074}[nikitotal]/20{/color}" style "affgrid"

                    textbutton _("Nodoka Nagasawa") text_style "affgrid2_text":
                        text_color "#AF89A2"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenunodoka")
                        left_margin -5
                        top_margin -6
                    text "{color=#AF89A2}[nodoka_love]{/color}" style "affgrid"
                    text "{color=#AF89A2}[nodoka_lust]{/color}" style "affgrid"
                    if nodokatotal == 28:
                        text "{color=#AF89A2}[nodokatotal]/28 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#AF89A2}[nodokatotal]/28{/color}" style "affgrid"

                    textbutton _("Noriko Nakayama") text_style "affgrid2_text":
                        text_color "#FF61A9"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenunoriko")
                        left_margin -5
                        top_margin -6
                    text "{color=#FF61A9}[noriko_love]{/color}" style "affgrid"
                    text "{color=#FF61A9}[noriko_lust]{/color}" style "affgrid"
                    if norikototal == 24:
                        text "{color=#FF61A9}[norikototal]/24 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#FF61A9}[norikototal]/24{/color}" style "affgrid"

                    textbutton _("Osako Osaka") text_style "affgrid2_text":
                        text_color "#9A6BA1"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuosako")
                        left_margin -5
                        top_margin -6
                    text "{color=#9A6BA1}[osako_love]{/color}" style "affgrid"
                    text "{color=#9A6BA1}[osako_lust]{/color}" style "affgrid"
                    if osakototal == 13:
                        text "{color=#9A6BA1}[osakototal]/13 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#9A6BA1}[osakototal]/13{/color}" style "affgrid"

                    textbutton _("Otoha Okakura") text_style "affgrid2_text":
                        text_color "#B83A6A"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuotoha")
                        left_margin -5
                        top_margin -6
                    text "{color=#B83A6A}[otoha_love]{/color}" style "affgrid"
                    text "{color=#B83A6A}[otoha_lust]{/color}" style "affgrid"
                    if otohatotal == 21:
                        text "{color=#B83A6A}[otohatotal]/21 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#B83A6A}[otohatotal]/21{/color}" style "affgrid"

                    textbutton _("Rika Rokuhara") text_style "affgrid2_text":
                        text_color "#D18E77"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenurika")
                        left_margin -5
                        top_margin -6
                    text "{color=#D18E77}[rika_love]{/color}" style "affgrid"
                    text "{color=#D18E77}[rika_lust]{/color}" style "affgrid"
                    if rikatotal == 11:
                        text "{color=#D18E77}[rikatotal]/11 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#D18E77}[rikatotal]/11{/color}" style "affgrid"

                    textbutton _("Rin Rokuhara") text_style "affgrid2_text":
                        text_color "#a30041"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenurin")
                        left_margin -5
                        top_margin -6
                    text "{color=#a30041}[rin_love]{/color}" style "affgrid"
                    text "{color=#a30041}[rin_lust]{/color}" style "affgrid"
                    if rintotal == 38:
                        text "{color=#a30041}[rintotal]/38 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#a30041}[rintotal]/38{/color}" style "affgrid"

                    textbutton _("Sana Sakakibara") text_style "affgrid2_text":
                        text_color "#005730"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenusana")
                        left_margin -5
                        top_margin -6
                    text "{color=#005730}[sana_love]{/color}" style "affgrid"
                    text "{color=#005730}[sana_lust]{/color}" style "affgrid"
                    if sanatotal == 35:
                        text "{color=#005730}[sanatotal]/35 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#005730}[sanatotal]/35{/color}" style "affgrid"

                    textbutton _("Sara Sakakibara") text_style "affgrid2_text":
                        text_color "#365D4C"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenusara")
                        left_margin -5
                        top_margin -6
                    text "{color=#365D4C}[sara_love]{/color}" style "affgrid"
                    text "{color=#365D4C}[sara_lust]{/color}" style "affgrid"
                    if saratotal == 23:
                        text "{color=#365D4C}[saratotal]/23 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#365D4C}[saratotal]/23{/color}" style "affgrid"

                    textbutton _("Touka Tsukioka") text_style "affgrid2_text":
                        text_color "#F0E68C"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenutouka")
                        left_margin -5
                        top_margin -6
                    text "{color=#F0E68C}[touka_love]{/color}" style "affgrid"
                    text "{color=#F0E68C}[touka_lust]{/color}" style "affgrid"
                    if toukatotal == 23:
                        text "{color=#F0E68C}[toukatotal]/23 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#F0E68C}[toukatotal]/23{/color}" style "affgrid"

                    textbutton _("Tsubasa Tsukioka") text_style "affgrid2_text":
                        text_color "#eae6aa"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenutsubasa")
                        left_margin -5
                        top_margin -6
                    text "{color=#eae6aa}[tsubasa_love]{/color}" style "affgrid"
                    text "{color=#eae6aa}[tsubasa_lust]{/color}" style "affgrid"
                    if tsubasatotal == 14:
                        text "{color=#eae6aa}[tsubasatotal]/14 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#eae6aa}[tsubasatotal]/14{/color}" style "affgrid"

                    textbutton _("Tsukasa Tsukioka") text_style "affgrid2_text":
                        text_color "#f0ca8c"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenutsukasa")
                        left_margin -5
                        top_margin -6
                    text "{color=#f0ca8c}[tsukasa_love]{/color}" style "affgrid"
                    text "{color=#f0ca8c}[tsukasa_lust]{/color}" style "affgrid"
                    if tsukasatotal == 12:
                        text "{color=#f0ca8c}[tsukasatotal]/12 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#f0ca8c}[tsukasatotal]/12{/color}" style "affgrid"

                    textbutton _("Tsuneyo Tojo") text_style "affgrid2_text":
                        text_color "#C8B330"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenutsuneyo")
                        left_margin -5
                        top_margin -6
                    text "{color=#C8B330}[tsuneyo_love]{/color}" style "affgrid"
                    text "{color=#C8B330}[tsuneyo_lust]{/color}" style "affgrid"
                    if tsuneyototal == 28:
                        text "{color=#C8B330}[tsuneyototal]/28 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#C8B330}[tsuneyototal]/28{/color}" style "affgrid"

                    textbutton _("Uta Ushibori") text_style "affgrid2_text":
                        text_color "#AA4588"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuuta")
                        left_margin -5
                        top_margin -6
                    text "{color=#AA4588}[uta_love]{/color}" style "affgrid"
                    text "{color=#AA4588}[uta_lust]{/color}" style "affgrid"
                    if utatotal == 27:
                        text "{color=#AA4588}[utatotal]/27 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#AA4588}[utatotal]/27{/color}" style "affgrid"

                    textbutton _("Wakana Watabe") text_style "affgrid2_text":
                        text_color "#540087"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuwakana")
                        left_margin -5
                        top_margin -6
                    text "{color=#540087}[wakana_love]{/color}" style "affgrid"
                    text "{color=#540087}[wakana_lust]{/color}" style "affgrid"
                    if wakanatotal == 17:
                        text "{color=#540087}[wakanatotal]/17 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#540087}[wakanatotal]/17{/color}" style "affgrid"

                    textbutton _("Yasu Yasui") text_style "affgrid2_text":
                        text_color "#74d9e9"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuyasu")
                        left_margin -5
                        top_margin -6
                    text "{color=#74d9e9}[yasu_love]{/color}" style "affgrid"
                    text "{color=#74d9e9}[yasu_lust]{/color}" style "affgrid"
                    if yasutotal == 24:
                        text "{color=#74d9e9}[yasutotal]/24 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#74d9e9}[yasutotal]/24{/color}" style "affgrid"

                    textbutton _("Yuki Yamaguchi") text_style "affgrid2_text":
                        text_color "#CDCDCD"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuyuki")
                        left_margin -5
                        top_margin -6
                    text "{color=#CDCDCD}[yuki_love]{/color}" style "affgrid"
                    text "{color=#CDCDCD}[yuki_lust]{/color}" style "affgrid"
                    if yukitotal == 16:
                        text "{color=#CDCDCD}[yukitotal]/16 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#CDCDCD}[yukitotal]/16{/color}" style "affgrid"

                    textbutton _("Yumi Yamaguchi") text_style "affgrid2_text":
                        text_color "#d12e2e"
                        text_hover_color "#FF00C8"
                        action ShowMenu("gamemenuyumi")
                        left_margin -5
                        top_margin -6
                    text "{color=#d12e2e}[yumi_love]{/color}" style "affgrid"
                    text "{color=#d12e2e}[yumi_lust]{/color}" style "affgrid"
                    if yumitotal == 34:
                        text "{color=#d12e2e}[yumitotal]/34 {b}✓{/b}{/color}" style "affgrid"
                    else:
                        text "{color=#d12e2e}[yumitotal]/34{/color}" style "affgrid"

## This is redefined in options.rpy to add text to the about screen.
define gui.about = ""


style about_label is gui_label
style about_label_text is gui_label_text
style about_text is gui_text

style about_label_text:
    size gui.label_text_size


## Load and Save screens #######################################################
##
## These screens are responsible for letting the player save the game and load
## it again. Since they share nearly everything in common, both are implemented
## in terms of a third screen, file_slots.
##
## https://www.renpy.org/doc/html/screen_special.html#save https://
## www.renpy.org/doc/html/screen_special.html#load

screen save():

    tag menu

    use file_slots(_("Save"))


screen load():

    tag menu

    use file_slots(_("Load"))

#VIPER
screen save_rename(slot):
    style_prefix "rename"
    modal True
    default desc = FileSaveName(slot)
    default new_name = desc
    if desc == "":
        $ desc = "<blank>"

    frame:
        xsize 800
        ysize 200
        xalign 0.5
        yalign 0.5
        has vbox:
            xalign 0.5
            yalign 0.5
        text "Current save name is %s. Input the new name:" % desc style "input_prompt"
        input value ScreenVariableInputValue("new_name", default=True, returnable=True)
        hbox:
            button:
                style "rename_button"
                text _("Confirm") style "rename_button_text"
                action SetVariable("save_name", new_name), FileAction(slot), Hide("save_rename")
            button:
                style "rename_button"
                text _("Cancel") style "rename_button_text"
                action Hide("save_rename")
style rename_button is gui_button
style rename_button_text is gui_button_text
#VIPER

screen file_slots(title):
    on "show" action FilePage(1)

    default page_name_value = FilePageNameInputValue(
        pattern=_("Page {}"),
        auto=_("Automatic saves"),
        quick=_("Quick saves")
    )

    ## Determine the current page.
    $ current_page = FileCurrentPage()

    if current_page == "auto" or current_page == "quick":
        $ numeric_page = 1
    else:
        $ numeric_page = int(current_page)

    ## Determine which numbered pages to display.
    $ first_page = max(1, numeric_page - 4)

    use game_menu(title):

        fixed:

            ## This ensures the input will get the enter event before any of the
            ## buttons do.
            order_reverse True

            ## The page name, which can be edited by clicking on a button.
            button:
                style "page_label"

                key_events True
                xalign 0.5
                action page_name_value.Toggle()

                input:
                    style "page_label_text"
                    value page_name_value

            ## The grid of file slots.
            grid gui.file_slot_cols gui.file_slot_rows:
                style_prefix "slot"

                xalign 0.5
                yalign 0.5

                spacing gui.slot_spacing

                for i in range(gui.file_slot_cols * gui.file_slot_rows):

                    $ slot = i + 1

                    button:
                        action SetVariable("save_name", FileSaveName(slot)), FileAction(slot)

                        #VIPER
                        if title == "Save":
                            alternate Show("save_rename", slot=slot)
                        #VIPER

                        has vbox

                        add FileScreenshot(slot) xalign 0.5

                        text FileTime(
                            slot,
                            format=_("{#file_time}%A, %B %d %Y, %H:%M"),
                            empty=_("empty slot")
                        ):
                            style "slot_time_text"

                        text FileSaveName(slot):
                            style "slot_name_text"

                        key "save_delete" action FileDelete(slot)

            #VIPER
            hbox:
                xalign 0.5
                yalign 0.9

                if title == "Save":
                    text "Right click a save slot to OVERWRITE IT with a new name" style "gui_text"
            #VIPER

            ## Buttons to access other pages.
            hbox:
                style_prefix "page"

                xalign 0.5
                yalign 1.0

                spacing gui.page_spacing

                ## Previous page
                textbutton _("<<") action FilePage(max(1, numeric_page - 10))
                textbutton _("<") action FilePagePrevious()

                ## Automatic saves
                if config.has_autosave:
                    textbutton _("{#auto_page}A") action FilePage("auto")

                ## Quick saves
                if config.has_quicksave:
                    textbutton _("{#quick_page}Q") action FilePage("quick")

                ## Nine numbered page buttons.
                ## These now follow the current page.
                for page in range(first_page, first_page + 9):
                    textbutton "[page]" action FilePage(page)

                ## Next page.
                textbutton _(">") action FilePageNext()

                ## Jump forward 10 pages.
                textbutton _(">>") action FilePage(numeric_page + 10)


style page_label is gui_label
style page_label_text is gui_label_text
style page_button is gui_button
style page_button_text is gui_button_text

style slot_button is gui_button
style slot_button_text is gui_button_text
style slot_time_text is slot_button_text
style slot_name_text is slot_button_text

style page_label:
    xpadding 75
    ypadding 5

style page_label_text:
    text_align 0.5
    layout "subtitle"
    hover_color gui.hover_color

style page_button:
    properties gui.button_properties("page_button")

style page_button_text:
    properties gui.button_text_properties("page_button")

style slot_button:
    properties gui.button_properties("slot_button")

style slot_button_text:
    properties gui.button_text_properties("slot_button")


## Now Playing Info screen ######################################################

screen now_playing_info():
    $ _np_event = current_event_title or "-"
    $ _np_track = get_music_title() or "-"

    vbox:
        xalign 0.5
        spacing 4

        if persistent.theme == "dark":
            text _("Now Playing"):
                color "#FFFFFF"
            text _("Event: {b}[_np_event]{/b}"):
                color "#FFFFFF"
            text _("Music: {b}[_np_track]{/b}"):
                color "#FFFFFF"
        else:
            text _("Now Playing"):
                color gui.text_color
            text _("Event: {b}[_np_event]{/b}"):
                color gui.text_color
            text _("Music: {b}[_np_track]{/b}"):
                color gui.text_color


## Preferences screen ##########################################################
##
## The preferences screen allows the player to configure the game to better suit
## themselves.
##
## https://www.renpy.org/doc/html/screen_special.html#preferences

screen preferences():

    tag menu

    use game_menu(_("Preferences"), scroll="viewport"):

        vbox:

            hbox:
                box_wrap True

                if renpy.variant("pc") or renpy.variant("web"):

                    vbox:
                        style_prefix "radio"
                        label _("Display")
                        textbutton _("Window") action Preference("display", "window")
                        textbutton _("Fullscreen") action Preference("display", "fullscreen")

                vbox:
                    style_prefix "radio"
                    label _("Rollback Side")
                    textbutton _("Disable") action Preference("rollback side", "disable")
                    textbutton _("Left") action Preference("rollback side", "left")
                    textbutton _("Right") action Preference("rollback side", "right")

                vbox:
                    style_prefix "check"
                    label _("Skip")
                    textbutton _("Unseen Text") action Preference("skip", "toggle")
                    textbutton _("After Choices") action Preference("after choices", "toggle")
                    #textbutton _("Transitions") action InvertSelected(Preference("transitions", "toggle"))

                vbox:
                    style_prefix "check"
                    label _("Theme")
                    textbutton _("Light Mode") action SetVariable("persistent.theme", "light")
                    textbutton _("Dark Mode") action SetVariable("persistent.theme", "dark")

                ## Additional vboxes of type "radio_pref" or "check_pref" can be
                ## added here, to add additional creator-defined preferences.

            null height (4 * gui.pref_spacing)

            hbox:
                style_prefix "slider"
                box_wrap True

                vbox:

                    label _("Text Speed")

                    bar value Preference("text speed")

                    label _("Auto Forward Time")

                    bar value Preference("auto-forward time")

                    use now_playing_info

                vbox:

                    if config.has_music:
                        label _("Music Volume")

                        hbox:
                            bar value Preference("music volume")

                    if config.has_sound:

                        label _("Sound Volume")

                        hbox:
                            bar value Preference("sound volume")

                            if config.sample_sound:
                                textbutton _("Test") action Play("sound", config.sample_sound)


                    if config.has_voice:
                        label _("Voice Volume")

                        hbox:
                            bar value Preference("voice volume")

                            if config.sample_voice:
                                textbutton _("Test") action Play("voice", config.sample_voice)

                    if config.has_music or config.has_sound or config.has_voice:
                        null height gui.pref_spacing

                        textbutton _("Mute All"):
                            action Preference("all mute", "toggle")
                            style "mute_all_button"


style pref_label is gui_label
style pref_label_text is gui_label_text
style pref_vbox is vbox

style radio_label is pref_label
style radio_label_text is pref_label_text
style radio_button is gui_button
style radio_button_text is gui_button_text
style radio_vbox is pref_vbox

style check_label is pref_label
style check_label_text is pref_label_text
style check_button is gui_button
style check_button_text is gui_button_text
style check_vbox is pref_vbox

style slider_label is pref_label
style slider_label_text is pref_label_text
style slider_slider is gui_slider
style slider_button is gui_button
style slider_button_text is gui_button_text
style slider_pref_vbox is pref_vbox

style mute_all_button is check_button
style mute_all_button_text is check_button_text

style pref_label:
    top_margin gui.pref_spacing
    bottom_margin 3

style pref_label_text:
    yalign 1.0

style pref_vbox:
    xsize 338

style radio_vbox:
    spacing gui.pref_button_spacing

style radio_button:
    properties gui.button_properties("radio_button")
    foreground "gui/button/radio_[prefix_]foreground.png"

style radio_button_text:
    properties gui.button_text_properties("radio_button")

style check_vbox:
    spacing gui.pref_button_spacing

style check_button:
    properties gui.button_properties("check_button")
    foreground "gui/button/check_[prefix_]foreground.png"

style check_button_text:
    properties gui.button_text_properties("check_button")

style slider_slider:
    xsize 525

style slider_button:
    properties gui.button_properties("slider_button")
    yalign 0.5
    left_margin 15

style slider_button_text:
    properties gui.button_text_properties("slider_button")

style slider_vbox:
    xsize 675


## History screen ##############################################################
##
## This is a screen that displays the dialogue history to the player. While
## there isn't anything special about this screen, it does have to access the
## dialogue history stored in _history_list.
##
## https://www.renpy.org/doc/html/history.html

screen history():

    tag menu

    ## Avoid predicting this screen, as it can be very large.
    predict False

    use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0):

        style_prefix "history"

        for h in _history_list:

            window:

                ## This lays things out properly if history_height is None.
                has fixed:
                    yfit True

                if h.who:

                    label h.who:
                        style "history_name"
                        substitute False

                        ## Take the color of the who text from the Character, if
                        ## set.
                        if "color" in h.who_args:
                            text_color h.who_args["color"]
                        if "outlines" in h.who_args:
                            text_outlines [(absolute(1), "#000", absolute(0), absolute(0))]

                $ what = renpy.filter_text_tags(h.what, allow=gui.history_allow_tags)
                text what:
                    substitute False

                    if persistent.theme == "dark":
                        color "#FFFFFF"
                    else:
                        color gui.text_color

        if not _history_list:
            label _("The dialogue history is empty.")

## This determines what tags are allowed to be displayed on the history screen.

#define gui.history_allow_tags = set()


style history_window is empty

style history_name is gui_label
style history_name_text is gui_label_text
style history_text is gui_text

style history_text is gui_text

style history_label is gui_label
style history_label_text is gui_label_text

style history_window:
    xfill True
    ysize gui.history_height

style history_name:
    xpos gui.history_name_xpos
    xanchor gui.history_name_xalign
    ypos gui.history_name_ypos
    xsize gui.history_name_width
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style history_name_text:
    min_width gui.history_name_width
    text_align gui.history_name_xalign
    outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ]

style history_text:
    xpos gui.history_text_xpos
    ypos gui.history_text_ypos
    xanchor gui.history_text_xalign
    xsize gui.history_text_width
    min_width gui.history_text_width
    text_align gui.history_text_xalign
    #color "#FFFFFF" if persistent.theme == "dark"
    layout ("subtitle" if gui.history_text_xalign else "tex")

style history_label:
    xfill True

style history_label_text:
    xalign 0.5


## Help screen #################################################################
##
## A screen that gives information about key and mouse bindings. It uses other
## screens (keyboard_help, mouse_help, and gamepad_help) to display the actual
## help.

screen help():

    tag menu

    default device = "keyboard"

    use game_menu(_("Help"), scroll="viewport"):

        style_prefix "help"

        vbox:
            spacing 23

            hbox:

                textbutton _("Keyboard") action SetScreenVariable("device", "keyboard")
                textbutton _("Mouse") action SetScreenVariable("device", "mouse")

                if GamepadExists():
                    textbutton _("Gamepad") action SetScreenVariable("device", "gamepad")

            if device == "keyboard":
                use keyboard_help
            elif device == "mouse":
                use mouse_help
            elif device == "gamepad":
                use gamepad_help


screen keyboard_help():

    hbox:
        label _("Enter")
        text _("Advances dialogue and activates the interface.")

    hbox:
        label _("Space")
        text _("Advances dialogue without selecting choices.")

    hbox:
        label _("Arrow Keys")
        text _("Navigate the interface.")

    hbox:
        label _("Escape")
        text _("Accesses the game menu.")

    hbox:
        label _("Ctrl")
        text _("Skips dialogue while held down.")

    hbox:
        label _("Tab")
        text _("Toggles dialogue skipping.")

    hbox:
        label _("Page Up")
        text _("Rolls back to earlier dialogue.")

    hbox:
        label _("Page Down")
        text _("Rolls forward to later dialogue.")

    hbox:
        label "H"
        text _("Hides the user interface.")

    hbox:
        label "S"
        text _("Takes a screenshot.")

    hbox:
        label "V"
        text _("Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}.")


screen mouse_help():

    hbox:
        label _("Left Click")
        text _("Advances dialogue and activates the interface.")

    hbox:
        label _("Middle Click")
        text _("Hides the user interface.")

    hbox:
        label _("Right Click")
        text _("Accesses the game menu.")

    hbox:
        label _("Mouse Wheel Up\nClick Rollback Side")
        text _("Rolls back to earlier dialogue.")

    hbox:
        label _("Mouse Wheel Down")
        text _("Rolls forward to later dialogue.")


screen gamepad_help():

    hbox:
        label _("Right Trigger\nA/Bottom Button")
        text _("Advances dialogue and activates the interface.")

    hbox:
        label _("Left Trigger\nLeft Shoulder")
        text _("Rolls back to earlier dialogue.")

    hbox:
        label _("Right Shoulder")
        text _("Rolls forward to later dialogue.")


    hbox:
        label _("D-Pad, Sticks")
        text _("Navigate the interface.")

    hbox:
        label _("Start, Guide")
        text _("Accesses the game menu.")

    hbox:
        label _("Y/Top Button")
        text _("Hides the user interface.")

    textbutton _("Calibrate") action GamepadCalibrate()


style help_button is gui_button
style help_button_text is gui_button_text
style help_label is gui_label
style help_label_text is gui_label_text
style help_text is gui_text

style help_button:
    properties gui.button_properties("help_button")
    xmargin 12

style help_button_text:
    properties gui.button_text_properties("help_button")

style help_label:
    xsize 375
    right_padding 30

style help_label_text:
    size gui.text_size
    xalign 1.0
    text_align 1.0



################################################################################
## Additional screens
################################################################################


## Confirm screen ##############################################################
##
## The confirm screen is called when Ren'Py wants to ask the player a yes or no
## question.
##
## https://www.renpy.org/doc/html/screen_special.html#confirm

screen confirm(message, yes_action, no_action):

    ## Ensure other screens do not get input while this screen is displayed.
    modal True

    zorder 200

    style_prefix "confirm"

    add "gui/overlay/confirm.png"

    frame:

        vbox:
            xalign .5
            yalign .5
            spacing 45

            label _(message):
                style "confirm_prompt"
                xalign 0.5

            hbox:
                xalign 0.5
                spacing 150

                textbutton _("Yes") action yes_action
                textbutton _("No") action no_action

    ## Right-click and escape answer "no".
    key "game_menu" action no_action


style confirm_frame is gui_frame
style confirm_prompt is gui_prompt
style confirm_prompt_text is gui_prompt_text
style confirm_button is gui_medium_button
style confirm_button_text is gui_medium_button_text

style confirm_frame:
    background Frame([ "gui/confirm_frame.png", "gui/frame.png"], gui.confirm_frame_borders, tile=gui.frame_tile)
    padding gui.confirm_frame_borders.padding
    xalign .5
    yalign .5

style confirm_prompt_text:
    text_align 0.5
    layout "subtitle"

style confirm_button:
    properties gui.button_properties("confirm_button")

style confirm_button_text:
    properties gui.button_text_properties("confirm_button")


## Skip indicator screen #######################################################
##
## The skip_indicator screen is displayed to indicate that skipping is in
## progress.
##
## https://www.renpy.org/doc/html/screen_special.html#skip-indicator

screen skip_indicator():

    zorder 100
    style_prefix "skip"

    frame:

        hbox:
            spacing 9

            text _("Skipping")

            text "▸" at delayed_blink(0.0, 1.0) style "skip_triangle"
            text "▸" at delayed_blink(0.2, 1.0) style "skip_triangle"
            text "▸" at delayed_blink(0.4, 1.0) style "skip_triangle"


## This transform is used to blink the arrows one after another.
transform delayed_blink(delay, cycle):
    alpha .5

    pause delay

    block:
        linear .2 alpha 1.0
        pause .2
        linear .2 alpha 0.5
        pause (cycle - .4)
        repeat


style skip_frame is empty
style skip_text is gui_text
style skip_triangle is skip_text

style skip_frame:
    ypos gui.skip_ypos
    background Frame("gui/skip.png", gui.skip_frame_borders, tile=gui.frame_tile)
    padding gui.skip_frame_borders.padding

style skip_text:
    size gui.notify_text_size

style skip_triangle:
    ## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE
    ## glyph in it.
    font "DejaVuSans.ttf"


## Notify screen ###############################################################
##
## The notify screen is used to show the player a message. (For example, when
## the game is quicksaved or a screenshot has been taken.)
##
## https://www.renpy.org/doc/html/screen_special.html#notify-screen

screen notify(message):

    zorder 100
    style_prefix "notify"

    frame at notify_appear:
        text "[message!tq]"

    timer 3.25 action Hide('notify')


transform notify_appear:
    on show:
        alpha 0
        linear .25 alpha 1.0
    on hide:
        linear .5 alpha 0.0


style notify_frame is empty
style notify_text is gui_text

style notify_frame:
    ypos gui.notify_ypos

    background Frame("gui/notify.png", gui.notify_frame_borders, tile=gui.frame_tile)
    padding gui.notify_frame_borders.padding

style notify_text:
    properties gui.text_properties("notify")


## NVL screen ##################################################################
##
## This screen is used for NVL-mode dialogue and menus.
##
## https://www.renpy.org/doc/html/screen_special.html#nvl


screen nvl(dialogue, items=None):

    window:
        style "nvl_window"

        has vbox:
            spacing gui.nvl_spacing

        ## Displays dialogue in either a vpgrid or the vbox.
        if gui.nvl_height:

            vpgrid:
                cols 1
                yinitial 1.0

                use nvl_dialogue(dialogue)

        else:

            use nvl_dialogue(dialogue)

        ## Displays the menu, if given. The menu may be displayed incorrectly if
        ## config.narrator_menu is set to True, as it is above.
        for i in items:

            textbutton i.caption:
                action i.action
                style "nvl_button"

    add SideImage() xalign 0.0 yalign 1.0


screen nvl_dialogue(dialogue):

    for d in dialogue:

        window:
            id d.window_id

            fixed:
                yfit gui.nvl_height is None

                if d.who is not None:

                    text d.who:
                        id d.who_id

                text d.what:
                    id d.what_id


## This controls the maximum number of NVL-mode entries that can be displayed at
## once.
define config.nvl_list_length = gui.nvl_list_length

style nvl_window is default
style nvl_entry is default

style nvl_label is say_label
style nvl_dialogue is say_dialogue

style nvl_button is button
style nvl_button_text is button_text

style nvl_window:
    xfill True
    yfill True

    background "gui/nvl.png"
    padding gui.nvl_borders.padding

style nvl_entry:
    xfill True
    ysize gui.nvl_height

style nvl_label:
    xpos gui.nvl_name_xpos
    xanchor gui.nvl_name_xalign
    ypos gui.nvl_name_ypos
    yanchor 0.0
    xsize gui.nvl_name_width
    min_width gui.nvl_name_width
    text_align gui.nvl_name_xalign

style nvl_dialogue:
    xpos gui.nvl_text_xpos
    xanchor gui.nvl_text_xalign
    ypos gui.nvl_text_ypos
    xsize gui.nvl_text_width
    min_width gui.nvl_text_width
    text_align gui.nvl_text_xalign
    layout ("subtitle" if gui.nvl_text_xalign else "tex")

style nvl_thought:
    xpos gui.nvl_thought_xpos
    xanchor gui.nvl_thought_xalign
    ypos gui.nvl_thought_ypos
    xsize gui.nvl_thought_width
    min_width gui.nvl_thought_width
    text_align gui.nvl_thought_xalign
    layout ("subtitle" if gui.nvl_text_xalign else "tex")

style nvl_button:
    properties gui.button_properties("nvl_button")
    xpos gui.nvl_button_xpos
    xanchor gui.nvl_button_xalign

style nvl_button_text:
    properties gui.button_text_properties("nvl_button")



################################################################################
## Mobile Variants
################################################################################

style pref_vbox:
    variant "small"
    xsize 675

## Since a mouse may not be present, we replace the quick menu with a version
## that uses fewer and bigger buttons that are easier to touch.
screen quick_menu():
    variant "touch"

    zorder 100

    if quick_menu:

        hbox:
            style_prefix "quick"

            xalign 0.5
            yalign 1.0

            textbutton _("Back") action Rollback()
            textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
            textbutton _("Auto") action Preference("auto-forward", "toggle")
            textbutton _("Menu") action ShowMenu()
            textbutton _("Events") action ShowMenu('eventtracker11')
            textbutton _("Girls") action ShowMenu('eventtrackercharahub')
            textbutton _("Progress") action ShowMenu('affection')
            textbutton _("Unlockables") action ShowMenu('unlockables')
            if bonus == True:
                textbutton _("Wiki") action OpenURL("https://lessonsinlove.wiki/")
            textbutton _("Hide") action HideInterface()


style window:
    variant "small"
    background "gui/phone/textbox.png"

style radio_button:
    variant "small"
    foreground "gui/phone/button/radio_[prefix_]foreground.png"

style check_button:
    variant "small"
    foreground "gui/phone/button/check_[prefix_]foreground.png"

style nvl_window:
    variant "small"
    background "gui/phone/nvl.png"

style main_menu_frame:
    variant "small"
    background "gui/phone/overlay/main_menu.png"

style game_menu_outer_frame:
    variant "small"
    background "gui/phone/overlay/game_menu.png"

style game_menu_navigation_frame:
    variant "small"
    xsize 510

style game_menu_content_frame:
    variant "small"
    top_margin 0

style pref_vbox:
    variant "small"
    xsize 600

style bar:
    variant "small"
    ysize gui.bar_size
    left_bar Frame("gui/phone/bar/left.png", gui.bar_borders, tile=gui.bar_tile)
    right_bar Frame("gui/phone/bar/right.png", gui.bar_borders, tile=gui.bar_tile)

style vbar:
    variant "small"
    xsize gui.bar_size
    top_bar Frame("gui/phone/bar/top.png", gui.vbar_borders, tile=gui.bar_tile)
    bottom_bar Frame("gui/phone/bar/bottom.png", gui.vbar_borders, tile=gui.bar_tile)

style scrollbar:
    variant "small"
    ysize gui.scrollbar_size
    base_bar Frame("gui/phone/scrollbar/horizontal_[prefix_]bar.png", gui.scrollbar_borders, tile=gui.scrollbar_tile)
    thumb Frame("gui/phone/scrollbar/horizontal_[prefix_]thumb.png", gui.scrollbar_borders, tile=gui.scrollbar_tile)

style vscrollbar:
    variant "small"
    xsize gui.scrollbar_size
    base_bar Frame("gui/phone/scrollbar/vertical_[prefix_]bar.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile)
    thumb Frame("gui/phone/scrollbar/vertical_[prefix_]thumb.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile)

style slider:
    variant "small"
    ysize gui.slider_size
    base_bar Frame("gui/phone/slider/horizontal_[prefix_]bar.png", gui.slider_borders, tile=gui.slider_tile)
    thumb "gui/phone/slider/horizontal_[prefix_]thumb.png"

style vslider:
    variant "small"
    xsize gui.slider_size
    base_bar Frame("gui/phone/slider/vertical_[prefix_]bar.png", gui.vslider_borders, tile=gui.slider_tile)
    thumb "gui/phone/slider/vertical_[prefix_]thumb.png"

style slider_pref_vbox:
    variant "small"
    xsize None

style slider_pref_slider:
    variant "small"
    xsize 900


#########################
screen gallerys:
    tag menu

    use game_menu(_("{s}Memories{/s}"), scroll="viewport"):

        style_prefix "aff"

        grid 3 3:
            align (0.6, 0.45)
            spacing 80

            if roomwithtrack == True:
                imagebutton:
                    idle "clocksrep1.png"
                    hover "clocksrep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("roomwithclocks", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")

            if letterttrack == True:
                imagebutton:
                    idle "lettertrep1.png"
                    hover "lettertrep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("lettert", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")

            if swimmingtrack == True:
                imagebutton:
                    idle "sitcomrep1.png"
                    hover "sitcomrep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("swimming", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")

            if howifeeltrack == True:
                imagebutton:
                    idle "howifeelrep1.png"
                    hover "howifeelrep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("howifeel", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")

            if connecttrack == True:
                imagebutton:
                    idle "sakirep1.png"
                    hover "sakirep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("everythingisconnected", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")
            if specialclassroomtrack == True:
                imagebutton:
                    idle "breakrep1.png"
                    hover "breakrep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("specialclassroom", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")
            if ticktocktrack == True:
                imagebutton:
                    idle "ticktockrep1.png"
                    hover "ticktockrep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("ticktock", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")
            if trinity1track == True:
                imagebutton:
                    idle "trinity1track1.png"
                    hover "trinity1track2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("trinity1", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")
            if trinity2track == True:
                imagebutton:
                    idle "calmrep1.png"
                    hover "calmrep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("trinity2", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")

        hbox:
            align (0.5, 0.5)
            spacing 40
            textbutton _("Previous") action ShowMenu('gallery5') ypos 25
            textbutton _("Next") action ShowMenu('gallerys2') ypos 25

screen gallerys2:
    tag menu

    use game_menu(_("{s}Memories{/s}"), scroll="viewport"):

        style_prefix "aff"

        grid 3 3:
            align (0.6, 0.45)
            spacing 80

            if trinity3track == True:
                imagebutton:
                    idle "concernrep1.png"
                    hover "concernrep2.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action Replay("trinity3", locked=False)
            else:
                imagebutton:
                    idle "lock.png"
                    hover "lock.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Start("sarafirst")

            null
            null
            null
            null
            null
            null
            null
            null

        hbox:
            align (0.5, 0.5)
            spacing 40
            textbutton _("Previous") action ShowMenu('gallerys') ypos 25

screen maintracker():

    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(_("Main Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "Chapter 1"
            for e in MAIN_EVENTSCH1:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('eventtracker11')

screen secrettracker():

    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(_("HAPPY SCENES"), scroll="viewport"):

        style_prefix "event"

        vbox:
            label "HAPPY SCENES"
            for e in SECRET_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif e.get("done_flag") and renpy.python.py_eval(e["done_flag"]):
                    textbutton _(render_title(e) + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                elif e.get("miss_flag") and renpy.python.py_eval(e["miss_flag"]):
                    text _("{color=EF1A1A}{s}%s{/s}{/color}" % (e.get("miss_title") or render_title(e)))
                else:
                    text _("???")
            textbutton _("Back") action ShowMenu('eventtracker11')

screen eventtracker11 ():
    tag menu

    use game_menu(_("Event Tracker"), scroll="viewport"):

        style_prefix "aff"

        grid 1 3:
            #align (1, 0.45)
            spacing 20

            imagebutton:
                idle "mainview1.png"
                hover "mainview2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('eventtrackermainhub')
            imagebutton:
                idle "charaview1.png"
                hover "charaview2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('eventtrackercharahub')
            imagebutton:
                idle "happyview1.png"
                hover "happyview2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('secrettracker')

screen eventtrackermainhub ():
    tag menu

    use game_menu(_("Event Tracker"), scroll="viewport"):

        style_prefix "aff"

        grid 3 2:
            #align (1, 0.45)
            spacing 40

            imagebutton:
                idle "chap1idle.png"
                hover "chap1hover.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('maintracker')
            if hoorayanotherreset == False:
                imagebutton:
                    idle "chaplocked.png"
                    hover "chaplocked.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Replay("roomwithclocks", locked=False)
            else:
                imagebutton:
                    idle "chap2idle.png"
                    hover "chap2hover.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action ShowMenu('maintrackerch2')
            if chapthreeactive == False:
                imagebutton:
                    idle "chaplocked.png"
                    hover "chaplocked.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Replay("roomwithclocks", locked=False)
            else:
                imagebutton:
                    idle "chap3idle.png"
                    hover "chap3hover.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action ShowMenu('maintrackerch3')
            if resetsix4 == False:
                imagebutton:
                    idle "chaplocked.png"
                    hover "chaplocked.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    #action Replay("roomwithclocks", locked=False)
            else:
                imagebutton:
                    idle "chap4idle.png"
                    hover "chap4hover.png"
                    #xalign 0.2 yalign 0.5
                    focus_mask True
                    action ShowMenu('maintrackerch4')
            imagebutton:
                idle "chaplocked.png"
                hover "chaplocked.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                #action Replay("roomwithclocks", locked=False)
            imagebutton:
                idle "chaplocked.png"
                hover "chaplocked.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                #action Replay("roomwithclocks", locked=False)



        vbox:
            textbutton _("Back") action ShowMenu('eventtracker11')

screen eventtrackercharahub ():
    tag menu

    use game_menu(_("Characters"), scroll="viewport"):

        style_prefix "aff"

        grid 2 1:
            #align (1, 0.45)
            spacing 20

            imagebutton:
                idle "maincharaview1.png"
                hover "maincharaview2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('eventtrackermaincharahub')
            imagebutton:
                idle "sidecharaview1.png"
                hover "sidecharaview2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('eventtrackersidecharahub')
        vbox:
            textbutton _("Back") action ShowMenu('eventtracker11')


screen eventtrackermaincharahub ():
    tag menu

    use game_menu(_("Main Characters"), scroll="viewport"):

        style_prefix "aff"

        grid 5 4:
            align (1, 1)
            xspacing 60
            yspacing 20

            imagebutton:
                idle "chikathumb1.png"
                hover "chikathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuchika')
            imagebutton:
                idle "yumithumb1.png"
                hover "yumithumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuyumi')
            imagebutton:
                idle "ayanethumb1.png"
                hover "ayanethumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuayane')
            imagebutton:
                idle "sanathumb1.png"
                hover "sanathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenusana')
            imagebutton:
                idle "makotothumb1.png"
                hover "makotothumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenumakoto')
            imagebutton:
                idle "mikuthumb1.png"
                hover "mikuthumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenumiku')
            imagebutton:
                idle "futabathumb1.png"
                hover "futabathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenufutaba')
            imagebutton:
                idle "rinthumb1.png"
                hover "rinthumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenurin')
            imagebutton:
                idle "amithumb1.png"
                hover "amithumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuami')
            imagebutton:
                idle "mayathumb1.png"
                hover "mayathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenumaya')
            imagebutton:
                idle "mollythumb1.png"
                hover "mollythumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenumolly')
            imagebutton:
                idle "tsuneyothumb1.png"
                hover "tsuneyothumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenutsuneyo')
            imagebutton:
                idle "utathumb1.png"
                hover "utathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuuta')
            imagebutton:
                idle "iothumb1.png"
                hover "iothumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuio')
            imagebutton:
                idle "nodokathumb1.png"
                hover "nodokathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenunodoka')
            imagebutton:
                idle "otohathumb1.png"
                hover "otohathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuotoha')
            imagebutton:
                idle "toukathumb1.png"
                hover "toukathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenutouka')
            imagebutton:
                idle "yasuthumb1.png"
                hover "yasuthumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuyasu')
            imagebutton:
                idle "norikothumb1.png"
                hover "norikothumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenunoriko')
            imagebutton:
                idle "kirinthumb1.png"
                hover "kirinthumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenukirin')

screen eventtrackersidecharahub ():
    tag menu

    use game_menu(_("Side Characters"), scroll="viewport"):

        style_prefix "aff"

        grid 5 3:
            align (1, 1)
            xspacing 60
            yspacing 20

            imagebutton:
                idle "sarathumb1.png"
                hover "sarathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenusara')
            imagebutton:
                idle "harukathumb1.png"
                hover "harukathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuharuka')
            imagebutton:
                idle "kaorithumb1.png"
                hover "kaorithumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenukaori')
            imagebutton:
                idle "chinamithumb1.png"
                hover "chinamithumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuchinami')
            imagebutton:
                idle "karinthumb1.png"
                hover "karinthumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenukarin')
            imagebutton:
                idle "makithumb1.png"
                hover "makithumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenumaki')
            imagebutton:
                idle "yukithumb1.png"
                hover "yukithumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuyuki')
            imagebutton:
                idle "nikithumb1.png"
                hover "nikithumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuniki')
            imagebutton:
                idle "wakanathumb1.png"
                hover "wakanathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuwakana')
            imagebutton:
                idle "osakothumb1.png"
                hover "osakothumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuosako')
            imagebutton:
                idle "tsubasathumb1.png"
                hover "tsubasathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenutsubasa')
            imagebutton:
                idle "tsukasathumb1.png"
                hover "tsukasathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenutsukasa')
            imagebutton:
                idle "imanithumb1.png"
                hover "imanithumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenuimani')
            imagebutton:
                idle "rikathumb1.png"
                hover "rikathumb2.png"
                #xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenurika')
            imagebutton:
                idle "naothumb1.png"
                hover "naothumb2.png"
                xalign 0.2 yalign 0.5
                focus_mask True
                action ShowMenu('gamemenunao')

screen gamemenuami():

    tag menu
    if amimenuoutfit is not None and renpy.loadable(amimenuoutfit) :
        add amimenuoutfit
    else :
        add "game_menuami.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#ff4dd2}Height: 5'2/157cm{/color}") style "profile"
        text ("{color=#ff4dd2}Birthday: August 31st{/color}") style "profile"
        text ("\n{color=#ff4dd2}Affection: [ami_love]{/color}") style "profile"
        text ("{color=#ff4dd2}Lust: [ami_lust]{/color}") style "profile"
        text ("{color=#ff4dd2}Headpats: [amipats]{/color}") style "profile"
        if amimiss < 1:
            text ("{color=#ff4dd2}Events: [amipoint]/43{/color}") style "profile"
        else:
            text ("{color=#ff4dd2}Events: [amipoint]/43{/color} {color=#FF0000}([amimiss] Missed){/color}") style "profile"

    imagebutton:
        idle "amievrep1.png"
        hover "amievrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('amitracker')

    if amifingered == True:
        imagebutton:
            idle "subscribestar/images2/amimaidrep1.png"
            hover "subscribestar/images2/amimaidrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')

    if aminudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('amiphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('amiphone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(ami_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenurin')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenumaya')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen amitracker():

    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(_("Ami Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=ff4dd2}Ami Arakawa ([ami_love] Affection){/color}"
            for e in AMI_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuami')

screen gamemenumaya():

    tag menu
    if mayamenuoutfit is not None and renpy.loadable(mayamenuoutfit) :
        add mayamenuoutfit
    else :
        add "game_menumaya.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#18b500}Height: 5'0/152cm{/color}") style "profile"
        text ("{color=#18b500}Birthday: January 1st{/color}") style "profile"
        text ("\n{color=#18b500}Affection: [maya_love]{/color}") style "profile"
        text ("{color=#18b500}Lust: [maya_lust]{/color}") style "profile"
        text ("{color=#18b500}Headpats: 0{/color}") style "profile"
        if mayamiss < 1:
            text ("{color=#18b500}Events: [mayapoint]/38{/color}") style "profile"
        else:
            text ("{color=#18b500}Events: [mayapoint]/38{/color} {color=#FF0000}([mayamiss] Missed){/color}") style "profile"

    imagebutton:
        idle "mayashrinerep1.png"
        hover "mayashrinerep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('mayatracker')

    if bonus == True:
        if day102 == False:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')
        else:
            imagebutton:
                idle "subscribestar/images2/mayayayrep1.png"
                hover "subscribestar/images2/mayayayrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('mayareplays')

    if mayanudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('mayaphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('mayaphone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(maya_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuami')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenumolly')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen mayatracker():

    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(_("Maya Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=18b500}Maya Makinami ([maya_love] Affection){/color}"
            for e in MAYA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenumaya')

screen gamemenuchika():

    tag menu
    if chikamenuoutfit is not None and renpy.loadable(chikamenuoutfit) :
        add chikamenuoutfit
    else :
        add "game_menuchika.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#AF7F00}Height: 5'5/167cm{/color}") style "profile"
        text ("{color=#AF7F00}Birthday: May 9th{/color}") style "profile"
        text ("\n{color=#AF7F00}Affection: [chika_love]{/color}") style "profile"
        text ("{color=#AF7F00}Lust: [chika_lust]{/color}") style "profile"
        text ("{color=#AF7F00}Headpats: [chikapats]{/color}") style "profile"
        if chikamiss < 1:
            text ("{color=#AF7F00}Events: [chikapoint]/40{/color}") style "profile"
        else:
            text ("{color=#AF7F00}Events: [chikapoint]/40{/color} {color=#FF0000}([chikamiss] Missed){/color}") style "profile"

    imagebutton:
        idle "chikamorningrep1.png"
        hover "chikamorningrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('chikatracker')

    if bonus == True:
        if chikadorm20 == False:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')
        else:
            imagebutton:
                idle "subscribestar/images2/chikafinger1.png"
                hover "subscribestar/images2/chikafinger2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('chikareplays')

        if chikanudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('chikaphone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('chikaphone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(chika_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenunao')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuyumi')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen chikatracker():

    tag menu

    use game_menu(_("Chika Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=AF7F00}Chika Chosokabe ([chika_love] Affection){/color}"
            for e in CHIKA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuchika')

screen gamemenuyumi():

    tag menu
    if yumimenuoutfit is not None and renpy.loadable(yumimenuoutfit) :
        add yumimenuoutfit
    else :
        add "game_menuyumi.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#d12e2e}Height: 5'6/166cm{/color}") style "profile"
        text ("{color=#d12e2e}Birthday: October 31st{/color}") style "profile"
        text ("\n{color=#d12e2e}Affection: [yumi_love]{/color}") style "profile"
        text ("{color=#d12e2e}Lust: [yumi_lust]{/color}") style "profile"
        text ("{color=#d12e2e}Headpats: 0{/color}") style "profile"
        text ("{color=#d12e2e}Events: [yumipoint]/34{/color}") style "profile"

    imagebutton:
        idle "yumievrep1.png"
        hover "yumievrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('yumitracker')

    if nodokaspecial15p3 == True:
        imagebutton:
            idle "subscribestar/images2/matadorrep1.png"
            hover "subscribestar/images2/matadorrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('yumireplays')
    else:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(yumi_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuchika')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuayane')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen yumitracker():

    tag menu

    use game_menu(_("Yumi Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=d12e2e}Yumi Yamaguchi ([yumi_love] Affection){/color}"
            for e in YUMI_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuyumi')

screen gamemenuayane():

    tag menu
    if ayanemenuoutfit is not None and renpy.loadable(ayanemenuoutfit) :
        add ayanemenuoutfit
    else :
        add "game_menuayane.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#00bab1}Height: 5'3/161cm{/color}") style "profile"
        text ("{color=#00bab1}Birthday: September 25th{/color}") style "profile"
        text ("\n{color=#00bab1}Affection: [ayane_love]{/color}") style "profile"
        text ("{color=#00bab1}Lust: [ayane_lust]{/color}") style "profile"
        text ("{color=#00bab1}Headpats: [ayanepats]{/color}") style "profile"
        if ayanemiss < 1:
            text ("{color=#00bab1}Events: [ayanepoint]/53{/color}") style "profile"
        else:
            text ("{color=#00bab1}Events: [ayanepoint]/53{/color} {color=#FF0000}([ayanemiss] Missed){/color}") style "profile"

    imagebutton:
        idle "ayaneevrep1.png"
        hover "ayaneevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('ayanetracker')

    if bonus == True:
        if ayane_virgin == True:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')
        else:
            imagebutton:
                idle "subscribestar/images2/ayanefirstlust1.png"
                hover "subscribestar/images2/ayanefirstlust2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('ayanereplays')

        if ayanenudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('ayanephone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('ayanephone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(ayane_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuyumi')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenusana')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen ayanetracker():

    tag menu

    use game_menu(_("Ayane Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=00bab1}Ayane Amamiya ([ayane_love] Affection){/color}"
            for e in AYANE_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuayane')

screen gamemenusana():

    tag menu
    if sanamenuoutfit is not None and renpy.loadable(sanamenuoutfit) :
        add sanamenuoutfit
    else :
        add "game_menusana.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#005730}Height: 4'10/147cm{/color}") style "profile"
        text ("{color=#005730}Birthday: January 4th{/color}") style "profile"
        text ("\n{color=#005730}Affection: [sana_love]{/color}") style "profile"
        text ("{color=#005730}Lust: [sana_lust]{/color}") style "profile"
        text ("{color=#005730}Headpats: [sanapats]{/color}") style "profile"
        if sanamiss < 1:
            text ("{color=#005730}Events: [sanapoint]/35{/color}") style "profile"
        else:
            text ("{color=#005730}Events: [sanapoint]/35{/color} {color=#FF0000}([sanamiss] Missed){/color}") style "profile"

    imagebutton:
        idle "sanaevrep1.png"
        hover "sanaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('sanatracker')

    if sananudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('sanaphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('sanaphone')

    if sanaspring3 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/sanabjrep1.png"
            hover "subscribestar/images2/sanabjrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('sanareplays')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(sana_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuayane')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenumakoto')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen sanatracker():

    tag menu

    use game_menu(_("Sana Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=005730}Sana Sakakibara ([sana_love] Affection){/color}"
            for e in SANA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenusana')

screen gamemenumakoto():

    tag menu
    if makotomenuoutfit is not None and renpy.loadable(makotomenuoutfit) :
        add makotomenuoutfit
    else :
        add "game_menumakoto.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#3c55fa}Height: 5'3/159cm{/color}") style "profile"
        text ("{color=#3c55fa}Birthday: December 9th{/color}") style "profile"
        text ("\n{color=#3c55fa}Affection: [makoto_love]{/color}") style "profile"
        text ("{color=#3c55fa}Lust: [makoto_lust]{/color}") style "profile"
        text ("{color=#3c55fa}Headpats: [makpats]{/color}") style "profile"
        if makotomiss < 1:
            text ("{color=#3c55fa}Events: [makotopoint]/41{/color}") style "profile"
        else:
            text ("{color=#3c55fa}Events: [makotopoint]/41{/color} {color=#FF0000}([makotomiss] Missed){/color}") style "profile"

    imagebutton:
        idle "makotoevrep1.png"
        hover "makotoevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('makototracker')

    if bonus == True:
        if makotonew2 == False:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')
        else:
            imagebutton:
                idle "subscribestar/images2/pornshophjrep1.png"
                hover "subscribestar/images2/pornshophjrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('makotoreplays')

        if makotonudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('makotophone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('makotophone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(makoto_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenusana')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenumiku')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen makototracker():

    tag menu

    use game_menu(_("Makoto Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=3c55fa}Makoto Miyamura ([makoto_love] Affection){/color}"
            for e in MAKOTO_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenumakoto')

screen gamemenumiku():

    tag menu
    if mikumenuoutfit is not None and renpy.loadable(mikumenuoutfit) :
        add mikumenuoutfit
    else :
        add "game_menumiku.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#ff8112}Height: 5'0/153cm{/color}") style "profile"
        text ("{color=#ff8112}Birthday: June 8th{/color}") style "profile"
        text ("\n{color=#ff8112}Affection: [miku_love]{/color}") style "profile"
        text ("{color=#ff8112}Lust: [miku_lust]{/color}") style "profile"
        text ("{color=#ff8112}Headpats: [mikupats]{/color}") style "profile"
        text ("{color=#ff8112}Events: [mikupoint]/34{/color}") style "profile"

    imagebutton:
        idle "mikuevrep1.png"
        hover "mikuevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('mikutracker')

    if bonus == True:
        if mikudorm25 == False:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')
        else:
            imagebutton:
                idle "subscribestar/images2/mikuthighrep1.png"
                hover "subscribestar/images2/mikuthighrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('mikureplays')

    if mikunudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('mikuphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('mikuphone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(miku_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenumakoto')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenufutaba')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen mikutracker():

    tag menu

    use game_menu(_("Miku Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=ff8112}Miku Maruyama ([miku_love] Affection){/color}"
            for e in MIKU_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenumiku')

screen gamemenufutaba():

    tag menu
    if futabamenuoutfit is not None and renpy.loadable(futabamenuoutfit) :
        add futabamenuoutfit
    else :
        add "game_menufutaba.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#9326ff}Height: 5'7/171cm{/color}") style "profile"
        text ("{color=#9326ff}Birthday: November 28th{/color}") style "profile"
        text ("\n{color=#9326ff}Affection: [futaba_love]{/color}") style "profile"
        text ("{color=#9326ff}Lust: [futaba_lust]{/color}") style "profile"
        text ("{color=#9326ff}Headpats: [futabapats]{/color}") style "profile"
        if futabamiss < 1:
            text ("{color=#9326ff}Events: [futabapoint]/42{/color}") style "profile"
        else:
            text ("{color=#9326ff}Events: [futabapoint]/42{/color} {color=#FF0000}([futabamiss] Missed){/color}") style "profile"

    imagebutton:
        idle "futabaevrep1.png"
        hover "futabaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('futabatracker')

    if bonus == True:
        if futabadorm15 == False:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')
        else:
            imagebutton:
                idle "subscribestar/images2/futababoobrep1.png"
                hover "subscribestar/images2/futababoobrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('futabareplays')

        if futabanudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('futabaphone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('futabaphone')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(futaba_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenumiku')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenurin')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen futabatracker():

    tag menu

    use game_menu(_("Futaba Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=9326ff}Futaba Fukuyama ([futaba_love] Affection){/color}"
            for e in FUTABA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenufutaba')

screen gamemenurin():

    tag menu
    if rinmenuoutfit is not None and renpy.loadable(rinmenuoutfit) :
        add rinmenuoutfit
    else :
        add "game_menurin.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#a30041}Height: 5'4/163cm{/color}") style "profile"
        text ("{color=#a30041}Birthday: February 14th{/color}") style "profile"
        text ("\n{color=#a30041}Affection: [rin_love]{/color}") style "profile"
        text ("{color=#a30041}Lust: [rin_lust]{/color}") style "profile"
        text ("{color=#a30041}Headpats: 0{/color}") style "profile"
        if rinmiss < 1:
            text ("{color=#a30041}Events: [rinpoint]/38{/color}") style "profile"
        else:
            text ("{color=#a30041}Events: [rinpoint]/38{/color} {color=#FF0000}([rinmiss] Missed){/color}") style "profile"

    imagebutton:
        idle "rinevrep1.png"
        hover "rinevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('rintracker')

    if postnodokachain1 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/rinotoharep1.png"
            hover "subscribestar/images2/rinotoharep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('rinreplays')

    if rinnudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('rinphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('rinphone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(rin_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenufutaba')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuami')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen rintracker():

    tag menu

    use game_menu(_("Rin Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=a30041}Rin Rokuhara ([rin_love] Affection){/color}"
            for e in RIN_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenurin')

screen gamemenumolly():

    tag menu
    if mollymenuoutfit is not None and renpy.loadable(mollymenuoutfit) :
        add mollymenuoutfit
    else :
        add "game_menumolly.png"

    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#4FCB80}Height: 5'1/155cm{/color}") style "profile"
        text ("{color=#4FCB80}Birthday: March 18th{/color}") style "profile"
        text ("\n{color=#4FCB80}Affection: [molly_love]{/color}") style "profile"
        text ("{color=#4FCB80}Lust: [molly_lust]{/color}") style "profile"
        text ("{color=#4FCB80}Headpats: [mollypats]{/color}") style "profile"
        if mollymiss < 1:
            text ("{color=#4FCB80}Events: [mollypoint]/27{/color}") style "profile"
        else:
            text ("{color=#4FCB80}Events: [mollypoint]/27{/color} {color=#FF0000}([mollymiss] Missed){/color}") style "profile"

    imagebutton:
        idle "mollyevrep1.png"
        hover "mollyevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('mollytracker')

    if mollynudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('mollyphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('mollyphone')

    if mollydorm20 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/mollymastrep1.png"
            hover "subscribestar/images2/mollymastrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('mollyreplays')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(molly_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenumaya')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenutsuneyo')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen mollytracker():

    tag menu

    use game_menu(_("Molly Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=4FCB80}Molly MacCormack ([molly_love] Affection){/color}"
            for e in MOLLY_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenumolly')

screen gamemenutsuneyo():

    tag menu
    if tsuneyomenuoutfit is not None and renpy.loadable(tsuneyomenuoutfit) :
        add tsuneyomenuoutfit
    else :
        add "game_menutsuneyo.png"

    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#C8B330}Height: 5'10/177cm{/color}") style "profile"
        text ("{color=#C8B330}Birthday: October 6th{/color}") style "profile"
        text ("\n{color=#C8B330}Affection: [tsuneyo_love]{/color}") style "profile"
        text ("{color=#C8B330}Lust: [tsuneyo_lust]{/color}") style "profile"
        text ("{color=#C8B330}Headpats: 0{/color}") style "profile"
        text ("{color=#C8B330}Events: [tsuneyopoint]/28{/color}") style "profile"

    imagebutton:
        idle "tsuneyoevrep1.png"
        hover "tsuneyoevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('tsuneyotracker')

    if halloweentsuneyo1 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/tsuneyosekairep1.png"
            hover "subscribestar/images2/tsuneyosekairep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('tsuneyoreplays')

    if tsuneyonudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('tsuneyophone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('tsuneyophone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(tsuneyo_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenumolly')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuuta')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen tsuneyotracker():

    tag menu

    use game_menu(_("Tsuneyo Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=C8B330}Tsuneyo Tojo ([tsuneyo_love] Affection){/color}"
            for e in TSUNEYO_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenutsuneyo')

screen gamemenusara():

    tag menu
    if saramenuoutfit is not None and renpy.loadable(saramenuoutfit) :
        add saramenuoutfit
    else :
        add "game_menusara.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#365D4C}Height: 5'4/162cm{/color}") style "profile"
        text ("{color=#365D4C}Birthday: July 6th{/color}") style "profile"
        text ("\n{color=#365D4C}Affection: [sara_love]{/color}") style "profile"
        text ("{color=#365D4C}Lust: [sara_lust]{/color}") style "profile"
        text ("{color=#365D4C}Headpats: [sarapats]{/color}") style "profile"
        if saramiss < 1:
            text ("{color=#365D4C}Events: [sarapoint]/23{/color}") style "profile"
        else:
            text ("{color=#365D4C}Events: [sarapoint]/23{/color} {color=#FF0000}([saramiss] Missed){/color}") style "profile"

    imagebutton:
        idle "saraevrep1.png"
        hover "saraevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('saratracker')

    if bonus == True:
        if sarasex == False:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')
        else:
            imagebutton:
                idle "subscribestar/images2/saraeatout1.png"
                hover "subscribestar/images2/saraeatout2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('sarareplays')

        if saranudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('saraphone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('saraphone')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(sara_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenukirin')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuharuka')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen saratracker():

    tag menu

    use game_menu(_("Sara Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=365D4C}Sara Sakakibara ([sara_love] Affection){/color}"
            for e in SARA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenusara')

screen gamemenuharuka():

    tag menu
    if harukamenuoutfit is not None and renpy.loadable(harukamenuoutfit) :
        add harukamenuoutfit
    else :
        add "game_menuharuka.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#B02E8C}Height: 5'8/173cm{/color}") style "profile"
        text ("{color=#B02E8C}Birthday: June 20th{/color}") style "profile"
        text ("\n{color=#B02E8C}Affection: [haruka_love]{/color}") style "profile"
        text ("{color=#B02E8C}Lust: [haruka_lust]{/color}") style "profile"
        text ("{color=#B02E8C}Headpats: [harukapats]{/color}") style "profile"
        if harukamiss < 1:
            text ("{color=#B02E8C}Events: [harukapoint]/26{/color}") style "profile"
        else:
            text ("{color=#B02E8C}Events: [harukapoint]/26{/color} {color=#FF0000}([harukamiss] Missed){/color}") style "profile"

    imagebutton:
        idle "harukaevrep1.png"
        hover "harukaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('harukatracker')

    if bonus == True:
        if harukasex == False:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')
        else:
            imagebutton:
                idle "subscribestar/images2/harukadogrep1.png"
                hover "subscribestar/images2/harukadogrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('harukareplays')

        if harukanudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('harukaphone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('harukaphone')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(haruka_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenusara')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenukaori')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen harukatracker():

    tag menu

    use game_menu(_("Haruka Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=B02E8C}Haruka Hamasaki ([haruka_love] Affection){/color}"
            for e in HARUKA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuharuka')

screen gamemenumaki():

    tag menu
    if makimenuoutfit is not None and renpy.loadable(makimenuoutfit) :
        add makimenuoutfit
    else :
        add "game_menumaki.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#3B84A9}Height: 5'9/176cm{/color}") style "profile"
        text ("{color=#3B84A9}Birthday: November 25th{/color}") style "profile"
        text ("\n{color=#3B84A9}Affection: [maki_love]{/color}") style "profile"
        text ("{color=#3B84A9}Lust: [maki_lust]{/color}") style "profile"
        text ("{color=#3B84A9}Headpats: [makipats]{/color}") style "profile"
        if makimiss < 1:
            text ("{color=#3B84A9}Events: [makipoint]/21{/color}") style "profile"
        else:
            text ("{color=#3B84A9}Events: [makipoint]/21{/color} {color=#FF0000}([makimiss] Missed){/color}") style "profile"

    imagebutton:
        idle "makievrep1.png"
        hover "makievrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('makitracker')

    if bonus == True:
        if harukalust10 == True or makibj == True:
            imagebutton:
                idle "subscribestar/images2/makibjrep1.png"
                hover "subscribestar/images2/makibjrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('makireplays')
        else:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(maki_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenukarin')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuyuki')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen makitracker():

    tag menu

    use game_menu(_("Maki Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=3B84A9}Maki Miyamura ([maki_love] Affection){/color}"
            for e in MAKI_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenumaki')

screen gamemenukirin():

    tag menu
    if kirinmenuoutfit is not None and renpy.loadable(kirinmenuoutfit) :
        add kirinmenuoutfit
    else :
        add "game_menukirin.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#9C8080}Height: 5'2/158cm{/color}") style "profile"
        text ("{color=#9C8080}Birthday: February 27th{/color}") style "profile"
        text ("\n{color=#9C8080}Affection: [kirin_love]{/color}") style "profile"
        text ("{color=#9C8080}Lust: [kirin_lust]{/color}") style "profile"
        text ("{color=#9C8080}Headpats: [kirinpats]{/color}") style "profile"
        if kirinmiss < 1:
            text ("{color=#9C8080}Events: [kirinpoint]/33{/color}") style "profile"
        else:
            text ("{color=#9C8080}Events: [kirinpoint]/33{/color} {color=#FF0000}([kirinmiss] Missed){/color}") style "profile"

    imagebutton:
        idle "kirinevrep1.png"
        hover "kirinevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('kirintracker')

    if bonus == True:
        if kirinbeachhj == True or ayanelust10 == True or kirindate10 == True:
            imagebutton:
                idle "subscribestar/images2/kirindryrep1.png"
                hover "subscribestar/images2/kirindryrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('kirinreplays')
        else:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')

        if kirinnudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('kirinphone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('kirinphone')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(kirin_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenunoriko')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenusara')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen kirintracker():

    tag menu

    use game_menu(_("Kirin Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=9C8080}Kirin Kanda ([kirin_love] Affection){/color}"
            for e in KIRIN_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenukirin')

screen gamemenukarin():

    tag menu
    if karinmenuoutfit is not None and renpy.loadable(karinmenuoutfit) :
        add karinmenuoutfit
    else :
        add "game_menukarin.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#AC9D77}Height: 5'9/176cm{/color}") style "profile"
        text ("{color=#AC9D77}Birthday: October 27th{/color}") style "profile"
        text ("\n{color=#AC9D77}Affection: [karin_love]{/color}") style "profile"
        text ("{color=#AC9D77}Lust: [karin_lust]{/color}") style "profile"
        text ("{color=#AC9D77}Headpats: 0{/color}") style "profile"
        if karinmiss < 1:
            text ("{color=#AC9D77}Events: [karinpoint]/17{/color}") style "profile"
        else:
            text ("{color=#AC9D77}Events: [karinpoint]/17{/color} {color=#FF0000}([karinmiss] Missed){/color}") style "profile"

    imagebutton:
        idle "karinevrep1.png"
        hover "karinevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('karintracker')

    if amispring5 == True:
        imagebutton:
            idle "subscribestar/images2/karindruggedrep1.png"
            hover "subscribestar/images2/karindruggedrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('karinreplays')
    else:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')

    if karinnudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('karinphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('karinphone')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(karin_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuchinami')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenumaki')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen karintracker():

    tag menu

    use game_menu(_("Karin Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=AC9D77}Karin Kanda ([karin_love] Affection){/color}"
            for e in KARIN_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenukarin')

screen gamemenukaori():

    tag menu
    if kaorimenuoutfit is not None and renpy.loadable(kaorimenuoutfit) :
        add kaorimenuoutfit
    else :
        add "game_menukaori.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#4B4B4B}Height: 5'5/166cm{/color}") style "profile"
        text ("{color=#4B4B4B}Birthday: December 25th{/color}") style "profile"
        text ("\n{color=#4B4B4B}Affection: [kaori_love]{/color}") style "profile"
        text ("{color=#4B4B4B}Lust: [kaori_lust]{/color}") style "profile"
        text ("{color=#4B4B4B}Headpats: [kaoripats]{/color}") style "profile"
        text ("{color=#4B4B4B}Events: [kaoripoint]/20{/color}") style "profile"

    imagebutton:
        idle "kaorievrep1.png"
        hover "kaorievrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('kaoritracker')

    if halloweenkaori2 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/kaoriroofrep1.png"
            hover "subscribestar/images2/kaoriroofrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('kaorireplays')

    if bonus == True:
        if kaorinudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('kaoriphone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('kaoriphone')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(kaori_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuharuka')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuchinami')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen kaoritracker():

    tag menu

    use game_menu(_("Kaori Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=4B4B4B}Kaori Kadowaki ([kaori_love] Affection){/color}"
            for e in KAORI_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenukaori')

screen gamemenuimani():

    tag menu
    if imanimenuoutfit is not None and renpy.loadable(imanimenuoutfit) :
        add imanimenuoutfit
    else :
        add "game_menuimani.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#80C9DC}Height: 5'8/174cm{/color}") style "profile"
        text ("{color=#80C9DC}Birthday: March 7th{/color}") style "profile"
        text ("\n{color=#80C9DC}Affection: [imani_love]{/color}") style "profile"
        text ("{color=#80C9DC}Lust: [imani_lust]{/color}") style "profile"
        text ("{color=#80C9DC}Headpats: 0{/color}") style "profile"
        text ("{color=#80C9DC}Events: [imanipoint]/14{/color}") style "profile"

    imagebutton:
        idle "imanievrep1.png"
        hover "imanievrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('imanitracker')

    if imanispring2 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/imanieatfourrep1.png"
            hover "subscribestar/images2/imanieatfourrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('imanireplays')

    if imaninudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('imaniphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('imaniphone')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(imani_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenutsukasa')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenurika')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen imanitracker():

    tag menu

    use game_menu(_("Imani Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=#80C9DC}Imani Imai ([imani_love] Affection){/color}"
            for e in IMANI_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuimani')

screen rikatracker():

    tag menu

    use game_menu(_("Rika Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=#D18E77}Rika Rokuhara ([rika_love] Affection){/color}"
            for e in RIKA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenurika')

screen naotracker():

    tag menu

    use game_menu(_("Nao Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=#D18E77}Nao ([nao_love] Affection){/color}"
            for e in NAO_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenunao')

screen gamemenuchinami():

    tag menu
    if chinamimenuoutfit is not None and renpy.loadable(chinamimenuoutfit) :
        add chinamimenuoutfit
    else :
        add "game_menuchinami.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#FF9999}Height: 4'5/134cm{/color}") style "profile"
        text ("{color=#FF9999}Birthday: January 21st{/color}") style "profile"
        text ("\n{color=#FF9999}Affection: [chinami_love]{/color}") style "profile"
        text ("{color=#FF9999}Lust: [chinami_lust]{/color}") style "profile"
        text ("{color=#FF9999}Headpats: 0{/color}") style "profile"
        if chinamimiss < 1:
            text ("{color=FF9999}Events: [chinamipoint]/15{/color}") style "profile"
        else:
            text ("{color=FF9999}Events: [chinamipoint]/15{/color} {color=#FF0000}([chinamimiss] Missed){/color}") style "profile"

    imagebutton:
        idle "chinamievrep1.png"
        hover "chinamievrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('chinamitracker')

    imagebutton:
        idle "lock.png"
        hover "lock.png"
        xalign 0.925 yalign 0.935
        focus_mask True
        #action ShowMenu('amireplays')

    if chinaminudecheck >= 1 and wizardmode == True:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('chinamiphone')
    elif wizardmode == True and chinaminudecheck == 0:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('chinamiphone')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(chinami_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenukaori')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenukarin')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen chinamitracker():

    tag menu

    use game_menu(_("Chinami Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=FF9999}Chinami Chosokabe ([chinami_love] Affection){/color}"
            for e in CHINAMI_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuchinami')

screen gamemenuwakana():

    tag menu
    if wakanamenuoutfit is not None and renpy.loadable(wakanamenuoutfit) :
        add wakanamenuoutfit
    else :
        add "game_menuwakanawinter.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#540087}Height: 5'6/169cm{/color}") style "profile"
        text ("{color=#540087}Birthday: October 10th{/color}") style "profile"
        text ("\n{color=#540087}Affection: [wakana_love]{/color}") style "profile"
        text ("{color=#540087}Lust: [wakana_lust]{/color}") style "profile"
        text ("{color=#540087}Headpats: 0{/color}") style "profile"
        text ("{color=#540087}Events: [wakanapoint]/17{/color}") style "profile"

    imagebutton:
        idle "wakanaevrep1.png"
        hover "wakanaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('wakanatracker')

    if wakanaspecial15 == True:
        imagebutton:
            idle "subscribestar/images2/osakanabrrep1.png"
            hover "subscribestar/images2/osakanabrrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('wakanareplays')
    else:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(wakana_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuniki')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuosako')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen gamemenuosako():

    tag menu
    if osakomenuoutfit is not None and renpy.loadable(osakomenuoutfit) :
        add osakomenuoutfit
    else :
        add "game_menuosako.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#9A6BA1}Height: 5'8/173cm{/color}") style "profile"
        text ("{color=#9A6BA1}Birthday: November 27th{/color}") style "profile"
        text ("\n{color=#9A6BA1}Affection: [osako_love]{/color}") style "profile"
        text ("{color=#9A6BA1}Lust: [osako_lust]{/color}") style "profile"
        text ("{color=#9A6BA1}Headpats: 0{/color}") style "profile"
        text ("{color=#9A6BA1}Events: [osakopoint]/13{/color}") style "profile"

    imagebutton:
        idle "osakoevrep1.png"
        hover "osakoevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('osakotracker')

    if wakanaspecial15 == True:
        imagebutton:
            idle "subscribestar/images2/osakanabrrep1.png"
            hover "subscribestar/images2/osakanabrrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('osakoreplays')
    else:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(osako_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuwakana')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenutsubasa')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen gamemenutsubasa():

    tag menu
    if tsubasamenuoutfit is not None and renpy.loadable(tsubasamenuoutfit) :
        add tsubasamenuoutfit
    else :
        add "game_menutsubasa.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#eae6aa}Height: 5'8/174cm{/color}") style "profile"
        text ("{color=#eae6aa}Birthday: January 12th{/color}") style "profile"
        text ("\n{color=#eae6aa}Affection: [tsubasa_love]{/color}") style "profile"
        text ("{color=#eae6aa}Lust: [tsubasa_lust]{/color}") style "profile"
        text ("{color=#eae6aa}Headpats: 0{/color}") style "profile"
        if tsubasamiss < 1:
            text ("{color=#eae6aa}Events: [tsubasapoint]/14{/color}") style "profile"
        else:
            text ("{color=#eae6aa}Events: [tsubasapoint]/14{/color} {color=#FF0000}([tsubasamiss] Missed){/color}") style "profile"

    imagebutton:
        idle "tsubasaevrep1.png"
        hover "tsubasaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('tsubasatracker')

    if saraspring2 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    elif christmastsubasa1 == True:
        imagebutton:
            idle "subscribestar/images2/tsubasaxmasrep1.png"
            hover "subscribestar/images2/tsubasaxmasrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('tsubasareplays')
    elif christmastsubasa1 == False and saraspring2 == True:
        imagebutton:
            idle "subscribestar/images2/saracounterrep1.png"
            hover "subscribestar/images2/saracounterrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('tsubasareplays')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(tsubasa_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuosako')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenutsukasa')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen gamemenurika():

    tag menu
    if rikamenuoutfit is not None and renpy.loadable(rikamenuoutfit) :
        add rikamenuoutfit
    else :
        add "game_menurika.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#D18E77}Height: 5'7/171cm{/color}") style "profile"
        text ("{color=#D18E77}Birthday: September 23rd{/color}") style "profile"
        text ("\n{color=#D18E77}Affection: [rika_love]{/color}") style "profile"
        text ("{color=#D18E77}Lust: [rika_lust]{/color}") style "profile"
        text ("{color=#D18E77}Headpats: 0{/color}") style "profile"
        text ("{color=#D18E77}Events: [rikapoint]/11{/color}") style "profile"

    imagebutton:
        idle "rikaevrep1.png"
        hover "rikaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('rikatracker')

    if rikaspring6 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/rikasexrep1.png"
            hover "subscribestar/images2/rikasexrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('rikareplays')

    if rikanudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('rikaphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('rikaphone')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(rika_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuimani')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenunao')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen gamemenunao():

    tag menu
    if naomenuoutfit is not None and renpy.loadable(naomenuoutfit) :
        add naomenuoutfit
    else :
        add "game_menunaohoodie.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#602F2B}Height: 4'4/132cm{/color}") style "profile"
        text ("{color=#602F2B}Birthday: ???{/color}") style "profile"
        text ("\n{color=#602F2B}Affection: [nao_love]{/color}") style "profile"
        text ("{color=#602F2B}Lust: [nao_lust]{/color}") style "profile"
        text ("{color=#602F2B}Headpats: 0{/color}") style "profile"
        text ("{color=#602F2B}Events: [naopoint]/11{/color}") style "profile"

    imagebutton:
        idle "naoevrep1.png"
        hover "naoevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('naotracker')

    imagebutton:
        idle "lock.png"
        hover "lock.png"
        xalign 0.925 yalign 0.935
        focus_mask True
        #action ShowMenu('amireplays')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(nao_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenurika')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuchika')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen gamemenutsukasa():

    tag menu
    if tsukasamenuoutfit is not None and renpy.loadable(tsukasamenuoutfit) :
        add tsukasamenuoutfit
    else :
        add "game_menutsukasa.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#f0ca8c}Height: 4'5/136cm{/color}") style "profile"
        text ("{color=#f0ca8c}Birthday: January 10th{/color}") style "profile"
        text ("\n{color=#f0ca8c}Affection: [tsukasa_love]{/color}") style "profile"
        text ("{color=#f0ca8c}Lust: [tsukasa_lust]{/color}") style "profile"
        text ("{color=#f0ca8c}Headpats: 0{/color}") style "profile"
        if tsukasamiss < 1:
            text ("{color=f0ca8c}Events: [tsukasapoint]/12{/color}") style "profile"
        else:
            text ("{color=f0ca8c}Events: [tsukasapoint]/12{/color} {color=#FF0000}([tsukasamiss] Missed){/color}") style "profile"

    imagebutton:
        idle "tsukasaevrep1.png"
        hover "tsukasaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('tsukasatracker')

    if tsukasaspring8 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/tsukasaplushrep1.png"
            hover "subscribestar/images2/tsukasaplushrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('tsukasareplays')

    if tsukasanudecheck >= 1 and wizardmode == True:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('tsukasaphone')
    elif wizardmode == True and tsukasanudecheck == 0:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('tsukasaphone')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(tsukasa_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenutsubasa')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuimani')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen maintrackerch2():

    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(_("Main Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "Chapter 2"
            for e in MAIN_EVENTSCH2:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('eventtracker11')

screen maintrackerch3():

    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(_("Main Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "Chapter 3"
            for e in MAIN_EVENTSCH3:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('eventtracker11')

screen maintrackerch4():

    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(_("Main Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "Chapter 4"
            for e in MAIN_EVENTSCH4:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('eventtracker11')

screen gamemenuyuki():

    tag menu
    if yukimenuoutfit is not None and renpy.loadable(yukimenuoutfit) :
        add yukimenuoutfit
    else :
        add "game_menuyuki.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#CDCDCD}Height: 5'9/175cm{/color}") style "profile"
        text ("{color=#CDCDCD}Birthday: April 20th{/color}") style "profile"
        text ("\n{color=#CDCDCD}Affection: [yuki_love]{/color}") style "profile"
        text ("{color=#CDCDCD}Lust: [yuki_lust]{/color}") style "profile"
        text ("{color=#CDCDCD}Headpats: 0{/color}") style "profile"
        text ("{color=#CDCDCD}Events: [yukipoint]/16{/color}") style "profile"

    imagebutton:
        idle "yukievrep1.png"
        hover "yukievrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('yukitracker')

    if yukispring5 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/yukigangrep1.png"
            hover "subscribestar/images2/yukigangrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('yukireplays')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(yuki_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenumaki')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuniki')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen yukitracker():

    tag menu

    use game_menu(_("Yuki Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=CDCDCD}Yuki Yamaguchi ([yuki_love] Affection){/color}"
            for e in YUKI_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuyuki')

screen wakanatracker():

    tag menu

    use game_menu(_("Wakana Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=540087}Wakana Watabe ([wakana_love] Affection){/color}"
            for e in WAKANA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuwakana')

screen osakotracker():

    tag menu

    use game_menu(_("Osako Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=9A6BA1}Osako Osaka ([osako_love] Affection){/color}"
            for e in OSAKO_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuosako')

screen tsubasatracker():

    tag menu

    use game_menu(_("Tsubasa Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=eae6aa}Tsubasa Tsukioka ([tsubasa_love] Affection){/color}"
            for e in TSUBASA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenutsubasa')

screen tsukasatracker():

    tag menu

    use game_menu(_("Tsukasa Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=f0ca8c}Tsukasa Tsukioka ([tsukasa_love] Affection){/color}"
            for e in TSUKASA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenutsukasa')

screen gamemenuuta():

    tag menu
    if utamenuoutfit is not None and renpy.loadable(utamenuoutfit) :
        add utamenuoutfit
    else :
        add "game_menuuta.png"

    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#AA4588}Height: 4'11/149cm{/color}") style "profile"
        text ("{color=#AA4588}Birthday: August 1st{/color}") style "profile"
        text ("\n{color=#AA4588}Affection: [uta_love]{/color}") style "profile"
        text ("{color=#AA4588}Lust: [uta_lust]{/color}") style "profile"
        text ("{color=#AA4588}Headpats: 0{/color}") style "profile"
        if utamiss < 1:
            text ("{color=#AA4588}Events: [utapoint]/27{/color}") style "profile"
        else:
            text ("{color=#AA4588}Events: [utapoint]/27{/color} {color=#FF0000}([utamiss] Missed){/color}") style "profile"

    imagebutton:
        idle "utaevrep1.png"
        hover "utaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('utatracker')

    imagebutton:
        idle "lock.png"
        hover "lock.png"
        xalign 0.925 yalign 0.935
        focus_mask True
        #action ShowMenu('amireplays')

    if utanudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('utaphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('utaphone')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(uta_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenutsuneyo')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuio')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen utatracker():

    tag menu

    use game_menu(_("Uta Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=AA4588}Uta Ushibori ([uta_love] Affection){/color}"
            for e in UTA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuuta')

screen gamemenuio():

    tag menu
    if iomenuoutfit is not None and renpy.loadable(iomenuoutfit) :
        add iomenuoutfit
    else :
        add "game_menuio.png"

    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#BBE3A1}Height: 5'1/155cm{/color}") style "profile"
        text ("{color=#BBE3A1}Birthday: May 24th{/color}") style "profile"
        text ("\n{color=#BBE3A1}Affection: [io_love]{/color}") style "profile"
        text ("{color=#BBE3A1}Lust: [io_lust]{/color}") style "profile"
        text ("{color=#BBE3A1}Headpats: 0{/color}") style "profile"
        if iomiss < 1:
            text ("{color=#BBE3A1}Events: [iopoint]/27{/color}") style "profile"
        else:
            text ("{color=#BBE3A1}Events: [iopoint]/27{/color} {color=#FF0000}([iomiss] Missed){/color}") style "profile"

    imagebutton:
        idle "ioevrep1.png"
        hover "ioevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('iotracker')

    if iospring3 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/iostomachacherep1.png"
            hover "subscribestar/images2/iostomachacherep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('ioreplays')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(io_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuuta')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenunodoka')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen iotracker():

    tag menu

    use game_menu(_("Io Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=BBE3A1}Io Ichimonji ([io_love] Affection){/color}"
            for e in IO_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuio')

screen gamemenunoriko():

    tag menu
    if norikomenuoutfit is not None and renpy.loadable(norikomenuoutfit) :
        add norikomenuoutfit
    else :
        add "game_menunoriko.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#FF61A9}Height: 5'6/168cm{/color}") style "profile"
        text ("{color=#FF61A9}Birthday: July 28th{/color}") style "profile"
        text ("\n{color=#FF61A9}Affection: [noriko_love]{/color}") style "profile"
        text ("{color=#FF61A9}Lust: [noriko_lust]{/color}") style "profile"
        text ("{color=#FF61A9}Headpats: [norikopats]{/color}") style "profile"
        if norikomiss < 1:
            text ("{color=#FF61A9}Events: [norikopoint]/24{/color}") style "profile"
        else:
            text ("{color=#FF61A9}Events: [norikopoint]/24{/color} {color=#FF0000}([norikomiss] Missed){/color}") style "profile"

    imagebutton:
        idle "norikoevrep1.png"
        hover "norikoevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('norikotracker')

    if bonus == True:
        if norikoinvite2 == True:
            imagebutton:
                idle "subscribestar/images2/norikofirstinvrep1.png"
                hover "subscribestar/images2/norikofirstinvrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('norikoreplays')
        else:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')

        if norikonudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('norikophone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('norikophone')

    textbutton _("{size=+20}Change Profile Outfit{/size}"):
        action Function(noriko_next_outfit)
        xalign 0.305 yalign 0

    textbutton _("{size=+20}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.255 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuyasu')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenukirin')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen norikotracker():

    tag menu

    use game_menu(_("Noriko Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=FF61A9}Noriko Nakayama ([noriko_love] Affection){/color}"
            for e in NORIKO_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenunoriko')

screen gamemenuniki():

    tag menu
    if nikimenuoutfit is not None and renpy.loadable(nikimenuoutfit) :
        add nikimenuoutfit
    else :
        add "game_menuniki.png"

    $ v11check()
    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#FF0074}Height: 5'7/170cm{/color}") style "profile"
        text ("{color=#FF0074}Birthday: March 3rd{/color}") style "profile"
        text ("\n{color=#FF0074}Affection: [niki_love]{/color}") style "profile"
        text ("{color=#FF0074}Lust: [niki_lust]{/color}") style "profile"
        text ("{color=#FF0074}Headpats: [nikipats]{/color}") style "profile"
        text ("{color=#FF0074}Events: [nikipoint]/20{/color}") style "profile"

    imagebutton:
        idle "nikievrep1.png"
        hover "nikievrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('nikitracker')

    if bonus == True:
        if nikidate15 == True:
            imagebutton:
                idle "subscribestar/images2/nikifingerrep1.png"
                hover "subscribestar/images2/nikifingerrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('nikireplays')
        else:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')

        if nikinudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('nikiphone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('nikiphone')

    textbutton _("{size=+10}Change Profile Outfit{/size}"):
        action Function(niki_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+10}Go Back{/size}"):
        action ShowMenu('eventtrackersidecharahub')
        xalign 0.242 yalign 0.075

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuyuki')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuwakana')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen nikitracker():

    tag menu

    use game_menu(_("Niki Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "\n{color=FF0074}Niki Nakayama ([niki_love] Affection){/color}"
            for e in NIKI_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuniki')

screen gamemenunodoka():

    tag menu
    if nodokamenuoutfit is not None and renpy.loadable(nodokamenuoutfit) :
        add nodokamenuoutfit
    else :
        add "game_menunodoka.png"

    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#AF89A2}Height: 5'5/165cm{/color}") style "profile"
        text ("{color=#AF89A2}Birthday: April 17th{/color}") style "profile"
        text ("\n{color=#AF89A2}Affection: [nodoka_love]{/color}") style "profile"
        text ("{color=#AF89A2}Lust: [nodoka_lust]{/color}") style "profile"
        text ("{color=#AF89A2}Headpats: [nodokapats]{/color}") style "profile"
        if nodokamiss < 1:
            text ("{color=#AF89A2}Events: [nodokapoint]/28{/color}") style "profile"
        else:
            text ("{color=#ff4dd2}Events: [nodokapoint]/28{/color} {color=#FF0000}([nodokamiss] Missed){/color}") style "profile"


    imagebutton:
        idle "nodokaevrep1.png"
        hover "nodokaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('nodokatracker')

    if bonus == True:
        if futabalust15 == True:
            imagebutton:
                idle "subscribestar/images2/futabanodokawar1.png"
                hover "subscribestar/images2/futabanodokawar2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('nodokareplays')
        elif kirinlust20 == True:
            imagebutton:
                idle "subscribestar/images2/kirinnodokarep1.png"
                hover "subscribestar/images2/kirinnodokarep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('nodokareplays')
        elif nodokaspecial15p1 == True:
            imagebutton:
                idle "subscribestar/images2/nodokashowerrep1.png"
                hover "subscribestar/images2/nodokashowerrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('nodokareplays')
        else:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')

        if nodokanudecheck >= 1:
            imagebutton:
                idle "phonenotif.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('nodokaphone')
        else:
            imagebutton:
                idle "phoneblank.png"
                hover "phonehover.png"
                xalign 0.925 yalign 0.500
                action ShowMenu('nodokaphone')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(nodoka_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuio')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuotoha')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen nodokatracker():

    tag menu

    use game_menu(_("Nodoka Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=AF89A2}Nodoka Nagasawa ([nodoka_love] Affection){/color}"
            for e in NODOKA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenunodoka')

screen gamemenuotoha():

    tag menu
    if otohamenuoutfit is not None and renpy.loadable(otohamenuoutfit) :
        add otohamenuoutfit
    else :
        add "game_menuotoha.png"

    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#B83A6A}Height: 5'7/169cm{/color}") style "profile"
        text ("{color=#B83A6A}Birthday: September 19th{/color}") style "profile"
        text ("\n{color=#B83A6A}Affection: [otoha_love]{/color}") style "profile"
        text ("{color=#B83A6A}Lust: [otoha_lust]{/color}") style "profile"
        text ("{color=#B83A6A}Headpats: 0{/color}") style "profile"
        text ("{color=#B83A6A}Events: [otohapoint]/21{/color}") style "profile"

    imagebutton:
        idle "otohaevrep1.png"
        hover "otohaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('otohatracker')

    if postnodokachain1 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/rinotoharep1.png"
            hover "subscribestar/images2/rinotoharep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('otohareplays')

    if otohanudecheck >= 1:
        imagebutton:
            idle "phonenotif.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('otohaphone')
    else:
        imagebutton:
            idle "phoneblank.png"
            hover "phonehover.png"
            xalign 0.925 yalign 0.500
            action ShowMenu('otohaphone')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(otoha_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenunodoka')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenutouka')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen otohatracker():

    tag menu

    use game_menu(_("Otoha Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=B83A6A}Otoha Okakura ([otoha_love] Affection){/color}"
            for e in OTOHA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuotoha')

screen gamemenutouka():

    tag menu
    if toukamenuoutfit is not None and renpy.loadable(toukamenuoutfit) :
        add toukamenuoutfit
    else :
        add "game_menutouka.png"

    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#F0E68C}Height: 5'6/167cm{/color}") style "profile"
        text ("{color=#F0E68C}Birthday: February 9th{/color}") style "profile"
        text ("\n{color=#F0E68C}Affection: [touka_love]{/color}") style "profile"
        text ("{color=#F0E68C}Lust: [touka_lust]{/color}") style "profile"
        text ("{color=#F0E68C}Headpats: 0{/color}") style "profile"
        text ("{color=#F0E68C}Events: [toukapoint]/23{/color}") style "profile"

    imagebutton:
        idle "toukaevrep1.png"
        hover "toukaevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('toukatracker')

    if bonus == True:
        if toukaspring8 == True:
            imagebutton:
                idle "subscribestar/images2/toukavendingrep1.png"
                hover "subscribestar/images2/toukavendingrep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('toukareplays')
        elif chikalust15 == True and toukaspring8 == False:
            imagebutton:
                idle "subscribestar/images2/chikatoukastriprep1.png"
                hover "subscribestar/images2/chikatoukastriprep2.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                action ShowMenu('toukareplays')
        else:
            imagebutton:
                idle "lock.png"
                hover "lock.png"
                xalign 0.925 yalign 0.935
                focus_mask True
                #action ShowMenu('amireplays')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(touka_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenuotoha')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenuyasu')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen toukatracker():

    tag menu

    use game_menu(_("Touka Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=F0E68C}Touka Tsukioka ([touka_love] Affection){/color}"
            for e in TOUKA_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenutouka')

screen gamemenuyasu():

    tag menu
    if yasumenuoutfit is not None and renpy.loadable(yasumenuoutfit) :
        add yasumenuoutfit
    else :
        add "game_menuyasu.png"

    use navigation

    vbox:
        xalign .85
        yalign .38

        text ("{color=#74d9e9}Height: 5'3/159cm{/color}") style "profile"
        text ("{color=#74d9e9}Birthday: April 4th{/color}") style "profile"
        text ("\n{color=#74d9e9}Affection: [yasu_love]{/color}") style "profile"
        text ("{color=#74d9e9}Lust: [yasu_lust]{/color}") style "profile"
        text ("{color=#74d9e9}Headpats: 0{/color}") style "profile"
        text ("{color=#74d9e9}Events: [yasupoint]/24{/color}") style "profile"

    imagebutton:
        idle "yasuevrep1.png"
        hover "yasuevrep2.png"
        xalign 0.625 yalign 0.935
        focus_mask True
        action ShowMenu('yasutracker')

    if yasuspring8 == False:
        imagebutton:
            idle "lock.png"
            hover "lock.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            #action ShowMenu('amireplays')
    else:
        imagebutton:
            idle "subscribestar/images2/yasuvirginrep1.png"
            hover "subscribestar/images2/yasuvirginrep2.png"
            xalign 0.925 yalign 0.935
            focus_mask True
            action ShowMenu('yasureplays')

    textbutton _("{size=+8}Change Profile Outfit{/size}"):
        action Function(yasu_next_outfit)
        xalign 0.28 yalign 0

    textbutton _("{size=+4}Go Back{/size}"):
        action ShowMenu('eventtrackermaincharahub')
        xalign 0.242 yalign 0.065

    textbutton _("{size=+40}<{/size}"):
        action ShowMenu('gamemenutouka')
        xalign 0.235 yalign 0.5

    textbutton _("{size=+40}>{/size}"):
        action ShowMenu('gamemenunoriko')
        xalign 0.990 yalign 0.5

    textbutton _("Return"):
        style "return_button"

        action Return()

screen yasutracker():

    tag menu

    use game_menu(_("Yasu Events"), scroll="viewport"):

        style_prefix "event"

        vbox:

            label "{color=74d9e9}Yasu Yasui ([yasu_love] Affection){/color}"
            for e in YASU_EVENTS:
                if is_divider(e):
                    text _(render_title(e))
                elif can_replay(e):
                    textbutton _(e["title"] + " {b}✓{/b}"):
                        text_style "mybutton"
                        action Replay(e["label"], locked=False)
                else:
                    text _(render_title(e))
            textbutton _("Back") action ShowMenu('gamemenuyasu')
