page "miku"
  room_init "miku0", goal: 1
  require_fetish :pain

  say "Oh, welcome to my room."
  say "You made it all the wait down to this room just to meet me?"
  say "Well. I'm quite happy for that. However... You must know, I'm not a common girl like all the others."
  say "Actually some people might call me..."

  image "miku1"
  demon_say "Sadistic demon Hatsune Miku"

  image "miku2"
  say "Hmm? You look a little bit surprised? Are you surprised why the cute like Miku should be sadistic?"
  say "You know... If you are forced to smile the whole day to all of your face you need some way to release your inner aggression."

  if fetish_cbt
    say "And for you... You seem to be into pain... That's why I'm not going easy with you in here..."
  else
    say "And for you... You are not into pain? Well too bad for you. But I'm going easy on you as it's your first time here."
  end

  image "miku3"
  say "So, shall we begin?"
  say "Let's start with some simple stroking to your new mistress... That's me."
  stroke_for 30s, :slow
  say "A little bit faster please", mode: :instant
  stroke_for 30s, :medium
  say "I said faster!!!", mode: :instant
  stroke_for 15s, :fast

  say "Well well... That's okay for now..."
  say "Actually it's very important for me that my slaves are clean and you are my new slave..."
  
  image "miku4"
  say "So... Are you shaved around your cock?"
  choices
    choice "Yes"
      say "Great! That's the only answer I wanted to hear! Let's move on than."
    end
    choice "No"
      say "WHAT? Not???"
      say "Go to the bathroom RIGHT NOW and shave everything down there. And keep stroking so you don't get limp."
      choices
        choice "Done"
          say "Ok! Let's move on than"
        end
        choice "No, I don't want to"
          say "WHAT DID YOU JUST SAY???"
          say "I'll teach you who's commands to obey! Hit your balls #{hit:5} time#{s_hit:5} as hard as you can."
          hit_balls 5
          say "Well.. I don't have time for discussions. Let's move on"
        end
      end
    end
  end

  image "miku5"
  if fetish_cbt
    say "Okay... One thing before we start..."
    say "Tie a rope around your balls so that they are tight and easy to hit."
  end

  say "Now.. While I'm having fun here, you might stroke a little"
  stroke_for 30s, :medium
  stroke_for 15s, :fast

  image "miku6"
  say "Great... Now for the fun part."
  say "Hit your balls #{hit:10} time#{s_hit:10} soft"
  hit_balls
  say "Now stroke."
  stroke_for 10s, :fast
  say "Hit your balls #{hit:10} time#{s_hit:10} harder than before"
  hit_balls
  say "Now stroke."
  stroke_for 10s, :fast
  if fetish_cbt
    say "Hit your balls #{hit:1} time#{s_hit:1} really hard"
    hit_balls
  end

  say "That's really funny looking at your hitting yourself. Let's move on."

  image "miku7"
  say "Grab your balls with one hand and squeeze them"
  wait 10s
  say "A little bit harder..."
  wait 10s
  say "Even harder."
  wait 10s
  if fetish_cbt
    say "Now as hard as you can."
    wait 10s
    say "Feel the pain in your stomach."
    wait 10s
  end

  say "Haha!! You really are a pain slut."

  image "miku8"
  say "Let's get back to some stroking."
  stroke_for 30s, :medium
  stroke_for 15s, :fast
  stroke_for 10s, :very_fast

  say "Now edge #{edges:1} time#{s_edges:1}"
  edge

  image "miku7"
  say "Now hit your balls HARD #{hit:2} time#{s_hit:2}."
  hit_balls

  if fetish_cbt
    say "Ha! So funny! You know.. I'm just getting warm with you..."

    image "miku9"
    if toy_clamps
      say "Put at least 4 clamps on your balls. If the skin is too tight, you might loose the rope a BIT"
      say "Great! Now try to massage your balls while having the clamps on them"
      wait 30s
      say "Haha! Funny"
    end

    if toy_wood_spoon
      say "From now on use your wooden spoon to hit your balls"
    end

    say "Stroke yourself to an edge #{edges:1} time#{s_edges:1}"
    edge

    say "Now hit your balls softly to the beat"
    stroke_for 30s, :slow

    image "miku10"
    say "Great! Stroke to me again"
    stroke_for 30s, :medium
    stroke_for 15s, :fast
    stroke_for 10s, :very_fast

    image "miku11"
    say "Good. Back to some pain."

    say "Now hit your balls a little harder to the beat"
    stroke_for 30s, :slow
    stroke_for 15s, :medium
    stroke_for 5s, :fast

    say "And now hit them very hard #{hit:1} time#{s_hit:1}."
    hit_balls

    if toy_clamps 
      image "miku3"
      say "Great! You may take off your clamps now. That was awesome."
    end

  else
    say "Well... You told me you're not into CBT.. That's why I think we skip the further game... Lucky for you I'm in a happy mood today."
  end
  
  image "miku12"
  say "This is how all of my slaves look like after I'm done with them. You can remove the rope now"
  say "I hope you also look like him..."

  image "miku999"
  say "You can have a break of up to ten minutes if you want to."
  button "Resume Game"

  beat "miku"
  goto_page "miku-beat"
end

page "miku-beat"
  room_init "miku0", goal_beat: 1
  image "miku13"

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

  if is_maze_mode
    tell "Do you want to catch Miku 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 Miku now."
    button "Catch."
  end

  image "miku14"
  tell "YOU CAUGHT THE SADISTIC DEMON HATSUNE MIKU"
  tell "However... Her inner power is still strong. It seems like she affects game values related to pain from now on."
  catch "miku"
  goto_page "next-room"
end

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

page "miku-finish"
  image "miku50"
  say "Huh? This time I'm the one who's surprised. I didn't expect you to choose me to let you cum."

  image "miku51"
  say "However... That only shows how pathetic you are in reality. So I'm not going easy on you this time."

  if fetish_cbt
    say "So... As before: Tie a rope around your balls so that they are tight and easy to hit."
  end
  if toy_clamps
    say "Now put one nipple clamp on each of your nipples."
  end
  if toy_wood_spoon
    say "Remember to use your wooden spoon to hit your balls when you are with me."
  end

  image "miku52"
  say "Great! Let's start! You know what's going to happen now so just get ready."
  say "Hit your balls #{hit:20} time#{s_hit:20} soft"
  hit_balls
  say "Now stroke."
  stroke_for 10s, :fast
  say "Hit your balls #{hit:15} time#{s_hit:15} harder than before"
  hit_balls
  say "Now stroke."
  stroke_for 10s, :fast
  if fetish_cbt
    say "Hit your balls #{hit:2} time#{s_hit:2} really hard"
    hit_balls
  end

  image "miku53"
  say "Now grab your balls and squeeze them as hard as you can for one minute.", mode: :instant
  wait 30s
  say "HARDER.", mode: :instant
  wait 15s
  say "I said HARDER.", mode: :instant
  wait 15s

  image "miku54"
  say "I love to watch pathetic boys like you obeying my commands. Have a short break", mode: :instant
  wait 15s

  if fetish_cbt && toy_clamps
    say "Now attach 4 of your clamps to your balls. If the skin is too tight, you might loose the rope a BIT"
  end

  image "miku55"
  if toy_clamps
    say "Now twist the clamps attached to your nipple as far as you can and then slowly rub them off"
  end
  if toy_wood_spoon
    say "Now hit your nipples with with your wooden spoon to the beat. Change your nipple every 10 times."
  else
    say "Now hit your nipples with with your hand. Change your nipple every 10 times."
  end

  stroke_for 30s, :medium
  say "HARDER AND FASTER", mode: :instant
  stroke_for 30s, :fast

  say "Now your LEFT nipple only", mode: :instant
  stroke_for 10s, :very_fast
  say "Now your RIGHT nipple only", mode: :instant
  stroke_for 10s, :very_fast
  say "Your LEFT nipple again as fast as you can", mode: :instant
  stroke_for 10s, :insane
  say "Your RIGHT nipple again as fast as you can", mode: :instant
  stroke_for 10s, :insane

  image "miku56"
  say "I'm getting horny by watching you torturing yourself! It's so funny."
  if toy_clamps
    say "Put your nipple clamps back on. Hihi."
  end

  say "Now stroke yourself to an edge", mode: :instant
  start_stroke :very_fast
  edge 1
  stop_stroke

  image "miku57"
  if fetish_cbt && toy_clamps
    say "Now pull off the clamps attached to your balls."
  end
  
  say "And hit your balls again."
  stroke_for 30s, :slow
  stroke_for 15s, :medium
  say "HARDER.", mode: :instant
  stroke_for 5s, :fast

  say "Now I want you to hit your balls as hard as you can."
  hit_balls

  image "miku58"
  say "You make me so wet. Stroke with me."
  stroke_for 30s, :medium
  say "You should know that I don't allow anyone to touch me...", mode: :instant
  stroke_for 15s, :fast
  say "So I only get an orgasm when I play with myself", mode: :instant
  stroke_for 10s, :very_fast

  image "miku59"

  if toy_clamps
    say "Now... I want you to fetch a thin thread for me. You'll need to connect both of your nipple clamps for me."
    choices
      choice "Got one"
        say "Great. Remove your nipple clamps, connect them with the thread and put them on your nipples again"
      end
      choice "Dont' have one"
        say "Too sad. So just remove your nipple clamps once, squeeze your nipples and put them on again"
      end
    end
  else
    say "Ahh.. It's just so great. I guess you can have a short break.", mode: :instant
    wait 10s
  end

  image "miku60"
  say "Great... Let's play with your balls again."
  say "Let's make it a game. I'll give you a beat and you have to use your nondominant hand for stroking. However, you'll have to hit your balls every third time instead of stroking"
  say "And let's add another rule: You must hit your balls always slightly harder than the one before.", mode: :instant
  button "Let's Start"

  image "miku61"
  stroke_for 60s, :normal

  image "miku62"
  say "You are really doing a great job. Look how wet I'm already. Have a break.", mode: :instant
  wait 10s

  image "miku63"
  say "Now squeeze your balls HARD until you think that you can manage the next round of stroking without edging.", mode: :instant
  button "Ready to stroke"

  image "miku64"
  say "Sooo. Want to sniff my panties?"
  say "Well. I just came up with a great new idea for a little game."
  if fetish_feet
    say "I know you are into feet and because my feets are the only part of my body that might ever touch you we can have a little game here"
  else
    say "I know you are not into feet. However, my feets are the only part of my body that might ever touch you, so it's all or nothing I guess"
    choices
      choice "Resume"
        say "I knew it."
      end
      choice "Skip feet, but make Miku unhappy"
        say "Hmmm? Then... Hit your balls 10 times as hard that you'd get on your knees for each of it.", mode: :instant
        fast_button "~ARE DONE"
        goto_page "miku-finish-loop"
      end
    end
  end

  say "I'll show you some images of me and you have to keep stroking to the beat. However... You must **always** only focus on my feet. Whenever you look somewhere else you'll have to hit your balls as hard that you get on your knees due to the pain"
  say "When the image chances you have 1 second to find the feet. So it's no punishment if you still have to refocus after an image change.", mode: :instant
  button "Start game"

  image "miku11"
  stroke_for 10s, :medium
  image "miku70"
  stroke_for 5s, :fast
  image "miku71"
  stroke_for 10s, :medium
  image "miku72"
  stroke_for 5s, :insane
  image "miku73"
  stroke_for 10s, :slow
  if fetish_cbt
    image "miku77"
    say "Ooopsie.. No feet in this picture. You know what you have to do when you can't stroke to feet?", mode: :instant
    stroke_for 5s, :medium
  end
  image "miku74"
  stroke_for 10s, :medium
  image "miku75"
  stroke_for 10s, :fast
  image "miku76"
  stroke_for 5s, :very_fast

  goto_page "miku-finish-loop"
end

page "miku-finish-loop"
  image "miku80"
  say "Hmm.. I'm getting bored a little bit with you... So let's come to the final, should we?"

  goto_page "miku-finish-loop-inner"
end

page "miku-finish-loop-inner"
  if fetish_latex
    image "miku81b"
  else
    image "miku81"
  end
  say "First of all... Edge for me."
  edge 1

  say "Now hit your balls to the beat until your dick is completly soft. You may never make your hits weaker then your previous hit, so be careful.", mode: :instant
  start_stroke :slow
  button "Soft"
  stop_stroke

  image "miku82"
  if toy_clamps
    say "Now stroke until you are HARD or you CUM, either of both. If you cum, pull your nipple clamps off at the same time.", mode: :instant
  else
    say "Now stroke until you are HARD or you CUM, either of both.", mode: :instant
  end
  start_stroke :insane
  choices
    choice "Cummed"
      stop_stroke
      goto_page "miku-end"
    end
    choice "Hard again"
      stop_stroke
      image "miku83"
      say "Too bad for you. Let's try it again."
      goto_page "miku-finish-loop-inner"
    end
    choice "Give up"
      stop_stroke
      goto_page "miku-finish-give-up"
    end
  end
end

page "miku-end"
  image "miku92"
  remove_button :stop
  say "Huh?? You came all over my body! What a mess."
  image "miku91"
  say "Sooo. I hope you are happy with your decision that I let you cum."
  say "I'm gonna clean myself up now. Maybe we'll se again another time."
  say "See ya.", mode: :instant
  button "Finish game"
  goto_page "end"
end

page "miku-finish-give-up"
  image "miku90"
  say "What? You prefer not to cum? You are really surprising me again and again."

  image "miku8"
  if fetish_denial && toy_chasity
    say "Put your dick into your chasity cage and don't touch it for the next two weeks."
  else
    say "Don't touch your dick during the next week. If you don't want to cum you don't need to cum"
  end

  say "See ya later, my new slave.", mode: :instant

  button "Finish Game"
  goto_page "fail-end"
end