Downloads containing ab22ctf11.j2as

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

File preview

const bool MLLESetupSuccessful = MLLE::Setup(); ///@MLLE-Generated
#include "MLLE-Include-1.5.asc" ///@MLLE-Generated
#pragma require "ab22ctf11-MLLE-Data-1.j2l" ///@MLLE-Generated
#pragma require "ab22ctf11.j2l" ///@MLLE-Generated

void onLevelLoad() {
      jjPIXELMAP rain(32,32);
	for (uint x = 0; x < rain.width; ++x) {
		for (uint y = 0; y < rain.height; ++y) {
			if (x == 16) {
				if (y <= 16) rain[x,y] = 75;
				else if (y > 16 && y <= 24) rain[x,y] = 74;
				else rain[x,y] = 0;
			} else {
				rain[x,y] = 0;
			}
		}
	}

      jjANIMATION@ anim = jjAnimations[jjAnimSets[ANIM::COMMON].firstAnim + 2];
      for (uint frameID = 0; frameID < anim.frameCount; ++frameID) {
        jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame + frameID];
        rain.save(frame);
        frame.hotSpotX = -frame.width/2;
        frame.hotSpotY = -frame.height;
      }

}

void CannotBeShotDown(jjOBJ@ obj) {
    obj.behave(BEHAVIOR::PICKUP);
    if (obj.state == STATE::FLOATFALL)
        obj.state = STATE::FLOAT;
}