Downloads containing Jellybattle3v2.j2as

Downloads
Name Author Game Mode Rating
JJ2+ Only: NivoFeatured Download Jelly Jam Battle 8.2 Download file

File preview

void onLevelBegin()
{
	for(int i=0; i<10; i++)
	{
		jjWeapons[i].infinite = true;
	}
}
void onPlayer(jjPLAYER@ grucz)
{
	for(int i=0; i<10; i++)
	{
		if(grucz.ammo[i] == 0) grucz.ammo[i] = 1;
		if(grucz.powerup[i] == false) grucz.powerup[i] = true;
	}
}

void onLevelLoad() {

	jjWeapons[WEAPON::BLASTER].allowed = true;
	jjWeapons[WEAPON::BOUNCER].allowed = true;
	jjWeapons[WEAPON::ICE].allowed = true;
	jjWeapons[WEAPON::SEEKER].allowed = true;
	jjWeapons[WEAPON::RF].allowed = true;
	jjWeapons[WEAPON::TOASTER].allowed = true;
	jjWeapons[WEAPON::TNT].allowed = true;
	jjWeapons[WEAPON::GUN8].allowed = true;
	jjWeapons[WEAPON::GUN9].allowed = true;

	jjWeapons[WEAPON::BLASTER].allowedPowerup = true;
	jjWeapons[WEAPON::BOUNCER].allowedPowerup = true;
	jjWeapons[WEAPON::ICE].allowedPowerup = true;
	jjWeapons[WEAPON::SEEKER].allowedPowerup = true;
	jjWeapons[WEAPON::RF].allowedPowerup = true;
	jjWeapons[WEAPON::TOASTER].allowedPowerup = true;
	jjWeapons[WEAPON::TNT].allowedPowerup = true;
	jjWeapons[WEAPON::GUN8].allowedPowerup = true;
	jjWeapons[WEAPON::GUN9].allowedPowerup = true;

	jjUseLayer8Speeds = true;

}