Downloads containing byblair.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Bloody Bunny's Lair Violet CLM Capture the flag N/A Download file

File preview

const bool MLLESetupSuccessful = MLLE::Setup(); ///@MLLE-Generated
#include "MLLE-Include-1.8.asc" ///@MLLE-Generated
#pragma require "eyes.j2t" ///@MLLE-Generated
#pragma require "3Dbattle2.j2t" ///@MLLE-Generated
#pragma require "byblair.j2l" ///@MLLE-Generated
///@SaveAndRunArgs -server -capture  ///@MLLE-Generated
#pragma offer "BloodyBunnyStand.png"

void onLevelReload() {
	MLLE::ReapplyPalette();
}

void onLevelLoad() {
	jjAnimations[jjObjectPresets[OBJECT::MILK].curAnim].firstFrame = jjAnimations[jjObjectPresets[0].determineCurAnim(ANIM::PLUS_BETA, 3, false)].firstFrame + 1;
	
	jjPIXELMAP bunny("BloodyBunnyStand.png");
	if (bunny.width == 51) {
		uint evaAnimID = jjAnimSets[ANIM::FLAG] + 5;
		uint evaFrameID = jjAnimations[evaAnimID].firstFrame;
		jjAnimations[evaAnimID].frameCount = 1;
		jjAnimations[evaAnimID + 1].frameCount = 1;
		jjAnimations[evaAnimID + 1].firstFrame = evaFrameID;
		jjANIMFRAME@ evaFrame = jjAnimFrames[evaFrameID];
		bunny.save(evaFrame);
		evaFrame.hotSpotX -= 16;
		evaFrame.hotSpotY += 12;
	}
	
	jjObjectPresets[OBJECT::TNTDESTRUCTSCENERY].triggersTNT = true;
}

void onFunction0(jjPLAYER@ player) {
	player.health = jjMaxHealth;
	player.startSugarRush();
}