JavaScript error: Cannot read properties of undefined (reading '0') (https://git.viorsan.com/assets/js/index.js?v=10.0.3~gitea-1.22.0 @ 112:58950). Open browser console to see more details.
bondage-college-mirr/C005_GymClass/Intro/Script.js
2023-01-19 21:39:04 -06:00

37 lines
No EOL
1 KiB
JavaScript

// Chapter 5 - Intro Load
function C005_GymClass_Intro_Load() {
// Time is always 10:30 on the intro, no timer
StopTimer(10.5 * 60 * 60 * 1000);
// Do not allow bondage when we begin
Common_BondageAllowed = false;
Common_SelfBondageAllowed = false;
}
// Chapter 5 - Intro Run
function C005_GymClass_Intro_Run() {
// Paints the background
DrawImage(CurrentChapter + "/" + CurrentScreen + "/Background.jpg", 0, 0);
DrawPlayerTransition();
// Write the chapter introduction
DrawText(GetText("Intro1"), 450, 100, "White");
if (TextPhase >= 1) DrawText(GetText("Intro2"), 450, 200, "White");
if (TextPhase >= 2) DrawText(GetText("Intro3"), 450, 300, "White");
if (TextPhase >= 3) DrawText(GetText("Intro4"), 450, 400, "White");
if (TextPhase >= 4) DrawText(GetText("Intro5"), 450, 500, "White");
}
// Chapter 5 - Intro Click
function C005_GymClass_Intro_Click() {
TextPhase++;
if (TextPhase >= 5) {
PlayerClothes("Judo");
Common_SelfBondageAllowed = false;
SetScene(CurrentChapter, "Jennifer");
}
}