Downloads containing BLGruins3.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Project RejectFeatured Download Rysice Single player 8.9 Download file

File preview

const bool MLLESetupSuccessful = MLLE::Setup(); ///@MLLE-Generated
#include "MLLE-Include-1.5.asc" ///@MLLE-Generated
#pragma require "BLGruins3-MLLE-Data-1.j2l" ///@MLLE-Generated
#pragma require "BLGruins3.j2l" ///@MLLE-Generated
#pragma require "Utrsocks20000.j2a"
void onLevelLoad() {
jjAnimSets[ANIM::UTERUS].load(0, "Utrsocks20000.j2a");
jjAnimSets[ANIM::CATERPIL].load();
jjObjectPresets[OBJECT::UTERUS].behavior = Utrsocks20000();
}
bool Scream = false;
int fastSmell = 15;
jjOBJ@ stink;
class Utrsocks20000 : jjBEHAVIORINTERFACE {
	void onBehave(jjOBJ@ obj) {
		obj.behave(BEHAVIOR::UTERUS);
		if (obj.state != STATE::START) {
	if (jjGameTicks % fastSmell == 0 && obj.curAnim != 522 &&   obj.curAnim != 525)  {
	@stink = jjObjects[jjAddObject(OBJECT::SMOKERING, obj.xPos, obj.yPos - 20)];
	stink.yAcc = -0.1;
	if (obj.state == STATE::FREEZE) {
	stink.freeze = 255;
	}
	if (obj.state == STATE::DONE) {
	@stink = jjObjects[jjAddObject(OBJECT::SMOKERING, (obj.xPos - 20) +(jjRandom() % 70), obj.yPos)];
	}
	}
	}
	if (obj.state == STATE::EXTRA && Scream == false) {
	jjSample(obj.xPos,obj.yPos,SOUND::UTERUS_SCREAM1,64);
	fastSmell = 10;
	Scream = true;
		}
}
}