Downloads containing ab19btl19.j2as

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

File preview

#pragma require "ab19btl19ex.j2l"

jjPAL pal;
int hue, sat, light;

void onLevelLoad() {
	pal.load("Diam2.j2t");
	pal.copyFrom(16, 40, 16, pal, 1);
	pal.copyFrom(59, 37, 59, pal, 1);
	
	for (int n = 96; n <= 254; n++) {
		hue = jjPalette.color[n].getHue();
		sat = jjPalette.color[n].getSat();
		light = jjPalette.color[n].getLight();
		
		pal.color[n].setHSL(hue + 25, sat * 3 / 4, light);
	}
	
	pal.apply();

	for (int i = 1; i < 90; i++) {
		if (i != 54) jjTileType[i] = 3;
	}
	jjTileType[168] = jjTileType[178] = 3;
	for (int i = 300; i < 320; i++) {
		jjTileType[i] = 3;
	}
	array<jjLAYER@> extraLayers = jjLayersFromLevel("ab19btl19ex.j2l", array<uint> = {1,2}, 0);
	jjLayerOrderSet(array<jjLAYER@> = {jjLayers[1], jjLayers[4], jjLayers[2], jjLayers[3], jjLayers[5], extraLayers[0], extraLayers[1], jjLayers[6], jjLayers[7], jjLayers[8]});
}