Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 26 CTF | Jazz2Online | Capture the flag | N/A |
const bool MLLESetupSuccessful = MLLE::Setup(array<MLLEWeaponApply@> = {null, null, BubbleGun::Weapon(), null, null, null, null, null, null}); ///@MLLE-Generated
#include "MLLE-Include-1.6w.asc" ///@MLLE-Generated
#pragma require "ab26ctf14-MLLE-Data-3.j2l" ///@MLLE-Generated
#pragma require "ab26ctf14-MLLE-Data-2.j2l" ///@MLLE-Generated
#pragma require "ab26ctf14-MLLE-Data-1.j2l" ///@MLLE-Generated
#pragma require "Lomat.j2t" ///@MLLE-Generated
#pragma require "DamnMushroom.j2t" ///@MLLE-Generated
#pragma require "beachfreeport.j2t" ///@MLLE-Generated
#pragma require "ab26ctf14.j2l" ///@MLLE-Generated
#include "BubbleGun.asc" ///@MLLE-Generated
#pragma require "BubbleGun.asc" ///@MLLE-Generated
///@SaveAndRunArgs -server -capture ///@MLLE-Generated
#pragma require "SpringMushroom.j2a"
#pragma require "S3K_87.wav"
void onLevelReload() {
MLLE::SpawnOffgridsLocal();
MLLE::ReapplyPalette();
}
void onLevelLoad() {
jjUseLayer8Speeds = true;
for (int i = 1; i <= 9; i++) {
jjWeapons[i].allowed = true;
if (i == 2 || i == 5 || i == 6 || i == 8) jjWeapons[i].allowedPowerup = true;
}
jjAnimSets[ANIM::CUSTOM[0]].load(0, "SpringMushroom.j2a");
for (int i = 0; i < 8; i++) {
jjAnimations[jjAnimSets[ANIM::SPRING] + i] = jjAnimations[jjAnimSets[ANIM::CUSTOM[0]] + i];
}
jjObjectPresets[OBJECT::REDSPRING].behavior =
jjObjectPresets[OBJECT::GREENSPRING].behavior =
jjObjectPresets[OBJECT::BLUESPRING].behavior =
jjObjectPresets[OBJECT::FROZENSPRING].behavior = SpringMushroom();
}
class SpringMushroom : jjBEHAVIORINTERFACE {
void onBehave(jjOBJ@ obj) {
obj.behave(BEHAVIOR::SPRING);
if (obj.state == STATE::SPRING && !jjLowDetail) {
jjPARTICLE@ spores = jjAddParticle(PARTICLE::FIRE);
if (spores !is null) {
spores.xPos = int(obj.xPos - 14) + (jjRandom()%14)*2;
spores.yPos = int(obj.yPos - 14) + jjRandom()%14;
if (jjRandom()%2 > 0)
spores.ySpeed = -1;
else spores.ySpeed = -0.6;
spores.fire.color = 64;
spores.fire.colorStop = 72;
}
}
}
}
void onLevelBegin() {
MLLE::SpawnOffgrids();
jjSampleLoad(SOUND::COMMON_SPRING1, "S3K_87.wav");
}
bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
return MLLE::WeaponHook.drawAmmo(player, canvas);
}
Jazz2Online © 1999-INFINITY (Site Credits). We have a Privacy Policy. Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats.
Eat your lima beans, Johnny.