
### Have Sex With A Classmate ###

label hg_pr_sex:

    # Setup
    $ current_payout = 75

    if hg_pr_sex.counter == 0:
        gen "{size=-4}(Tell her to fuck one of her classmates?){/size}" ("base", xpos="far_left", ypos="head")
        menu:
            "\"(Yes, let's do it!)\"":
                pass
            "\"(Not right now.)\"":
                jump hermione_favor_menu

    her "" (xpos="mid", ypos="base", trans=fade)

    #Intro.
    if hg_pr_sex.counter == 0:
        gen "[hermione_name]..." ("base", xpos="far_left", ypos="head")
        gen "Today I need you to have sex with a classmate of your choice." ("base", xpos="far_left", ypos="head")

        if not hg_sex.trigger: # She will refuse unless she slept with you
            her "But we--.. I.." ("shock", "wide", "base", "stare")
            her "I've never done it before!" ("angry", "wide", "base", "mid")
            gen "So?" ("base", xpos="far_left", ypos="head")
            her "{size=+5}\"So\"?!{/size}" ("annoyed", "narrow", "angry", "R")
            her "I'm leaving this instant." ("scream", "closed", "angry", "mid")

            call her_walk(action="leave")

            $ her_mood += 16

            gen "(*Hmm*...)" ("base", xpos="far_left", ypos="head")
            gen "(Maybe if I have popped her cherry first, she would be more willing...)" ("base", xpos="far_left", ypos="head")

            jump end_hermione_event

        if her_reputation < 18:
            jump too_much_public

        call play_music("hermione") # Music
        her ".............." ("angry", "base", "angry", "mid")
        her "I had the feeling that we would get to this sooner or later..." ("disgust", "narrow", "base", "mid_soft")
        her "But..." ("annoyed", "narrow", "angry", "R")
        her "..................."
        gen "If you do this, Gryffindor will be getting {number=current_payout} points tonight." ("base", xpos="far_left", ypos="head")
        her "Well, then I will do it, [genie_name]." ("annoyed", "narrow", "annoyed", "mid")
        gen "Great. See you after your classes then." ("base", xpos="far_left", ypos="head")
        her "............." ("upset", "closed", "base", "mid")
    else:
        gen "[hermione_name]..." ("base", xpos="far_left", ypos="head")
        gen "I need you to go have sex with another classmate of yours." ("base", xpos="far_left", ypos="head")
        her "Again, [genie_name]?" ("angry", "base", "base", "mid")
        gen "Yes. And you will get {number=current_payout} points again as well." ("base", xpos="far_left", ypos="head")
        her "Well, alright..." ("annoyed", "narrow", "annoyed", "mid")

    call her_walk(action="leave")

    $ hg_pr_sex.inProgress = True

    jump end_hermione_event

label end_hg_pr_sex:
    $ gryffindor += current_payout
    gen "Gryffindor gets {number=current_payout} points!" ("base", xpos="far_left", ypos="head")
    her "Thank you, [genie_name]."

    label .no_points:

    call her_walk("door", "base")
    pause.2

    # Inner monologue
    if hg_pr_sex.counter == 2:
        show screen blktone
        with d3

        her "(I did it... finally did it.)" ("smile", "narrow", "base", "dead", ypos="head", flip=False, trans=d3)

        hide screen blktone
        with d3

    call her_chibi("leave")

    label .quick_end:

    # Increase Points
    if not hg_pr_sex.is_tier_complete():
        $ her_reputation += 1

    $ hg_pr_sex.inProgress = False
    jump end_hermione_event

label hg_pr_sex_intro:
    call her_walk(action="enter", xpos="mid", ypos="base")
    her "Good evening, [genie_name]." ("base", "base", "base", "mid", xpos="mid", ypos="base", trans=fade)
    gen "[hermione_name]..." ("base", xpos="far_left", ypos="head")
    gen "Did you do it?" ("base", xpos="far_left", ypos="head")

    if hg_pr_sex.is_tier_complete():
        her "Of course, [genie_name]."
        menu:
            "\"Great. Here are your points.\"":
                jump end_hg_pr_sex

            "\"Give me the details.\"":
                pass

    stop music fadeout 3.0

    if hg_pr_sex.counter == 1:
        her "......" ("base", "narrow", "base", "mid")

    gen "Have you enjoyed yourself?" ("base", xpos="far_left", ypos="head")

    return

### Tier 6 ###

label hg_pr_sex_T6_intro_E1:

    call bld
    gen "....." ("base", xpos="far_left", ypos="head")
    gen ".........." ("base", xpos="far_left", ypos="head")
    gen "Hermione was supposed to be here, by now..." ("base", xpos="far_left", ypos="head")
    gen "*Hmm*..." ("base", xpos="far_left", ypos="head")

    $ hermione_busy = True
    $ hg_event_pause += 1
    jump main_room_menu

label hg_pr_sex_T6_intro_E2:

    # Special intro
    stop music fadeout 3.0
    call her_walk(action="enter", xpos="mid", ypos="base")

    gen "[hermione_name], you missed your debriefing yesterday." ("base", xpos="far_left", ypos="head")
    gen "Explain yourself." ("base", xpos="far_left", ypos="head")

    call play_music("hermione")

    her "Yes, [genie_name], I apologise... *yawn*..." ("open", "closed", "base", "mid", xpos="mid", ypos="base", trans=d3)
    gen "Care to explain yourself?" ("base", xpos="far_left", ypos="head")
    her "Of course, [genie_name]." ("open", "happy", "base", "mid", cheeks="blush")
    her "It is sort of embarrassing, though..." ("base", "base", "base", "R", cheeks="blush")
    her "I spent the last night with two of my friends..." ("open", "happy", "base", "mid", cheeks="blush")
    gen "A slumber party with some girlfriends, *huh*?" ("base", xpos="far_left", ypos="head")
    her "Girlfriends?" ("angry", "wink", "base", "mid")
    her "No, [genie_name]. Harry and Ron are boys..." ("open", "base", "base", "R", cheeks="blush")
    gen "*Hmm*..." ("base", xpos="far_left", ypos="head")
    her "Yes, we were best friends for such a long time..." ("base", "base", "base", "R", cheeks="blush")

    call play_music("playful_tension")

    her "But last night the boys made me their little plaything..." ("base", "narrow", "base", "mid_soft")
    her "And I did not mind it one bit..." ("grin", "narrow", "base", "dead")
    her "They did everything they wanted to do to me..."
    her "And everything I wanted to be done to me has been done..."
    her "................." ("soft", "narrow", "annoyed", "up")
    her "Will I get paid for this, [genie_name]?" ("angry", "wink", "base", "mid")

    jump end_hg_pr_sex

label hg_pr_sex_T6_E3:

    call hg_pr_sex_intro

    call play_music("hermione") # Music
    her "Yes I did, [genie_name]." ("upset", "closed", "base", "mid")
    her "And in the school library of all places..." ("open", "narrow", "annoyed", "mid", cheeks="blush")
    her "At first I was kind of worried that we would make too much noise..."
    her "But the boy literally lasted only one minute, [genie_name]."
    gen "Don't hold it against him, [hermione_name]." ("base", xpos="far_left", ypos="head")
    gen "You are quite attractive, he probably got too excited..." ("base", xpos="far_left", ypos="head")
    her "Nevertheless..." ("upset", "closed", "base", "mid")
    her "A dozen or so of rather gingerly thrusts and he is cumming already?"
    her "As a girl, I cannot help but feel disappointed..."
    gen "I see..." ("base", xpos="far_left", ypos="head")
    gen "What did you do afterwards?" ("base", xpos="far_left", ypos="head")
    gen "Pulled up your panties and went about your business as if nothing happened?" ("base", xpos="far_left", ypos="head")


    her "My panties?" ("open", "narrow", "worried", "down")
    her "I rarely bother to wear them anymore, [genie_name]." ("annoyed", "narrow", "angry", "R")

    if hermione.is_worn("panties"):
        her "Unless you ask me to wear them, [genie_name]."

    gen "Oh really?" ("base", xpos="far_left", ypos="head")
    her "Yes... I find not wearing any underwear very empowering." ("annoyed", "narrow", "annoyed", "mid")

    if hermione.is_worn("panties"):
        her "But if that's what makes you happy, so be it."

    gen "Good for you, [hermione_name]." ("base", xpos="far_left", ypos="head")

    jump end_hg_pr_sex

label hg_pr_sex_T6_E4:

    call hg_pr_sex_intro

    call play_music("playful_tension") # Music
    her "I did, [genie_name]." ("upset", "closed", "base", "mid")
    her "I took one of the Ravenclaw boys to the girl's restroom..." ("base", "narrow", "worried", "down")
    her "... and let him have his way with me in one of the stalls."
    gen "Well done, [hermione_name]." ("base", xpos="far_left", ypos="head")
    her "....................." ("annoyed", "narrow", "angry", "R")
    gen "I said you did great. What's the matter?" ("base", xpos="far_left", ypos="head")
    her "*Ehm*... well..." ("open", "base", "base", "R", cheeks="blush")
    her "I am getting paid well for performing such tasks..."
    her "So I have no right to complain, but..."
    gen "*Hmm*...?" ("base", xpos="far_left", ypos="head")
    her "My reputation is starting to suffer and it troubles me, [genie_name]..." ("open", "base", "base", "mid", cheeks="blush")
    gen "Your reputation?" ("base", xpos="far_left", ypos="head")
    her "Well, yes... *Ehm*..." ("open", "base", "base", "R", cheeks="blush")
    gen ".............." ("base", xpos="far_left", ypos="head")
    her "No, sorry, please disregard what I just said, [genie_name]." ("upset", "closed", "base", "mid")
    gen "(At this point I'm not sure she has any reputation left.)" ("base", xpos="far_left", ypos="head")

    jump end_hg_pr_sex
