Downloads containing ab21btl08.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 "ab21btl08.j2l"
#pragma require "RainV2.pal"
#pragma require "RainV3.pal"
#pragma require "RainV4.pal"
#pragma require "RainV5.pal"
#pragma require "RainV6.pal"

void onPlayer(jjPLAYER@ play) {
	if (!play.noclipMode || (int(play.xSpeed) == 0 && int(play.ySpeed) == 0)) {
		play.spriteMode = SPRITE::PLAYER;
		play.lightType = LIGHT::PLAYER;
		play.lighting = 100;
	} else {
		play.spriteMode = SPRITE::INVISIBLE;
		play.lightType = LIGHT::NONE;
		play.lighting = 0;
	}
}

const array<string> PaletteFilenames = {"RainV.j2t", "RainV2.pal", "RainV3.pal", "RainV4.pal", "RainV5.pal", "RainV6.pal"};
uint PaletteFilenameIndex = 0;
void onFunction0() {
	if (jjPalette.load(PaletteFilenames[(PaletteFilenameIndex += 1) % PaletteFilenames.length])) {
		jjPalette.apply();
		jjSetFadeColors(!(jjTexturedBGStars = (PaletteFilenameIndex & 1 == 1)) ? 207 : 176);
	}
}
void onLevelReload() {
	onFunction0();
}