Downloads containing ab20ctf10.j2as

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

File preview

bool showLayer6(jjPLAYER@ play) {
	return (play.cameraY < 575 || play.cameraY > 1160) && !jjLowDetail;
}

int id() {
	if (!jjTriggers[2] && !jjTriggers[3]) return 3;
	else if (jjTriggers[2] && !jjTriggers[3]) return 4;
	else return 5;
}

bool warping = false;

void onLevelLoad() {
	jjSetWaterGradient(160,215,255, 160,215,255);
	jjUseLayer8Speeds = true;
	jjTexturedBGTexture = TEXTURE::DIAMONDUSBETA;
}

void onDrawLayer7(jjPLAYER@ play, jjCANVAS@ screen) {
	jjSetWaterLevel(-32, true);
}

void onDrawLayer4(jjPLAYER@ play, jjCANVAS@ screen) {
	jjSetWaterLevel(16000, true);
}

void onPlayer(jjPLAYER@ play) {
	jjLayerHasTiles[6] = showLayer6(play);
	if (jjLowDetail) jjLayers[8].tileHeight = true;
	jjTexturedBGFadePositionY = jjLowDetail? 0.5:0.4;
	jjWaterLayer = 7;
	
	if (play.cameraY < 400) {
		jjLayerOrderSet(array<jjLAYER@> = {jjLayers[1], jjLayers[2], jjLayers[3], jjLayers[4], jjLayers[5], jjLayers[6], jjLayers[8], jjLayers[7]});
		if (!jjLowDetail) jjLayers[8].tileHeight = false;
	} else {
		jjLayerOrderSet(array<jjLAYER@> = {jjLayers[1], jjLayers[2], jjLayers[3], jjLayers[4], jjLayers[5], jjLayers[6], jjLayers[7], jjLayers[8]});
		jjLayers[8].tileHeight = true;
	}
	if (play.yPos < 66*32) warping = false;
}

void onFunction0(jjPLAYER@ play) {
	if (!warping) {
		play.warpToID(id());
		warping = true;
	}
}