Frame 1
myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 10
stop();
Instance of Symbol 158 MovieClip "Bpad1" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue1.Active = true;
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 158 MovieClip "Bpad4" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue4.Active = true;
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 158 MovieClip "Bpad5" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue5.Active = true;
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 158 MovieClip "Bpad3" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue3.Active = true;
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 158 MovieClip "Bpad2" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue2.Active = true;
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad1" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
lives = lives + 1;
_root.Dred1.Active = true;
life = 100;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - speed);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad2" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred2.Active = true;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - speed);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad3" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred3.Active = true;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - speed);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad4" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred4.Active = true;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - speed);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad5" in Frame 10
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred5.Active = true;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - speed);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 201 MovieClip "Crates" in Frame 10
onClipEvent (load) {
timer = 165;
countdown = new Sound();
countdown.attachSound("countdown");
begin = true;
}
onClipEvent (enterFrame) {
timer = timer - 1;
_root.Rpad1.speed = 0;
_root.Rpad2.speed = 0;
_root.Rpad3.speed = 0;
_root.Rpad4.speed = 0;
_root.Rpad5.speed = 0;
_root.Rpad6.speed = 0;
_root.Rpad7.speed = 0;
_root.Bpad1.speed = 0;
_root.Bpad2.speed = 0;
_root.Bpad3.speed = 0;
_root.Bpad4.speed = 0;
_root.Bpad5.speed = 0;
_root.Bpad6.speed = 0;
_root.Bpad7.speed = 0;
if (timer == 0) {
_root.gotoAndPlay(11);
}
if (begin == true) {
countdown.start();
begin = false;
}
}
Frame 11
stop();
Instance of Symbol 223 MovieClip "Ball" in Frame 11
onClipEvent (load) {
xspeed = 4;
yspeed = 4;
colour = 1;
active = false;
}
onClipEvent (enterFrame) {
if (active == true) {
_y = (_y + yspeed);
_x = (_x + xspeed);
if (colour == 3) {
gotoAndStop (3);
}
if (colour == 2) {
gotoAndStop (2);
}
if (colour == 1) {
gotoAndStop (1);
}
if (_y > 400) {
_y = 392.5;
yspeed = yspeed - (yspeed * 2);
}
if (_y < 0) {
_y = 7.5;
yspeed = yspeed + (yspeed * -2);
}
}
if (_x < 0) {
_root.BlueWave.active = true;
xspeed = xspeed + (xspeed * -2);
_root.Bpad1.lives = _root.Bpad1.lives + 1;
_root.Bpad2.lives = _root.Bpad2.lives + 1;
_root.Bpad3.lives = _root.Bpad3.lives + 1;
_root.Bpad4.lives = _root.Bpad4.lives + 1;
_root.Bpad5.lives = _root.Bpad5.lives + 1;
if (_root.Bpad6.active == true) {
_root.Bpad6.lives = _root.Bpad6.lives + 1;
_root.Bpad7.lives = _root.Bpad7.lives + 1;
}
colour = 1;
if (_root.Bpad1.lives < 6) {
_root.Dblue1.Active = true;
}
if (_root.Bpad2.lives < 6) {
_root.Dblue2.Active = true;
}
if (_root.Bpad3.lives < 6) {
_root.Dblue3.Active = true;
}
if (_root.Bpad4.lives < 6) {
_root.Dblue4.Active = true;
}
if (_root.Bpad5.lives < 6) {
_root.Dblue5.Active = true;
}
if (_root.Bpad6.active == true) {
if (_root.Bpad6.lives < 6) {
_root.Dblue6.Active = true;
}
if (_root.Bpad7.lives < 6) {
_root.Dblue7.Active = true;
}
}
}
if (_x > 550) {
_root.RedWave.active = true;
xspeed = xspeed - (xspeed * 2);
_root.Rpad1.lives = _root.Rpad1.lives + 1;
_root.Rpad2.lives = _root.Rpad2.lives + 1;
_root.Rpad3.lives = _root.Rpad3.lives + 1;
_root.Rpad4.lives = _root.Rpad4.lives + 1;
_root.Rpad5.lives = _root.Rpad5.lives + 1;
if (_root.Rpad6.active == true) {
_root.Rpad6.lives = _root.Rpad6.lives + 1;
_root.Rpad7.lives = _root.Rpad7.lives + 1;
}
colour = 1;
if (_root.Rpad1.lives < 6) {
_root.DRed1.Active = true;
}
if (_root.Rpad2.lives < 6) {
_root.Dred2.Active = true;
}
if (_root.Rpad3.lives < 6) {
_root.Dred3.Active = true;
}
if (_root.Rpad4.lives < 6) {
_root.Dred4.Active = true;
}
if (_root.Rpad5.lives < 6) {
_root.Dred5.Active = true;
}
if (_root.Rpad6.active == true) {
if (_root.Rpad6.lives < 6) {
_root.Dred6.Active = true;
}
if (_root.Rpad7.lives < 6) {
_root.Dred7.Active = true;
}
}
}
if (this.hitTest(_root.Rpad1) == 1) {
if (colour == 3) {
_root.Rpad1.lives = _root.Rpad1.lives + 1;
xspeed = -6;
yspeed = -3;
colour = 2;
_root.DRed1.Active = true;
} else {
xspeed = -6;
yspeed = -3;
colour = 2;
}
}
if (this.hitTest(_root.Rpad2) == 1) {
if (colour == 3) {
_root.Rpad2.lives = _root.Rpad2.lives + 1;
xspeed = -5;
yspeed = -4;
colour = 2;
_root.Dred2.Active = true;
} else {
xspeed = -5;
yspeed = -4;
colour = 2;
}
}
if (this.hitTest(_root.Rpad3) == 1) {
if (colour == 3) {
_root.Rpad3.lives = _root.Rpad3.lives + 1;
xspeed = -4;
yspeed = yspeed;
colour = 2;
_root.Dred3.Active = true;
} else {
xspeed = -4;
yspeed = yspeed;
colour = 2;
}
}
if (this.hitTest(_root.Rpad4) == 1) {
if (colour == 3) {
_root.Rpad4.lives = _root.Rpad4.lives + 1;
xspeed = -5;
yspeed = 4;
colour = 2;
_root.Dred4.Active = true;
} else {
xspeed = -5;
yspeed = 4;
colour = 2;
}
}
if (this.hitTest(_root.Rpad5) == 1) {
if (colour == 3) {
_root.Rpad5.lives = _root.Rpad5.lives + 1;
xspeed = -6;
yspeed = 3;
colour = 2;
_root.Dred5.Active = true;
} else {
xspeed = -6;
yspeed = 3;
colour = 2;
}
}
if (this.hitTest(_root.Rpad6) == 1) {
if (colour == 3) {
_root.Rpad6.lives = _root.Rpad6.lives + 1;
xspeed = -7;
yspeed = -2.5;
colour = 2;
_root.Dred6.Active = true;
} else {
xspeed = -7;
yspeed = -2.5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad7) == 1) {
if (colour == 3) {
_root.Rpad7.lives = _root.Rpad7.lives + 1;
xspeed = -7;
yspeed = 2.5;
colour = 2;
_root.Dred7.Active = true;
} else {
xspeed = -7;
yspeed = 2.5;
colour = 2;
}
}
if (this.hitTest(_root.Bpad1) == 1) {
if (colour == 2) {
_root.Bpad1.lives = _root.Bpad1.lives + 1;
xspeed = 6;
yspeed = -3;
colour = 3;
_root.Dblue1.Active = true;
} else {
xspeed = 6;
yspeed = -3;
colour = 3;
}
}
if (this.hitTest(_root.Bpad2) == 1) {
if (colour == 2) {
_root.Bpad2.lives = _root.Bpad2.lives + 1;
xspeed = 5;
yspeed = -4;
colour = 3;
_root.Dblue2.Active = true;
} else {
xspeed = 5;
yspeed = -4;
colour = 3;
}
}
if (this.hitTest(_root.Bpad3) == 1) {
if (colour == 2) {
_root.Bpad3.lives = _root.Bpad3.lives + 1;
xspeed = 4;
yspeed = yspeed;
colour = 3;
_root.Dblue3.Active = true;
} else {
xspeed = 4;
yspeed = yspeed;
colour = 3;
}
}
if (this.hitTest(_root.Bpad4) == 1) {
if (colour == 2) {
_root.Bpad4.lives = _root.Bpad4.lives + 1;
xspeed = 5;
yspeed = 4;
colour = 3;
_root.Dblue4.Active = true;
} else {
xspeed = 5;
yspeed = 4;
colour = 3;
}
}
if (this.hitTest(_root.Bpad5) == 1) {
if (colour == 2) {
_root.Bpad5.lives = _root.Bpad5.lives + 1;
xspeed = 6;
yspeed = 3;
colour = 3;
_root.Dblue5.Active = true;
} else {
xspeed = 6;
yspeed = 3;
colour = 3;
}
}
if (this.hitTest(_root.Bpad6) == 1) {
if (colour == 2) {
_root.Bpad6.lives = _root.Bpad6.lives + 1;
xspeed = 7;
yspeed = -2.5;
colour = 3;
_root.Dblue6.Active = true;
} else {
xspeed = 7;
yspeed = -2.5;
colour = 3;
}
}
if (this.hitTest(_root.Bpad7) == 1) {
if (colour == 2) {
_root.Bpad7.lives = _root.Bpad7.lives + 1;
xspeed = 7;
yspeed = 2.5;
colour = 3;
_root.Dblue7.Active = true;
} else {
xspeed = 7;
yspeed = 2.5;
colour = 3;
}
}
}
Instance of Symbol 230 MovieClip "Dred3" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad3._y;
_x = _root.Rpad3._x;
gotoAndPlay (1);
_alpha = 100;
timer = 20;
Active = false;
}
}
Instance of Symbol 230 MovieClip "Dred4" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad4._y;
_x = _root.Rpad4._x;
gotoAndPlay (1);
_alpha = 100;
timer = 20;
Active = false;
}
}
Instance of Symbol 230 MovieClip "Dred2" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad2._y;
_x = _root.Rpad2._x;
gotoAndPlay (1);
_alpha = 100;
timer = 20;
Active = false;
}
}
Instance of Symbol 230 MovieClip "Dred5" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad5._y;
_x = _root.Rpad5._x;
gotoAndPlay (1);
_alpha = 100;
timer = 20;
Active = false;
}
}
Instance of Symbol 230 MovieClip "Dred1" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad1._y;
_x = _root.Rpad1._x;
gotoAndPlay (1);
_alpha = 100;
timer = 20;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue3" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad3._y;
_x = _root.Bpad3._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue1" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad1._y;
_x = _root.Bpad1._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue4" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad4._y;
_x = _root.Bpad4._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue2" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad2._y;
_x = _root.Bpad2._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue5" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad5._y;
_x = _root.Bpad5._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 117 MovieClip "RRocket" in Frame 11
onClipEvent (load) {
speed = 7;
ammo = 4;
count = 1;
active = false;
}
onClipEvent (enterFrame) {
if (ammo > 0) {
if (Key.isDown(98) && (_x < 0)) {
_y = _root.Rpad3._y;
_x = (_root.Rpad3._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
_alpha = 100;
active = true;
}
}
_x = (_x - speed);
if (active == true) {
if (this.hitTest(_root.Bpad1) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad1.life = _root.Bpad1.life + 110;
_root.Bpad2.life = _root.Bpad2.life + 51;
count = count + 1;
_alpha = 0;
active = false;
}
if (this.hitTest(_root.Bpad2) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad2.life = _root.Bpad2.life - 110;
_root.Bpad1.life = _root.Bpad1.life - 51;
_root.Bpad3.life = _root.Bpad3.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad3) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad3.life = _root.Bpad3.life - 110;
_root.Bpad2.life = _root.Bpad2.life - 51;
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad4) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad4.life = _root.Bpad4.life - 110;
_root.Bpad3.life = _root.Bpad3.life - 51;
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad5) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad5.life = _root.Bpad5.life - 110;
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad6) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad6.life = _root.Bpad6.life - 110;
_root.Bpad1.life = _root.Bpad1.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad7) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad7.life = _root.Bpad7.life - 110;
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
}
}
Instance of Symbol 117 MovieClip "BRocket" in Frame 11
onClipEvent (load) {
speed = 7;
ammo = 4;
count = 1;
active = false;
}
onClipEvent (enterFrame) {
if (ammo > 0) {
if (Key.isDown(86) && (_x > 550)) {
_y = _root.Bpad3._y;
_x = (_root.Bpad3._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
_alpha = 100;
active = true;
}
}
_x = (_x + speed);
if (active == true) {
if (this.hitTest(_root.Rpad1) == 1) {
_root.Bexplosion.duplicateMovieClip("Bexplosion" + count, count, _root.Bexplosion);
_root.Rpad1.life = _root.Rpad1.life - 110;
_root.Rpad2.life = _root.Rpad2.life - 51;
_root.Rpad6.life = _root.Rpad6.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Rpad2) == 1) {
_root.Bexplosion.duplicateMovieClip("Bexplosion" + count, count, _root.Bexplosion);
_root.Rpad2.life = _root.Rpad2.life - 110;
_root.Rpad1.life = _root.Rpad1.life - 51;
_root.Rpad3.life = _root.Rpad3.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Rpad3) == 1) {
_root.Bexplosion.duplicateMovieClip("Bexplosion" + count, count, _root.Bexplosion);
_root.Rpad3.life = _root.Rpad3.life - 110;
_root.Rpad2.life = _root.Rpad2.life - 51;
_root.Rpad4.life = _root.Rpad4.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Rpad4) == 1) {
_root.Bexplosion.duplicateMovieClip("Bexplosion" + count, count, _root.Bexplosion);
_root.Rpad4.life = _root.Rpad4.life - 110;
_root.Rpad3.life = _root.Rpad3.life - 51;
_root.Rpad5.life = _root.Rpad5.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Rpad5) == 1) {
_root.Bexplosion.duplicateMovieClip("Bexplosion" + count, count, _root.Bexplosion);
_root.Rpad5.life = _root.Rpad5.life - 110;
_root.Rpad4.life = _root.Rpad4.life - 51;
_root.Rpad7.life = _root.Rpad7.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Rpad6) == 1) {
_root.Bexplosion.duplicateMovieClip("Bexplosion" + count, count, _root.Bexplosion);
_root.Rpad6.life = 110;
_root.Rpad1.life = _root.Rpad1.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Rpad7) == 1) {
_root.Bexplosion.duplicateMovieClip("Bexplosion" + count, count, _root.Bexplosion);
_root.Rpad7.life = _root.Rpad7.life - 110;
_root.Rpad5.life = _root.Rpad5.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
}
}
Instance of Symbol 201 MovieClip "Lives" in Frame 11
onClipEvent (load) {
BValue = 0;
RValue = 0;
Blives = 0;
Rlives = 0;
}
onClipEvent (enterFrame) {
BValue = (((((_root.Bpad1.lives + _root.Bpad2.lives) + _root.Bpad3.lives) + _root.Bpad4.lives) + _root.Bpad5.lives) + _root.Bpad6.lives) + _root.Bpad7.lives;
RValue = (((((_root.Rpad1.lives + _root.Rpad2.lives) + _root.Rpad3.lives) + _root.Rpad4.lives) + _root.Rpad5.lives) + _root.Rpad6.lives) + _root.Rpad7.lives;
Blives = 42 - BValue;
Rlives = 42 - RValue;
if (Blives <= 0) {
_root.Bpad1.lives = 1;
_root.Bpad2.lives = 1;
_root.Bpad3.lives = 1;
_root.Bpad4.lives = 1;
_root.Bpad5.lives = 1;
_root.Rpad1.lives = 1;
_root.Rpad2.lives = 1;
_root.Rpad3.lives = 1;
_root.Rpad4.lives = 1;
_root.Rpad5.lives = 1;
_root.Sounds.Bloodbound.stop();
_root.gotoAndPlay(13);
}
if (Rlives <= 0) {
_root.Bpad1.lives = 1;
_root.Bpad2.lives = 1;
_root.Bpad3.lives = 1;
_root.Bpad4.lives = 1;
_root.Bpad5.lives = 1;
_root.Rpad1.lives = 1;
_root.Rpad2.lives = 1;
_root.Rpad3.lives = 1;
_root.Rpad4.lives = 1;
_root.Rpad5.lives = 1;
_root.Sounds.Bloodbound.stop();
_root.gotoAndStop(14);
}
}
Instance of Symbol 223 MovieClip "Ball2" in Frame 11
onClipEvent (load) {
xspeed = 4;
yspeed = 4;
colour = 1;
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
_x = (_x + xspeed);
if (colour == 3) {
gotoAndStop (3);
}
if (colour == 2) {
gotoAndStop (2);
}
if (colour == 1) {
gotoAndStop (1);
}
if (_y > 400) {
_y = 392.5;
yspeed = yspeed - (yspeed * 2);
}
if (_y < 0) {
_y = 7.5;
yspeed = yspeed + (yspeed * -2);
}
if (_x < 0) {
_root.BlueWave.active = true;
xspeed = xspeed + (xspeed * -2);
_root.Bpad1.lives = _root.Bpad1.lives + 1;
_root.Bpad2.lives = _root.Bpad2.lives + 1;
_root.Bpad3.lives = _root.Bpad3.lives + 1;
_root.Bpad4.lives = _root.Bpad4.lives + 1;
_root.Bpad5.lives = _root.Bpad5.lives + 1;
if (_root.Bpad6.active == true) {
_root.Bpad6.lives = _root.Bpad6.lives + 1;
_root.Bpad7.lives = _root.Bpad7.lives + 1;
}
colour = 1;
if (_root.Bpad1.lives < 6) {
_root.Dblue1.Active = true;
}
if (_root.Bpad2.lives < 6) {
_root.Dblue2.Active = true;
}
if (_root.Bpad3.lives < 6) {
_root.Dblue3.Active = true;
}
if (_root.Bpad4.lives < 6) {
_root.Dblue4.Active = true;
}
if (_root.Bpad5.lives < 6) {
_root.Dblue5.Active = true;
}
if (_root.Bpad6.active == true) {
if (_root.Bpad6.lives < 6) {
_root.Dblue6.Active = true;
}
if (_root.Bpad7.lives < 6) {
_root.Dblue7.Active = true;
}
}
}
if (_x > 550) {
_root.RedWave.active = true;
xspeed = xspeed - (xspeed * 2);
_root.Rpad1.lives = _root.Rpad1.lives + 1;
_root.Rpad2.lives = _root.Rpad2.lives + 1;
_root.Rpad3.lives = _root.Rpad3.lives + 1;
_root.Rpad4.lives = _root.Rpad4.lives + 1;
_root.Rpad5.lives = _root.Rpad5.lives + 1;
if (_root.Rpad6.active == true) {
_root.Rpad6.lives = _root.Rpad6.lives + 1;
_root.Rpad7.lives = _root.Rpad7.lives + 1;
}
colour = 1;
if (_root.Rpad1.lives < 6) {
_root.DRed1.Active = true;
}
if (_root.Rpad2.lives < 6) {
_root.Dred2.Active = true;
}
if (_root.Rpad3.lives < 6) {
_root.Dred3.Active = true;
}
if (_root.Rpad4.lives < 6) {
_root.Dred4.Active = true;
}
if (_root.Rpad5.lives < 6) {
_root.Dred5.Active = true;
}
if (_root.Rpad6.active == true) {
if (_root.Rpad6.lives < 6) {
_root.Dred6.Active = true;
}
if (_root.Rpad7.lives < 6) {
_root.Dred7.Active = true;
}
}
}
if (this.hitTest(_root.Bpad3) == 1) {
if (colour == 2) {
_root.Bpad3.lives = _root.Bpad3.lives + 1;
xspeed = 4;
yspeed = yspeed;
colour = 3;
_root.Dblue3.Active = true;
} else {
xspeed = 4;
yspeed = yspeed;
colour = 3;
}
}
if (this.hitTest(_root.Bpad2) == 1) {
if (colour == 2) {
_root.Bpad2.lives = _root.Bpad2.lives + 1;
xspeed = 3.5;
yspeed = -5;
colour = 3;
_root.Dblue2.Active = true;
} else {
xspeed = 3.5;
yspeed = -5;
colour = 3;
}
}
if (this.hitTest(_root.Bpad4) == 1) {
if (colour == 2) {
_root.Bpad4.lives = _root.Bpad4.lives + 1;
xspeed = 3.5;
yspeed = 5;
colour = 3;
_root.Dblue4.Active = true;
} else {
xspeed = 3.5;
yspeed = 5;
colour = 3;
}
}
if (this.hitTest(_root.Bpad1) == 1) {
if (colour == 2) {
_root.Bpad1.lives = _root.Bpad1.lives + 1;
xspeed = 3;
yspeed = -6;
colour = 3;
_root.Dblue1.Active = true;
} else {
xspeed = 3;
yspeed = -6;
colour = 3;
}
}
if (this.hitTest(_root.Bpad5) == 1) {
if (colour == 2) {
_root.Bpad5.lives = _root.Bpad5.lives + 1;
xspeed = 3;
yspeed = 6;
colour = 3;
_root.Dblue5.Active = true;
} else {
xspeed = 3;
yspeed = 6;
colour = 3;
}
}
if (this.hitTest(_root.Bpad6) == 1) {
if (colour == 2) {
_root.Bpad6.lives = _root.Bpad6.lives + 1;
xspeed = 2.5;
yspeed = -7;
colour = 3;
_root.Dblue6.Active = true;
} else {
xspeed = 2.5;
yspeed = -7;
colour = 3;
}
}
if (this.hitTest(_root.Bpad7) == 1) {
if (colour == 2) {
_root.Bpad7.lives = _root.Bpad7.lives + 1;
xspeed = 2.5;
yspeed = 7;
colour = 3;
_root.Dblue7.Active = true;
} else {
xspeed = 2.5;
yspeed = 7;
colour = 3;
}
}
if (this.hitTest(_root.Rpad3) == 1) {
if (colour == 3) {
_root.Rpad3.lives = _root.Rpad3.lives + 1;
xspeed = -4;
yspeed = 4;
colour = 2;
_root.Dred3.Active = true;
} else {
xspeed = -4;
yspeed = 4;
colour = 2;
}
}
if (this.hitTest(_root.Rpad2) == 1) {
if (colour == 3) {
_root.Rpad2.lives = _root.Rpad2.lives + 1;
xspeed = -3.5;
yspeed = -5;
colour = 2;
_root.Dred2.Active = true;
} else {
xspeed = -3.5;
yspeed = -5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad4) == 1) {
if (colour == 3) {
_root.Rpad4.lives = _root.Rpad4.lives + 1;
xspeed = -3.5;
yspeed = 5;
colour = 2;
_root.Dred4.Active = true;
} else {
xspeed = -3.5;
yspeed = 5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad1) == 1) {
if (colour == 3) {
_root.Rpad1.lives = _root.Rpad1.lives + 1;
xspeed = -3;
yspeed = -6;
colour = 2;
_root.Dred1.Active = true;
} else {
xspeed = -3;
yspeed = -6;
colour = 2;
}
}
if (this.hitTest(_root.Rpad5) == 1) {
if (colour == 3) {
_root.Rpad5.lives = _root.Rpad5.lives + 1;
xspeed = -3;
yspeed = 6;
colour = 2;
_root.Dred5.Active = true;
} else {
xspeed = -3;
yspeed = 6;
colour = 2;
}
}
if (this.hitTest(_root.Rpad6) == 1) {
if (colour == 3) {
_root.Rpad6.lives = _root.Rpad6.lives + 1;
xspeed = -2.5;
yspeed = -7;
colour = 2;
_root.Dred6.Active = true;
} else {
xspeed = -2.5;
yspeed = -7;
colour = 2;
}
}
if (this.hitTest(_root.Rpad7) == 1) {
if (colour == 3) {
_root.Rpad7.lives = _root.Rpad7.lives + 1;
xspeed = -2.5;
yspeed = 7;
colour = 2;
_root.Dred7.Active = true;
} else {
xspeed = -2.5;
yspeed = 7;
colour = 2;
}
}
if (this.hitTest(_root.Rpad12) == 1) {
if (colour == 3) {
_root.Rpad12.lives = _root.Rpad12.lives + 1;
xspeed = -xspeed;
yspeed = yspeed;
colour = 2;
} else {
xspeed = -xspeed;
yspeed = yspeed;
colour = 2;
}
}
if (this.hitTest(_root.Rpad22) == 1) {
if (colour == 3) {
_root.Rpad22.lives = _root.Rpad22.lives + 1;
xspeed = -3.5;
yspeed = -5;
colour = 2;
} else {
xspeed = -3.5;
yspeed = -5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad32) == 1) {
if (colour == 3) {
_root.Rpad32.lives = _root.Rpad32.lives + 1;
xspeed = -3.5;
yspeed = 5;
colour = 2;
} else {
xspeed = -3.5;
yspeed = 5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad42) == 1) {
if (colour == 3) {
_root.Rpad42.lives = _root.Rpad42.lives + 1;
xspeed = -3;
yspeed = -6;
colour = 2;
} else {
xspeed = -3;
yspeed = -6;
colour = 2;
}
}
if (this.hitTest(_root.Rpad52) == 1) {
if (colour == 3) {
_root.Rpad52.lives = _root.Rpad52.lives + 1;
xspeed = -3;
yspeed = 6;
colour = 2;
} else {
xspeed = -3;
yspeed = 6;
colour = 2;
}
}
}
Instance of Symbol 119 MovieClip "RGrenade" in Frame 11
onClipEvent (load) {
speed = 1;
ammo = 2;
count = 1;
active = false;
thrown = false;
woob = false;
count = 1;
timer = 0;
}
onClipEvent (enterFrame) {
if (ammo > 0) {
if ((Key.isDown(99) && (thrown == false)) && (active == false)) {
ammo = ammo - 1;
_alpha = 100;
thrown = true;
woob = true;
}
}
if (woob == true) {
_x = _root.Rpad3._x;
_y = _root.Rpad3._y;
woob = false;
}
if (thrown == true) {
_x = (_x - speed);
if (_x > 301.5) {
speed = speed + 0.2;
_rotation = (_rotation + 10);
_height = (_height + 0.3);
_width = (_width + 0.3);
}
if ((_x < 301.5) && (_x > 120)) {
speed = speed - 0.2;
_rotation = (_rotation + 10);
_height = (_height - 0.3);
_width = (_width - 0.3);
}
if (_x < 120) {
thrown = false;
active = true;
}
}
if (active == true) {
_root.RSmoke.duplicateMovieClip("RSmoke" + count, count, _root.RSmoke);
count = count + 1;
timer = timer + 1;
}
if (timer == 200) {
active = false;
timer = 0;
_x = 999;
}
}
Instance of Symbol 111 MovieClip "BGrenade" in Frame 11
onClipEvent (load) {
speed = 1;
ammo = 2;
count = 1;
active = false;
thrown = false;
woob = false;
count = 1;
timer = 0;
}
onClipEvent (enterFrame) {
if (ammo > 0) {
if ((Key.isDown(66) && (thrown == false)) && (active == false)) {
ammo = ammo - 1;
_alpha = 100;
thrown = true;
woob = true;
}
}
if (woob == true) {
_x = _root.Bpad3._x;
_y = _root.Bpad3._y;
woob = false;
}
if (thrown == true) {
_x = (_x + speed);
if (_x < 247) {
speed = speed + 0.2;
_rotation = (_rotation + 10);
_height = (_height + 0.3);
_width = (_width + 0.3);
}
if ((_x > 247) && (_x < 430)) {
speed = speed - 0.2;
_rotation = (_rotation + 10);
_height = (_height - 0.3);
_width = (_width - 0.3);
}
if (_x > 430) {
thrown = false;
active = true;
}
}
if (active == true) {
_root.BSmoke.duplicateMovieClip("BSmoke" + count, count, _root.BSmoke);
count = count + 1;
timer = timer + 1;
}
if (timer == 200) {
active = false;
timer = 0;
_x = -666;
}
}
Instance of Symbol 242 MovieClip "RSmoke" in Frame 11
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_rotation = 0;
_x = _root.RGrenade._x;
_y = (_root.RGrenade._y - 2);
spin = Math.round((Math.random() * 16) - 8);
gotoAndStop(Math.round((Math.random() * 4) + 1));
_alpha = 100;
xspeed = (Math.random() * 6) - 3;
yspeed = (Math.random() * 6) - 3;
active = true;
}
onClipEvent (enterFrame) {
if (active) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + spin);
if (_height > 50) {
_alpha = (_alpha - 4);
}
if (_alpha < 0) {
this.removeMovieClip();
active = false;
}
}
}
Instance of Symbol 248 MovieClip "BSmoke" in Frame 11
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_rotation = 0;
_x = _root.BGrenade._x;
_y = (_root.BGrenade._y - 2);
spin = Math.round((Math.random() * 16) - 8);
gotoAndStop(Math.round((Math.random() * 4) + 1));
_alpha = 100;
xspeed = (Math.random() * 6) - 3;
yspeed = (Math.random() * 6) - 3;
active = true;
}
onClipEvent (enterFrame) {
if (active) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + spin);
if (_height > 50) {
_alpha = (_alpha - 4);
}
if (_alpha < 0) {
this.removeMovieClip();
active = false;
}
}
}
Instance of Symbol 201 MovieClip "Sounds" in Frame 11
onClipEvent (load) {
Bloodbound = new Sound();
Bloodbound.attachSound("Bloodbound");
begin = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
Bloodbound.start();
begin = false;
}
}
Instance of Symbol 230 MovieClip "Dred6" in Frame 11
onClipEvent (load) {
Active = false;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad6._y;
_x = _root.Rpad6._x;
gotoAndPlay (1);
timer = 20;
Active = false;
}
}
Instance of Symbol 230 MovieClip "Dred7" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad7._y;
_x = _root.Rpad7._x;
gotoAndPlay (1);
_alpha = 100;
timer = 20;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue7" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad7._y;
_x = _root.Bpad7._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue6" in Frame 11
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad6._y;
_x = _root.Bpad6._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 152 MovieClip "Rpad6" in Frame 11
onClipEvent (load) {
speed = 4;
lives = 6;
active = false;
pos = false;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred6.Active = true;
}
if (active == true) {
if (pos == false) {
life = 100;
lives = 1;
if ((_root.Rpad1._y - 20) > _y) {
_y = (_y + 4);
}
if ((_root.Rpad1._y - 20) < _y) {
_y = (_y - 4);
}
if ((_y < (_root.Rpad1._y - 10)) && (_y > (_root.Rpad1._y - 25))) {
_y = (_root.Rpad1._y - 20);
pos = true;
}
if (_x > 493.4) {
_x = (_x - 5);
}
} else {
if (_x > 493.4) {
_x = (_x - 5);
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - speed);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
}
}
Instance of Symbol 152 MovieClip "Rpad7" in Frame 11
onClipEvent (load) {
speed = 4;
lives = 6;
active = false;
pos = false;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred7.Active = true;
}
if (active == true) {
if (pos == false) {
lives = 1;
life = 100;
if ((_root.Rpad5._y + 20) > _y) {
_y = (_y + 4);
}
if ((_root.Rpad5._y + 20) < _y) {
_y = (_y - 4);
}
if ((_y > (_root.Rpad5._y + 15)) && (_y < (_root.Rpad5._y + 25))) {
_y = (_root.Rpad5._y + 20);
pos = true;
}
if (_x > 493.4) {
_x = (_x - 5);
}
} else {
if (_x > 493.4) {
_x = (_x - 5);
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - speed);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
}
}
Instance of Symbol 158 MovieClip "Bpad7" in Frame 11
onClipEvent (load) {
speed = 4;
lives = 6;
active = false;
pos = false;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue7.Active = true;
}
if (active == true) {
if (pos == false) {
life = 100;
lives = 1;
if ((_root.Bpad5._y + 20) > _y) {
_y = (_y + 4);
}
if ((_root.Bpad5._y + 20) < _y) {
_y = (_y - 4);
}
if ((_y > (_root.Bpad5._y + 15)) && (_y < (_root.Bpad5._y + 25))) {
_y = (_root.Bpad5._y + 20);
pos = true;
}
if (_x < 51.5) {
_x = (_x + 5);
}
} else {
if (_x < 51.5) {
_x = (_x + 5);
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
}
}
Instance of Symbol 158 MovieClip "Bpad6" in Frame 11
onClipEvent (load) {
speed = 4;
lives = 6;
active = false;
pos = false;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue6.Active = true;
}
if (active == true) {
if (pos == false) {
life = 100;
lives = 1;
if ((_root.Bpad1._y - 20) > _y) {
_y = (_y + 4);
}
if ((_root.Bpad1._y - 20) < _y) {
_y = (_y - 4);
}
if ((_y < (_root.Bpad1._y - 12)) && (_y > (_root.Bpad1._y - 21))) {
_y = (_root.Bpad1._y - 20);
pos = true;
}
if (_x < 51.5) {
_x = (_x + 5);
}
} else {
if (_x < 51.5) {
_x = (_x + 5);
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
}
}
Instance of Symbol 257 MovieClip "Bexplosion" in Frame 11
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_rotation = 0;
_x = _root.BRocket._x;
_y = (_root.BRocket._y - 2);
spin = Math.round((Math.random() * 16) - 8);
gotoAndStop(Math.round((Math.random() * 4) + 1));
_alpha = 100;
active = true;
}
onClipEvent (enterFrame) {
if (active) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + 0.5);
_x = (_x + 0.25);
_rotation = (_rotation + spin);
if (_height > 50) {
_alpha = (_alpha - 10);
}
if (_alpha < 0) {
this.removeMovieClip();
active = false;
}
}
}
Instance of Symbol 257 MovieClip "Rexplosion" in Frame 11
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_rotation = 0;
_x = (_root.RRocket._x - 5);
_y = _root.RRocket._y;
spin = Math.round((Math.random() * 16) - 8);
gotoAndStop(random(4) + 1);
_alpha = 100;
active = true;
}
onClipEvent (enterFrame) {
if (active) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + 0.5);
_x = (_x + 0.25);
_rotation = (_rotation + spin);
if (_height > 50) {
_alpha = (_alpha - 10);
}
if (_alpha < 0) {
this.removeMovieClip();
active = false;
}
}
}
Instance of Symbol 113 MovieClip "BBullet" in Frame 11
onClipEvent (load) {
speed = 20;
ammo = 20;
active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (active == false) {
if (ammo > 0) {
if ((Key.isDown(67) && (_x > 550)) && (_alpha <= 0)) {
_alpha = 100;
_y = _root.Bpad3._y;
_x = (_root.Bpad3._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
}
}
if (_x > 550) {
_alpha = 0;
}
_x = (_x + speed);
if (_alpha >= 90) {
if (this.hitTest(_root.Rpad1) == 1) {
_root.Rpad1.life = _root.Rpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad2) == 1) {
_root.Rpad2.life = _root.Rpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad3) == 1) {
_root.Rpad3.life = _root.Rpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad4) == 1) {
_root.Rpad4.life = _root.Rpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad5) == 1) {
_root.Rpad5.life = _root.Rpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad6) == 1) {
_root.Rpad6.life = _root.Rpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad7) == 1) {
_root.Rpad7.life = _root.Rpad7.life - 51;
_alpha = 0;
}
}
} else if (active == true) {
if (ammo > 0) {
if ((Key.isDown(67) && (_x > 550)) && (_alpha <= 0)) {
_y = _root.Bpad4._y;
_x = (_root.Bpad4._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
_alpha = 100;
}
}
if (_x > 550) {
_alpha = 0;
}
_x = (_x + speed);
if (_alpha >= 90) {
if (this.hitTest(_root.Rpad1) == 1) {
_root.Rpad1.life = _root.Rpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad2) == 1) {
_root.Rpad2.life = _root.Rpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad3) == 1) {
_root.Rpad3.life = _root.Rpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad4) == 1) {
_root.Rpad4.life = _root.Rpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad5) == 1) {
_root.Rpad5.life = _root.Rpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad6) == 1) {
_root.Rpad6.life = _root.Rpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad7) == 1) {
_root.Rpad7.life = _root.Rpad7.life - 51;
_alpha = 0;
}
}
}
}
Instance of Symbol 113 MovieClip "BBullet2" in Frame 11
onClipEvent (load) {
speed = 20;
active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (active == true) {
if (_root.BBullet.ammo > 0) {
if ((Key.isDown(67) && (_x > 550)) && (_alpha <= 0)) {
_y = _root.Bpad2._y;
_x = (_root.Bpad2._x + 4);
gotoAndPlay (2);
_root.BBullet.ammo = _root.BBullet.ammo - 1;
_alpha = 100;
}
}
if (_x > 550) {
_alpha = 0;
}
_x = (_x + speed);
if (_alpha >= 90) {
if (this.hitTest(_root.Rpad1) == 1) {
_root.Rpad1.life = _root.Rpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad2) == 1) {
_root.Rpad2.life = _root.Rpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad3) == 1) {
_root.Rpad3.life = _root.Rpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad4) == 1) {
_root.Rpad4.life = _root.Rpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad5) == 1) {
_root.Rpad5.life = _root.Rpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad6) == 1) {
_root.Rpad6.life = _root.Rpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Rpad7) == 1) {
_root.Rpad7.life = _root.Rpad7.life - 51;
_alpha = 0;
}
}
}
}
Instance of Symbol 113 MovieClip "RBullet" in Frame 11
onClipEvent (load) {
speed = 20;
ammo = 20;
active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (active == false) {
if (ammo > 0) {
if ((Key.isDown(97) && (_x < 0)) && (_alpha <= 0)) {
_y = _root.Rpad3._y;
_x = (_root.Rpad3._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
_alpha = 100;
}
}
if (_x < 0) {
_alpha = 0;
}
_x = (_x - speed);
if (_alpha >= 90) {
if (this.hitTest(_root.Bpad1) == 1) {
_root.Bpad1.life = _root.Bpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad2) == 1) {
_root.Bpad2.life = _root.Bpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad3) == 1) {
_root.Bpad3.life = _root.Bpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad4) == 1) {
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad5) == 1) {
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad6) == 1) {
_root.Bpad6.life = _root.Bpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad7) == 1) {
_root.Bpad7.life = _root.Bpad7.life - 51;
_alpha = 0;
}
}
} else if (active == true) {
if (ammo > 0) {
if ((Key.isDown(97) && (_x < 0)) && (_alpha <= 0)) {
_y = _root.Rpad4._y;
_x = (_root.Rpad4._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
_alpha = 100;
}
}
_x = (_x - speed);
if (_x < 0) {
_alpha = 0;
}
if (_alpha >= 90) {
if (this.hitTest(_root.Bpad1) == 1) {
_root.Bpad1.life = _root.Bpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad2) == 1) {
_root.Bpad2.life = _root.Bpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad3) == 1) {
_root.Bpad3.life = _root.Bpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad4) == 1) {
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad5) == 1) {
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad6) == 1) {
_root.Bpad6.life = _root.Bpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad7) == 1) {
_root.Bpad7.life = _root.Bpad7.life - 51;
_alpha = 0;
}
}
}
}
Instance of Symbol 113 MovieClip "RBullet2" in Frame 11
onClipEvent (load) {
speed = 20;
active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (active == true) {
if (_root.RBullet.ammo > 0) {
if ((Key.isDown(97) && (_x < 0)) && (_alpha <= 0)) {
_y = _root.Rpad2._y;
_x = (_root.Rpad2._x + 4);
gotoAndPlay (2);
_root.RBullet.ammo = _root.RBullet.ammo - 1;
_alpha = 100;
}
}
if (_x < 0) {
_alpha = 0;
}
_x = (_x - speed);
if (_alpha >= 90) {
if (this.hitTest(_root.Bpad1) == 1) {
_root.Bpad1.life = _root.Bpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad2) == 1) {
_root.Bpad2.life = _root.Bpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad3) == 1) {
_root.Bpad3.life = _root.Bpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad4) == 1) {
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad5) == 1) {
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad6) == 1) {
_root.Bpad6.life = _root.Bpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad7) == 1) {
_root.Bpad7.life = _root.Bpad7.life - 51;
_alpha = 0;
}
}
}
}
Instance of Symbol 201 MovieClip "Crates" in Frame 11
onClipEvent (load) {
number = 11;
timer = 300;
balls = false;
Rsupply = 0;
Bsupply = 0;
}
onClipEvent (enterFrame) {
timer = timer - 1;
if (timer == 0) {
number = random(8);
if ((number == 7) && (balls == true)) {
number = random(7);
}
timer = 300;
}
if (number == 8) {
balls = true;
}
Rsupply = Rsupply - 1;
Bsupply = Bsupply - 1;
if (Rsupply < 0) {
Rsupply = 0;
}
if (Bsupply < 0) {
Bsupply = 0;
}
_root.Rpad1.speed = (Rsupply * 0.01) + 4;
_root.Rpad2.speed = (Rsupply * 0.01) + 4;
_root.Rpad3.speed = (Rsupply * 0.01) + 4;
_root.Rpad4.speed = (Rsupply * 0.01) + 4;
_root.Rpad5.speed = (Rsupply * 0.01) + 4;
_root.Rpad6.speed = (Rsupply * 0.01) + 4;
_root.Rpad7.speed = (Rsupply * 0.01) + 4;
_root.Bpad1.speed = (Bsupply * 0.01) + 4;
_root.Bpad2.speed = (Bsupply * 0.01) + 4;
_root.Bpad3.speed = (Bsupply * 0.01) + 4;
_root.Bpad4.speed = (Bsupply * 0.01) + 4;
_root.Bpad5.speed = (Bsupply * 0.01) + 4;
_root.Bpad6.speed = (Bsupply * 0.01) + 4;
_root.Bpad7.speed = (Bsupply * 0.01) + 4;
}
Instance of Symbol 166 MovieClip in Frame 11
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 5) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
_root.RRocket.ammo = _root.RRocket.ammo + 8;
_x = 900;
active = false;
_root.RedArrow.active = true;
}
if (_root.Ball.colour == 3) {
_root.BRocket.ammo = _root.BRocket.ammo + 8;
_x = 900;
active = false;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
_root.RRocket.ammo = _root.RRocket.ammo + 8;
_x = 900;
active = false;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
_root.BRocket.ammo = _root.BRocket.ammo + 8;
_x = 900;
active = false;
_root.BlueArrow.active = true;
}
}
}
}
Instance of Symbol 160 MovieClip in Frame 11
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 1) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
active = false;
_x = 900;
_root.Rpad6.active = true;
_root.Rpad7.active = true;
_root.RedArrow.active = true;
}
if (_root.Ball.colour == 3) {
active = false;
_x = 900;
_root.Bpad6.active = true;
_root.Bpad7.active = true;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
active = false;
_x = 900;
_root.Rpad6.active = true;
_root.Rpad7.active = true;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
active = false;
_x = 900;
_root.Bpad6.active = true;
_root.Bpad7.active = true;
_root.BlueArrow.active = true;
}
}
}
}
Instance of Symbol 170 MovieClip in Frame 11
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 3) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
_root.RBullet.ammo = _root.RBullet.ammo + 30;
_x = 900;
active = false;
_root.RedArrow.active = true;
}
if (_root.Ball.colour == 3) {
_root.BBullet.ammo = _root.BBullet.ammo + 30;
_x = 900;
active = false;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
_root.RBullet.ammo = _root.RBullet.ammo + 30;
_x = 900;
active = false;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
_root.BBullet.ammo = _root.BBullet.ammo + 30;
_x = 900;
active = false;
_root.BlueArrow.active = true;
}
}
}
}
Instance of Symbol 168 MovieClip in Frame 11
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 2) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup < 0) {
if (_root.Ball.colour == 2) {
_root.Rpad1.lives = _root.Rpad1.lives - 1;
_root.Rpad2.lives = _root.Rpad2.lives - 1;
_root.Rpad3.lives = _root.Rpad3.lives - 1;
_root.Rpad4.lives = _root.Rpad4.lives - 1;
_root.Rpad5.lives = _root.Rpad5.lives - 1;
_root.Rpad6.lives = _root.Rpad6.lives - 1;
_root.Rpad7.lives = _root.Rpad7.lives - 1;
_x = 900;
active = false;
_root.RedArrow.active = true;
}
if (_root.Ball.colour == 3) {
_root.Bpad1.lives = _root.Bpad1.lives - 1;
_root.Bpad2.lives = _root.Bpad2.lives - 1;
_root.Bpad3.lives = _root.Bpad3.lives - 1;
_root.Bpad4.lives = _root.Bpad4.lives - 1;
_root.Bpad5.lives = _root.Bpad5.lives - 1;
_root.Bpad6.lives = _root.Bpad6.lives - 1;
_root.Bpad7.lives = _root.Bpad7.lives - 1;
_x = 900;
active = false;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup < 0) {
if (_root.Ball2.colour == 2) {
_root.Rpad1.lives = _root.Rpad1.lives - 1;
_root.Rpad2.lives = _root.Rpad2.lives - 1;
_root.Rpad3.lives = _root.Rpad3.lives - 1;
_root.Rpad4.lives = _root.Rpad4.lives - 1;
_root.Rpad5.lives = _root.Rpad5.lives - 1;
_x = 900;
active = false;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
_root.Bpad1.lives = _root.Bpad1.lives - 1;
_root.Bpad2.lives = _root.Bpad2.lives - 1;
_root.Bpad3.lives = _root.Bpad3.lives - 1;
_root.Bpad4.lives = _root.Bpad4.lives - 1;
_root.Bpad5.lives = _root.Bpad5.lives - 1;
_x = 900;
active = false;
_root.BlueArrow.active = true;
}
}
}
}
Instance of Symbol 164 MovieClip in Frame 11
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 7) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
_root.Ball.active = true;
_x = 6575;
_y = 7965;
active = false;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
_x = 6575;
_y = 7965;
active = false;
}
}
}
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 6) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
_root.RGrenade.ammo = _root.RGrenade.ammo + 4;
_x = 900;
active = false;
_root.RedArrow.active = true;
}
if (_root.Ball.colour == 3) {
_root.BGrenade.ammo = _root.BGrenade.ammo + 4;
_x = 900;
active = false;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
_root.RGrenade.ammo = _root.RGrenade.ammo + 4;
_x = 900;
active = false;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
_root.BGrenade.ammo = _root.BGrenade.ammo + 4;
_x = 900;
active = false;
_root.BlueArrow.active = true;
}
}
}
}
Instance of Symbol 177 MovieClip in Frame 11
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 4) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
if (_root.RBullet.active == false) {
_root.RBullet.ammo = _root.RBullet.ammo * 2;
} else {
_root.RBullet.ammo = _root.RBullet.ammo + 20;
}
active = false;
_x = 900;
_root.RBullet.active = true;
_root.RBullet2.active = true;
_root.RedArrow.active = true;
}
if (_root.Ball.colour == 3) {
if (_root.BBullet.active == false) {
_root.BBullet.ammo = _root.BBullet.ammo * 2;
} else {
_root.BBullet.ammo = _root.BBullet.ammo + 20;
}
active = false;
_x = 900;
_root.BBullet.active = true;
_root.BBullet2.active = true;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
if (_root.RBullet.active == false) {
_root.RBullet.ammo = _root.RBullet.ammo * 2;
} else {
_root.RBullet.ammo = _root.RBullet.ammo + 20;
}
active = false;
_x = 900;
_root.RBullet.active = true;
_root.RBullet2.active = true;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
if (_root.BBullet.active == false) {
_root.BBullet.ammo = _root.BBullet.ammo * 2;
} else {
_root.BBullet.ammo = _root.BBullet.ammo + 20;
}
active = false;
_x = 900;
_root.BBullet.active = true;
_root.BBullet2.active = true;
_root.BlueArrow.active = true;
}
}
}
}
Instance of Symbol 180 MovieClip in Frame 11
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 0) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
active = false;
_x = 900;
_root.Crates.Rsupply = 500;
_root.RedArrow.active = true;
}
if (_root.Ball.colour == 3) {
active = false;
_x = 900;
_root.Crates.Bsupply = 500;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
active = false;
_x = 900;
_root.Crates.Rsupply = 500;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
active = false;
_x = 900;
_root.Crates.Bsupply = 500;
_root.BlueArrow.active = true;
}
}
}
}
Instance of Symbol 268 MovieClip "BlueArrow" in Frame 11
onClipEvent (load) {
active = false;
_alpha = 0;
_x = 500;
_y = 185;
_width = 50;
_height = 30;
timer = 0;
}
onClipEvent (enterFrame) {
if (active == true) {
timer = timer + 2;
_width = (timer * 4);
_height = (timer * 4);
_x = (_x - 15);
_alpha = (50 - (timer / 4));
if (timer == 150) {
active = false;
_width = 50;
_height = 30;
timer = 0;
_x = 500;
_y = 185;
_alpha = 0;
}
}
}
Instance of Symbol 270 MovieClip "RedArrow" in Frame 11
onClipEvent (load) {
active = false;
_alpha = 0;
_x = 0;
_y = 185;
_width = 50;
_height = 30;
timer = 0;
}
onClipEvent (enterFrame) {
if (active == true) {
timer = timer + 2;
_width = (timer * 4);
_height = (timer * 4);
_x = (_x + 15);
_alpha = (50 - (timer / 4));
if (timer == 150) {
active = false;
_width = 50;
_height = 30;
timer = 0;
_x = 0;
_y = 185;
_alpha = 0;
}
}
}
Instance of Symbol 272 MovieClip "RedWave" in Frame 11
onClipEvent (load) {
active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_alpha = 0;
}
if (active == true) {
_alpha = (_alpha + 10);
if (_alpha >= 100) {
active = false;
}
} else {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 274 MovieClip "BlueWave" in Frame 11
onClipEvent (load) {
active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_alpha = 0;
}
if (active == true) {
_alpha = (_alpha + 10);
if (_alpha >= 100) {
active = false;
}
} else {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 158 MovieClip "Bpad5" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
lives = lives + 1;
_root.Dblue5.Active = true;
life = 100;
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad1" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
lives = lives + 1;
_root.Dred1.Active = true;
life = 100;
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad2" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred2.Active = true;
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad3" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred3.Active = true;
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad4" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred4.Active = true;
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 152 MovieClip "Rpad5" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred5.Active = true;
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
Instance of Symbol 117 MovieClip "RRocket" in Frame 12
onClipEvent (load) {
speed = 7;
ammo = 4;
count = 1;
active = false;
shot = false;
}
onClipEvent (enterFrame) {
if (ammo > 0) {
if ((shot == true) && (_x < 0)) {
_y = _root.Rpad3._y;
_x = (_root.Rpad3._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
_alpha = 100;
active = true;
shot = false;
}
}
_x = (_x - speed);
if (active == true) {
if (this.hitTest(_root.Bpad1) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad1.life = _root.Bpad1.life - 110;
_root.Bpad2.life = _root.Bpad2.life - 51;
count = count + 1;
_alpha = 0;
active = false;
}
if (this.hitTest(_root.Bpad2) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad2.life = _root.Bpad2.life - 110;
_root.Bpad1.life = _root.Bpad1.life - 51;
_root.Bpad3.life = _root.Bpad3.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad3) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad3.life = _root.Bpad3.life - 110;
_root.Bpad2.life = _root.Bpad2.life - 51;
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad4) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad4.life = _root.Bpad4.life - 110;
_root.Bpad3.life = _root.Bpad3.life - 51;
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad5) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad5.life = _root.Bpad5.life - 110;
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad6) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad6.life = _root.Bpad6.life - 110;
_root.Bpad1.life = _root.Bpad1.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
if (this.hitTest(_root.Bpad7) == 1) {
_root.Rexplosion.duplicateMovieClip("Rexplosion" + count, count, _root.Rexplosion);
_root.Bpad7.life = _root.Bpad7.life - 110;
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
count = count + 1;
active = false;
}
}
}
Instance of Symbol 201 MovieClip "Lives" in Frame 12
onClipEvent (load) {
BValue = 0;
RValue = 0;
Blives = 0;
Rlives = 0;
}
onClipEvent (enterFrame) {
BValue = (((((_root.Bpad1.lives + _root.Bpad2.lives) + _root.Bpad3.lives) + _root.Bpad4.lives) + _root.Bpad5.lives) + _root.Bpad6.lives) + _root.Bpad7.lives;
RValue = (((((_root.Rpad1.lives + _root.Rpad2.lives) + _root.Rpad3.lives) + _root.Rpad4.lives) + _root.Rpad5.lives) + _root.Rpad6.lives) + _root.Rpad7.lives;
Blives = 42 - BValue;
Rlives = 42 - RValue;
if (Blives <= 0) {
_root.Bpad1.lives = 1;
_root.Bpad2.lives = 1;
_root.Bpad3.lives = 1;
_root.Bpad4.lives = 1;
_root.Bpad5.lives = 1;
_root.Rpad1.lives = 1;
_root.Rpad2.lives = 1;
_root.Rpad3.lives = 1;
_root.Rpad4.lives = 1;
_root.Rpad5.lives = 1;
_root.Sounds.Gore.stop();
_root.gotoAndPlay(13);
}
if (Rlives <= 0) {
_root.Bpad1.lives = 1;
_root.Bpad2.lives = 1;
_root.Bpad3.lives = 1;
_root.Bpad4.lives = 1;
_root.Bpad5.lives = 1;
_root.Rpad1.lives = 1;
_root.Rpad2.lives = 1;
_root.Rpad3.lives = 1;
_root.Rpad4.lives = 1;
_root.Rpad5.lives = 1;
_root.Sounds.Gore.stop();
_root.gotoAndStop(14);
}
}
Instance of Symbol 223 MovieClip "Ball2" in Frame 12
onClipEvent (load) {
xspeed = 4;
yspeed = 4;
colour = 1;
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
_x = (_x + xspeed);
if (colour == 3) {
gotoAndStop (3);
}
if (colour == 2) {
gotoAndStop (2);
}
if (colour == 1) {
gotoAndStop (1);
}
if (_y > 400) {
_y = 392.5;
yspeed = yspeed - (yspeed * 2);
}
if (_y < 0) {
_y = 7.5;
yspeed = yspeed + (yspeed * -2);
}
if (_x < 0) {
_root.BlueWave.active = true;
xspeed = xspeed + (xspeed * -2);
_root.Bpad1.lives = _root.Bpad1.lives + 1;
_root.Bpad2.lives = _root.Bpad2.lives + 1;
_root.Bpad3.lives = _root.Bpad3.lives + 1;
_root.Bpad4.lives = _root.Bpad4.lives + 1;
_root.Bpad5.lives = _root.Bpad5.lives + 1;
if (_root.Bpad6.active == true) {
_root.Bpad6.lives = _root.Bpad6.lives + 1;
_root.Bpad7.lives = _root.Bpad7.lives + 1;
}
colour = 1;
if (_root.Bpad1.lives < 6) {
_root.Dblue1.Active = true;
}
if (_root.Bpad2.lives < 6) {
_root.Dblue2.Active = true;
}
if (_root.Bpad3.lives < 6) {
_root.Dblue3.Active = true;
}
if (_root.Bpad4.lives < 6) {
_root.Dblue4.Active = true;
}
if (_root.Bpad5.lives < 6) {
_root.Dblue5.Active = true;
}
if (_root.Bpad6.active == true) {
if (_root.Bpad6.lives < 6) {
_root.Dblue6.Active = true;
}
if (_root.Bpad7.lives < 6) {
_root.Dblue7.Active = true;
}
}
}
if (_x > 550) {
_root.RedWave.active = true;
xspeed = xspeed - (xspeed * 2);
_root.Rpad1.lives = _root.Rpad1.lives + 1;
_root.Rpad2.lives = _root.Rpad2.lives + 1;
_root.Rpad3.lives = _root.Rpad3.lives + 1;
_root.Rpad4.lives = _root.Rpad4.lives + 1;
_root.Rpad5.lives = _root.Rpad5.lives + 1;
if (_root.Rpad6.active == true) {
_root.Rpad6.lives = _root.Rpad6.lives + 1;
_root.Rpad7.lives = _root.Rpad7.lives + 1;
}
colour = 1;
if (_root.Rpad1.lives < 6) {
_root.DRed1.Active = true;
}
if (_root.Rpad2.lives < 6) {
_root.Dred2.Active = true;
}
if (_root.Rpad3.lives < 6) {
_root.Dred3.Active = true;
}
if (_root.Rpad4.lives < 6) {
_root.Dred4.Active = true;
}
if (_root.Rpad5.lives < 6) {
_root.Dred5.Active = true;
}
if (_root.Rpad6.active == true) {
if (_root.Rpad6.lives < 6) {
_root.Dred6.Active = true;
}
if (_root.Rpad7.lives < 6) {
_root.Dred7.Active = true;
}
}
}
if (this.hitTest(_root.Bpad3) == 1) {
if (colour == 2) {
_root.Bpad3.lives = _root.Bpad3.lives + 1;
xspeed = 4;
yspeed = yspeed;
colour = 3;
_root.Dblue3.Active = true;
} else {
xspeed = 4;
yspeed = yspeed;
colour = 3;
}
}
if (this.hitTest(_root.Bpad2) == 1) {
if (colour == 2) {
_root.Bpad2.lives = _root.Bpad2.lives + 1;
xspeed = 3.5;
yspeed = -5;
colour = 3;
_root.Dblue2.Active = true;
} else {
xspeed = 3.5;
yspeed = -5;
colour = 3;
}
}
if (this.hitTest(_root.Bpad4) == 1) {
if (colour == 2) {
_root.Bpad4.lives = _root.Bpad4.lives + 1;
xspeed = 3.5;
yspeed = 5;
colour = 3;
_root.Dblue4.Active = true;
} else {
xspeed = 3.5;
yspeed = 5;
colour = 3;
}
}
if (this.hitTest(_root.Bpad1) == 1) {
if (colour == 2) {
_root.Bpad1.lives = _root.Bpad1.lives + 1;
xspeed = 3;
yspeed = -6;
colour = 3;
_root.Dblue1.Active = true;
} else {
xspeed = 3;
yspeed = -6;
colour = 3;
}
}
if (this.hitTest(_root.Bpad5) == 1) {
if (colour == 2) {
_root.Bpad5.lives = _root.Bpad5.lives + 1;
xspeed = 3;
yspeed = 6;
colour = 3;
_root.Dblue5.Active = true;
} else {
xspeed = 3;
yspeed = 6;
colour = 3;
}
}
if (this.hitTest(_root.Bpad6) == 1) {
if (colour == 2) {
_root.Bpad6.lives = _root.Bpad6.lives + 1;
xspeed = 2.5;
yspeed = -7;
colour = 3;
_root.Dblue6.Active = true;
} else {
xspeed = 2.5;
yspeed = -7;
colour = 3;
}
}
if (this.hitTest(_root.Bpad7) == 1) {
if (colour == 2) {
_root.Bpad7.lives = _root.Bpad7.lives + 1;
xspeed = 2.5;
yspeed = 7;
colour = 3;
_root.Dblue7.Active = true;
} else {
xspeed = 2.5;
yspeed = 7;
colour = 3;
}
}
if (this.hitTest(_root.Rpad3) == 1) {
if (colour == 3) {
_root.Rpad3.lives = _root.Rpad3.lives + 1;
xspeed = -4;
yspeed = 4;
colour = 2;
_root.Dred3.Active = true;
} else {
xspeed = -4;
yspeed = 4;
colour = 2;
}
}
if (this.hitTest(_root.Rpad2) == 1) {
if (colour == 3) {
_root.Rpad2.lives = _root.Rpad2.lives + 1;
xspeed = -3.5;
yspeed = -5;
colour = 2;
_root.Dred2.Active = true;
} else {
xspeed = -3.5;
yspeed = -5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad4) == 1) {
if (colour == 3) {
_root.Rpad4.lives = _root.Rpad4.lives + 1;
xspeed = -3.5;
yspeed = 5;
colour = 2;
_root.Dred4.Active = true;
} else {
xspeed = -3.5;
yspeed = 5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad1) == 1) {
if (colour == 3) {
_root.Rpad1.lives = _root.Rpad1.lives + 1;
xspeed = -3;
yspeed = -6;
colour = 2;
_root.Dred1.Active = true;
} else {
xspeed = -3;
yspeed = -6;
colour = 2;
}
}
if (this.hitTest(_root.Rpad5) == 1) {
if (colour == 3) {
_root.Rpad5.lives = _root.Rpad5.lives + 1;
xspeed = -3;
yspeed = 6;
colour = 2;
_root.Dred5.Active = true;
} else {
xspeed = -3;
yspeed = 6;
colour = 2;
}
}
if (this.hitTest(_root.Rpad6) == 1) {
if (colour == 3) {
_root.Rpad6.lives = _root.Rpad6.lives + 1;
xspeed = -2.5;
yspeed = -7;
colour = 2;
_root.Dred6.Active = true;
} else {
xspeed = -2.5;
yspeed = -7;
colour = 2;
}
}
if (this.hitTest(_root.Rpad7) == 1) {
if (colour == 3) {
_root.Rpad7.lives = _root.Rpad7.lives + 1;
xspeed = -2.5;
yspeed = 7;
colour = 2;
_root.Dred7.Active = true;
} else {
xspeed = -2.5;
yspeed = 7;
colour = 2;
}
}
if (this.hitTest(_root.Rpad12) == 1) {
if (colour == 3) {
_root.Rpad12.lives = _root.Rpad12.lives + 1;
xspeed = -xspeed;
yspeed = yspeed;
colour = 2;
} else {
xspeed = -xspeed;
yspeed = yspeed;
colour = 2;
}
}
if (this.hitTest(_root.Rpad22) == 1) {
if (colour == 3) {
_root.Rpad22.lives = _root.Rpad22.lives + 1;
xspeed = -3.5;
yspeed = -5;
colour = 2;
} else {
xspeed = -3.5;
yspeed = -5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad32) == 1) {
if (colour == 3) {
_root.Rpad32.lives = _root.Rpad32.lives + 1;
xspeed = -3.5;
yspeed = 5;
colour = 2;
} else {
xspeed = -3.5;
yspeed = 5;
colour = 2;
}
}
if (this.hitTest(_root.Rpad42) == 1) {
if (colour == 3) {
_root.Rpad42.lives = _root.Rpad42.lives + 1;
xspeed = -3;
yspeed = -6;
colour = 2;
} else {
xspeed = -3;
yspeed = -6;
colour = 2;
}
}
if (this.hitTest(_root.Rpad52) == 1) {
if (colour == 3) {
_root.Rpad52.lives = _root.Rpad52.lives + 1;
xspeed = -3;
yspeed = 6;
colour = 2;
} else {
xspeed = -3;
yspeed = 6;
colour = 2;
}
}
}
Instance of Symbol 113 MovieClip "RBullet" in Frame 12
onClipEvent (load) {
speed = 20;
ammo = 20;
active = false;
shot = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (active == false) {
if (ammo > 0) {
if (((shot == true) && (_x < 0)) && (_alpha <= 0)) {
_y = _root.Rpad3._y;
_x = (_root.Rpad3._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
_alpha = 100;
shot = false;
}
}
if (_x < 0) {
_alpha = 0;
}
_x = (_x - speed);
if (_alpha >= 90) {
if (this.hitTest(_root.Bpad1) == 1) {
_root.Bpad1.life = _root.Bpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad2) == 1) {
_root.Bpad2.life = _root.Bpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad3) == 1) {
_root.Bpad3.life = _root.Bpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad4) == 1) {
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad5) == 1) {
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad6) == 1) {
_root.Bpad6.life = _root.Bpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad7) == 1) {
_root.Bpad7.life = _root.Bpad7.life - 51;
_alpha = 0;
}
}
} else if (active == true) {
if (ammo > 0) {
if (((shot == true) && (_x < 0)) && (_alpha <= 0)) {
_y = _root.Rpad4._y;
_x = (_root.Rpad4._x + 4);
gotoAndPlay (2);
ammo = ammo - 1;
_alpha = 100;
shot = false;
}
}
_x = (_x - speed);
if (_x < 0) {
_alpha = 0;
}
if (_alpha >= 90) {
if (this.hitTest(_root.Bpad1) == 1) {
_root.Bpad1.life = _root.Bpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad2) == 1) {
_root.Bpad2.life = _root.Bpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad3) == 1) {
_root.Bpad3.life = _root.Bpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad4) == 1) {
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad5) == 1) {
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad6) == 1) {
_root.Bpad6.life = _root.Bpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad7) == 1) {
_root.Bpad7.life = _root.Bpad7.life - 51;
_alpha = 0;
}
}
}
}
Instance of Symbol 119 MovieClip "RGrenade" in Frame 12
onClipEvent (load) {
speed = 1;
ammo = 2;
count = 1;
active = false;
thrown = false;
woob = false;
count = 1;
timer = 0;
shot = false;
}
onClipEvent (enterFrame) {
if (ammo > 0) {
if (((shot == true) && (thrown == false)) && (active == false)) {
ammo = ammo - 1;
_alpha = 100;
thrown = true;
woob = true;
shot = false;
}
}
if (woob == true) {
_x = _root.Rpad3._x;
_y = _root.Rpad3._y;
woob = false;
}
if (thrown == true) {
_x = (_x - speed);
if (_x > 301.5) {
speed = speed + 0.2;
_rotation = (_rotation + 10);
_height = (_height + 0.3);
_width = (_width + 0.3);
}
if ((_x < 301.5) && (_x > 120)) {
speed = speed - 0.2;
_rotation = (_rotation + 10);
_height = (_height - 0.3);
_width = (_width - 0.3);
}
if (_x < 120) {
thrown = false;
active = true;
}
}
if (active == true) {
_root.RSmoke.duplicateMovieClip("RSmoke" + count, count, _root.RSmoke);
count = count + 1;
timer = timer + 1;
}
if (timer == 200) {
active = false;
timer = 0;
_x = 999;
}
}
Instance of Symbol 242 MovieClip "RSmoke" in Frame 12
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_rotation = 0;
_x = _root.RGrenade._x;
_y = (_root.RGrenade._y - 2);
spin = Math.round((Math.random() * 16) - 8);
gotoAndStop(Math.round((Math.random() * 4) + 1));
_alpha = 100;
xspeed = (Math.random() * 6) - 3;
yspeed = (Math.random() * 6) - 3;
active = true;
}
onClipEvent (enterFrame) {
if (active) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + spin);
if (_height > 50) {
_alpha = (_alpha - 4);
}
if (_alpha < 0) {
this.removeMovieClip();
active = false;
}
}
}
Instance of Symbol 248 MovieClip "BSmoke" in Frame 12
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_rotation = 0;
_x = _root.BGrenade._x;
_y = (_root.BGrenade._y - 2);
spin = Math.round((Math.random() * 16) - 8);
gotoAndStop(Math.round((Math.random() * 4) + 1));
_alpha = 100;
xspeed = (Math.random() * 6) - 3;
yspeed = (Math.random() * 6) - 3;
active = true;
}
onClipEvent (enterFrame) {
if (active) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + spin);
if (_height > 50) {
_alpha = (_alpha - 4);
}
if (_alpha < 0) {
this.removeMovieClip();
active = false;
}
}
}
Instance of Symbol 113 MovieClip "RBullet2" in Frame 12
onClipEvent (load) {
speed = 20;
active = false;
shot = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (active == true) {
if (_root.RBullet.ammo > 0) {
if (((shot == true) && (_x < 0)) && (_alpha <= 0)) {
_y = _root.Rpad2._y;
_x = (_root.Rpad2._x + 4);
gotoAndPlay (2);
_root.RBullet.ammo = _root.RBullet.ammo - 1;
_alpha = 100;
shot = false;
}
}
if (_x < 0) {
_alpha = 0;
}
_x = (_x - speed);
if (_alpha >= 90) {
if (this.hitTest(_root.Bpad1) == 1) {
_root.Bpad1.life = _root.Bpad1.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad2) == 1) {
_root.Bpad2.life = _root.Bpad2.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad3) == 1) {
_root.Bpad3.life = _root.Bpad3.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad4) == 1) {
_root.Bpad4.life = _root.Bpad4.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad5) == 1) {
_root.Bpad5.life = _root.Bpad5.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad6) == 1) {
_root.Bpad6.life = _root.Bpad6.life - 51;
_alpha = 0;
}
if (this.hitTest(_root.Bpad7) == 1) {
_root.Bpad7.life = _root.Bpad7.life - 51;
_alpha = 0;
}
}
}
}
Instance of Symbol 201 MovieClip "Sounds" in Frame 12
onClipEvent (load) {
Gore = new Sound();
Gore.attachSound("Gore");
begin = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
Gore.start();
begin = false;
}
}
Instance of Symbol 230 MovieClip "Dred6" in Frame 12
onClipEvent (load) {
Active = false;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad6._y;
_x = _root.Rpad6._x;
gotoAndPlay (1);
timer = 20;
Active = false;
}
}
Instance of Symbol 230 MovieClip "Dred7" in Frame 12
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Rpad7._y;
_x = _root.Rpad7._x;
gotoAndPlay (1);
_alpha = 100;
timer = 20;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue7" in Frame 12
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad7._y;
_x = _root.Bpad7._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 236 MovieClip "Dblue6" in Frame 12
onClipEvent (load) {
Active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (Active == true) {
_y = _root.Bpad6._y;
_x = _root.Bpad6._x;
gotoAndPlay (1);
_alpha = 100;
Active = false;
}
}
Instance of Symbol 152 MovieClip "Rpad6" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 6;
active = false;
pos = false;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred6.Active = true;
}
if (active == true) {
if (pos == false) {
life = 100;
lives = 1;
if ((_root.Rpad1._y - 20) > _y) {
_y = (_y + 4);
}
if ((_root.Rpad1._y - 20) < _y) {
_y = (_y - 4);
}
if ((_y < (_root.Rpad1._y - 10)) && (_y > (_root.Rpad1._y - 25))) {
_y = (_root.Rpad1._y - 20);
pos = true;
}
if (_x > 493.4) {
_x = (_x - 5);
}
} else {
if (_x > 493.4) {
_x = (_x - 5);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
}
}
Instance of Symbol 152 MovieClip "Rpad7" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 6;
active = false;
pos = false;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dred7.Active = true;
}
if (active == true) {
if (pos == false) {
lives = 1;
life = 100;
if ((_root.Rpad5._y + 20) > _y) {
_y = (_y + 4);
}
if ((_root.Rpad5._y + 20) < _y) {
_y = (_y - 4);
}
if ((_y > (_root.Rpad5._y + 15)) && (_y < (_root.Rpad5._y + 25))) {
_y = (_root.Rpad5._y + 20);
pos = true;
}
if (_x > 493.4) {
_x = (_x - 5);
}
} else {
if (_x > 493.4) {
_x = (_x - 5);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
}
}
Instance of Symbol 158 MovieClip "Bpad7" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 6;
active = false;
pos = false;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue7.Active = true;
}
if (active == true) {
if (pos == false) {
life = 100;
lives = 1;
if ((_root.Bpad5._y + 20) > _y) {
_y = (_y + 4);
}
if ((_root.Bpad5._y + 20) < _y) {
_y = (_y - 4);
}
if ((_y > (_root.Bpad5._y + 15)) && (_y < (_root.Bpad5._y + 25))) {
_y = (_root.Bpad5._y + 20);
pos = true;
}
if (_x < 51.5) {
_x = (_x + 5);
}
} else {
if (_x < 51.5) {
_x = (_x + 5);
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
}
}
Instance of Symbol 158 MovieClip "Bpad6" in Frame 12
onClipEvent (load) {
speed = 4;
lives = 6;
active = false;
pos = false;
life = 100;
}
onClipEvent (enterFrame) {
if (life <= 0) {
life = 100;
lives = lives + 1;
_root.Dblue6.Active = true;
}
if (active == true) {
if (pos == false) {
life = 100;
lives = 1;
if ((_root.Bpad1._y - 20) > _y) {
_y = (_y + 4);
}
if ((_root.Bpad1._y - 20) < _y) {
_y = (_y - 4);
}
if ((_y < (_root.Bpad1._y - 12)) && (_y > (_root.Bpad1._y - 21))) {
_y = (_root.Bpad1._y - 20);
pos = true;
}
if (_x < 51.5) {
_x = (_x + 5);
}
} else {
if (_x < 51.5) {
_x = (_x + 5);
}
if (Key.isDown(87) && (!Key.isDown(83))) {
_y = (_y - speed);
}
if (Key.isDown(83) && (!Key.isDown(87))) {
_y = (_y + speed);
}
if (lives > 6) {
lives = 6;
}
if (lives < 1) {
lives = 1;
}
if (lives == 1) {
gotoAndStop (1);
}
if (lives == 2) {
gotoAndStop (2);
}
if (lives == 3) {
gotoAndStop (3);
}
if (lives == 4) {
gotoAndStop (4);
}
if (lives == 5) {
gotoAndStop (5);
}
if (lives == 6) {
gotoAndStop (6);
}
}
}
}
Instance of Symbol 257 MovieClip "Bexplosion" in Frame 12
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_rotation = 0;
_x = _root.BRocket._x;
_y = (_root.BRocket._y - 2);
spin = Math.round((Math.random() * 16) - 8);
gotoAndStop(Math.round((Math.random() * 4) + 1));
_alpha = 100;
active = true;
}
onClipEvent (enterFrame) {
if (active) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + 0.5);
_x = (_x + 0.25);
_rotation = (_rotation + spin);
if (_height > 50) {
_alpha = (_alpha - 10);
}
if (_alpha < 0) {
this.removeMovieClip();
active = false;
}
}
}
Instance of Symbol 257 MovieClip "Rexplosion" in Frame 12
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_rotation = 0;
_x = (_root.RRocket._x - 5);
_y = _root.RRocket._y;
spin = Math.round((Math.random() * 16) - 8);
gotoAndStop(random(4) + 1);
_alpha = 100;
active = true;
}
onClipEvent (enterFrame) {
if (active) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + 0.5);
_x = (_x + 0.25);
_rotation = (_rotation + spin);
if (_height > 50) {
_alpha = (_alpha - 10);
}
if (_alpha < 0) {
this.removeMovieClip();
active = false;
}
}
}
Instance of Symbol 201 MovieClip "AI" in Frame 12
onClipEvent (load) {
speed = 4;
timer = 200;
timer2 = 350;
}
onClipEvent (enterFrame) {
timer = timer - 1;
timer2 = timer2 - 1;
if (_root.Ball2._x > _root.Ball._x) {
if (_root.Ball2._y < _root.Rpad3._y) {
_root.Rpad1._y = _root.Rpad1._y - speed;
_root.Rpad2._y = _root.Rpad2._y - speed;
_root.Rpad3._y = _root.Rpad3._y - speed;
_root.Rpad4._y = _root.Rpad4._y - speed;
_root.Rpad5._y = _root.Rpad5._y - speed;
if (_root.Rpad6.active) {
_root.Rpad6._y = _root.Rpad6._y - speed;
_root.Rpad7._y = _root.Rpad7._y - speed;
}
}
if (_root.Ball2._y > _root.Rpad3._y) {
_root.Rpad1._y = _root.Rpad1._y + speed;
_root.Rpad2._y = _root.Rpad2._y + speed;
_root.Rpad3._y = _root.Rpad3._y + speed;
_root.Rpad4._y = _root.Rpad4._y + speed;
_root.Rpad5._y = _root.Rpad5._y + speed;
if (_root.Rpad6.active) {
_root.Rpad6._y = _root.Rpad6._y + speed;
_root.Rpad7._y = _root.Rpad7._y + speed;
}
}
}
if (_root.Ball._x > _root.Ball2._x) {
if (_root.Ball._y < _root.Rpad3._y) {
_root.Rpad1._y = _root.Rpad1._y - speed;
_root.Rpad2._y = _root.Rpad2._y - speed;
_root.Rpad3._y = _root.Rpad3._y - speed;
_root.Rpad4._y = _root.Rpad4._y - speed;
_root.Rpad5._y = _root.Rpad5._y - speed;
if (_root.Rpad6.active) {
_root.Rpad6._y = _root.Rpad6._y - speed;
_root.Rpad7._y = _root.Rpad7._y - speed;
}
}
if (_root.Ball._y > _root.Rpad3._y) {
_root.Rpad1._y = _root.Rpad1._y + speed;
_root.Rpad2._y = _root.Rpad2._y + speed;
_root.Rpad3._y = _root.Rpad3._y + speed;
_root.Rpad4._y = _root.Rpad4._y + speed;
_root.Rpad5._y = _root.Rpad5._y + speed;
if (_root.Rpad6.active) {
_root.Rpad6._y = _root.Rpad6._y + speed;
_root.Rpad7._y = _root.Rpad7._y + speed;
}
}
}
if (((_root.Bpad5._y > _root.Rpad3._y) && (_root.Rpad3._y > _root.Bpad1._y)) && (timer <= 0)) {
_root.RBullet.shot = true;
_root.RBullet2.shot = true;
} else {
_root.RBullet.shot = false;
_root.RBullet2.shot = false;
}
if (((_root.Bpad4._y > _root.Rpad3._y) && (_root.Rpad3._y > _root.Bpad2._y)) && (timer2 <= 0)) {
_root.RRocket.shot = true;
} else {
_root.RRocket.shot = false;
}
if ((((_root.Ball2.xspeed < 0) && ((_root.Ball2._y + 50) > _root.Rpad3._y)) && ((_root.Ball2._y - 50) < _root.Rpad3._y)) && (timer <= 0)) {
_root.RGrenade.shot = true;
} else {
_root.RGrenade.shot = false;
}
}
Instance of Symbol 201 MovieClip "Crates" in Frame 12
onClipEvent (load) {
number = 11;
timer = 300;
balls = false;
Rsupply = 0;
Bsupply = 0;
}
onClipEvent (enterFrame) {
timer = timer - 1;
if (timer == 0) {
timer = 300;
number = random(8);
}
if ((number == 7) && (balls == true)) {
number = random(7);
}
if (number == 4) {
balls = true;
}
Rsupply = Rsupply - 1;
Bsupply = Bsupply - 1;
if (Rsupply < 0) {
Rsupply = 0;
}
if (Bsupply < 0) {
Bsupply = 0;
}
_root.AI.speed = (Rsupply * 0.01) + 4;
_root.Bpad1.speed = (Bsupply * 0.01) + 4;
_root.Bpad2.speed = (Bsupply * 0.01) + 4;
_root.Bpad3.speed = (Bsupply * 0.01) + 4;
_root.Bpad4.speed = (Bsupply * 0.01) + 4;
_root.Bpad5.speed = (Bsupply * 0.01) + 4;
_root.Bpad6.speed = (Bsupply * 0.01) + 4;
_root.Bpad7.speed = (Bsupply * 0.01) + 4;
}
Instance of Symbol 170 MovieClip in Frame 12
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 3) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
_x = 900;
active = false;
_root.RedArrow.active = true;
if (_root.RBullet2.active == true) {
_root.RBullet.ammo = _root.RBullet.ammo + 60;
} else {
_root.RBullet.ammo = _root.RBullet.ammo + 30;
}
}
if (_root.Ball.colour == 3) {
_root.BBullet.ammo = _root.BBullet.ammo + 30;
_x = 900;
active = false;
_root.BlueArrow.active = true;
if (_root.BBullet2.active == true) {
_root.BBullet.ammo = _root.BBullet.ammo + 60;
} else {
_root.BBullet.ammo = _root.BBullet.ammo + 30;
}
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
_x = 900;
active = false;
_root.RedArrow.active = true;
if (_root.RBullet2.active == true) {
_root.RBullet.ammo = _root.RBullet.ammo + 60;
} else {
_root.RBullet.ammo = _root.RBullet.ammo + 30;
}
}
if (_root.Ball2.colour == 3) {
_root.BBullet.ammo = _root.BBullet.ammo + 30;
_x = 900;
active = false;
_root.BlueArrow.active = true;
if (_root.BBullet2.active == true) {
_root.BBullet.ammo = _root.BBullet.ammo + 60;
} else {
_root.BBullet.ammo = _root.BBullet.ammo + 30;
}
}
}
}
}
Instance of Symbol 180 MovieClip in Frame 12
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 0) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
active = false;
_x = 900;
_root.Crates.Rsupply = 500;
_root.RedArrow.active = true;
}
if (_root.Ball.colour == 3) {
active = false;
_x = 900;
_root.Crates.Bsupply = 500;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
active = false;
_x = 900;
_root.Crates.Rsupply = 500;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
active = false;
_x = 900;
_root.Crates.Bsupply = 500;
_root.BlueArrow.active = true;
}
}
}
}
Instance of Symbol 268 MovieClip "BlueArrow" in Frame 12
onClipEvent (load) {
active = false;
_alpha = 0;
_x = 500;
_y = 185;
_width = 50;
_height = 30;
timer = 0;
}
onClipEvent (enterFrame) {
if (active == true) {
timer = timer + 2;
_width = (timer * 4);
_height = (timer * 4);
_x = (_x - 15);
_alpha = (50 - (timer / 4));
if (timer == 150) {
active = false;
_width = 50;
_height = 30;
timer = 0;
_x = 500;
_y = 185;
_alpha = 0;
}
}
}
Instance of Symbol 270 MovieClip "RedArrow" in Frame 12
onClipEvent (load) {
active = false;
_alpha = 0;
_x = 0;
_y = 185;
_width = 50;
_height = 30;
timer = 0;
}
onClipEvent (enterFrame) {
if (active == true) {
timer = timer + 2;
_width = (timer * 4);
_height = (timer * 4);
_x = (_x + 15);
_alpha = (50 - (timer / 4));
if (timer == 150) {
active = false;
_width = 50;
_height = 30;
timer = 0;
_x = 0;
_y = 185;
_alpha = 0;
}
}
}
Instance of Symbol 272 MovieClip "RedWave" in Frame 12
onClipEvent (load) {
active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_alpha = 0;
}
if (active == true) {
_alpha = (_alpha + 10);
if (_alpha >= 100) {
active = false;
}
} else {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 274 MovieClip "BlueWave" in Frame 12
onClipEvent (load) {
active = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_alpha = 0;
}
if (active == true) {
_alpha = (_alpha + 10);
if (_alpha >= 100) {
active = false;
}
} else {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 177 MovieClip in Frame 12
onClipEvent (load) {
timer = 300;
pickup = 65;
active = false;
}
onClipEvent (enterFrame) {
timer = timer - 1;
pickup = pickup - 1;
if (timer <= 0) {
if ((_root.Crates.number == 4) && (active == false)) {
_x = ((Math.random() * 300) + 130);
_y = ((Math.random() * 300) + 50);
gotoAndPlay (1);
timer = 300;
pickup = 65;
active = true;
}
}
if (this.hitTest(_root.Ball) == 1) {
if (pickup <= 0) {
if (_root.Ball.colour == 2) {
if (_root.RBullet.active == false) {
_root.RBullet.ammo = _root.RBullet.ammo * 2;
} else {
_root.RBullet.ammo = _root.RBullet.ammo + 20;
}
_x = 900;
_root.RBullet.active = true;
_root.RBullet2.active = true;
_root.RedArrow.active = true;
active = false;
}
if (_root.Ball.colour == 3) {
if (_root.BBullet.active == false) {
_root.BBullet.ammo = _root.BBullet.ammo * 2;
} else {
_root.BBullet.ammo = _root.BBullet.ammo + 20;
}
active = false;
_x = 900;
_root.BBullet.active = true;
_root.BBullet2.active = true;
_root.BlueArrow.active = true;
}
}
}
if (this.hitTest(_root.Ball2) == 1) {
if (pickup <= 0) {
if (_root.Ball2.colour == 2) {
if (_root.RBullet.active == false) {
_root.RBullet.ammo = _root.RBullet.ammo * 2;
} else {
_root.RBullet.ammo = _root.RBullet.ammo + 20;
}
active = false;
_x = 900;
_root.RBullet.active = true;
_root.RBullet2.active = true;
_root.RedArrow.active = true;
}
if (_root.Ball2.colour == 3) {
if (_root.BBullet.active == false) {
_root.BBullet.ammo = _root.BBullet.ammo * 2;
} else {
_root.BBullet.ammo = _root.BBullet.ammo + 20;
}
active = false;
_x = 900;
_root.BBullet.active = true;
_root.BBullet2.active = true;
_root.BlueArrow.active = true;
}
}
}
}
Frame 13
stop();
Instance of Symbol 113 MovieClip in Frame 13
onClipEvent (load) {
timer = 0;
_x = 441.6;
_y = 284.9;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer == 18) {
_x = 417.6;
_y = 266.9;
_root.sounds.rifle.start();
timer = 0;
}
_x = (_x + 14.32);
_y = (_y + 8.7);
if (_x > 525) {
_x = 999;
}
}
Instance of Symbol 201 MovieClip "sounds" in Frame 13
onClipEvent (load) {
timer = 1;
rifle = new Sound();
rifle.attachSound("rifle");
fight = new Sound();
fight.attachSound("fight");
}
onClipEvent (enterFrame) {
timer = timer - 1;
if (timer == 0) {
fight.start();
timer = 47;
}
}
Frame 14
stop();
Instance of Symbol 319 MovieClip in Frame 14
onClipEvent (load) {
something = true;
}
onClipEvent (enterFrame) {
if (something == true) {
gotoAndPlay (18);
something = false;
}
}
Instance of Symbol 201 MovieClip "sounds" in Frame 14
onClipEvent (load) {
timer = 1;
cheer = new Sound();
cheer.attachSound("cheer");
}
onClipEvent (enterFrame) {
timer = timer - 1;
if (timer == 0) {
cheer.start();
timer = 110;
}
}
Frame 15
stop();
Instance of Symbol 201 MovieClip "Crates" in Frame 15
onClipEvent (load) {
timer = 165;
countdown = new Sound();
countdown.attachSound("countdown");
begin = true;
}
onClipEvent (enterFrame) {
timer = timer - 1;
if (timer == 0) {
_root.gotoAndStop(12);
}
if (begin == true) {
countdown.start();
begin = false;
}
}
Symbol 11 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 14 MovieClip Frame 60
stop();
Symbol 28 MovieClip Frame 14
stop();
Symbol 29 MovieClip [thing] Frame 240
this.removeMovieClip();
Symbol 41 MovieClip Frame 2
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
_root.play();
}
Symbol 41 MovieClip Frame 3
gotoAndPlay (2);
Symbol 55 MovieClip Frame 1
_root.stop();
Symbol 55 MovieClip Frame 80
_root.play();
Symbol 62 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 66 Button
on (release) {
_root.gotoAndStop(15);
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 71 Button
on (release) {
_root.gotoAndStop(8);
}
Symbol 77 Button
on (release) {
_root.gotoAndStop(10);
}
Symbol 102 Button
on (release) {
gotoAndStop (4);
}
Symbol 105 Button
on (release) {
gotoAndStop (6);
}
Symbol 113 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 127 Button
on (release) {
gotoAndStop (4);
}
Symbol 146 MovieClip Frame 65
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 3
stop();
Symbol 152 MovieClip Frame 4
stop();
Symbol 152 MovieClip Frame 5
stop();
Symbol 152 MovieClip Frame 6
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 158 MovieClip Frame 3
stop();
Symbol 158 MovieClip Frame 4
stop();
Symbol 158 MovieClip Frame 5
stop();
Symbol 158 MovieClip Frame 6
stop();
Symbol 160 MovieClip Frame 65
stop();
Symbol 161 Button
on (release) {
gotoAndStop (5);
}
Symbol 164 MovieClip Frame 65
stop();
Symbol 166 MovieClip Frame 65
stop();
Symbol 168 MovieClip Frame 65
stop();
Symbol 170 MovieClip Frame 65
stop();
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 40
onClipEvent (load) {
stop();
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 40
onClipEvent (load) {
stop();
}
Symbol 177 MovieClip Frame 65
stop();
Symbol 180 MovieClip Frame 65
stop();
Symbol 190 Button
on (release) {
getURL ("http://lashmush.newgrounds.com/", "_blank");
}
Symbol 193 Button
on (release) {
getURL ("http://www.threemenwise.com/", "_blank");
}
Symbol 201 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 20
stop();
Symbol 236 MovieClip Frame 20
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 300 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 348 Button
on (release) {
gotoAndStop (4);
}