Chapter 12 - Jennifer - Pool Scripts

Chapter 12 - Jennifer - Pool Scripts
This commit is contained in:
Ben987 2018-09-25 23:06:24 -04:00
parent 21ff637aa0
commit 4d7918f410
12 changed files with 56 additions and 14 deletions

Binary file not shown.

After

(image error) Size: 106 KiB

Binary file not shown.

After

(image error) Size: 103 KiB

Binary file not shown.

After

(image error) Size: 113 KiB

Binary file not shown.

After

(image error) Size: 112 KiB

Binary file not shown.

After

(image error) Size: 108 KiB

Binary file not shown.

After

(image error) Size: 94 KiB

View file

@ -7,4 +7,7 @@ Stage,LoveReq,SubReq,VarReq,IntroText,Image
101,0,0,,,Showering.jpg
101,0,0,,,Showering.jpg
110,0,0,,,Showers.jpg
200,0,0,,,PoolSwimWithJennifer.jpg
120,0,0,,,Showers.jpg
200,0,0,,(You start to swim with Jennifer.)|You didn't helped me with that bully.,PoolSwimWithJennifer.jpg
210,0,0,,(You start to swim with Jennifer.)|Thanks for you help with that bully.,PoolSwimWithJennifer.jpg
220,0,0,,(You get closer to Jennifer|and start to swim with her.),PoolSwimWithJennifer.jpg

1 Stage LoveReq SubReq VarReq IntroText Image
7 101 0 0 Showering.jpg
8 101 0 0 Showering.jpg
9 110 0 0 Showers.jpg
10 200 120 0 0 PoolSwimWithJennifer.jpg Showers.jpg
11 200 0 0 (You start to swim with Jennifer.)|You didn't helped me with that bully. PoolSwimWithJennifer.jpg
12 210 0 0 (You start to swim with Jennifer.)|Thanks for you help with that bully. PoolSwimWithJennifer.jpg
13 220 0 0 (You get closer to Jennifer|and start to swim with her.) PoolSwimWithJennifer.jpg

Binary file not shown.

After

(image error) Size: 58 KiB

Binary file not shown.

After

(image error) Size: 76 KiB

Binary file not shown.

After

(image error) Size: 77 KiB

View file

@ -5,10 +5,11 @@ var C012_AfterClass_Pool_CurrentActor = "";
var C012_AfterClass_Pool_HasSports = false;
var C012_AfterClass_Pool_SwimCount = 0;
var C012_AfterClass_Pool_JenniferAvail = false;
var C012_AfterClass_Pool_BullyPose = "BullyRight";
// Chapter 12 After Class - Check who's in the Pool
function C012_AfterClass_Pool_WhoInIsPool() {
C012_AfterClass_Pool_JenniferAvail = (GameLogQuery(CurrentChapter, "Player", "PoolJenniferBully") && !GameLogQuery(CurrentChapter, "Jennifer", "EnterDormFromPub"));
C012_AfterClass_Pool_JenniferAvail = (GameLogQuery(CurrentChapter, "Jennifer", "PoolBullyMet") && !GameLogQuery(CurrentChapter, "Jennifer", "EnterDormFromPub") && (CurrentTime >= 19 * 60 * 60 * 1000) && (CurrentTime < 22 * 60 * 60 * 1000));
}
// Chapter 12 After Class - Pool Load
@ -33,10 +34,24 @@ function C012_AfterClass_Pool_Load() {
// Chapter 12 After Class - Pool Run
function C012_AfterClass_Pool_Run() {
// Standard interactions
BuildInteraction(C012_AfterClass_Pool_CurrentStage);
if (CurrentActor != "") {
DrawActor(CurrentActor, 600, 0, 1);
// Renders a different image if Jennifer is in the pool
if ((C012_AfterClass_Pool_CurrentStage == 0) && C012_AfterClass_Pool_JenniferAvail) OverridenIntroImage = "PoolJenniferSwim.jpg";
else if ((C012_AfterClass_Pool_CurrentStage >= 200) && PlayerHasLockedInventory("Collar")) OverridenIntroImage = "PoolSwimWithJenniferCollar.jpg";
else OverridenIntroImage = "";
// Renders the showering scene for the player
if (C012_AfterClass_Pool_CurrentStage == 101) DrawActor("Player", 650, -30, 0.9);
// Renders the Jennifer/Bully scene
if ((C012_AfterClass_Pool_CurrentStage >= 110) && (C012_AfterClass_Pool_CurrentStage <= 199)) {
DrawActor("Jennifer", 725, 0, 1);
DrawImageZoom("C012_AfterClass/Pool/" + C012_AfterClass_Pool_BullyPose + ".png", 0, 0, 600, 900, 500, 0, 600, 900);
}
}
// Chapter 12 After Class - Pool Click
@ -102,10 +117,14 @@ function C012_AfterClass_Pool_SearchShower() {
// Chapter 12 After Class - When the player enters the shower, it can trigger the Jennifer event between 19 and 22
function C012_AfterClass_Pool_EnterShower() {
CurrentTime = CurrentTime + 50000;
if (!GameLogQuery(CurrentChapter, "Player", "PoolJenniferBully") && (CurrentTime >= 19 * 60 * 60 * 1000) && (CurrentTime < 22 * 60 * 60 * 1000)) {
GameLogSpecificAdd(CurrentChapter, "Player", "PoolJenniferBully")
if (!GameLogQuery(CurrentChapter, "Jennifer", "PoolBullyMet") && (CurrentTime >= 19 * 60 * 60 * 1000) && (CurrentTime < 22 * 60 * 60 * 1000)) {
GameLogSpecificAdd(CurrentChapter, "Jennifer", "PoolBullyMet")
OverridenIntroText = GetText("BullyIntro");
C012_AfterClass_Pool_CurrentStage = 110;
ActorLoad("Jennifer", "");
ActorSetCloth("Swimsuit");
ActorSetPose("ScaredLeft");
LeaveIcon = "";
}
}
@ -118,14 +137,27 @@ function C012_AfterClass_Pool_EnterPool() {
// Chapter 12 After Class - When the player showers, it adds 5 minutes
function C012_AfterClass_Pool_Shower() {
CurrentTime = CurrentTime + 290000;
Common_PlayerPose = "Showering";
}
// Chapter 12 After Class - Loads Jennifer in the pool scene
function C012_AfterClass_Pool_LoadJennifer() {
ActorLoad("Jennifer", "");
// Chapter 12 After Class - When the player starts to swim with Jennifer
function C012_AfterClass_Pool_SwimWithJennifer() {
if (!GameLogQuery(CurrentChapter, "Jennifer", "PoolBullyChat")) {
GameLogSpecificAdd(CurrentChapter, "Jennifer", "PoolBullyChat");
if (!GameLogQuery(CurrentChapter, "Jennifer", "PoolBullyHelp")) C012_AfterClass_Pool_CurrentStage = 200;
else C012_AfterClass_Pool_CurrentStage = 210;
}
ActorLoad("Jennifer", "Dorm");
LeaveIcon = "";
}
// Chapter 12 After Class - Unloads Jennifer from the pool scene
function C012_AfterClass_Pool_UnloadJennifer() {
CurrentActor = "";
}
// Chapter 12 After Class - Unloads Jennifer from the pool scene
function C012_AfterClass_Pool_FaceFront() {
ActorSetPose("ScaredFront");
C012_AfterClass_Pool_BullyPose = "BullyFront";
}

View file

@ -1,7 +1,7 @@
Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
0,0,0,,Wait for a while.,You sit down for a while and|check who is coming or leaving.,0,0,0,Wait()
0,0,0,,Check the showers.,The showers are empty.,100,0,0,EnterShower()
0,0,0,JenniferAvail,Swim with Jennifer.,(You get closer to Jennifer|and start to swim with her.),200,0,0,LoadJennifer()
0,0,0,JenniferAvail,Swim with Jennifer.,,220,0,0,SwimWithJennifer()
0,0,0,,Swim alone.,You swim alone for a while.|It's a good exercise and it's relaxing.,10,0,0,Swim()
0,0,0,,Search the place.,You find some lifejackets and lifebuoys|but nothing that's really interesting.,0,0,0,Search()
0,0,0,,Return to your dorm.,,0,0,0,Leave()
@ -17,7 +17,14 @@ Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
100,0,0,,Return to your dorm.,,100,0,0,Leave()
101,0,0,,Shower some more.,You stay in the warm shower.,101,0,0,Shower()
101,0,0,,Stop showering.,You step out of the shower.,100,0,0,EnterShower()
110,0,0,,TO DO,TO DO,110,0,0,
110,0,0,,(Leave quietly.),(You walk back quietly toward the water while|Jennifer sprints behind you and jumps in the pool.),0,0,0,EnterPool()
200,0,0,,TO DO,TO DO,200,0,0,
200,0,0,,(Get out of the pool.),You get out of the water.,0,0,0,UnloadJennifer()
110,0,0,,Don't touch her!,(The girl gives you a menacing look.)|Who are you? Get outta here!,120,0,2,FaceFront()
110,0,0,,What's going on?,(The girl gives you an angry look.)|None of your business! Get outta here!,120,1,1,FaceFront()
110,0,0,,(Stay silent.),(The girl notices you.)|Get outta here girl!,120,0,0,FaceFront()
110,0,0,,Help! Help! Help!|(Run and scream.),(You run back to the pool. Jennifer|follows you and jumps in the pool.),0,0,-2,EnterPool()
110,0,0,,(Leave quietly.),(You walk back quietly toward the water while|Jennifer sprints behind you and jumps in the pool.),0,-1,-1,EnterPool()
120,0,0,,TO DO,TO DO,0,0,0,
120,0,0,,Run Jennifer!|(Run away.),(You both run back to the pool|and Jennifer quickly jumps in.),0,1,-2,EnterPool()
200,0,0,,TO DO,TO DO,220,0,0,
210,0,0,,TO DO,TO DO,220,0,0,
220,0,0,,TO DO,TO DO,220,0,0,
220,0,0,,(Get out of the pool.),You get out of the water.,0,0,0,UnloadJennifer()

1 Stage LoveReq SubReq VarReq Interaction Result NextStage LoveMod SubMod Function
2 0 0 0 Wait for a while. You sit down for a while and|check who is coming or leaving. 0 0 0 Wait()
3 0 0 0 Check the showers. The showers are empty. 100 0 0 EnterShower()
4 0 0 0 JenniferAvail Swim with Jennifer. (You get closer to Jennifer|and start to swim with her.) 200 220 0 0 LoadJennifer() SwimWithJennifer()
5 0 0 0 Swim alone. You swim alone for a while.|It's a good exercise and it's relaxing. 10 0 0 Swim()
6 0 0 0 Search the place. You find some lifejackets and lifebuoys|but nothing that's really interesting. 0 0 0 Search()
7 0 0 0 Return to your dorm. 0 0 0 Leave()
17 100 0 0 Return to your dorm. 100 0 0 Leave()
18 101 0 0 Shower some more. You stay in the warm shower. 101 0 0 Shower()
19 101 0 0 Stop showering. You step out of the shower. 100 0 0 EnterShower()
20 110 0 0 TO DO Don't touch her! TO DO (The girl gives you a menacing look.)|Who are you? Get outta here! 110 120 0 0 2 FaceFront()
21 110 0 0 (Leave quietly.) What's going on? (You walk back quietly toward the water while|Jennifer sprints behind you and jumps in the pool.) (The girl gives you an angry look.)|None of your business! Get outta here! 0 120 0 1 0 1 EnterPool() FaceFront()
22 200 110 0 0 TO DO (Stay silent.) TO DO (The girl notices you.)|Get outta here girl! 200 120 0 0 FaceFront()
23 200 110 0 0 (Get out of the pool.) Help! Help! Help!|(Run and scream.) You get out of the water. (You run back to the pool. Jennifer|follows you and jumps in the pool.) 0 0 0 -2 UnloadJennifer() EnterPool()
24 110 0 0 (Leave quietly.) (You walk back quietly toward the water while|Jennifer sprints behind you and jumps in the pool.) 0 -1 -1 EnterPool()
25 120 0 0 TO DO TO DO 0 0 0
26 120 0 0 Run Jennifer!|(Run away.) (You both run back to the pool|and Jennifer quickly jumps in.) 0 1 -2 EnterPool()
27 200 0 0 TO DO TO DO 220 0 0
28 210 0 0 TO DO TO DO 220 0 0
29 220 0 0 TO DO TO DO 220 0 0
30 220 0 0 (Get out of the pool.) You get out of the water. 0 0 0 UnloadJennifer()