Downloads containing ab19ctf14.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 "ac.asc"
#include "ac.asc"

void onLevelLoad() {
	addAC(68, 34, 8, 6, 60, 15, OBJECT::SEEKERAMMO3);
	addAC(87, 34, 8, 6, 60, 15, OBJECT::SEEKERAMMO3);
	addAC(49, 48, 2, 5, 60, 15, OBJECT::TOASTERAMMO3);
	addAC(107, 48, 1, 5, 60, 15, OBJECT::TOASTERAMMO3);
	jjObjectPresets[OBJECT::SEEKERBULLET].behavior = SS;
}

void SS(jjOBJ@ obj) {
	if (jjMaskedPixel(int(obj.xPos), int(obj.yPos))) obj.state = STATE::EXPLODE;
	obj.behave(BEHAVIOR::SEEKERBULLET);
}

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