1.0
03 Feb 2013 23:39
int num;
void onFunction0() {
num = (jjRandom()%9) + 1; //random number from 1 to 9.
p.powerup[num] = true;
p.currWeapon = num;
if (num > 1) p.ammo[num] = 50; //no ammo for the blaster
switch (num) {
case 1: p.showText("Blaster!"); break;
case 2: p.showText("Bouncer!"); break;
case 3: p.showText("Freezer!"); break;
case 4: p.showText("Seeker!"); break;
case 5: p.showText("RF!"); break;
case 6: p.showText("Toaster!"); break;
case 7: p.showText("TNT!"); break;
case 8: p.showText("Pepper Spray!"); break;
case 9: p.showText("Electro Blaster"); break;
}
}
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.