Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
RabbitCity 2 Remastered | P4rr0t | Single player | N/A |
#include "MLLE-Include-1.4.asc"
const bool MLLESetupSuccessful = MLLE::Setup();
#pragma require "JazzCity2_Airship.j2t"
#pragma require "JC2lvl96.j2l"
/*************************************************
Created by Parrot86 - RabbitCity 2: The Secret Room Remastered
*************************************************/
void onLevelLoad() {
jjAlert("||Level Name: |Welcome To new house 2 / 6");
jjAlert("||RabbitCity 2: The Secret Room Remastered - Level: |9 6");
jjAlert("");
jjAlert("");
jjAlert("||||| Night Time - 2:30 (24h)");
jjTexturedBGFadePositionY = 0.85;
jjUseLayer8Speeds = true;
}
// Doors - Thank for zepect!
array<bool> keyPressed(256, false); //arrays holds the state of the keys
int myArea = 0;
bool inArea(jjPLAYER@ p, int x1, int y1, int x2, int y2) {
return ((p.xPos > (x1*32)) && (p.xPos < x2*32 + 32) && (p.yPos > (y1*32)) && (p.yPos < y2*32 + 32));
}
void onKeyDown(jjPLAYER@ p, int key) {
if(key == 0x26) { //0x26 is up arrow key (all keys at http://msdn.microsoft.com/en-us/library/dd375731(VS.85).aspx)
if(myArea == 1) p.warpToID(2, true);
else if(myArea == 2) p.warpToID(1, true);
}
}
void onPlayer(jjPLAYER@ p) {
for(int i = 0; i < 256; i++) { //loop through all the keys
if(jjKey[i] && !keyPressed[i]) {
onKeyDown(p, i);
keyPressed[i] = true;
} else if(!jjKey[i] && keyPressed[i]) keyPressed[i] = false;
}
if(inArea(p, 135, 69, 135, 69)) myArea = 1;
else if(inArea(p, 81, 127, 81, 127)) myArea = 2;
else myArea = 0;
}
bool onDrawHealth(jjPLAYER@ player, jjCANVAS@ canvas) {
if(myArea == 1 || myArea == 2) {
canvas.drawString(135, 300, "Press UP to walk through!", STRING::MEDIUM, STRING::BOUNCE, 1);
}
return false;
}
void onFunction0() { if (p.timerState != TIMER::STARTED) p.timerStart(7*70, false); }
void onFunction1() { p.timerStop(); }
void onPlayerTimerEnd() {
p.kill();
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("Player:||||| AAAARRGGHHH!");
}
void onFunction2() {
p.showText("@@@@@@@@#YOU FOUND A SECRET AREA!", STRING::MEDIUM);
}
void onFunction3() {
p.showText("@@@@@@@@#YOU FOUND A EASTER EGG!", STRING::MEDIUM);
}
void onFunction4() {
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|||*** This submarine just like in JazzCity - Episode 4 ***");
jjAlert("");
jjAlert("Player:||||| Oh, yay!");
}
void onFunction5() {
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|||*** This boat just like in The Island Of Devan - Episode 3 ***");
jjAlert("");
jjAlert("Player:||||| yey!");
}
void onFunction6() {
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("Player:||||| Whoa! That a secret room, but what is this ???");
}
void onFunction7() {
p.cameraFreeze(15*32, 9*32, true, true); //Black Screen
}
void onFunction8() {
p.cameraFreeze(135*32, 67*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("SWAT Left:||||| Hey, i need bathroom");
jjAlert("SWAT Right:||||| OK, Do not use another rooms !");
}
void onFunction9() {
p.cameraFreeze(85*32, 125*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("???:||||| Ih ih, Just ignore bathroom. I go to control room security");
}
void onFunction10() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("Computer System - Inserir password");
jjAlert("");
jjAlert("???:||||| Password ? Pissed off ! I thinks.. the password is Jazz");
}
void onFunction11() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Computer System Error: INVALID PASSWORD - Try again");
jjAlert("");
jjAlert("???:||||| Ewww... thinking, the password is Spaz");
}
void onFunction12() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Computer System Error: INVALID PASSWORD - Try again");
jjAlert("");
jjAlert("???:||||| Bleh... hmmm password is Lori");
}
void onFunction13() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Computer System Error: INVALID PASSWORD - Try again");
jjAlert("");
jjAlert("???:||||| Oh no, Hmm... password is Cooba");
}
void onFunction14() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Computer System Error: INVALID PASSWORD - Try again");
jjAlert("");
jjAlert("???:||||| Again... mmmm password is ShakerNL");
}
void onFunction15() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Computer System Error: INVALID PASSWORD - Try again");
jjAlert("");
jjAlert("???:||||| Argh! hmmmmm... password is Parrot");
}
void onFunction16() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Computer System Error: INVALID PASSWORD - Try again");
jjAlert("");
jjAlert("???:||||| Pissed off ! Hmm password is zepect");
}
void onFunction17() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Computer System Error: INVALID PASSWORD - Try again");
jjAlert("");
jjAlert("???:||||| Come on! hmmm... password is Greenspaz");
}
void onFunction18() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Computer System Error: INVALID PASSWORD - Try again");
jjAlert("");
jjAlert("???:||||| Grrrrr !!! mmmmm... password is Treylina");
}
void onFunction19() {
p.cameraFreeze(16*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("Computer System: PASSWORD IS VALID");
jjAlert("");
jjAlert("???:||||| Whoaaa ! It worked !");
}
void onFunction20() {
p.cameraFreeze(25*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Control Room Security Cameras: RABBIT IS ALLOWED (Safe)");
jjAlert("");
jjAlert("???:||||| I changed to RABBIT NOT ALLOWED. HaHa!");
jjAlert("SWAT Right:||||| Uh ?");
}
void onFunction21() {
p.cameraFreeze(25*32, 136*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("|Control Room Security Cameras: NO RABBIT ALLOWED (Unsafe)");
jjAlert("");
jjAlert("???:||||| Well done !");
jjAlert("SWAT Right:||||| ? ? ?");
}
void onFunction22() {
p.cameraFreeze(25*32, 151*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("???:||||| Oops !");
jjAlert("SWAT Right:||||| WHAT ARE YOU DOING HERE ? !");
}
void onFunction23() {
p.cameraFreeze(25*32, 151*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("???:||||| I am controlling");
jjAlert("SWAT Right:||||| NO, BUT YOU ARE NOT ALLOWED !");
}
void onFunction24() {
p.cameraFreeze(25*32, 151*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("???:||||| Not allowed ? Why ?");
jjAlert("SWAT Right:||||| BECAUSE YOU ARE A HACKER !!");
}
void onFunction25() {
p.cameraFreeze(60*32, 151*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("???:||||| Hacker? Ha Ha, stop it or die !");
jjAlert("SWAT Right:||||| WHO ARE YOU ? ! GET DROP THE GUN !");
}
void onFunction26() {
p.cameraFreeze(210*32, 151*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("???:||||| Fired !");
jjAlert("SWAT Right:||||| OWW !!!");
}
void onFunction27() {
p.cameraFreeze(91*32, 151*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("???:||||| Ha Ha! So bad SWAT");
}
void onFunction28() {
p.cameraFreeze(130*32, 151*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("???:||||| Pffff! I'm going to drop my skin");
}
void onFunction29() {
p.cameraFreeze(165*32, 151*32, true, true);
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("");
jjAlert("Devan:||||| HA HA HA !");
}
void onDrawLayer2(jjPLAYER@ play, jjCANVAS@ canvas) {
canvas.drawString(133*32-5, 66*32-15, "||||House of Jazz",STRING::SMALL);
}
void onDrawLayer3(jjPLAYER@ play, jjCANVAS@ canvas) {
canvas.drawString(207*32+20, 151*32-35, "BANG!",STRING::LARGE,STRING::BOUNCE);
}
void onDrawLayer4(jjPLAYER@ play, jjCANVAS@ canvas) {
canvas.drawSprite(216*32-15, 117*32-23, ANIM::JAZZ, jjIsTSF? 10:0, 0, 0, SPRITE::NEONGLOW, 0);
canvas.drawSprite(217*32-15, 118*32-23, ANIM::SPAZ, jjIsTSF? 10:0, 0, 0, SPRITE::NEONGLOW, 0);
canvas.drawSprite(215*32-15, 118*32-23, ANIM::LORI, jjIsTSF? 10:0, 0, 0, SPRITE::NEONGLOW, 0);
canvas.drawString(70*32-15, 138*32-15, "||Control Room Security",STRING::SMALL);
}
Jazz2Online © 1999-INFINITY (Site Credits). We have a Privacy Policy. Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats.
Eat your lima beans, Johnny.