Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 17 Levels | Jazz2Online | Multiple | N/A |
void onPlayer(jjPLAYER@ play) {
if (play.fly == FLIGHT::FLYCARROT && play.timerState == TIMER::STOPPED) play.timerStart(5*70);
if (play.fly == FLIGHT::NONE) play.timerStop();
if (play.timerState == TIMER::STARTED && play.timerTime <= 3*70 && play.timerTime > 0 && play.timerTime % 70 == 0) jjSamplePriority(SOUND::COMMON_NOCOIN);
}
void onPlayerTimerEnd(jjPLAYER@ play) { play.fly = FLIGHT::NONE; }
bool onDrawPlayerTimer(jjPLAYER@ play, jjCANVAS@ canvas) {
if (play.fly == FLIGHT::FLYCARROT) {
canvas.drawString(
jjSubscreenWidth - 73,
jjSubscreenHeight - 284,
"" + (play.timerTime + 70) / 70,
STRING::LARGE,
STRING::PALSHIFT,
play.timerTime > 3*70?
0 :
jjGameTicks % 28 > 14?
-40 :
-24
);
canvas.drawSprite(
jjSubscreenWidth - 90,
jjSubscreenHeight - 270,
ANIM::PICKUPS,
40,
jjGameTicks / 10 % 8
);
}
return true;
}
void onLevelBegin() {
jjWeapons[WEAPON::GUN8].spread = SPREAD::PEPPERSPRAY;
//if (jjIsServer) jjChat("/fireball off");
}
//void onLevelStopped() {
//if (jjIsServer) jjChat("/fireball on");
//}
//void onLevelStarted() {
//if (jjIsServer) jjChat("/fireball off");
//}
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.