Downloads containing urbrawl.j2as

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

File preview

void onMain() {
	for (int i = 1; i < jjObjectCount; i++) {
		if (jjObjects[i].isActive && jjObjects[i].eventID == OBJECT::COPTER && jjObjects[i].state == STATE::FLY) {
			//Only set the counter if it's available to take
			jjObjects[i].counter = 175;
			if (jjObjects[i].var[4] == 0)
				jjObjects[i].state = STATE::DONE;
		}
		else if (jjObjects[i].isActive && jjObjects[i].eventID == OBJECT::CARROT && jjObjects[i].xPos > 67*32 && jjObjects[i].xPos < 74*32 && jjObjects[i].yPos < 18*32 && jjObjects[i].yPos > (14*32 + 24)) {
			jjObjects[i].particlePixelExplosion(0);
			jjDeleteObject(i);
		}
	}
}