Downloads containing ab21btl17.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 21 Levels Jazz2Online Multiple N/A Download file

File preview

#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);
		}
	}
}