Downloads containing j2vfhall.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Ancient Hall of Wisdom Slaz Capture the flag N/A Download file

File preview

const bool MLLESetupSuccessful = MLLE::Setup(array<MLLEWeaponApply@> = {null, null, se::FireworkMLLEWrapper(), null, null, SuperToaster::Weapon(), null, null, null}); ///@MLLE-Generated
#include "MLLE-Include-1.6w.asc" ///@MLLE-Generated
#pragma require "j2vfhall-MLLE-Data-1.j2l" ///@MLLE-Generated
#pragma require "Schoolv3b.j2t" ///@MLLE-Generated
#pragma require "j2vfhall.j2l" ///@MLLE-Generated
#include "SuperToaster.asc" ///@MLLE-Generated
#pragma require "SuperToaster.asc" ///@MLLE-Generated
#include "SEfirework-mlle.asc" ///@MLLE-Generated
#pragma require "SEfirework-mlle.asc" ///@MLLE-Generated

void onLevelLoad() {
	jjUseLayer8Speeds = true;
	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 <= 24) rain[x,y] = 75;
					else rain[x,y] = 74;
				} 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 onPlayer(jjPLAYER@ play) {
	for (int i = 0; i < 1024; i++) {
		jjPARTICLE@ particle = jjParticles[i];
		if (particle.type == PARTICLE::RAIN) {
			particle.xSpeed = 0;
			particle.ySpeed = play.ySpeed < 0? 10 : int(10 + play.ySpeed);
		}
	}
}
bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
	return MLLE::WeaponHook.drawAmmo(player, canvas);
}

void onLevelBegin() {
	MLLE::SpawnOffgrids();
}

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