From dbdbcc06b18d15b80fc2ccfd2843e980a3d6dc05 Mon Sep 17 00:00:00 2001
From: Cutiland <cutilandisaway@gmail.com>
Date: Thu, 1 Jun 2023 00:59:58 +0000
Subject: [PATCH] Kylar Night Creep scene and Ejac Lines Fix

---
 game/base-combat/ejaculation-kylar.twee |   4 +-
 game/base-system/sleep.twee             |   5 +
 game/overworld-town/loc-home/main.twee  | 169 +++++++++++++++++++++++-
 3 files changed, 175 insertions(+), 3 deletions(-)

diff --git a/game/base-combat/ejaculation-kylar.twee b/game/base-combat/ejaculation-kylar.twee
index 568f1573a4..a1ac0da60f 100644
--- a/game/base-combat/ejaculation-kylar.twee
+++ b/game/base-combat/ejaculation-kylar.twee
@@ -1169,7 +1169,7 @@
 
 	<<if _args[0] isnot "short">>
 
-		<<if ($consensual is 1 or $consensual is 0) and $enemyanger lte 0>>
+		<<if $consensual is 1 and $enemyanger lte 0>>
 
 			<<switch random(1,5)>>
 				<<case 1 2>>
@@ -1196,7 +1196,7 @@
 			<<gstress>><<gtrauma>><<gpain>><<violence 6>>
 			<br><br>
 
-		<<elseif $consensual is 0 and $enemyhealth lte ($enemyhealthmax / 10) * 9.5>>
+		<<elseif $consensual is 0 or $enemyhealth lte ($enemyhealthmax / 10) * 9.5>>
 			<<He>> cups your chin with a shaking hand, <span class="red">forcing you to look at <<him>>.</span> "I want you to understand that I'm doing this because I love you."
 			<<gstress>><<gtrauma>><<gpain>><<violence 6>>
 			<br><br>
diff --git a/game/base-system/sleep.twee b/game/base-system/sleep.twee
index 2b50537eba..bdc3c25b29 100644
--- a/game/base-system/sleep.twee
+++ b/game/base-system/sleep.twee
@@ -55,6 +55,11 @@
 					<<set _kylarWake to 1>>
 					<<set $kylarSleepEvent to 1>>
 
+				<<elseif ($kylarenglish isnot 1 or $syndromekylar isnot 1) and !playerIsPregnant() and C.npc.Kylar.love lte 49 and C.npc.Kylar.rage gte 70 and Time.dayState is "night" and $kylarbed is undefined and $robinbed is undefined and $rng gte 96 and $weekly.kylarCreep isnot 1>>
+					<<set $weekly.kylarCreep to 1>>
+					<<set _sleepinterrupt to 1>>
+					<<set _kylarWake to 2>>
+
 				<<elseif (($robinromance is 1 and _robin.lust gte 20) or (_robin.trauma gte 50 and $rng gte 51)) and !$robinbed and $robinwakeday isnot 1 and $kylarbed isnot 1 and $robinmissing is 0 /*and !$robin_kicked_out*/>>
 					<!-- Robin climbs into bed with you -->
 					<<if Time.hour gte 18 or Time.hour lte 6>>
diff --git a/game/overworld-town/loc-home/main.twee b/game/overworld-town/loc-home/main.twee
index 85bfda14c6..8f80db6604 100644
--- a/game/overworld-town/loc-home/main.twee
+++ b/game/overworld-town/loc-home/main.twee
@@ -569,6 +569,157 @@ You stare right at the lens. "I wonder who I'll invite over," you say. You stick
 <<link [[Next|Bedroom]]>><</link>>
 <br>
 
+:: Bedroom Kylar Creep
+<<effects>>
+
+<<if $phase is 1>>
+	<<if $submissive gte 1150>>
+		"I'm awake, you know..." you whisper.
+	<<elseif $submissive lte 850>>
+		"Nice try," you whisper. "You'd wake the dead mumbling right in someone's ear like that, though."
+	<<else>>
+		"You'd never sneak up on anyone like that," you whisper.
+	<</if>>
+	<br><br>
+
+	<<He>> wordlessly jumps off your bed, scrambles to your door, throws it open, and sprints off down the hall.
+	<br><br>
+
+	You get up and close the door behind <<him>>. For someone who broke into your room, Kylar is awfully shy. You don't think you want to know what <<he>> planned to do to you.
+	<br><br>
+
+	<<link [[Next|Bedroom]]>><<endevent>><</link>>
+
+<<elseif $phase is 2>>
+	You hear fabric shift around from somewhere further down along your body. <<His>> breath catches in <<his>> throat for a moment.
+	<br><br>
+
+	A gentle, repetitive, wet sound begins to emanate from somewhere above your stomach. Realisation dawns upon you: if <<hes>> straddling you, then that would put the noise roughly where <<his>> groin should be.
+	<br><br>
+
+	The breathing upon your face gets faster and heavier. "I-I wish we could do this for real..." Kylar quietly moans. "That you'd let me do this to you... Again, and again, and again..."
+	<br><br>
+
+	<<link [[Open your eyes|Bedroom Kylar Creep 2]]>><<set $phase to 1>><<npcincr Kylar lust 1>><</link>><<glust>>
+	<br>
+	<<link [[Keep them closed|Bedroom Kylar Creep 2]]>><<set $phase to 2>><</link>>
+	<br>
+	<<link [[Get angry|Bedroom Kylar Creep 2]]>><<set $phase to 3>><<npcincr Kylar rage 2>><<npcincr Kylar love -1>><<stress -6>><</link>><<gstress>><<llove>><<gksuspicion>>
+
+<<else>>
+	<<if $submissive gte 1150>>
+		"Please leave," you say, glaring daggers at Kylar. "You're not supposed to be in here..."
+	<<elseif $submissive lte 850>>
+		"What the hell are you doing!?" you shout as you shove Kylar to the floor. "Get out of my room!"
+	<<else>>
+		"Why are you in my room!?" you shout as you shove Kylar to the floor. "Please leave!"
+	<</if>>
+	<br><br>
+
+	<<He>> freezes. The two of you stare at each other for a moment.
+	<br><br>
+
+	<<if $submissive gte 1150>>
+		<<He>> wordlessly jumps off your bed, scrambles to your door, throws it open, and sprints off down the hall.
+	<<else>>
+		<<He>> wordlessly scrambles to your door, throws it open, and sprints off down the hall.
+	<</if>>
+	<br><br>
+
+	You get up and close the door behind <<him>>. For someone who broke into your room, Kylar is awfully shy. You're glad you stopped <<him>> before <<he>> could do anything.
+	<br><br>
+
+	<<link [[Next|Bedroom]]>><<endevent>><</link>>
+
+<</if>>
+
+:: Bedroom Kylar Creep 2
+<<effects>>
+
+<<if $phase is 1>>
+	<<if $submissive gte 1150>>
+		"Y-you woke me up," you whisper. "You're laying on top of me..."
+	<<elseif $submissive lte 850>>
+		"You don't actually think I'm still asleep, do you?" you whisper. "Nobody'd be able to sleep like this."
+	<<else>>
+		"You know I'm awake, right?" you whisper.
+	<</if>>
+	<br><br>
+
+	<<He>> freezes. The two of you stare at each other for a moment.
+	<br><br>
+
+	<<He>> wordlessly jumps off your bed, scrambles to your door, throws it open, and sprints off down the hall.
+	<br><br>
+
+	You get up and close the door behind <<him>>. For someone who broke into your room to molest you, Kylar is awfully shy. You're glad you stopped <<him>> before <<he>> could take things further.
+	<br><br>
+
+	<<link [[Next|Bedroom]]>><<endevent>><</link>>
+
+<<elseif $phase is 2>>
+	<<He>> shifts <<his>> weight upwards a bit. "I-I love you," <<he>> moans beneath <<his>> breath.
+	<br><br>
+
+	<<if $NPCList[0].penis isnot "none">>
+		<<if $NPCList[0].penissize gt 1>>
+
+			That's all the warning you get before several ropes of gooey warmth splat against your face, making a mess of your cheeks, forehead, and hair. <<He>> wipes the head of <<his>> penis against your lips once <<hes>> finished.<<if $ejactrait is 1>><<grousal>><<arousal 600>><</if>>
+			<br><br>
+
+		<<else>>
+
+			That's all the warning you get before a small dribble of gooey warmth drips down onto your lips. <<He>> wipes the head of <<his>> penis off with your bedding once <<hes>> finished.<<if $ejactrait is 1>><<grousal>><<arousal 600>><</if>>
+			<br><br>
+
+		<</if>>
+
+		<<set $hygiene += 500>><<bodyliquid "face" "semen">>
+
+	<<else>>
+
+		That's all the warning you get before a gush of warm, salty fluid splats against your face, making a mess of your cheeks, forehead, and hair. <<He>> wipes <<his>> pussy off with your bedding once <<hes>> finished.<<if $ejactrait is 1>><<grousal>><<arousal 600>><</if>>
+		<br><br>
+
+		<<set $hygiene += 500>><<bodyliquid "face" "goo">>
+
+	<</if>>
+
+	You feel <<him>> lean in close to you once more. "Soon..." <<he>> whispers, planting a quick kiss on your forehead. "I can't wait."<<gstress>><<gtrauma>><<stress 6>><<trauma 1>>
+	<br><br>
+
+	<<He>> quickly clambers off of you. You don't hear <<him>> leave, but by the time you open your eyes <<hes>> gone.
+	<br><br>
+
+	<<link [[Next|Bedroom]]>><<endevent>><</link>>
+
+<<else>>
+	<<if $submissive gte 1150>>
+		"What are you doing?" you ask, glaring daggers at Kylar. "P-Pervert..."
+	<<elseif $submissive lte 850>>
+		"You fucking freak!" you shout as you shove Kylar to the floor. "What the hell is wrong with you?!"
+	<<else>>
+		"What do you think you're doing?!" you shout as you shove Kylar to the floor. "Pervert!"
+	<</if>>
+	<br><br>
+
+	<<He>> freezes. The two of you stare at each other for a moment.
+	<br><br>
+
+	<<if $submissive gte 1150>>
+		<<He>> wordlessly jumps off your bed, scrambles to your door, throws it open, and sprints off down the hall.
+	<<else>>
+		<<He>> wordlessly scrambles to your door, throws it open, and sprints off down the hall.
+	<</if>>
+	<br><br>
+
+	You get up and close the door behind <<him>>. For someone who broke into your room to molest you, Kylar is awfully shy. You feel <<print either("unclean", "unsettled", "uncomfortable")>>, having been used for <<his>> sexual gratification.
+	<br><br>
+
+	<<link [[Next|Bedroom]]>><<endevent>><</link>>
+
+<</if>>
+
 :: Bedroom Robin Mist Note
 <<set _robin to statusCheck("Robin")>>
 <<bedclotheson "bed">>
@@ -831,6 +982,22 @@ You are in the bathroom.
 	<br>
 	<<link [[Push Kylar away|Bedroom Kylar Sneak Push]]>><<npcincr Kylar love -1>><<npcincr Kylar rage 6>><<npcincr Kylar lust -2>><</link>><<llove>><<ggksuspicion>><<gglust>>
 
+<<elseif _kylarWake is 2>>
+	<<npc "Kylar">><<person1>>
+	<<run statusCheck("Kylar")>>
+	
+	You're awoken by the feeling of weight shifting around on your bed. Just as you're about to open your eyes to check what it was, you feel something else: breathing, on your face.
+	<br><br>
+
+	"Y-you're so <<if $player.gender_appearance is "f">>beautiful<<else>>handsome<</if>> like this..." a familiar voice mumbles, no more than a few inches away from you. It's Kylar's. "Soon... I'll have you all to myself..."
+	<br><br>
+
+	<<link [[Open your eyes|Bedroom Kylar Creep]]>><<set $phase to 1>><<npcincr Kylar lust 1>><</link>><<glust>>
+	<br>
+	<<link [[Keep them closed|Bedroom Kylar Creep]]>><<set $phase to 2>><</link>>
+	<br>
+	<<link [[Get angry|Bedroom Kylar Creep]]>><<set $phase to 3>><<npcincr Kylar rage 2>><<npcincr Kylar love -1>><<stress -6>><</link>><<lstress>><<llove>><<gksuspicion>>
+
 <<elseif $location is "home" and $slimeWake is 1>>
 	<<slime_wake_home>>
 <<else>>
@@ -4004,4 +4171,4 @@ The pair blame each other for the mishap, and spend a few moments arguing before
 	<<clotheson>>
 	<<endcombat>>
 	<<link [[Next|Harvest Street]]>><<set $eventskip to 1>><</link>>
-<</if>>
+<</if>>
\ No newline at end of file
-- 
GitLab