| Name | Author | Game Mode | Rating | |||||
|---|---|---|---|---|---|---|---|---|
| Tropical Turmoil (Boss... | jjturbo9 | Single player | 5 | |||||
const bool MLLESetupSuccessful = MLLE::Setup(array<MLLEWeaponApply@> = {BubbleGun::Weapon(), null, null, null, null, null, null, null, null}); ///@MLLE-Generated
#include "MLLE-Include-1.8w.asc" ///@MLLE-Generated
#pragma require "Tropical Turmoil.j2l" ///@MLLE-Generated
#include "BubbleGun.asc" ///@MLLE-Generated
#pragma require "BubbleGun.asc" ///@MLLE-Generated
#pragma require "FastBeach4BossEASY.s3m"
#pragma require "FastBeach4BossHARD.s3m"
#pragma require "FastBeach4BossTURBO.s3m"
bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
return MLLE::WeaponHook.drawAmmo(player, canvas);
}
void onLevelBegin() {
p.lives = 1;
jjPLAYER@ player = jjLocalPlayers[0];
if (!player.bossActivated) {
player.activateBoss();
}
jjPLAYER@ FastFiredUp = jjLocalPlayers[0];
if (jjDifficulty == 0){
FastFiredUp.fastfire = 9; // change 6 into 1 for fastest gun in the WildWest, now default max (from collecting FastFire items)
}
for (int i = 1; i <= 9; i++) {
jjWeapons[i].allowed = false;
jjWeapons[i].allowedPowerup = false;
FastFiredUp.ammo[i] = 0;
FastFiredUp.powerup[i] = true;
}
}
void onLevelLoad() {
/* jjObjectPresets[OBJECT::UTERUS].behavior = Fundus; */
jjObjectPresets[OBJECT::UTERUS].energy = 127;
// Optional: spikeball or attack tweaks
jjObjectPresets[OBJECT::UTERUSSPIKEBALL].energy = 20;
}
bool nextLevelTriggered = false; // global or static variable
void onMain()
{
jjPLAYER@ p = jjLocalPlayers[0];
if (p is null) return;
// --- trigger next level when lives reach zero ---
if (!nextLevelTriggered && p.lives == 0)
{
nextLevelTriggered = true; // prevent multiple calls
jjNxt("Tropical Turmoil Options.j2l", true, true);
}
if (jjDifficulty == 0)
{
if (jjMusicLoad("FastBeach4BossEASY.s3m"))
{
jjMusicPlay();
}
}
if (jjDifficulty == 1)
{
if (jjMusicLoad("FastBeach4Boss.s3m"))
{
jjMusicPlay();
}
}
if (jjDifficulty == 2)
{
if (jjMusicLoad("FastBeach4BossHARD.s3m"))
{
jjMusicPlay();
}
}
if (jjDifficulty == 3)
{
if (jjMusicLoad("FastBeach4BossTURBO.s3m"))
{
jjMusicPlay();
}
}
}
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.