Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 21 Levels | Jazz2Online | Multiple | N/A |
#include "MLLE-Include-1.4.asc"
const bool MLLESetupSuccessful = MLLE::Setup();
#pragma require "ab21btl17.j2l"
#pragma require "academy_engine.asc"
#pragma require "Castle1.j2t"
#pragma require "diamondus frozen.j2t"
#pragma require "Hocus013D.j2t"
#pragma require "JJ1Deserto.j2t"
#pragma require "Medivo2.j2t"
#include "academy_engine.asc"
/* Academy, written by Superjazz of XLM */
bool onDrawAmmo(jjPLAYER@ play, jjCANVAS@ canvas) {
return acEngine::doDrawAmmo(play, canvas);
}
void onDrawLayer4(jjPLAYER@ play, jjCANVAS@ canvas) {
acEngine::doDrawLayer4(play, canvas);
}
void onGameStop() {
acEngine::doGameStop();
}
void onLevelBegin() {
if (jjLocalPlayerCount > 1) jjAlert("WARNING: This level is not compatible in split screen mode!");
flipVerticalTiles();
acEngine::initializeLevel();
}
void onLevelLoad() {
acEngine::initialize(false);
}
void onPlayer(jjPLAYER@ play) {
acEngine::controlPlayer(play);
}
void onMain() {
acEngine::controlMain();
}
void onChat(int clientID, string &in received, CHAT::Type type) {
acEngine::controlChat(clientID, received, type);
}
void onPlayerInput(jjPLAYER@ play) {
acEngine::controlPlayerInput(play);
}
void onReceive(jjSTREAM &in packet, int clientID) {
acEngine::doReceive(packet, clientID);
}
void onFunction0() {
acEngine::doAsFunction(0);
}
void onFunction1() {
acEngine::doAsFunction(1);
}
void onFunction2() {
acEngine::doAsFunction(2);
}
void onFunction3() {
acEngine::doAsFunction(3);
}
void flipVerticalTiles() {
for (int x = 0; x < jjLayerWidth[4]; x++) {
for (int y = 0; y < jjLayerHeight[4]; y++) {
uint16 tile = jjTileGet(4, x, y);
if (jjEventGet(x, y) == VERTICAL_FLIP_EVENT_ID) jjTileSet(4, x, y, tile ^ TILE::VFLIPPED);
}
}
}
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.