mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
The first parts of the slaves section, the manacles item (without common player images). and some of the bug fixes.
45 lines
2.7 KiB
JavaScript
45 lines
2.7 KiB
JavaScript
// Chapter 101 - Club Room 1 Load
|
|
function C101_KinbakuClub_ClubRoom1_Load() {
|
|
if (PlayerHasLockedInventory("Blindfold")) SetScene(CurrentChapter, "BlindMansBuff");
|
|
LeaveIcon = "Wait";
|
|
}
|
|
|
|
// Chapter 101 - Club Room 1 Run
|
|
function C101_KinbakuClub_ClubRoom1_Run() {
|
|
|
|
// Draw the background image
|
|
DrawImage(CurrentChapter + "/" + CurrentScreen + "/ClubRoom1Arrows.jpg", 0, 0);
|
|
|
|
// Draw Lauren
|
|
if (!C101_KinbakuClub_Lauren_LaurenChairCuffed) {
|
|
DrawImage(CurrentChapter + "/" + CurrentScreen + "/LaurenStart.png", 230, 155);
|
|
if (C101_KinbakuClub_Lauren_BlindfoldAvailable && C101_KinbakuClub_Lauren_CurrentStage <= 220) DrawImage(CurrentChapter + "/" + CurrentScreen + "/LaurenStartBlindfold.png", 420, 305);
|
|
if (C101_KinbakuClub_Lauren_CurrentStage < 150) DrawImage(CurrentChapter + "/" + CurrentScreen + "/LaurenStartCuffs.png", 450, 325);
|
|
}
|
|
if (C101_KinbakuClub_Lauren_LaurenChairCuffed) {
|
|
DrawImage(CurrentChapter + "/" + CurrentScreen + "/LaurenChair.jpg", 230, 150);
|
|
if (C101_KinbakuClub_Lauren_LaurenBallGagged) DrawImage(CurrentChapter + "/" + CurrentScreen + "/LaurenChairBallGag.jpg", 570, 190);
|
|
if (C101_KinbakuClub_Lauren_LaurenTapeGagged) DrawImage(CurrentChapter + "/" + CurrentScreen + "/LaurenChairTapeGag.jpg", 570, 190);
|
|
if (C101_KinbakuClub_Lauren_LaurenClothGagged) DrawImage(CurrentChapter + "/" + CurrentScreen + "/LaurenChairClothGag.jpg", 570, 190);
|
|
}
|
|
|
|
//Draw Rope Group
|
|
if (!C101_KinbakuClub_RopeGroup_LeftTwinReleased && !C101_KinbakuClub_RopeGroup_RightTwinReleased) DrawImage(CurrentChapter + "/" + CurrentScreen + "/BothTwins.jpg", 690, 100);
|
|
if (C101_KinbakuClub_RopeGroup_LeftTwinReleased) DrawImage(CurrentChapter + "/" + CurrentScreen + "/RightTwin.jpg", 690, 100);
|
|
if (C101_KinbakuClub_RopeGroup_RightTwinReleased) DrawImage(CurrentChapter + "/" + CurrentScreen + "/LeftTwin.jpg", 690, 100);
|
|
}
|
|
|
|
// Chapter 101 - Club Room 1 Click
|
|
function C101_KinbakuClub_ClubRoom1_Click() {
|
|
|
|
// When the user clicks on any character (screen is divided in 4, 3rd can be the player)
|
|
if ((MouseX >= 15) && (MouseX <= 115) && (MouseY >= 520) && (MouseY <= 580)) SetScene(CurrentChapter, "ClubRoom3");
|
|
if ((MouseX >= 1085) && (MouseX <= 1185) && (MouseY >= 520) && (MouseY <= 580)) SetScene(CurrentChapter, "ClubRoom2");
|
|
if ((MouseX >= 0) && (MouseX <= 215) && (MouseY >= 45) && (MouseY <= 350)) SetScene(CurrentChapter, "Door");
|
|
if ((MouseX >= 235) && (MouseX <= 650) && (MouseY >= 140) && (MouseY <= 510)) SetScene(CurrentChapter, "Lauren");
|
|
if ((MouseX >= 690) && (MouseX <= 1190) && (MouseY >= 100) && (MouseY <= 520)) SetScene(CurrentChapter, "RopeGroup");
|
|
|
|
// Checks if the user clicks on any regular item
|
|
InventoryClick(GetClickedInventory(), "C101_KinbakuClub", "ClubRoom1");
|
|
|
|
}
|