Downloads containing ab26btl08.j2as

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

File preview

const bool MLLESetupSuccessful = MLLE::Setup(array<MLLEWeaponApply@> = {null, se::RollerMLLEWrapper(), FlashBang::Weapon(), se::FireworkMLLEWrapper(), null, null, null, null, null}); ///@MLLE-Generated
#include "MLLE-Include-1.6w.asc" ///@MLLE-Generated
#pragma require "Jungle-Danger.j2t" ///@MLLE-Generated
#pragma require "smallcastle.j2t" ///@MLLE-Generated
#pragma require "training.j2t" ///@MLLE-Generated
#pragma require "ab26btl08.j2l" ///@MLLE-Generated
#include "SEfirework-mlle.asc" ///@MLLE-Generated
#pragma require "SEfirework-mlle.asc" ///@MLLE-Generated
#include "FlashBang.asc" ///@MLLE-Generated
#pragma require "FlashBang.asc" ///@MLLE-Generated
#include "SEroller-mlle.asc" ///@MLLE-Generated
#pragma require "SEroller-mlle.asc" ///@MLLE-Generated
///@SaveAndRunArgs -battle -server ///@MLLE-Generated

bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
	return MLLE::WeaponHook.drawAmmo(player, canvas);
}

void onLevelLoad() {
	jjLAYER@ mountains = MLLE::GetLayer("Mountains");
	array<jjLAYER@> layers = jjLayerOrderGet();
	const uint index = layers.findByRef(mountains);
	for (uint i = 0; i < 8;) {
		jjLAYER more(mountains);
		++i;
		more.yOffset -= 64 * i;
		more.xOffset += 184 * i;
		more.xSpeed += i / 20.f;
		layers.insertAt(index, more);
	}
	jjLayerOrderSet(layers);
}

void onMain() {
	for (int i = 0; i < 1024; ++i)
		if (jjParticles[i].type == PARTICLE::FLOWER)
			jjParticles[i].flower.color = 203;
	jjIsSnowing = !jjLowDetail;
	if (jjIsServer && (jjGameTicks % 350 == 349))
		for (uint i = jjObjectCount; --i != 0;)
			if (jjObjects[i].yPos > 90 * 32)
				jjObjects[i].yPos = 101 * 32;
}

bool HadAirboard = true;
void onPlayer(jjPLAYER@ player) {
	if (jjLocalPlayerCount == 1) {
		if ((player.fly == FLIGHT::AIRBOARD) != HadAirboard) {
			HadAirboard = !HadAirboard;
			jjAnimatedTiles[15].setFrames(array<uint16>= { HadAirboard ? 514 : 675 });
			jjAnimatedTiles[16].setFrames(array<uint16>= { HadAirboard ? 515 : 675 });
		}
	}
}