Downloads containing JC2lvl18.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: RabbitCity 2 P4rr0t Single player 7.7 Download file

File preview

/*************************************************
Created by Parrot86 - RabbitCity 2: The Secret Room
*************************************************/
void onLevelLoad() {
	jjAlert("||Level Name: |Jails - Arrested Player");
	jjAlert("||RabbitCity 2: The Secret Room - Level: |1 8");
	jjAlert("");
	jjAlert("");
}
void onFunction0() {
	p.cameraFreeze(157*32, 1*32, true, true);
	p.showText("@@@@Police Station - Jails", STRING::MEDIUM);
}
void onFunction1() {
	p.cameraFreeze(157*32, 1*32, true, true);
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("GreenSpaz:||||| Why did you steal my ID access card ?");
	jjAlert("Player:||||| Sorry");
	jjAlert("GreenSpaz:||||| What? I don't understand you! But you're arrested, go jail!");
	jjAlert("Player:||||| *sigh*");
}
void onFunction2() {
	p.cameraFreeze(64*32, 1*32, true, true);
	p.showText("@@@@@@*** Lost your Gun / Inventory ***", STRING::MEDIUM);
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("Player:||||| Damn, I'm got arrested...");
	jjAlert("Player:||||| *yawn*");
}
void onFunction3() {
	p.cameraFreeze(19*32, 59*32, true, true);
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	p.showText("@@@@@@@@@@3 days late...", STRING::MEDIUM);
}
void onFunction4() {
	p.cameraFreeze(109*32, 8*32, true, true);
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("");
	jjAlert("*** IT'S UNLOCKED ***");
	jjAlert("Player:||||| Uh?");
	jjAlert("Player:||||| Who the hell is unlock door?");
}
void onFunction5() {
	p.cameraUnfreeze();
}
void onFunction6() {
	jjAlert("");
	jjAlert("");
	jjAlert("|RedRazz:|||| Hey, Player!");
	jjAlert("Player:||||| So, I am arrested?");
	jjAlert("|RedRazz:|||| Yes, but you get out of jail free!");
	jjAlert("Player:||||| Really ?");
	jjAlert("|RedRazz:|||| Yes!");
	jjAlert("Player:||||| Thanks a lot, Bro!");
}
void onDrawLayer4(jjPLAYER@ p, jjCANVAS@ canvas) {
	canvas.drawString(212*32, 82*32-16, "|-GreenSpaz-",STRING::SMALL);
	canvas.drawString(277*32, 92*32-16, "||DANGER",STRING::MEDIUM);
	canvas.drawString(290*32+10, 91*32-16, "|OFFICE",STRING::MEDIUM);  //OFFICE BACKGROUND
}
void onDrawLayer5(jjPLAYER@ p, jjCANVAS@ canvas) {
	canvas.drawString(207*32, 92*32-16, "||DANGER",STRING::MEDIUM);
}