page "rem"
  room_init "rem0", goal: 1

  say "Hello! Welcome to my room."
  say "My name is Rem.. I'm one of the maids of this school. I help everyone with their needs."
  say "Well... And you are? At least you're a boy, I haven't had a boy visit me in months."
  say "I'd really love you to fuck me... But, I'm not really allowed to, so what's the closest to an orgasm for you?"
  say "I know! We can edge you. Maybe I can get myself off watching you edge over and over."

  image :rem1
  say "You can also call me...", mode: :instant
  demon_say "Submissive Demon Rem"

  image :rem2
  say "So.. Shall we start with some basic stroking?"
  stroke_for 20s..30s, :normal

  image :rem3
  say "Ahh, it really makes me feel hot seeing you stroke yourself."
  say "If only you were allowed to touch me, you’d be more useful."
  say "Stroke faster."
  stroke_for 20s..30s, :fast
  say "That's the spirit"

  if toy_cuffs
    image :rem4
    say "Look, I just put on some handcuffs. Why don't you put on yours for an even better experience?", mode: :instant
    fast_button "~ARE DONE"
  end

  image :rem5
  say "Now... Let's continue stroking! Just enjoy this stroking."
  stroke_for 40s, :slow
  stroke_for 20s, :medium
  stroke_for 15s, :fast
  stroke_for 5s, :insane

  image :rem6
  say "Ha! I'm already aroused just watching you! Now edge #{edge:1} time#{s_edge:1} as fast as you can."
  edge 1

  say "Great... Let's have a small break", mode: :instant
  wait 5s

  image :rem7
  say "I really would like you to fuck me... But I just can't... Edge for me #{edge:1} time#{s_edge:1} with a medium pace."
  edge 1
  say "Short break for you...", mode: :instant
  wait 20s

  image :rem8
  say "I.. I'm not sure if I can hold myself back much longer... Edge for me #{edge:1} time#{s_edge:1} FAST."
  edge 1

  say "Let's have a break again...", mode: :instant
  wait 20s

  image :rem9
  say "Okay... I|m done with it... Let|s speed this up a bit. I want to be fucked, so at least do what you can.", mode: :instant

  say "Edge for me using both of your hands #{edge:1} time#{s_edge:1}, FAST."
  edge 1
  say "Great... Short break...", mode: :instant
  wait 20s

  image :rem10
  say "Edge again #{edge:1} time#{s_edge:1}, FAST."
  edge 1
  say "Wow... Let's have a break again", mode: :instant
  wait 15s

  image :rem11
  say "Now edge #{edge:1} time#{s_edge:1} only stroking the tip of your dick."
  edge 1
  say "Aahhhh.. It's so great.", mode: :instant

  image :rem12
  say "Okay... Let's do it another time... I **want** you! Have a small break...", mode: :instant
  wait 60s

  image :rem13
  say "Great! Now let's get serious."
  say "First, I want you to edge #{edge:1} time#{s_edge:1} just using two fingers slowly.", mode: :instant
  edge 1

  say "I love it."
  wait 15s

  image :rem14
  say "Edge for me #{edge:1} time#{s_edge:1} again! You decide how.", mode: :instant
  edge 1
  
  say "I didn't expect watching guys edging to be so hot! Can you help me orgasm, please?", mode: :instant
  wait 15s, mode: :hidden

  image :rem15
  say "EDGE for me #{edge:1} time#{s_edge:1}!! Fast.", mode: :instant
  edge 1

  say "Short break...", mode: :instant
  wait 10s

  goto_page "rem2"
end

page "rem2"
  image :rem15

  say "Okay... After you click on 'Start' you have two minutes to edge as many times as possible. Remember how many times you managed to edge.", mode: :instant
  fast_button "~ARE READY TO START"

  image :rem18
  wait 30s
  image :rem16
  wait 30s
  image :rem17
  wait 30s
  image :rem19
  wait 30s

  image :rem20
  prompt_number :tmp_string, "So how many times did you edge?"

  if tmp_string < 5
    image :rem20b
    say "Hmm. Did our little training did not help you to edge more? Let's try it again."
    goto_page "rem2"
  end

  image :rem21
  say "You did it! I knew it! Have a small break...", mode: :instant
  wait 30s

  image :rem22
  say "Now for the last part, I just want you to edge once more... But this time, hold the edge.", mode: :instant
  edge 1

  image :rem23
  say "Hold it!!!", mode: :instant
  wait 30s

  flash :rem24
  say "Thank you so much!!! You really helped me a lot. Go have a break up to a maximum of 10 minutes and then come back.", mode: :instant
  button "Resume game"

  beat "rem"
  goto_page "rem-beat"
end

page "rem-beat"
  room_init "rem0", goal_beat: 1
  image "rem25"

  tell "Rem seems a little bit out of power after teasing you"

  if is_maze_mode
    tell "Do you want to catch Rem now?"

    choices
      choice "Yes"
      end
      choice "No, I'm back later"
        tell "Okay.. Come back later than"
        goto_page "next-room"
      end
    end
  else
    tell "You can catch Rem now."
    button "Catch."
  end

  image "rem26"
  tell "YOU CAUGHT THE SUBMISSIVE DEMON REM"
  tell "However... Her inner power is still strong. It seems like she affects game values related to edging from now on."
  catch "rem"
  goto_page "next-room"
end

page "rem-catch"
  room_init "rem0", goal_catch: 1
  image "empty"
  tell "The room is empty."
  goto_page "next-room"
end

page "rem-finish"
  image "rem51"
  say "Oh! I'm really happy you chose me to let you cum. I really enjoyed our little time together earlier."
  say "So. shall we jump into the fun part directly?"

  image "rem52"
  say "Let's start with some simple stroking to get you warm"
  stroke_for 20s..30s, :normal

  image "rem53"
  say "Feels great, doesn't it? Let's speed up a little."
  say "Stroke faster."
  stroke_for 20s..30s, :fast

  image "rem54"
  say "Hmm? What's the matter? You are already tired of stroking and stroking?"
  if toy_cuffs
    say "Put on your cuffs again to have a more intense feeling."
  end

  say "So... If you don't like stroking anymore let's start edging right now."
  
  image "rem55"
  say "Stroke and get ready for edging."
  stroke_for 20, :fast

  image "rem56"
  say "Edge for me #{edge:1} time#{s_edge:1}."
  edge 1

  image "rem57"
  say "No time to break! Stroke to me.", mode: :instant
  stroke_for 20s, :slow

  image "rem58"
  say "Aaand edge #{edge:1} time#{s_edge:1} again."
  edge 1

  image "rem59"
  say "Great.", mode: :instant
  wait 10s
  say "No time to wait... Edge again #{edge:1} time#{s_edge:1}.", mode: :instant
  edge 1

  image "rem59"
  say "Awww.. It's so hot. I want you to edge as many times as you can in the next two minutes. Count how may times you edged. You will have to repeat this until I'm satisfied with the amount of edges! Click on 'Start' if you are ready.", mode: :instant
  fast_button "~ARE READY TO START"
  image "rem60"
  wait 120s, mode: :normal

  image "rem61"
  prompt_number :tmp_string, "How many edges did you manage to do in the two minutes?"
  tmp_string += 1

  image "rem61a"
  say "Great! Let's have a short break..."
  wait 30s

  goto_page "rem-finish2"
end

page "rem-finish-lose"
  image "rem52"
  say "Huh? You want to give up? You really did your best when I asked you to edge as many times as you can at the first place."

  say "I give you a last chance to cum today... But it's not gonna be fun for you."
  say "Either you can edge 100 times now or give up. It's your decision."

  choices
    choice "Edge 100 times"
      image "rem23"
      say "Great! Then give me 100 edges now! Eat all your precum, it's still a punishment."
      button "Edged 100 times"
      image "rem61d"
      say "Well okay.. Then let's move on"
      goto_page "rem-finish3"
    end
    choice "Give up"
      image "rem12"
      say "Hmm? Okay. I guess it's no cumming for you today then."
      if toy_chasity
        say "Ok! Put your dick into your chasity device and don't touch it for one week. Play this tease again afterwards."
      else
        say "You can come back in one week and try this tease again. However, don't touch your dick in the meantime"
      end

      button "End Game"
      goto_page "fail-end"
    end
  end
end

page "rem-finish2"
  image "rem61b"
  say "Hehe.. Now I want you to edge at least #{tmp_string} times in the next two minutes. Just one time more than before! Click on 'Start' if you are ready.", mode: :instant
  fast_button "~ARE READY TO START"

  image "rem61c"
  wait 120s, mode: :normal

  image "rem61d"
  say "Did you manage to edge #{tmp_string} times or more?", mode: :instant
  choices
    choice "Yes"
      say "I knew it!! I'm so happy."
    end
    choice "No"
      say "Not?? How sad... Let's try it again."
      goto_page "rem-finish2"
    end
    choice "Give Up"
      goto_page "rem-finish-lose"
    end
  end

  goto_page "rem-finish3"
end

page "rem-finish3"
  image "rem62"
  say "Have a short break.", mode: :instant
  wait 15s

  image "rem63"
  say "OK! Now edge again, but this time hold your edge. It's gonna be a long time to hold it, so concentrate to have no accident."
  edge 1

  if fetish_feet
    image "rem64f"
  else
    image "rem64e"
  end
  say "Hold it.", mode: :instant
  wait 20s

  image "rem64c"
  say "You like this here, don't you? Keep kolding.", mode: :instant
  wait 20s

  image "rem64d"
  say "Do you want my special service? Well... Keep holding.", mode: :instant
  wait 20s

  image "rem64h"
  say "That's how I look like when I'm done after one session. Keep holding.", mode: :instant
  wait 20s

  image "rem64b"
  say "I can't stop it! I'm too horny... Keep holding.", mode: :instant
  wait 20s

  image "rem64"
  say "I came!!! Just keep holding a little bit.. Almost done.", mode: :instant
  wait 20s

  flash "rem67"
  say "Okay! I'm so done for now... You might stop.", mode: :instant
  wait 20s

  image "rem65"
  say "You really did a great job! Let me help you to cum now."
  
  image "rem66"
  say "Stroke until you are close to an edge."
  start_stroke :normal
  fast_button "~ARE CLOSE TO AN EDGE"
  stop_stroke

  flash "rem68"
  say "CUM!!!", mode: :instant
  start_stroke :insane
  button "Cummed."
  stop_stroke

  image "rem69"
  say "Ah! You just came all over my face! I love that feeling."

  image "rem70"
  say "Well, I have to get back to work! So thank you so much for today! I hope we'll meet again! Bye~"

  button "End Game"
  goto_page "end"
end

