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.
68 lines
No EOL
2.6 KiB
JavaScript
68 lines
No EOL
2.6 KiB
JavaScript
// Chapter 101 - Club Room 4 Load
|
|
function C101_KinbakuClub_ClubRoom4_Load() {
|
|
if (PlayerHasLockedInventory("Blindfold")) SetScene(CurrentChapter, "BlindMansBuff");
|
|
LeaveIcon = "Wait";
|
|
}
|
|
|
|
// Chapter 101 - Club Room 4 Run
|
|
function C101_KinbakuClub_ClubRoom4_Run() {
|
|
|
|
// Draw the background image
|
|
DrawImage(CurrentChapter + "/" + CurrentScreen + "/ClubRoom4.jpg", 0, 0);
|
|
|
|
// Draw movement arrows
|
|
if (!PlayerHasLockedInventory("Manacles")) {
|
|
DrawImage(CurrentChapter + "/" + CurrentScreen + "/ClubRoom4ArrowLeft.jpg", 20, 525);
|
|
DrawImage(CurrentChapter + "/" + CurrentScreen + "/ClubRoom4ArrowRight.jpg", 1090, 525);
|
|
}
|
|
|
|
// Draw the player when she is a slave
|
|
if (PlayerHasLockedInventory("Manacles")) {
|
|
DrawImage(CurrentChapter + "/" + CurrentScreen + "/SlavesPlayer.png", 280, 185);
|
|
if (PlayerHasLockedInventory("BallGag")) DrawImage(CurrentChapter + "/" + CurrentScreen + "/SlavesPlayerBallGag.png", 322, 230);
|
|
if (PlayerHasLockedInventory("ClothGag")) DrawImage(CurrentChapter + "/" + CurrentScreen + "/SlavesPlayerClothGag.png", 320, 273);
|
|
if (PlayerHasLockedInventory("TapeGag")) DrawImage(CurrentChapter + "/" + CurrentScreen + "/SlavesPlayerTapeGag.png", 325, 275);
|
|
if (PlayerHasLockedInventory("ChastityBelt")) DrawImage(CurrentChapter + "/" + CurrentScreen + "/SlavesPlayerChastityBelt.png", 310, 410);
|
|
}
|
|
|
|
// Draw Chloe when she is a slave
|
|
|
|
// Draw a twin when she is a slave
|
|
|
|
// Draw Erica's mistory slave when she is the player's slave
|
|
|
|
}
|
|
|
|
// Chapter 101 - Club Room 4 Click
|
|
function C101_KinbakuClub_ClubRoom4_Click() {
|
|
|
|
// When the player is not trapped in manacles and
|
|
if (!PlayerHasLockedInventory("Manacles")) {
|
|
// Click on any regular item
|
|
InventoryClick(GetClickedInventory(), "C101_KinbakuClub", "ClubRoom4");
|
|
// Clicks to change clubroom scene
|
|
if ((MouseX >= 15) && (MouseX <= 115) && (MouseY >= 520) && (MouseY <= 580)) SetScene(CurrentChapter, "ClubRoom2");
|
|
if ((MouseX >= 1085) && (MouseX <= 1185) && (MouseY >= 520) && (MouseY <= 580)) SetScene(CurrentChapter, "ClubRoom3");
|
|
// Clicks to look in the bag
|
|
if ((MouseX >= 20) && (MouseX <= 155) && (MouseY >= 430) && (MouseY <= 515)) {
|
|
SetScene(CurrentChapter, "Slaves");
|
|
C101_KinbakuClub_Slaves_CurrentStage = 0;
|
|
}
|
|
}
|
|
|
|
// When the player is manacled and
|
|
if (PlayerHasLockedInventory("Manacles")) {
|
|
// Clicks on themself
|
|
if ((MouseX >= 280) && (MouseX <= 425) && (MouseY >= 180) && (MouseY <= 599)) {
|
|
SetScene(CurrentChapter, "Slaves");
|
|
C101_KinbakuClub_Slaves_CurrentStage = 120;
|
|
}
|
|
}
|
|
|
|
// When Chloe is a slave and the user clicks on her
|
|
|
|
// When a twin is a slave and the user clicks on her
|
|
|
|
// When Erica's mystery slave is the player's and the user clicks on her
|
|
|
|
} |