Downloads containing ab23ctf09.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 23 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 "ab23ctf09-MLLE-Data-1.j2l" ///@MLLE-Generated
#pragma require "ab23ctf09.j2l" ///@MLLE-Generated
void onLevelLoad() {
    jjObjectPresets[OBJECT::CARROT].behavior = Carrot();
    jjObjectPresets[OBJECT::FULLENERGY].behavior = FullNRG();
}

class Carrot : jjBEHAVIORINTERFACE {
	void onBehave(jjOBJ@ obj) {
        // the left carrot tends to get stuck if shot down...
        if(obj.xPos < 720) {
            obj.xPos = 720;
        }
        obj.behave(BEHAVIOR::PICKUP);
    }
}

class FullNRG : jjBEHAVIORINTERFACE {
	void onBehave(jjOBJ@ obj) {
        // the left carrot tends to get stuck if shot down...
        obj.xPos = obj.xOrg;
        obj.behave(BEHAVIOR::PICKUP);
    }
}