Downloads containing ab20btl14.j2as

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

File preview

#include "MLLE-Include-1.4.asc"
const bool MLLESetupSuccessful = MLLE::Setup();
#include "limitedoxygen.asc"
#pragma require "Carrot1.j2t"
#pragma require "ab20btl14-MLLE-Data-1.j2l"
#pragma require "ab20btl14.j2l"

void onLevelLoad() {


	jjSetWaterGradient(10,10,80, 10,10,80);
	jjTexturedBGTexture = TEXTURE::PSYCH;
	jjTexturedBGFadePositionY = 0.33;
	jjUseLayer8Speeds = true;

	water::maxOxygen = 2300;

}

void onPlayer(jjPLAYER@ play)
 {

	water::limitedOxygen(play);


}

bool onDrawHealth(jjPLAYER@ play, jjCANVAS@ canvas) {
	water::drawOxygenTimer(play, canvas);
	return false;	
}

void onMain() {
	for (int i = 1; i < jjObjectCount; i++) { 
	   jjOBJ@ o = jjObjects[i];
	   if (o.isActive) {
	       if (o.behavior == BEHAVIOR::PICKUP && o.state == STATE::FLOATFALL) {
		     o.state = STATE::FLOAT;
	        }
	   }
	}
}