Frame 1
stop();
death = false;
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_music1", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.music1 = new Sound(this._parent.BS_music1);
} else {
this.createEmptyMovieClip("_music1_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.music1 = new Sound(this.BS_music1);
}
_global.Behaviors.Sound.music1.attachSound("music");
_global.Behaviors.Sound.music1.start(0, 1);
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 10
level1code._alpha = 100;
level1 = 0;
level2 = 0;
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3fall = random(20);
enemy3counter = 0;
enemy3counter1 = 0;
enemy4fall = random(20);
enemy4counter = 0;
enemy4counter1 = 0;
enemy5fall = random(20);
enemy5counter = 0;
enemy5counter1 = 0;
points.text = 0;
Frame 11
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
if ((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.testHit))) || (u.hitTest(enemy4.testHit))) || (u.hitTest(enemy5.testHit))) {
if (u._alpha == 100) {
stop();
u.gotoAndPlay(2);
}
}
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 11;
} else {
u._alpha = 100;
}
};
if (points.text == 500) {
level1 = 1;
enemy1._y = -819.9;
enemy2._y = -819.9;
enemy3._y = -819.9;
enemy4._y = -819.9;
enemy5._y = -819.9;
}
if (level1 == 0) {
points.text = Number(points.text) + 1;
if (level1code._alpha >= 1) {
level1code._alpha = level1code._alpha - 1;
} else {
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(11);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(11);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
if (enemy3fall != 1) {
enemy3counter1 = enemy3counter1 + 1;
}
if (enemy3counter1 == 3) {
enemy3counter1 = 0;
enemy3fall = random(11);
}
if (enemy3fall == 1) {
enemy3counter = enemy3counter + 1;
}
if ((enemy3counter < 6) && (enemy3counter > 0)) {
enemy3._rotation = enemy3._rotation + 1;
}
if ((enemy3counter < 16) && (enemy3counter > 5)) {
enemy3._rotation = enemy3._rotation - 1;
}
if ((enemy3counter < 21) && (enemy3counter > 15)) {
enemy3._rotation = enemy3._rotation + 1;
}
if ((enemy3counter < 61) && (enemy3counter > 20)) {
enemy3._y = enemy3._y + 10;
}
if ((enemy3counter < 81) && (enemy3counter > 60)) {
enemy3._y = enemy3._y - 20;
}
if (enemy3counter == 81) {
enemy3counter = 0;
enemy3fall = 0;
enemy3counter1 == -30;
}
if (enemy4fall != 1) {
enemy4counter1 = enemy4counter1 + 1;
}
if (enemy4counter1 == 3) {
enemy4counter1 = 0;
enemy4fall = random(11);
}
if (enemy4fall == 1) {
enemy4counter = enemy4counter + 1;
}
if ((enemy4counter < 6) && (enemy4counter > 0)) {
enemy4._rotation = enemy4._rotation + 1;
}
if ((enemy4counter < 16) && (enemy4counter > 5)) {
enemy4._rotation = enemy4._rotation - 1;
}
if ((enemy4counter < 21) && (enemy4counter > 15)) {
enemy4._rotation = enemy4._rotation + 1;
}
if ((enemy4counter < 61) && (enemy4counter > 20)) {
enemy4._y = enemy4._y + 10;
}
if ((enemy4counter < 81) && (enemy4counter > 60)) {
enemy4._y = enemy4._y - 20;
}
if (enemy4counter == 81) {
enemy4counter = 0;
enemy4fall = 0;
enemy4counter1 == -30;
}
if (enemy5fall != 1) {
enemy5counter1 = enemy5counter1 + 1;
}
if (enemy5counter1 == 3) {
enemy5counter1 = 0;
enemy5fall = random(11);
}
if (enemy5fall == 1) {
enemy5counter = enemy5counter + 1;
}
if ((enemy5counter < 6) && (enemy5counter > 0)) {
enemy5._rotation = enemy5._rotation + 1;
}
if ((enemy5counter < 16) && (enemy5counter > 5)) {
enemy5._rotation = enemy5._rotation - 1;
}
if ((enemy5counter < 21) && (enemy5counter > 15)) {
enemy5._rotation = enemy5._rotation + 1;
}
if ((enemy5counter < 61) && (enemy5counter > 20)) {
enemy5._y = enemy5._y + 10;
}
if ((enemy5counter < 81) && (enemy5counter > 60)) {
enemy5._y = enemy5._y - 20;
}
if (enemy5counter == 81) {
enemy5counter = 0;
enemy5fall = 0;
enemy5counter1 == -30;
}
}
}
if (level1 == 1) {
level2 = 1;
}
if (level2 == 1) {
gotoAndPlay (16);
}
var pointer = points.text;
Frame 12
gotoAndPlay (11);
Frame 15
score.text = pointer;
Frame 16
points.text = pointer;
Frame 17
code2._alpha = 100;
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3fall = random(20);
enemy3counter = 0;
enemy3counter1 = 0;
enemy4fall = random(20);
enemy4counter = 0;
enemy4counter1 = 0;
enemy5fall = random(20);
enemy5counter = 0;
enemy5counter1 = 0;
Frame 18
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
pointer = points.text;
if (((((((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.testHit))) || (u.hitTest(enemy4.testHit))) || (u.hitTest(enemy5.testHit))) || (u.hitTest(enemy6.testHit))) || (u.hitTest(enemy7.testHit))) || (u.hitTest(enemy8.testHit))) || (u.hitTest(enemy9.testHit))) || (u.hitTest(enemy10.testHit))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (code2._alpha >= 1) {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 6;
if (u.hitTest(enemy11.testHit)) {
death = true;
}
} else {
u._alpha = 100;
}
};
}
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
points.text = Number(points.text) + 1;
if (code2._alpha >= 1) {
code2._alpha = code2._alpha - 1;
} else {
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(11);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
enemy6._rotation = enemy6._rotation - 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
enemy6._rotation = enemy6._rotation + 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
enemy6._rotation = enemy6._rotation - 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
enemy6._y = enemy6._y - 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
enemy6._y = enemy6._y + 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(11);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
enemy7._rotation = enemy7._rotation - 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
enemy7._rotation = enemy7._rotation + 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
enemy7._rotation = enemy7._rotation - 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
enemy7._y = enemy7._y - 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
enemy7._y = enemy7._y + 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
if (enemy3fall != 1) {
enemy3counter1 = enemy3counter1 + 1;
}
if (enemy3counter1 == 3) {
enemy3counter1 = 0;
enemy3fall = random(11);
}
if (enemy3fall == 1) {
enemy3counter = enemy3counter + 1;
}
if ((enemy3counter < 6) && (enemy3counter > 0)) {
enemy3._rotation = enemy3._rotation + 1;
enemy8._rotation = enemy8._rotation - 1;
}
if ((enemy3counter < 16) && (enemy3counter > 5)) {
enemy3._rotation = enemy3._rotation - 1;
enemy8._rotation = enemy8._rotation + 1;
}
if ((enemy3counter < 21) && (enemy3counter > 15)) {
enemy3._rotation = enemy3._rotation + 1;
enemy8._rotation = enemy8._rotation - 1;
}
if ((enemy3counter < 61) && (enemy3counter > 20)) {
enemy3._y = enemy3._y + 10;
enemy8._y = enemy8._y - 10;
}
if ((enemy3counter < 81) && (enemy3counter > 60)) {
enemy3._y = enemy3._y - 20;
enemy8._y = enemy8._y + 20;
}
if (enemy3counter == 81) {
enemy3counter = 0;
enemy3fall = 0;
enemy3counter1 == -30;
}
if (enemy4fall != 1) {
enemy4counter1 = enemy4counter1 + 1;
}
if (enemy4counter1 == 3) {
enemy4counter1 = 0;
enemy4fall = random(11);
}
if (enemy4fall == 1) {
enemy4counter = enemy4counter + 1;
}
if ((enemy4counter < 6) && (enemy4counter > 0)) {
enemy4._rotation = enemy4._rotation + 1;
enemy9._rotation = enemy9._rotation - 1;
}
if ((enemy4counter < 16) && (enemy4counter > 5)) {
enemy4._rotation = enemy4._rotation - 1;
enemy9._rotation = enemy9._rotation + 1;
}
if ((enemy4counter < 21) && (enemy4counter > 15)) {
enemy4._rotation = enemy4._rotation + 1;
enemy9._rotation = enemy9._rotation - 1;
}
if ((enemy4counter < 61) && (enemy4counter > 20)) {
enemy4._y = enemy4._y + 10;
enemy9._y = enemy9._y - 10;
}
if ((enemy4counter < 81) && (enemy4counter > 60)) {
enemy4._y = enemy4._y - 20;
enemy9._y = enemy9._y + 20;
}
if (enemy4counter == 81) {
enemy4counter = 0;
enemy4fall = 0;
enemy4counter1 == -30;
}
if (enemy5fall != 1) {
enemy5counter1 = enemy5counter1 + 1;
}
if (enemy5counter1 == 3) {
enemy5counter1 = 0;
enemy5fall = random(11);
}
if (enemy5fall == 1) {
enemy5counter = enemy5counter + 1;
}
if ((enemy5counter < 6) && (enemy5counter > 0)) {
enemy5._rotation = enemy5._rotation + 1;
enemy10._rotation = enemy10._rotation - 1;
}
if ((enemy5counter < 16) && (enemy5counter > 5)) {
enemy5._rotation = enemy5._rotation - 1;
enemy10._rotation = enemy10._rotation + 1;
}
if ((enemy5counter < 21) && (enemy5counter > 15)) {
enemy5._rotation = enemy5._rotation + 1;
enemy10._rotation = enemy10._rotation - 1;
}
if ((enemy5counter < 61) && (enemy5counter > 20)) {
enemy5._y = enemy5._y + 10;
enemy10._y = enemy10._y - 10;
}
if ((enemy5counter < 81) && (enemy5counter > 60)) {
enemy5._y = enemy5._y - 20;
enemy10._y = enemy10._y + 20;
}
if (enemy5counter == 81) {
enemy5counter = 0;
enemy5fall = 0;
enemy5counter1 == -30;
}
}
if (points.text == 1250) {
gotoAndPlay (20);
}
Frame 19
gotoAndPlay (18);
Frame 20
pointer = 1250;
points.text = pointer;
Frame 21
code3._alpha = 100;
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3fall = random(20);
enemy3counter = 0;
enemy3counter1 = 0;
enemy4fall = random(20);
enemy4counter = 0;
enemy4counter1 = 0;
enemy5fall = random(20);
enemy5counter = 0;
enemy5counter1 = 0;
Frame 22
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
pointer = points.text;
points.text = Number(points.text) + 1;
if (((((((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.testHit))) || (u.hitTest(enemy4.testHit))) || (u.hitTest(enemy5.testHit))) || (u.hitTest(enemy6.testHit))) || (u.hitTest(enemy7.testHit))) || (u.hitTest(enemy8.testHit))) || (u.hitTest(enemy9.testHit))) || (u.hitTest(enemy10.testHit))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (code3._alpha >= 1) {
code3._alpha = code3._alpha - 1;
} else {
if (points.text == 2000) {
gotoAndPlay (24);
}
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 5;
if (u.hitTest(enemy11) || (u.hitTest(enemy12))) {
death = true;
}
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if (level2code._alpha > -1) {
level2code._alpha = level2code._alpha - 1;
}
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(31);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
enemy6._rotation = enemy6._rotation - 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
enemy6._rotation = enemy6._rotation + 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
enemy6._rotation = enemy6._rotation - 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
enemy6._y = enemy6._y - 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
enemy6._y = enemy6._y + 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(31);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
enemy7._rotation = enemy7._rotation - 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
enemy7._rotation = enemy7._rotation + 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
enemy7._rotation = enemy7._rotation - 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
enemy7._y = enemy7._y - 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
enemy7._y = enemy7._y + 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
if (enemy3fall != 1) {
enemy3counter1 = enemy3counter1 + 1;
}
if (enemy3counter1 == 3) {
enemy3counter1 = 0;
enemy3fall = random(31);
}
if (enemy3fall == 1) {
enemy3counter = enemy3counter + 1;
}
if ((enemy3counter < 6) && (enemy3counter > 0)) {
enemy3._rotation = enemy3._rotation + 1;
enemy8._rotation = enemy8._rotation - 1;
}
if ((enemy3counter < 16) && (enemy3counter > 5)) {
enemy3._rotation = enemy3._rotation - 1;
enemy8._rotation = enemy8._rotation + 1;
}
if ((enemy3counter < 21) && (enemy3counter > 15)) {
enemy3._rotation = enemy3._rotation + 1;
enemy8._rotation = enemy8._rotation - 1;
}
if ((enemy3counter < 61) && (enemy3counter > 20)) {
enemy3._y = enemy3._y + 10;
enemy8._y = enemy8._y - 10;
}
if ((enemy3counter < 81) && (enemy3counter > 60)) {
enemy3._y = enemy3._y - 20;
enemy8._y = enemy8._y + 20;
}
if (enemy3counter == 81) {
enemy3counter = 0;
enemy3fall = 0;
enemy3counter1 == -30;
}
if (enemy4fall != 1) {
enemy4counter1 = enemy4counter1 + 1;
}
if (enemy4counter1 == 3) {
enemy4counter1 = 0;
enemy4fall = random(31);
}
if (enemy4fall == 1) {
enemy4counter = enemy4counter + 1;
}
if ((enemy4counter < 6) && (enemy4counter > 0)) {
enemy4._rotation = enemy4._rotation + 1;
enemy9._rotation = enemy9._rotation - 1;
}
if ((enemy4counter < 16) && (enemy4counter > 5)) {
enemy4._rotation = enemy4._rotation - 1;
enemy9._rotation = enemy9._rotation + 1;
}
if ((enemy4counter < 21) && (enemy4counter > 15)) {
enemy4._rotation = enemy4._rotation + 1;
enemy9._rotation = enemy9._rotation - 1;
}
if ((enemy4counter < 61) && (enemy4counter > 20)) {
enemy4._y = enemy4._y + 10;
enemy9._y = enemy9._y - 10;
}
if ((enemy4counter < 81) && (enemy4counter > 60)) {
enemy4._y = enemy4._y - 20;
enemy9._y = enemy9._y + 20;
}
if (enemy4counter == 81) {
enemy4counter = 0;
enemy4fall = 0;
enemy4counter1 == -30;
}
if (enemy5fall != 1) {
enemy5counter1 = enemy5counter1 + 1;
}
if (enemy5counter1 == 3) {
enemy5counter1 = 0;
enemy5fall = random(31);
}
if (enemy5fall == 1) {
enemy5counter = enemy5counter + 1;
}
if ((enemy5counter < 6) && (enemy5counter > 0)) {
enemy5._rotation = enemy5._rotation + 1;
enemy10._rotation = enemy10._rotation - 1;
}
if ((enemy5counter < 16) && (enemy5counter > 5)) {
enemy5._rotation = enemy5._rotation - 1;
enemy10._rotation = enemy10._rotation + 1;
}
if ((enemy5counter < 21) && (enemy5counter > 15)) {
enemy5._rotation = enemy5._rotation + 1;
enemy10._rotation = enemy10._rotation - 1;
}
if ((enemy5counter < 61) && (enemy5counter > 20)) {
enemy5._y = enemy5._y + 10;
enemy10._y = enemy10._y - 10;
}
if ((enemy5counter < 81) && (enemy5counter > 60)) {
enemy5._y = enemy5._y - 20;
enemy10._y = enemy10._y + 20;
}
if (enemy5counter == 81) {
enemy5counter = 0;
enemy5fall = 0;
enemy5counter1 == -30;
}
}
Frame 23
gotoAndPlay (22);
Frame 24
pointer = 2000;
points.text = pointer;
Frame 25
code4._alpha = 100;
speed1 = 3;
speed2 = 3;
speed3 = 3;
speed4 = 3;
speed5 = 3;
speed6 = 3;
speed7 = 3;
speed8 = 3;
speed9 = 3;
speed10 = 3;
speed11 = 3;
speed12 = 3;
speed13 = 3;
speed14 = 3;
Frame 26
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
pointer = points.text;
if (((((((((u.hitTest(enemy1) || (u.hitTest(enemy2))) || (u.hitTest(enemy3))) || (u.hitTest(enemy4))) || (u.hitTest(enemy5))) || (u.hitTest(enemy6))) || (u.hitTest(enemy7))) || (u.hitTest(enemy8))) || (u.hitTest(enemy9))) || (u.hitTest(enemy10))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (code4._alpha >= 1) {
code4._alpha = code4._alpha - 1;
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 4;
if (u.hitTest(enemy11.traceHit) || (u.hitTest(enemy12.traceHit))) {
death = true;
}
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if (o1._y > (400 + o1._height)) {
o1._y = -(o1._height + random(21));
o1._x = random(400) + 50;
speed1 = 1 + random(6);
}
o1._y = o1._y + speed1;
if (o2._y > (400 + o2._height)) {
o2._y = -(o2._height + random(21));
o2._x = random(400) + 50;
speed2 = 1 + random(6);
}
o2._y = o2._y + speed2;
if (o3._y > (400 + o3._height)) {
o3._y = -(o3._height + random(21));
o3._x = random(400) + 50;
speed3 = 1 + random(6);
}
o3._y = o3._y + speed3;
if (o4._y > (400 + o4._height)) {
o4._y = -(o4._height + random(21));
o4._x = random(400) + 50;
speed4 = 1 + random(6);
}
o4._y = o4._y + speed4;
if (o5._y > (400 + o5._height)) {
o5._y = -(o5._height + random(21));
o5._x = random(400) + 50;
speed5 = 1 + random(6);
}
o5._y = o5._y + speed5;
if (o6._y > (400 + o6._height)) {
o6._y = -(o6._height + random(21));
o6._x = random(400) + 50;
speed6 = 1 + random(6);
}
o6._y = o6._y + speed6;
if (o7._y > (400 + o7._height)) {
o7._y = -(o7._height + random(21));
o7._x = random(400) + 50;
speed7 = 1 + random(6);
}
o7._y = o7._y + speed7;
if (o8._y > (400 + o8._height)) {
o8._y = -(o8._height + random(21));
o8._x = random(400) + 50;
speed8 = 1 + random(6);
}
o8._y = o8._y + speed8;
if (o9._y > (400 + o9._height)) {
o9._y = -(o9._height + random(21));
o9._x = random(400) + 50;
speed9 = 1 + random(6);
}
o9._y = o9._y + speed9;
if (o10._y > (400 + o10._height)) {
o10._y = -(o10._height + random(21));
o10._x = random(400) + 50;
speed10 = 1 + random(6);
}
o10._y = o10._y + speed10;
if (o11._y > (400 + o11._height)) {
o11._y = -(o11._height + random(21));
o11._x = random(400) + 50;
speed11 = 1 + random(6);
}
o11._y = o11._y + speed11;
if (o12._y > (400 + o12._height)) {
o12._y = -(o12._height + random(21));
o12._x = random(400) + 50;
speed12 = 1 + random(6);
}
o12._y = o12._y + speed12;
if (o13._y > (400 + o13._height)) {
o13._y = -(o13._height + random(21));
o13._x = random(400) + 50;
speed13 = 1 + random(6);
}
o13._y = o13._y + speed13;
if (o14._y > (400 + o14._height)) {
o14._y = -(o14._height + random(21));
o14._x = random(400) + 50;
speed14 = 1 + random(6);
}
o14._y = o14._y + speed14;
o1._rotation = o1._rotation + 5;
o2._rotation = o2._rotation + 5;
o3._rotation = o3._rotation + 5;
o4._rotation = o4._rotation + 5;
o5._rotation = o5._rotation + 5;
o6._rotation = o6._rotation + 5;
o7._rotation = o7._rotation + 5;
o8._rotation = o8._rotation + 5;
o9._rotation = o9._rotation + 5;
o10._rotation = o10._rotation + 5;
o11._rotation = o11._rotation + 5;
o12._rotation = o12._rotation + 5;
o13._rotation = o13._rotation + 5;
o14._rotation = o14._rotation + 5;
}
points.text = Number(points.text) + 1;
pointer + points.text;
if (((((((((((((u.hitTest(o1.trace_hit) || (u.hitTest(o2.trace_hit))) || (u.hitTest(o3.trace_hit))) || (u.hitTest(o4.trace_hit))) || (u.hitTest(o5.trace_hit))) || (u.hitTest(o6.trace_hit))) || (u.hitTest(o7.trace_hit))) || (u.hitTest(o8.trace_hit))) || (u.hitTest(o9.trace_hit))) || (u.hitTest(o10.trace_hit))) || (u.hitTest(o11.trace_hit))) || (u.hitTest(o12.trace_hit))) || (u.hitTest(o13.trace_hit))) || (u.hitTest(o14.trace_hit))) {
if (u._alpha == 100) {
death = true;
}
}
if (points.text == 2500) {
gotoAndPlay (28);
}
Frame 27
gotoAndPlay (26);
Frame 28
pointer = 2500;
points.text = pointer;
var laser1speed = 1;
var laser2speed = -1;
var laser4speed = 1;
var laser3speed = -1;
var lasercounter = 0;
Frame 29
code5._alpha = 100;
speed1 = 3;
speed2 = 3;
speed3 = 3;
speed4 = 3;
speed5 = 3;
speed6 = 3;
speed7 = 3;
speed8 = 3;
speed9 = 3;
speed10 = 3;
speed11 = 3;
speed12 = 3;
speed13 = 3;
speed14 = 3;
Frame 30
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
pointer = points.text;
if (((((((((u.hitTest(enemy1) || (u.hitTest(enemy2))) || (u.hitTest(enemy3))) || (u.hitTest(enemy4))) || (u.hitTest(enemy5))) || (u.hitTest(enemy6))) || (u.hitTest(enemy7))) || (u.hitTest(enemy8))) || (u.hitTest(enemy9))) || (u.hitTest(enemy10))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (code5._alpha >= 1) {
code5._alpha = code5._alpha - 1;
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 3;
if (((((u.hitTest(enemy11.traceHit) || (u.hitTest(enemy12.traceHit))) || (u.hitTest(Shot1.traceHit))) || (u.hitTest(Shot2.traceHit))) || (u.hitTest(Base1))) || (u.hitTest(Base2))) {
death = true;
}
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if ((Base1._y < 0) || (Base1._y > 400)) {
if ((laser1speed <= 5) && (laser1speed >= -5)) {
laser1speed = laser1speed * -2;
} else {
laser1speed = laser1speed * -1;
}
}
if ((Base2._y < 0) || (Base2._y > 400)) {
if ((laser2speed <= 5) && (laser2speed >= -5)) {
laser2speed = laser2speed * -2;
} else {
laser2speed = laser2speed * -1;
}
}
lasercounter = lasercounter + 1;
if (lasercounter < 11) {
Shot1._alpha = 0;
Shot2._alpha = 0;
Shot1._y = Base1._y;
Shot2._y = Base2._y;
Shot1._x = 25.7;
Shot2._x = 520;
}
if ((lasercounter > 10) && (lasercounter < 21)) {
Shot1._alpha = Shot1._alpha + 5;
Shot2._alpha = Shot2._alpha + 5;
}
if ((lasercounter > 20) && (lasercounter < 151)) {
Shot1._x = Shot1._x + 5;
Shot2._x = Shot2._x - 5;
} else {
Shot1._y = Shot1._y + laser1speed;
Shot2._y = Shot2._y + laser2speed;
}
if (lasercounter == 151) {
lasercounter = 0;
}
Base1._y = Base1._y + laser1speed;
Base2._y = Base2._y + laser2speed;
Shot1._rotation = Shot1._rotation + 5;
Shot2._rotation = Shot2._rotation - 5;
if (o1._y > (400 + o1._height)) {
o1._y = -(o1._height + random(21));
o1._x = random(400) + 50;
speed1 = 1 + random(6);
}
o1._y = o1._y + speed1;
if (o2._y > (400 + o2._height)) {
o2._y = -(o2._height + random(21));
o2._x = random(400) + 50;
speed2 = 1 + random(6);
}
o2._y = o2._y + speed2;
if (o3._y > (400 + o3._height)) {
o3._y = -(o3._height + random(21));
o3._x = random(400) + 50;
speed3 = 1 + random(6);
}
o3._y = o3._y + speed3;
if (o4._y > (400 + o4._height)) {
o4._y = -(o4._height + random(21));
o4._x = random(400) + 50;
speed4 = 1 + random(6);
}
o4._y = o4._y + speed4;
if (o5._y > (400 + o5._height)) {
o5._y = -(o5._height + random(21));
o5._x = random(400) + 50;
speed5 = 1 + random(6);
}
o5._y = o5._y + speed5;
if (o6._y > (400 + o6._height)) {
o6._y = -(o6._height + random(21));
o6._x = random(400) + 50;
speed6 = 1 + random(6);
}
o6._y = o6._y + speed6;
if (o7._y > (400 + o7._height)) {
o7._y = -(o7._height + random(21));
o7._x = random(400) + 50;
speed7 = 1 + random(6);
}
o7._y = o7._y + speed7;
if (o8._y > (400 + o8._height)) {
o8._y = -(o8._height + random(21));
o8._x = random(400) + 50;
speed8 = 1 + random(6);
}
o8._y = o8._y + speed8;
if (o9._y > (400 + o9._height)) {
o9._y = -(o9._height + random(21));
o9._x = random(400) + 50;
speed9 = 1 + random(6);
}
o9._y = o9._y + speed9;
if (o10._y > (400 + o10._height)) {
o10._y = -(o10._height + random(21));
o10._x = random(400) + 50;
speed10 = 1 + random(6);
}
o10._y = o10._y + speed10;
if (o11._y > (400 + o11._height)) {
o11._y = -(o11._height + random(21));
o11._x = random(400) + 50;
speed11 = 1 + random(6);
}
o11._y = o11._y + speed11;
if (o12._y > (400 + o12._height)) {
o12._y = -(o12._height + random(21));
o12._x = random(400) + 50;
speed12 = 1 + random(6);
}
o12._y = o12._y + speed12;
if (o13._y > (400 + o13._height)) {
o13._y = -(o13._height + random(21));
o13._x = random(400) + 50;
speed13 = 1 + random(6);
}
o13._y = o13._y + speed13;
if (o14._y > (400 + o14._height)) {
o14._y = -(o14._height + random(21));
o14._x = random(400) + 50;
speed14 = 1 + random(6);
}
o14._y = o14._y + speed14;
o1._rotation = o1._rotation + 5;
o2._rotation = o2._rotation + 5;
o3._rotation = o3._rotation + 5;
o4._rotation = o4._rotation + 5;
o5._rotation = o5._rotation + 5;
o6._rotation = o6._rotation + 5;
o7._rotation = o7._rotation + 5;
o8._rotation = o8._rotation + 5;
o9._rotation = o9._rotation + 5;
o10._rotation = o10._rotation + 5;
o11._rotation = o11._rotation + 5;
o12._rotation = o12._rotation + 5;
o13._rotation = o13._rotation + 5;
o14._rotation = o14._rotation + 5;
}
points.text = Number(points.text) + 1;
if (((((((((((((u.hitTest(o1.trace_hit) || (u.hitTest(o2.trace_hit))) || (u.hitTest(o3.trace_hit))) || (u.hitTest(o4.trace_hit))) || (u.hitTest(o5.trace_hit))) || (u.hitTest(o6.trace_hit))) || (u.hitTest(o7.trace_hit))) || (u.hitTest(o8.trace_hit))) || (u.hitTest(o9.trace_hit))) || (u.hitTest(o10.trace_hit))) || (u.hitTest(o11.trace_hit))) || (u.hitTest(o12.trace_hit))) || (u.hitTest(o13.trace_hit))) || (u.hitTest(o14.trace_hit))) {
if (u._alpha == 100) {
death = true;
}
}
if (points.text == 3000) {
gotoAndPlay (32);
}
Frame 31
gotoAndPlay (30);
Frame 32
pointer = 3000;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 33
code6._alpha = 100;
o1._x = random(400) + 50;
o2._x = random(400) + 50;
o3._x = random(400) + 50;
o4._x = random(400) + 50;
o5._x = random(400) + 50;
o6._x = random(400) + 50;
o7._x = random(400) + 50;
o8._x = random(400) + 50;
o9._x = random(400) + 50;
o10._x = random(400) + 50;
o11._x = random(400) + 50;
o12._x = random(400) + 50;
o13._x = random(400) + 50;
o14._x = random(400) + 50;
speed1 = 1 + random(6);
speed2 = 1 + random(6);
speed3 = 1 + random(6);
speed4 = 1 + random(6);
speed5 = 1 + random(6);
speed6 = 1 + random(6);
speed7 = 1 + random(6);
speed8 = 1 + random(6);
speed9 = 1 + random(6);
speed10 = 1 + random(6);
speed11 = 1 + random(6);
speed12 = 1 + random(6);
speed13 = 1 + random(6);
speed14 = 1 + random(6);
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
Frame 34
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
pointer = points.text;
if (((((((((u.hitTest(enemy1) || (u.hitTest(enemy2))) || (u.hitTest(enemy3))) || (u.hitTest(enemy4))) || (u.hitTest(enemy5))) || (u.hitTest(enemy6))) || (u.hitTest(enemy7))) || (u.hitTest(enemy8))) || (u.hitTest(enemy9))) || (u.hitTest(enemy10))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (code6._alpha > -1) {
code6._alpha = code6._alpha - 1;
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 3;
if (((((u.hitTest(enemy11.testHit) || (u.hitTest(enemy12.testHit))) || (u.hitTest(Shot1.traceHit))) || (u.hitTest(Shot2.traceHit))) || (u.hitTest(Base1))) || (u.hitTest(Base2))) {
death = true;
}
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if ((Base1._y < 0) || (Base1._y > 400)) {
if ((laser1speed <= 5) && (laser1speed >= -5)) {
laser1speed = laser1speed * -2;
} else {
laser1speed = laser1speed * -1;
}
}
if ((Base2._y < 0) || (Base2._y > 400)) {
if ((laser2speed <= 5) && (laser2speed >= -5)) {
laser2speed = laser2speed * -2;
} else {
laser2speed = laser2speed * -1;
}
}
lasercounter = lasercounter + 1;
if (lasercounter < 11) {
Shot1._alpha = 0;
Shot2._alpha = 0;
Shot1._y = Base1._y;
Shot2._y = Base2._y;
Shot1._x = 25.7;
Shot2._x = 520;
}
if ((lasercounter > 10) && (lasercounter < 21)) {
Shot1._alpha = Shot1._alpha + 5;
Shot2._alpha = Shot2._alpha + 5;
}
if ((lasercounter > 20) && (lasercounter < 151)) {
Shot1._x = Shot1._x + 5;
Shot2._x = Shot2._x - 5;
} else {
Shot1._y = Shot1._y + laser1speed;
Shot2._y = Shot2._y + laser2speed;
}
if (lasercounter == 151) {
lasercounter = 0;
}
Base1._y = Base1._y + laser1speed;
Base2._y = Base2._y + laser2speed;
Shot1._rotation = Shot1._rotation + 5;
Shot2._rotation = Shot2._rotation - 5;
if (o1._y > (400 + o1._height)) {
o1._y = -(o1._height + random(21));
o1._x = random(400) + 50;
speed1 = 1 + random(6);
}
o1._y = o1._y + speed1;
if (o2._y > (400 + o2._height)) {
o2._y = -(o2._height + random(21));
o2._x = random(400) + 50;
speed2 = 1 + random(6);
}
o2._y = o2._y + speed2;
if (o3._y > (400 + o3._height)) {
o3._y = -(o3._height + random(21));
o3._x = random(400) + 50;
speed3 = 1 + random(6);
}
o3._y = o3._y + speed3;
if (o4._y > (400 + o4._height)) {
o4._y = -(o4._height + random(21));
o4._x = random(400) + 50;
speed4 = 1 + random(6);
}
o4._y = o4._y + speed4;
if (o5._y > (400 + o5._height)) {
o5._y = -(o5._height + random(21));
o5._x = random(400) + 50;
speed5 = 1 + random(6);
}
o5._y = o5._y + speed5;
if (o6._y > (400 + o6._height)) {
o6._y = -(o6._height + random(21));
o6._x = random(400) + 50;
speed6 = 1 + random(6);
}
o6._y = o6._y + speed6;
if (o7._y > (400 + o7._height)) {
o7._y = -(o7._height + random(21));
o7._x = random(400) + 50;
speed7 = 1 + random(6);
}
o7._y = o7._y + speed7;
if (o8._y > (400 + o8._height)) {
o8._y = -(o8._height + random(21));
o8._x = random(400) + 50;
speed8 = 1 + random(6);
}
o8._y = o8._y + speed8;
if (o9._y > (400 + o9._height)) {
o9._y = -(o9._height + random(21));
o9._x = random(400) + 50;
speed9 = 1 + random(6);
}
o9._y = o9._y + speed9;
if (o10._y > (400 + o10._height)) {
o10._y = -(o10._height + random(21));
o10._x = random(400) + 50;
speed10 = 1 + random(6);
}
o10._y = o10._y + speed10;
if (o11._y > (400 + o11._height)) {
o11._y = -(o11._height + random(21));
o11._x = random(400) + 50;
speed11 = 1 + random(6);
}
o11._y = o11._y + speed11;
if (o12._y > (400 + o12._height)) {
o12._y = -(o12._height + random(21));
o12._x = random(400) + 50;
speed12 = 1 + random(6);
}
o12._y = o12._y + speed12;
if (o13._y > (400 + o13._height)) {
o13._y = -(o13._height + random(21));
o13._x = random(400) + 50;
speed13 = 1 + random(6);
}
o13._y = o13._y + speed13;
if (o14._y > (400 + o14._height)) {
o14._y = -(o14._height + random(21));
o14._x = random(400) + 50;
speed14 = 1 + random(6);
}
o14._y = o14._y + speed14;
o1._rotation = o1._rotation + 5;
o2._rotation = o2._rotation + 5;
o3._rotation = o3._rotation + 5;
o4._rotation = o4._rotation + 5;
o5._rotation = o5._rotation + 5;
o6._rotation = o6._rotation + 5;
o7._rotation = o7._rotation + 5;
o8._rotation = o8._rotation + 5;
o9._rotation = o9._rotation + 5;
o10._rotation = o10._rotation + 5;
o11._rotation = o11._rotation + 5;
o12._rotation = o12._rotation + 5;
o13._rotation = o13._rotation + 5;
o14._rotation = o14._rotation + 5;
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(11);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(11);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
}
if (points.text == 3500) {
gotoAndPlay (36);
}
points.text = Number(points.text) + 1;
pointer + points.text;
if (((((((((((((u.hitTest(o1.trace_hit) || (u.hitTest(o2.trace_hit))) || (u.hitTest(o3.trace_hit))) || (u.hitTest(o4.trace_hit))) || (u.hitTest(o5.trace_hit))) || (u.hitTest(o6.trace_hit))) || (u.hitTest(o7.trace_hit))) || (u.hitTest(o8.trace_hit))) || (u.hitTest(o9.trace_hit))) || (u.hitTest(o10.trace_hit))) || (u.hitTest(o11.trace_hit))) || (u.hitTest(o12.trace_hit))) || (u.hitTest(o13.trace_hit))) || (u.hitTest(o14.trace_hit))) {
if (u._alpha == 100) {
death = true;
}
}
Frame 35
gotoAndPlay (34);
Frame 36
pointer = 3500;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 37
code7._alpha = 100;
o1._x = random(400) + 50;
o2._x = random(400) + 50;
o3._x = random(400) + 50;
o4._x = random(400) + 50;
o5._x = random(400) + 50;
o6._x = random(400) + 50;
o7._x = random(400) + 50;
o8._x = random(400) + 50;
o9._x = random(400) + 50;
o10._x = random(400) + 50;
o11._x = random(400) + 50;
o12._x = random(400) + 50;
o13._x = random(400) + 50;
o14._x = random(400) + 50;
speed1 = 1 + random(6);
speed2 = 1 + random(6);
speed3 = 1 + random(6);
speed4 = 1 + random(6);
speed5 = 1 + random(6);
speed6 = 1 + random(6);
speed7 = 1 + random(6);
speed8 = 1 + random(6);
speed9 = 1 + random(6);
speed10 = 1 + random(6);
speed11 = 1 + random(6);
speed12 = 1 + random(6);
speed13 = 1 + random(6);
speed14 = 1 + random(6);
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3speed = random(20) + 20;
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
enemy345counter = 3;
Frame 38
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
pointer = points.text;
points.text = Number(points.text) + 1;
pointer + points.text;
if (((((((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.tracehit))) || (u.hitTest(enemy4.tracehit))) || (u.hitTest(enemy5.tracehit))) || (u.hitTest(enemy6))) || (u.hitTest(enemy7))) || (u.hitTest(enemy8))) || (u.hitTest(enemy9))) || (u.hitTest(enemy10))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (((((((((((((u.hitTest(o1.trace_hit) || (u.hitTest(o2.trace_hit))) || (u.hitTest(o3.trace_hit))) || (u.hitTest(o4.trace_hit))) || (u.hitTest(o5.trace_hit))) || (u.hitTest(o6.trace_hit))) || (u.hitTest(o7.trace_hit))) || (u.hitTest(o8.trace_hit))) || (u.hitTest(o9.trace_hit))) || (u.hitTest(o10.trace_hit))) || (u.hitTest(o11.trace_hit))) || (u.hitTest(o12.trace_hit))) || (u.hitTest(o13.trace_hit))) || (u.hitTest(o14.trace_hit))) {
if (u._alpha == 100) {
death = true;
}
}
if (code7._alpha >= 1) {
code7._alpha = code7._alpha - 1;
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 3;
if (((((u.hitTest(enemy11.testHit) || (u.hitTest(enemy12.testHit))) || (u.hitTest(Shot1.traceHit))) || (u.hitTest(Shot2.traceHit))) || (u.hitTest(Base1))) || (u.hitTest(Base2))) {
death = true;
}
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if (points.text == 4000) {
gotoAndPlay (40);
}
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(11);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(11);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
if (enemy345counter == 3) {
enemy3._x = enemy3._x + enemy3speed;
if (enemy3._x > 650) {
enemy3._x = -300;
enemy345counter = 4;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
if (enemy345counter == 4) {
enemy4._x = enemy4._x + enemy4speed;
if (enemy4._x > 650) {
enemy4._x = -300;
enemy345counter = 5;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
if (enemy345counter == 5) {
enemy5._x = enemy5._x + enemy5speed;
if (enemy5._x > 650) {
enemy5._x = -300;
enemy345counter = 3;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
}
Frame 39
gotoAndPlay (38);
Frame 40
pointer = 4000;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 41
code8._alpha = 100;
o1._x = random(400) + 50;
o2._x = random(400) + 50;
o3._x = random(400) + 50;
o4._x = random(400) + 50;
o5._x = random(400) + 50;
o6._x = random(400) + 50;
o7._x = random(400) + 50;
o8._x = random(400) + 50;
o9._x = random(400) + 50;
o10._x = random(400) + 50;
o11._x = random(400) + 50;
o12._x = random(400) + 50;
o13._x = random(400) + 50;
o14._x = random(400) + 50;
speed1 = 1 + random(6);
speed2 = 1 + random(6);
speed3 = 1 + random(6);
speed4 = 1 + random(6);
speed5 = 1 + random(6);
speed6 = 1 + random(6);
speed7 = 1 + random(6);
speed8 = 1 + random(6);
speed9 = 1 + random(6);
speed10 = 1 + random(6);
speed11 = 1 + random(6);
speed12 = 1 + random(6);
speed13 = 1 + random(6);
speed14 = 1 + random(6);
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3speed = random(20) + 20;
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
enemy345counter = 3;
Frame 42
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
pointer = points.text;
if (((((((((((((u.hitTest(o1.trace_hit) || (u.hitTest(o2.trace_hit))) || (u.hitTest(o3.trace_hit))) || (u.hitTest(o4.trace_hit))) || (u.hitTest(o5.trace_hit))) || (u.hitTest(o6.trace_hit))) || (u.hitTest(o7.trace_hit))) || (u.hitTest(o8.trace_hit))) || (u.hitTest(o9.trace_hit))) || (u.hitTest(o10.trace_hit))) || (u.hitTest(o11.trace_hit))) || (u.hitTest(o12.trace_hit))) || (u.hitTest(o13.trace_hit))) || (u.hitTest(o14.trace_hit))) {
if (u._alpha == 100) {
death = true;
}
}
points.text = Number(points.text) + 1;
pointer = points.text;
if (((((((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.tracehit))) || (u.hitTest(enemy4.tracehit))) || (u.hitTest(enemy5.tracehit))) || (u.hitTest(enemy6.tracehit))) || (u.hitTest(enemy7.tracehit))) || (u.hitTest(enemy8.tracehit))) || (u.hitTest(enemy9))) || (u.hitTest(enemy10))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (code8._alpha >= 1) {
code8._alpha = code8._alpha - 1;
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 2;
if (((((u.hitTest(enemy11.testHit) || (u.hitTest(enemy12.testHit))) || (u.hitTest(Shot1.traceHit))) || (u.hitTest(Shot2.traceHit))) || (u.hitTest(Base1))) || (u.hitTest(Base2))) {
death = true;
}
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if (points.text == 4500) {
gotoAndPlay (44);
}
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(11);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(11);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
if (enemy345counter == 3) {
enemy3._x = enemy3._x + enemy3speed;
enemy7._x = enemy7._x - enemy3speed;
if (enemy3._x > 650) {
enemy3._x = -300;
enemy7._x = 700;
enemy345counter = 4;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
if (enemy345counter == 4) {
enemy4._x = enemy4._x + enemy4speed;
enemy8._x = enemy8._x - enemy4speed;
if (enemy4._x > 650) {
enemy4._x = -300;
enemy8._x = 700;
enemy345counter = 5;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
if (enemy345counter == 5) {
enemy5._x = enemy5._x + enemy5speed;
enemy6._x = enemy6._x - enemy5speed;
if (enemy5._x > 650) {
enemy5._x = -300;
enemy6._x = 700;
enemy345counter = 3;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
}
Frame 43
gotoAndPlay (42);
Frame 44
pointer = 4500;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 45
code9._alpha = 100;
o1._x = random(400) + 50;
o2._x = random(400) + 50;
o3._x = random(400) + 50;
o4._x = random(400) + 50;
o5._x = random(400) + 50;
o6._x = random(400) + 50;
o7._x = random(400) + 50;
o8._x = random(400) + 50;
o9._x = random(400) + 50;
o10._x = random(400) + 50;
o11._x = random(400) + 50;
o12._x = random(400) + 50;
o13._x = random(400) + 50;
o14._x = random(400) + 50;
speed1 = 1 + random(6);
speed2 = 1 + random(6);
speed3 = 1 + random(6);
speed4 = 1 + random(6);
speed5 = 1 + random(6);
speed6 = 1 + random(6);
speed7 = 1 + random(6);
speed8 = 1 + random(6);
speed9 = 1 + random(6);
speed10 = 1 + random(6);
speed11 = 1 + random(6);
speed12 = 1 + random(6);
speed13 = 1 + random(6);
speed14 = 1 + random(6);
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3speed = random(20) + 20;
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
enemy345counter = 3;
Frame 46
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
if (((((((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.tracehit))) || (u.hitTest(enemy4.tracehit))) || (u.hitTest(enemy5.tracehit))) || (u.hitTest(enemy6.tracehit))) || (u.hitTest(enemy7.tracehit))) || (u.hitTest(enemy8.tracehit))) || (u.hitTest(enemy9))) || (u.hitTest(enemy10))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (((((((((((((u.hitTest(o1.trace_hit) || (u.hitTest(o2.trace_hit))) || (u.hitTest(o3.trace_hit))) || (u.hitTest(o4.trace_hit))) || (u.hitTest(o5.trace_hit))) || (u.hitTest(o6.trace_hit))) || (u.hitTest(o7.trace_hit))) || (u.hitTest(o8.trace_hit))) || (u.hitTest(o9.trace_hit))) || (u.hitTest(o10.trace_hit))) || (u.hitTest(o11.trace_hit))) || (u.hitTest(o12.trace_hit))) || (u.hitTest(o13.trace_hit))) || (u.hitTest(o14.trace_hit))) {
if (u._alpha == 100) {
death = true;
}
}
points.text = Number(points.text) + 1;
pointer = points.text;
pointer = points.text;
if (code9._alpha >= 1) {
code9._alpha = code9._alpha - 1;
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 3;
if (((((u.hitTest(enemy11.testHit) || (u.hitTest(enemy12.testHit))) || (u.hitTest(Shot1.traceHit))) || (u.hitTest(Shot2.traceHit))) || (u.hitTest(Base1))) || (u.hitTest(Base2))) {
death = true;
}
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if ((Base1._y < 0) || (Base1._y > 400)) {
if ((laser1speed <= 5) && (laser1speed >= -5)) {
laser1speed = laser1speed * -2;
} else {
laser1speed = laser1speed * -1;
}
}
if ((Base2._y < 0) || (Base2._y > 400)) {
if ((laser2speed <= 5) && (laser2speed >= -5)) {
laser2speed = laser2speed * -2;
} else {
laser2speed = laser2speed * -1;
}
}
lasercounter = lasercounter + 1;
if (lasercounter < 11) {
Shot1._alpha = 0;
Shot2._alpha = 0;
Shot1._y = Base1._y;
Shot2._y = Base2._y;
Shot1._x = 25.7;
Shot2._x = 520;
}
if ((lasercounter > 10) && (lasercounter < 21)) {
Shot1._alpha = Shot1._alpha + 5;
Shot2._alpha = Shot2._alpha + 5;
}
if ((lasercounter > 20) && (lasercounter < 151)) {
Shot1._x = Shot1._x + 5;
Shot2._x = Shot2._x - 5;
} else {
Shot1._y = Shot1._y + laser1speed;
Shot2._y = Shot2._y + laser2speed;
}
if (lasercounter == 151) {
lasercounter = 0;
}
Base1._y = Base1._y + laser1speed;
Base2._y = Base2._y + laser2speed;
Shot1._rotation = Shot1._rotation + 5;
Shot2._rotation = Shot2._rotation - 5;
if (points.text == 5000) {
gotoAndPlay (48);
}
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(11);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(11);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
if (enemy345counter == 3) {
enemy3._x = enemy3._x + enemy3speed;
enemy7._x = enemy7._x - enemy3speed;
if (enemy3._x > 650) {
enemy3._x = -300;
enemy7._x = 700;
enemy345counter = 4;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
if (enemy345counter == 4) {
enemy4._x = enemy4._x + enemy4speed;
enemy8._x = enemy8._x - enemy4speed;
if (enemy4._x > 650) {
enemy4._x = -300;
enemy8._x = 700;
enemy345counter = 5;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
if (enemy345counter == 5) {
enemy5._x = enemy5._x + enemy5speed;
enemy6._x = enemy6._x - enemy5speed;
if (enemy5._x > 650) {
enemy5._x = -300;
enemy6._x = 700;
enemy345counter = 3;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
}
Frame 47
gotoAndPlay (46);
Frame 48
pointer = 5000;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 49
code10._alpha = 100;
o1._x = random(400) + 50;
o2._x = random(400) + 50;
o3._x = random(400) + 50;
o4._x = random(400) + 50;
o5._x = random(400) + 50;
o6._x = random(400) + 50;
o7._x = random(400) + 50;
o8._x = random(400) + 50;
o9._x = random(400) + 50;
o10._x = random(400) + 50;
o11._x = random(400) + 50;
o12._x = random(400) + 50;
o13._x = random(400) + 50;
o14._x = random(400) + 50;
speed1 = 1 + random(6);
speed2 = 1 + random(6);
speed3 = 1 + random(6);
speed4 = 1 + random(6);
speed5 = 1 + random(6);
speed6 = 1 + random(6);
speed7 = 1 + random(6);
speed8 = 1 + random(6);
speed9 = 1 + random(6);
speed10 = 1 + random(6);
speed11 = 1 + random(6);
speed12 = 1 + random(6);
speed13 = 1 + random(6);
speed14 = 1 + random(6);
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3speed = random(20) + 20;
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
enemy345counter = 3;
Frame 50
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
points.text = Number(points.text) + 1;
pointer + points.text;
if (((((((((((((u.hitTest(o1.trace_hit) || (u.hitTest(o2.trace_hit))) || (u.hitTest(o3.trace_hit))) || (u.hitTest(o4.trace_hit))) || (u.hitTest(o5.trace_hit))) || (u.hitTest(o6.trace_hit))) || (u.hitTest(o7.trace_hit))) || (u.hitTest(o8.trace_hit))) || (u.hitTest(o9.trace_hit))) || (u.hitTest(o10.trace_hit))) || (u.hitTest(o11.trace_hit))) || (u.hitTest(o12.trace_hit))) || (u.hitTest(o13.trace_hit))) || (u.hitTest(o14.trace_hit))) {
if (u._alpha == 100) {
death = true;
}
}
pointer = points.text;
if (((((((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.tracehit))) || (u.hitTest(enemy4.tracehit))) || (u.hitTest(enemy5.tracehit))) || (u.hitTest(enemy6.tracehit))) || (u.hitTest(enemy7.tracehit))) || (u.hitTest(enemy8.tracehit))) || (u.hitTest(enemy9))) || (u.hitTest(enemy10))) {
if (u._alpha == 100) {
stop();
laser1.stop();
u.gotoAndPlay(2);
}
}
if (code10._alpha >= 1) {
code10._alpha = code10._alpha - 1;
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
points.text = points.text - 2;
if (((((u.hitTest(enemy11.testHit) || (u.hitTest(enemy12.testHit))) || (u.hitTest(Shot1.traceHit))) || (u.hitTest(Shot2.traceHit))) || (u.hitTest(Base1))) || (u.hitTest(Base2))) {
death = true;
}
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if ((Base1._y < 0) || (Base1._y > 400)) {
if ((laser1speed <= 5) && (laser1speed >= -5)) {
laser1speed = laser1speed * -2;
} else {
laser1speed = laser1speed * -1;
}
}
if ((Base2._y < 0) || (Base2._y > 400)) {
if ((laser2speed <= 5) && (laser2speed >= -5)) {
laser2speed = laser2speed * -2;
} else {
laser2speed = laser2speed * -1;
}
}
lasercounter = lasercounter + 1;
if (lasercounter < 11) {
Shot1._alpha = 0;
Shot2._alpha = 0;
Shot1._y = Base1._y;
Shot2._y = Base2._y;
Shot1._x = 25.7;
Shot2._x = 520;
}
if ((lasercounter > 10) && (lasercounter < 21)) {
Shot1._alpha = Shot1._alpha + 5;
Shot2._alpha = Shot2._alpha + 5;
}
if ((lasercounter > 20) && (lasercounter < 151)) {
Shot1._x = Shot1._x + 5;
Shot2._x = Shot2._x - 5;
} else {
Shot1._y = Shot1._y + laser1speed;
Shot2._y = Shot2._y + laser2speed;
}
if (lasercounter == 151) {
lasercounter = 0;
}
Base1._y = Base1._y + laser1speed;
Base2._y = Base2._y + laser2speed;
Shot1._rotation = Shot1._rotation + 5;
Shot2._rotation = Shot2._rotation - 5;
if (points.text == 5250) {
gotoAndPlay (52);
}
if (o1._y > (400 + o1._height)) {
o1._y = -(o1._height + random(21));
o1._x = random(400) + 50;
speed1 = 1 + random(6);
}
o1._y = o1._y + speed1;
if (o2._y > (400 + o2._height)) {
o2._y = -(o2._height + random(21));
o2._x = random(400) + 50;
speed2 = 1 + random(6);
}
o2._y = o2._y + speed2;
if (o3._y > (400 + o3._height)) {
o3._y = -(o3._height + random(21));
o3._x = random(400) + 50;
speed3 = 1 + random(6);
}
o3._y = o3._y + speed3;
if (o4._y > (400 + o4._height)) {
o4._y = -(o4._height + random(21));
o4._x = random(400) + 50;
speed4 = 1 + random(6);
}
o4._y = o4._y + speed4;
if (o5._y > (400 + o5._height)) {
o5._y = -(o5._height + random(21));
o5._x = random(400) + 50;
speed5 = 1 + random(6);
}
o5._y = o5._y + speed5;
if (o6._y > (400 + o6._height)) {
o6._y = -(o6._height + random(21));
o6._x = random(400) + 50;
speed6 = 1 + random(6);
}
o6._y = o6._y + speed6;
if (o7._y > (400 + o7._height)) {
o7._y = -(o7._height + random(21));
o7._x = random(400) + 50;
speed7 = 1 + random(6);
}
o7._y = o7._y + speed7;
if (o8._y > (400 + o8._height)) {
o8._y = -(o8._height + random(21));
o8._x = random(400) + 50;
speed8 = 1 + random(6);
}
o8._y = o8._y + speed8;
if (o9._y > (400 + o9._height)) {
o9._y = -(o9._height + random(21));
o9._x = random(400) + 50;
speed9 = 1 + random(6);
}
o9._y = o9._y + speed9;
if (o10._y > (400 + o10._height)) {
o10._y = -(o10._height + random(21));
o10._x = random(400) + 50;
speed10 = 1 + random(6);
}
o10._y = o10._y + speed10;
if (o11._y > (400 + o11._height)) {
o11._y = -(o11._height + random(21));
o11._x = random(400) + 50;
speed11 = 1 + random(6);
}
o11._y = o11._y + speed11;
if (o12._y > (400 + o12._height)) {
o12._y = -(o12._height + random(21));
o12._x = random(400) + 50;
speed12 = 1 + random(6);
}
o12._y = o12._y + speed12;
if (o13._y > (400 + o13._height)) {
o13._y = -(o13._height + random(21));
o13._x = random(400) + 50;
speed13 = 1 + random(6);
}
o13._y = o13._y + speed13;
if (o14._y > (400 + o14._height)) {
o14._y = -(o14._height + random(21));
o14._x = random(400) + 50;
speed14 = 1 + random(6);
}
o14._y = o14._y + speed14;
if (enemy345counter == 3) {
enemy3._x = enemy3._x + enemy3speed;
enemy7._x = enemy7._x - enemy3speed;
if (enemy3._x > 650) {
enemy3._x = -300;
enemy7._x = 700;
enemy345counter = 4;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
if (enemy345counter == 4) {
enemy4._x = enemy4._x + enemy4speed;
enemy8._x = enemy8._x - enemy4speed;
if (enemy4._x > 650) {
enemy4._x = -300;
enemy8._x = 700;
enemy345counter = 5;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
if (enemy345counter == 5) {
enemy5._x = enemy5._x + enemy5speed;
enemy6._x = enemy6._x - enemy5speed;
if (enemy5._x > 650) {
enemy5._x = -300;
enemy6._x = 700;
enemy345counter = 3;
enemy3speed == (random(20) + 20);
enemy4speed = random(20) + 20;
enemy5speed = random(20) + 20;
}
}
}
Frame 51
gotoAndPlay (50);
Frame 52
pointer = 5250;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 53
code11._alpha = 100;
var xspeed1 = (random(31) - 15);
var xspeed1 = (random(31) - 15);
var xspeed3 = (random(31) - 15);
var xspeed4 = (random(31) - 15);
var xspeed5 = (random(31) - 15);
var xspeed6 = (random(31) - 15);
var xspeed7 = (random(31) - 15);
var xspeed8 = (random(31) - 15);
var xspeed9 = (random(31) - 15);
var yspeed1 = (random(31) - 15);
var yspeed1 = (random(31) - 15);
var yspeed3 = (random(31) - 15);
var yspeed4 = (random(31) - 15);
var yspeed5 = (random(31) - 15);
var yspeed6 = (random(31) - 15);
var yspeed7 = (random(31) - 15);
var yspeed8 = (random(31) - 15);
var yspeed9 = (random(31) - 15);
var xspeed10 = (random(11) - 5);
var xspeed11 = (random(11) - 5);
var xspeed11 = (random(11) - 5);
var yspeed10 = (random(11) - 5);
var yspeed11 = (random(11) - 5);
var yspeed11 = (random(11) - 5);
Frame 54
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
points.text = Number(points.text) + 1;
pointer + points.text;
if (code11._alpha >= 1) {
code11._alpha = code11._alpha - 1;
mouth.stop();
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
death = true;
points.text = points.text - 1;
} else {
u._alpha = 100;
}
};
if ((((((((u.hitTest(b1.test) || (u.hitTest(b2.test))) || (u.hitTest(b3.test))) || (u.hitTest(b4.test))) || (u.hitTest(b9.test))) || (u.hitTest(b8))) || (u.hitTest(b7))) || (u.hitTest(b6))) || (u.hitTest(b5))) {
death = true;
}
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if (points.text == 5500) {
gotoAndPlay (56);
}
b1._x = b1._x + xspeed1;
b2._x = b2._x + xspeed2;
b3._x = b3._x + xspeed3;
b4._x = b4._x + xspeed4;
b5._x = b5._x + xspeed5;
b6._x = b6._x + xspeed6;
b7._x = b7._x + xspeed7;
b8._x = b8._x + xspeed8;
b9._x = b9._x + xspeed9;
b10._x = b1._x + xspeed10;
b11._x = b1._x + xspeed11;
b12._x = b1._x + xspeed12;
b1._y = b1._y + yspeed1;
b2._y = b2._y + yspeed2;
b3._y = b3._y + yspeed3;
b4._y = b4._y + yspeed4;
b5._y = b5._y + yspeed5;
b6._y = b6._y + yspeed6;
b7._y = b7._y + yspeed7;
b8._y = b8._y + yspeed8;
b9._y = b9._y + yspeed9;
b10._y = b1._y + yspeed10;
b11._y = b1._y + yspeed11;
b12._y = b1._y + yspeed12;
if ((b1._x <= 20) || (b1._x >= 530)) {
xspeed1 = xspeed1 * -1;
}
if ((b10._x <= 20) || (b10._x >= 530)) {
xspeed10 = xspeed10 * -1;
}
if ((b11._x <= 20) || (b11._x >= 530)) {
xspeed11 = xspeed11 * -1;
}
if ((b12._x <= 20) || (b12._x >= 530)) {
xspeed12 = xspeed12 * -1;
}
if ((b2._x <= 20) || (b2._x >= 530)) {
xspeed2 = xspeed2 * -1;
}
if ((b3._x <= 20) || (b3._x >= 530)) {
xspeed3 = xspeed3 * -1;
}
if ((b4._x <= 20) || (b4._x >= 530)) {
xspeed4 = xspeed4 * -1;
}
if ((b5._x <= 20) || (b5._x >= 530)) {
xspeed5 = xspeed5 * -1;
}
if ((b6._x <= 20) || (b6._x >= 530)) {
xspeed6 = xspeed6 * -1;
}
if ((b7._x <= 20) || (b7._x >= 530)) {
xspeed7 = xspeed7 * -1;
}
if ((b8._x <= 20) || (b8._x >= 530)) {
xspeed8 = xspeed8 * -1;
}
if ((b9._x <= 20) || (b9._x >= 530)) {
xspeed9 = xspeed9 * -1;
}
if ((b1._y <= 20) || (b1._y >= 380)) {
yspeed1 = yspeed1 * -1;
}
if ((b10._y <= 20) || (b10._y >= 380)) {
yspeed10 = yspeed10 * -1;
}
if ((b11._y <= 20) || (b11._y >= 380)) {
yspeed11 = yspeed11 * -1;
}
if ((b12._y <= 20) || (b12._y >= 380)) {
yspeed12 = yspeed12 * -1;
}
if ((b2._y <= 20) || (b2._y >= 380)) {
yspeed2 = yspeed2 * -1;
}
if ((b3._y <= 20) || (b3._y >= 380)) {
yspeed3 = yspeed3 * -1;
}
if ((b4._y <= 20) || (b4._y >= 380)) {
yspeed4 = yspeed4 * -1;
}
if ((b5._y <= 20) || (b5._y >= 380)) {
yspeed5 = yspeed5 * -1;
}
if ((b6._y <= 20) || (b6._y >= 380)) {
yspeed6 = yspeed6 * -1;
}
if ((b7._y <= 20) || (b7._y >= 380)) {
yspeed7 = yspeed7 * -1;
}
if ((b8._y <= 20) || (b8._y >= 380)) {
yspeed8 = yspeed8 * -1;
}
if ((b9._y <= 20) || (b9._y >= 380)) {
yspeed9 = yspeed9 * -1;
}
}
Frame 55
gotoAndPlay (54);
Frame 56
pointer = 5500;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 57
code11._alpha = 100;
var xspeed1 = (random(31) - 15);
var xspeed1 = (random(31) - 15);
var xspeed3 = (random(31) - 15);
var xspeed4 = (random(31) - 15);
var xspeed5 = (random(31) - 15);
var xspeed6 = (random(31) - 15);
var xspeed7 = (random(31) - 15);
var xspeed8 = (random(31) - 15);
var xspeed9 = (random(31) - 15);
var yspeed1 = (random(31) - 15);
var yspeed1 = (random(31) - 15);
var yspeed3 = (random(31) - 15);
var yspeed4 = (random(31) - 15);
var yspeed5 = (random(31) - 15);
var yspeed6 = (random(31) - 15);
var yspeed7 = (random(31) - 15);
var yspeed8 = (random(31) - 15);
var yspeed9 = (random(31) - 15);
var xspeed10 = (random(11) - 5);
var xspeed11 = (random(11) - 5);
var xspeed11 = (random(11) - 5);
var yspeed10 = (random(11) - 5);
var yspeed11 = (random(11) - 5);
var yspeed11 = (random(11) - 5);
b1._alpha = 50;
b3._alpha = 50;
b9._alpha = 50;
Frame 58
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
points.text = Number(points.text) + 1;
pointer = points.text;
if (code11._alpha >= 1) {
code11._alpha = code11._alpha - 1;
mouth.stop();
} else {
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
if ((u.hitTest(b1.test) || (u.hitTest(b3.test))) || (u.hitTest(b9.test))) {
death = true;
}
points.text = points.text - 1.1;
} else {
u._alpha = 100;
}
};
if (((((u.hitTest(b2.test) || (u.hitTest(b4.test))) || (u.hitTest(b8))) || (u.hitTest(b7))) || (u.hitTest(b6))) || (u.hitTest(b5))) {
death = true;
}
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if (points.text == 6000) {
gotoAndPlay (60);
}
b1._x = b1._x + xspeed1;
b2._x = b2._x + xspeed2;
b3._x = b3._x + xspeed3;
b4._x = b4._x + xspeed4;
b5._x = b5._x + xspeed5;
b6._x = b6._x + xspeed6;
b7._x = b7._x + xspeed7;
b8._x = b8._x + xspeed8;
b9._x = b9._x + xspeed9;
b10._x = b1._x + xspeed10;
b11._x = b1._x + xspeed11;
b12._x = b1._x + xspeed12;
b1._y = b1._y + yspeed1;
b2._y = b2._y + yspeed2;
b3._y = b3._y + yspeed3;
b4._y = b4._y + yspeed4;
b5._y = b5._y + yspeed5;
b6._y = b6._y + yspeed6;
b7._y = b7._y + yspeed7;
b8._y = b8._y + yspeed8;
b9._y = b9._y + yspeed9;
b10._y = b1._y + yspeed10;
b11._y = b1._y + yspeed11;
b12._y = b1._y + yspeed12;
if ((b1._x <= 20) || (b1._x >= 530)) {
xspeed1 = xspeed1 * -1;
}
if ((b10._x <= 20) || (b10._x >= 530)) {
xspeed10 = xspeed10 * -1;
}
if ((b11._x <= 20) || (b11._x >= 530)) {
xspeed11 = xspeed11 * -1;
}
if ((b12._x <= 20) || (b12._x >= 530)) {
xspeed12 = xspeed12 * -1;
}
if ((b2._x <= 20) || (b2._x >= 530)) {
xspeed2 = xspeed2 * -1;
}
if ((b3._x <= 20) || (b3._x >= 530)) {
xspeed3 = xspeed3 * -1;
}
if ((b4._x <= 20) || (b4._x >= 530)) {
xspeed4 = xspeed4 * -1;
}
if ((b5._x <= 20) || (b5._x >= 530)) {
xspeed5 = xspeed5 * -1;
}
if ((b6._x <= 20) || (b6._x >= 530)) {
xspeed6 = xspeed6 * -1;
}
if ((b7._x <= 20) || (b7._x >= 530)) {
xspeed7 = xspeed7 * -1;
}
if ((b8._x <= 20) || (b8._x >= 530)) {
xspeed8 = xspeed8 * -1;
}
if ((b9._x <= 20) || (b9._x >= 530)) {
xspeed9 = xspeed9 * -1;
}
if ((b1._y <= 20) || (b1._y >= 380)) {
yspeed1 = yspeed1 * -1;
}
if ((b10._y <= 20) || (b10._y >= 380)) {
yspeed10 = yspeed10 * -1;
}
if ((b11._y <= 20) || (b11._y >= 380)) {
yspeed11 = yspeed11 * -1;
}
if ((b12._y <= 20) || (b12._y >= 380)) {
yspeed12 = yspeed12 * -1;
}
if ((b2._y <= 20) || (b2._y >= 380)) {
yspeed2 = yspeed2 * -1;
}
if ((b3._y <= 20) || (b3._y >= 380)) {
yspeed3 = yspeed3 * -1;
}
if ((b4._y <= 20) || (b4._y >= 380)) {
yspeed4 = yspeed4 * -1;
}
if ((b5._y <= 20) || (b5._y >= 380)) {
yspeed5 = yspeed5 * -1;
}
if ((b6._y <= 20) || (b6._y >= 380)) {
yspeed6 = yspeed6 * -1;
}
if ((b7._y <= 20) || (b7._y >= 380)) {
yspeed7 = yspeed7 * -1;
}
if ((b8._y <= 20) || (b8._y >= 380)) {
yspeed8 = yspeed8 * -1;
}
if ((b9._y <= 20) || (b9._y >= 380)) {
yspeed9 = yspeed9 * -1;
}
}
Frame 59
gotoAndPlay (58);
Frame 60
pointer = 6000;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 61
code11._alpha = 100;
var xspeed1 = (random(31) - 15);
var xspeed1 = (random(31) - 15);
var xspeed3 = (random(31) - 15);
var xspeed4 = (random(31) - 15);
var xspeed5 = (random(31) - 15);
var xspeed6 = (random(31) - 15);
var xspeed7 = (random(31) - 15);
var xspeed8 = (random(31) - 15);
var xspeed9 = (random(31) - 15);
var yspeed1 = (random(31) - 15);
var yspeed1 = (random(31) - 15);
var yspeed3 = (random(31) - 15);
var yspeed4 = (random(31) - 15);
var yspeed5 = (random(31) - 15);
var yspeed6 = (random(31) - 15);
var yspeed7 = (random(31) - 15);
var yspeed8 = (random(31) - 15);
var yspeed9 = (random(31) - 15);
var xspeed10 = (random(11) - 5);
var xspeed11 = (random(11) - 5);
var xspeed11 = (random(11) - 5);
var yspeed10 = (random(11) - 5);
var yspeed11 = (random(11) - 5);
var yspeed11 = (random(11) - 5);
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3fall = random(20);
enemy3counter = 0;
enemy3counter1 = 0;
enemy4fall = random(20);
enemy4counter = 0;
enemy4counter1 = 0;
enemy5fall = random(20);
enemy5counter = 0;
enemy5counter1 = 0;
Frame 62
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
points.text = Number(points.text) + 1;
pointer = points.text;
if (code11._alpha >= 1) {
code11._alpha = code11._alpha - 1;
mouth.stop();
} else {
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(11);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(11);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
if (enemy3fall != 1) {
enemy3counter1 = enemy3counter1 + 1;
}
if (enemy3counter1 == 3) {
enemy3counter1 = 0;
enemy3fall = random(11);
}
if (enemy3fall == 1) {
enemy3counter = enemy3counter + 1;
}
if ((enemy3counter < 6) && (enemy3counter > 0)) {
enemy3._rotation = enemy3._rotation + 1;
}
if ((enemy3counter < 16) && (enemy3counter > 5)) {
enemy3._rotation = enemy3._rotation - 1;
}
if ((enemy3counter < 21) && (enemy3counter > 15)) {
enemy3._rotation = enemy3._rotation + 1;
}
if ((enemy3counter < 61) && (enemy3counter > 20)) {
enemy3._y = enemy3._y + 10;
}
if ((enemy3counter < 81) && (enemy3counter > 60)) {
enemy3._y = enemy3._y - 20;
}
if (enemy3counter == 81) {
enemy3counter = 0;
enemy3fall = 0;
enemy3counter1 == -30;
}
if (enemy4fall != 1) {
enemy4counter1 = enemy4counter1 + 1;
}
if (enemy4counter1 == 3) {
enemy4counter1 = 0;
enemy4fall = random(11);
}
if (enemy4fall == 1) {
enemy4counter = enemy4counter + 1;
}
if ((enemy4counter < 6) && (enemy4counter > 0)) {
enemy4._rotation = enemy4._rotation + 1;
}
if ((enemy4counter < 16) && (enemy4counter > 5)) {
enemy4._rotation = enemy4._rotation - 1;
}
if ((enemy4counter < 21) && (enemy4counter > 15)) {
enemy4._rotation = enemy4._rotation + 1;
}
if ((enemy4counter < 61) && (enemy4counter > 20)) {
enemy4._y = enemy4._y + 10;
}
if ((enemy4counter < 81) && (enemy4counter > 60)) {
enemy4._y = enemy4._y - 20;
}
if (enemy4counter == 81) {
enemy4counter = 0;
enemy4fall = 0;
enemy4counter1 == -30;
}
if (enemy5fall != 1) {
enemy5counter1 = enemy5counter1 + 1;
}
if (enemy5counter1 == 3) {
enemy5counter1 = 0;
enemy5fall = random(11);
}
if (enemy5fall == 1) {
enemy5counter = enemy5counter + 1;
}
if ((enemy5counter < 6) && (enemy5counter > 0)) {
enemy5._rotation = enemy5._rotation + 1;
}
if ((enemy5counter < 16) && (enemy5counter > 5)) {
enemy5._rotation = enemy5._rotation - 1;
}
if ((enemy5counter < 21) && (enemy5counter > 15)) {
enemy5._rotation = enemy5._rotation + 1;
}
if ((enemy5counter < 61) && (enemy5counter > 20)) {
enemy5._y = enemy5._y + 10;
}
if ((enemy5counter < 81) && (enemy5counter > 60)) {
enemy5._y = enemy5._y - 20;
}
if (enemy5counter == 81) {
enemy5counter = 0;
enemy5fall = 0;
enemy5counter1 == -30;
}
u.onEnterFrame = function () {
if (Key.isDown(32)) {
if (((((u.hitTest(b2.test) || (u.hitTest(b4.test))) || (u.hitTest(b8))) || (u.hitTest(b7))) || (u.hitTest(b6))) || (u.hitTest(b5))) {
death = true;
}
u._alpha = 30;
if ((u.hitTest(b1.test) || (u.hitTest(b3.test))) || (u.hitTest(b9.test))) {
death = true;
}
points.text = points.text - 1.1;
} else {
u._alpha = 100;
}
};
if ((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.testHit))) || (u.hitTest(enemy4.testHit))) || (u.hitTest(enemy5.testHit))) {
if (u._alpha == 100) {
stop();
u.gotoAndPlay(2);
}
}
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if (points.text == 6500) {
gotoAndPlay (64);
}
b1._x = b1._x + xspeed1;
b2._x = b2._x + xspeed2;
b3._x = b3._x + xspeed3;
b4._x = b4._x + xspeed4;
b5._x = b5._x + xspeed5;
b6._x = b6._x + xspeed6;
b7._x = b7._x + xspeed7;
b8._x = b8._x + xspeed8;
b9._x = b9._x + xspeed9;
b10._x = b1._x + xspeed10;
b11._x = b1._x + xspeed11;
b12._x = b1._x + xspeed12;
b1._y = b1._y + yspeed1;
b2._y = b2._y + yspeed2;
b3._y = b3._y + yspeed3;
b4._y = b4._y + yspeed4;
b5._y = b5._y + yspeed5;
b6._y = b6._y + yspeed6;
b7._y = b7._y + yspeed7;
b8._y = b8._y + yspeed8;
b9._y = b9._y + yspeed9;
b10._y = b1._y + yspeed10;
b11._y = b1._y + yspeed11;
b12._y = b1._y + yspeed12;
if ((b1._x <= 20) || (b1._x >= 530)) {
xspeed1 = xspeed1 * -1;
}
if ((b10._x <= 20) || (b10._x >= 530)) {
xspeed10 = xspeed10 * -1;
}
if ((b11._x <= 20) || (b11._x >= 530)) {
xspeed11 = xspeed11 * -1;
}
if ((b12._x <= 20) || (b12._x >= 530)) {
xspeed12 = xspeed12 * -1;
}
if ((b2._x <= 20) || (b2._x >= 530)) {
xspeed2 = xspeed2 * -1;
}
if ((b3._x <= 20) || (b3._x >= 530)) {
xspeed3 = xspeed3 * -1;
}
if ((b4._x <= 20) || (b4._x >= 530)) {
xspeed4 = xspeed4 * -1;
}
if ((b5._x <= 20) || (b5._x >= 530)) {
xspeed5 = xspeed5 * -1;
}
if ((b6._x <= 20) || (b6._x >= 530)) {
xspeed6 = xspeed6 * -1;
}
if ((b7._x <= 20) || (b7._x >= 530)) {
xspeed7 = xspeed7 * -1;
}
if ((b8._x <= 20) || (b8._x >= 530)) {
xspeed8 = xspeed8 * -1;
}
if ((b9._x <= 20) || (b9._x >= 530)) {
xspeed9 = xspeed9 * -1;
}
if ((b1._y <= 20) || (b1._y >= 380)) {
yspeed1 = yspeed1 * -1;
}
if ((b10._y <= 20) || (b10._y >= 380)) {
yspeed10 = yspeed10 * -1;
}
if ((b11._y <= 20) || (b11._y >= 380)) {
yspeed11 = yspeed11 * -1;
}
if ((b12._y <= 20) || (b12._y >= 380)) {
yspeed12 = yspeed12 * -1;
}
if ((b2._y <= 20) || (b2._y >= 380)) {
yspeed2 = yspeed2 * -1;
}
if ((b3._y <= 20) || (b3._y >= 380)) {
yspeed3 = yspeed3 * -1;
}
if ((b4._y <= 20) || (b4._y >= 380)) {
yspeed4 = yspeed4 * -1;
}
if ((b5._y <= 20) || (b5._y >= 380)) {
yspeed5 = yspeed5 * -1;
}
if ((b6._y <= 20) || (b6._y >= 380)) {
yspeed6 = yspeed6 * -1;
}
if ((b7._y <= 20) || (b7._y >= 380)) {
yspeed7 = yspeed7 * -1;
}
if ((b8._y <= 20) || (b8._y >= 380)) {
yspeed8 = yspeed8 * -1;
}
if ((b9._y <= 20) || (b9._y >= 380)) {
yspeed9 = yspeed9 * -1;
}
}
Frame 63
gotoAndPlay (62);
Frame 64
pointer = 6500;
points.text = pointer;
laser1speed = 1;
laser2speed = -1;
lasercounter = 0;
Frame 65
code11._alpha = 100;
var xspeed1 = (random(31) - 15);
var xspeed1 = (random(31) - 15);
var xspeed3 = (random(31) - 15);
var xspeed4 = (random(31) - 15);
var xspeed5 = (random(31) - 15);
var xspeed6 = (random(31) - 15);
var xspeed7 = (random(31) - 15);
var xspeed8 = (random(31) - 15);
var xspeed9 = (random(31) - 15);
var yspeed1 = (random(31) - 15);
var yspeed1 = (random(31) - 15);
var yspeed3 = (random(31) - 15);
var yspeed4 = (random(31) - 15);
var yspeed5 = (random(31) - 15);
var yspeed6 = (random(31) - 15);
var yspeed7 = (random(31) - 15);
var yspeed8 = (random(31) - 15);
var yspeed9 = (random(31) - 15);
var xspeed10 = (random(11) - 5);
var xspeed11 = (random(11) - 5);
var xspeed11 = (random(11) - 5);
var yspeed10 = (random(11) - 5);
var yspeed11 = (random(11) - 5);
var yspeed11 = (random(11) - 5);
enemy1fall = random(20);
enemy1counter = 0;
enemy1counter1 = 0;
enemy2fall = random(20);
enemy2counter = 0;
enemy2counter1 = 0;
enemy3fall = random(20);
enemy3counter = 0;
enemy3counter1 = 0;
enemy4fall = random(20);
enemy4counter = 0;
enemy4counter1 = 0;
enemy5fall = random(20);
enemy5counter = 0;
enemy5counter1 = 0;
Frame 66
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
points.text = Number(points.text) + 1;
pointer = points.text;
if (code11._alpha >= 1) {
code11._alpha = code11._alpha - 1;
mouth.stop();
} else {
if (enemy1fall != 1) {
enemy1counter1 = enemy1counter1 + 1;
}
if (enemy1counter1 == 3) {
enemy1counter1 = 0;
enemy1fall = random(31);
}
if (enemy1fall == 1) {
enemy1counter = enemy1counter + 1;
}
if ((enemy1counter < 6) && (enemy1counter > 0)) {
enemy1._rotation = enemy1._rotation + 1;
enemy6._rotation = enemy6._rotation - 1;
}
if ((enemy1counter < 16) && (enemy1counter > 5)) {
enemy1._rotation = enemy1._rotation - 1;
enemy6._rotation = enemy6._rotation + 1;
}
if ((enemy1counter < 21) && (enemy1counter > 15)) {
enemy1._rotation = enemy1._rotation + 1;
enemy6._rotation = enemy6._rotation - 1;
}
if ((enemy1counter < 61) && (enemy1counter > 20)) {
enemy1._y = enemy1._y + 10;
enemy6._y = enemy6._y - 10;
}
if ((enemy1counter < 81) && (enemy1counter > 60)) {
enemy1._y = enemy1._y - 20;
enemy6._y = enemy6._y + 20;
}
if (enemy1counter == 81) {
enemy1counter = 0;
enemy1fall = 0;
enemy1counter1 == -10;
}
if (enemy2fall != 1) {
enemy2counter1 = enemy2counter1 + 1;
}
if (enemy2counter1 == 3) {
enemy2counter1 = 0;
enemy2fall = random(31);
}
if (enemy2fall == 1) {
enemy2counter = enemy2counter + 1;
}
if ((enemy2counter < 6) && (enemy2counter > 0)) {
enemy2._rotation = enemy2._rotation + 1;
enemy7._rotation = enemy7._rotation - 1;
}
if ((enemy2counter < 16) && (enemy2counter > 5)) {
enemy2._rotation = enemy2._rotation - 1;
enemy7._rotation = enemy7._rotation + 1;
}
if ((enemy2counter < 21) && (enemy2counter > 15)) {
enemy2._rotation = enemy2._rotation + 1;
enemy7._rotation = enemy7._rotation - 1;
}
if ((enemy2counter < 61) && (enemy2counter > 20)) {
enemy2._y = enemy2._y + 10;
enemy7._y = enemy7._y - 10;
}
if ((enemy2counter < 81) && (enemy2counter > 60)) {
enemy2._y = enemy2._y - 20;
enemy7._y = enemy7._y + 20;
}
if (enemy2counter == 81) {
enemy2counter = 0;
enemy2fall = 0;
enemy2counter1 == -30;
}
if (enemy3fall != 1) {
enemy3counter1 = enemy3counter1 + 1;
}
if (enemy3counter1 == 3) {
enemy3counter1 = 0;
enemy3fall = random(31);
}
if (enemy3fall == 1) {
enemy3counter = enemy3counter + 1;
}
if ((enemy3counter < 6) && (enemy3counter > 0)) {
enemy3._rotation = enemy3._rotation + 1;
enemy8._rotation = enemy8._rotation - 1;
}
if ((enemy3counter < 16) && (enemy3counter > 5)) {
enemy3._rotation = enemy3._rotation - 1;
enemy8._rotation = enemy8._rotation + 1;
}
if ((enemy3counter < 21) && (enemy3counter > 15)) {
enemy3._rotation = enemy3._rotation + 1;
enemy8._rotation = enemy8._rotation - 1;
}
if ((enemy3counter < 61) && (enemy3counter > 20)) {
enemy3._y = enemy3._y + 10;
enemy8._y = enemy8._y - 10;
}
if ((enemy3counter < 81) && (enemy3counter > 60)) {
enemy3._y = enemy3._y - 20;
enemy8._y = enemy8._y + 20;
}
if (enemy3counter == 81) {
enemy3counter = 0;
enemy3fall = 0;
enemy3counter1 == -30;
}
if (enemy4fall != 1) {
enemy4counter1 = enemy4counter1 + 1;
}
if (enemy4counter1 == 3) {
enemy4counter1 = 0;
enemy4fall = random(31);
}
if (enemy4fall == 1) {
enemy4counter = enemy4counter + 1;
}
if ((enemy4counter < 6) && (enemy4counter > 0)) {
enemy4._rotation = enemy4._rotation + 1;
enemy9._rotation = enemy9._rotation - 1;
}
if ((enemy4counter < 16) && (enemy4counter > 5)) {
enemy4._rotation = enemy4._rotation - 1;
enemy9._rotation = enemy9._rotation + 1;
}
if ((enemy4counter < 21) && (enemy4counter > 15)) {
enemy4._rotation = enemy4._rotation + 1;
enemy9._rotation = enemy9._rotation - 1;
}
if ((enemy4counter < 61) && (enemy4counter > 20)) {
enemy4._y = enemy4._y + 10;
enemy9._y = enemy9._y - 10;
}
if ((enemy4counter < 81) && (enemy4counter > 60)) {
enemy4._y = enemy4._y - 20;
enemy9._y = enemy9._y + 20;
}
if (enemy4counter == 81) {
enemy4counter = 0;
enemy4fall = 0;
enemy4counter1 == -30;
}
if (enemy5fall != 1) {
enemy5counter1 = enemy5counter1 + 1;
}
if (enemy5counter1 == 3) {
enemy5counter1 = 0;
enemy5fall = random(31);
}
if (enemy5fall == 1) {
enemy5counter = enemy5counter + 1;
}
if ((enemy5counter < 6) && (enemy5counter > 0)) {
enemy5._rotation = enemy5._rotation + 1;
enemy10._rotation = enemy10._rotation - 1;
}
if ((enemy5counter < 16) && (enemy5counter > 5)) {
enemy5._rotation = enemy5._rotation - 1;
enemy10._rotation = enemy10._rotation + 1;
}
if ((enemy5counter < 21) && (enemy5counter > 15)) {
enemy5._rotation = enemy5._rotation + 1;
enemy10._rotation = enemy10._rotation - 1;
}
if ((enemy5counter < 61) && (enemy5counter > 20)) {
enemy5._y = enemy5._y + 10;
enemy10._y = enemy10._y - 10;
}
if ((enemy5counter < 81) && (enemy5counter > 60)) {
enemy5._y = enemy5._y - 20;
enemy10._y = enemy10._y + 20;
}
if (enemy5counter == 81) {
enemy5counter = 0;
enemy5fall = 0;
enemy5counter1 == -30;
}
u.onEnterFrame = function () {
if (Key.isDown(32)) {
if (((((u.hitTest(b2.test) || (u.hitTest(b4.test))) || (u.hitTest(b8))) || (u.hitTest(b7))) || (u.hitTest(b6))) || (u.hitTest(b5))) {
death = true;
}
if ((((u.hitTest(enemy1.testHit) || (u.hitTest(enemy2.testHit))) || (u.hitTest(enemy3.testHit))) || (u.hitTest(enemy4.testHit))) || (u.hitTest(enemy5.testHit))) {
death = true;
}
u._alpha = 30;
if ((u.hitTest(b1.test) || (u.hitTest(b3.test))) || (u.hitTest(b9.test))) {
death = true;
}
points.text = points.text - 1.1;
} else {
u._alpha = 100;
}
};
if (death == true) {
stop();
u._alpha = 30;
u.gotoAndPlay(2);
}
if ((((u.hitTest(enemy6.testHit) || (u.hitTest(enemy7.testHit))) || (u.hitTest(enemy8.testHit))) || (u.hitTest(enemy9.testHit))) || (u.hitTest(enemy10.testHit))) {
if (u._alpha == 100) {
death = true;
}
}
if (points.text == 7000) {
gotoAndPlay (68);
}
b1._x = b1._x + xspeed1;
b2._x = b2._x + xspeed2;
b3._x = b3._x + xspeed3;
b4._x = b4._x + xspeed4;
b5._x = b5._x + xspeed5;
b6._x = b6._x + xspeed6;
b7._x = b7._x + xspeed7;
b8._x = b8._x + xspeed8;
b9._x = b9._x + xspeed9;
b10._x = b1._x + xspeed10;
b11._x = b1._x + xspeed11;
b12._x = b1._x + xspeed12;
b1._y = b1._y + yspeed1;
b2._y = b2._y + yspeed2;
b3._y = b3._y + yspeed3;
b4._y = b4._y + yspeed4;
b5._y = b5._y + yspeed5;
b6._y = b6._y + yspeed6;
b7._y = b7._y + yspeed7;
b8._y = b8._y + yspeed8;
b9._y = b9._y + yspeed9;
b10._y = b1._y + yspeed10;
b11._y = b1._y + yspeed11;
b12._y = b1._y + yspeed12;
if ((b1._x <= 20) || (b1._x >= 530)) {
xspeed1 = xspeed1 * -1;
}
if ((b10._x <= 20) || (b10._x >= 530)) {
xspeed10 = xspeed10 * -1;
}
if ((b11._x <= 20) || (b11._x >= 530)) {
xspeed11 = xspeed11 * -1;
}
if ((b12._x <= 20) || (b12._x >= 530)) {
xspeed12 = xspeed12 * -1;
}
if ((b2._x <= 20) || (b2._x >= 530)) {
xspeed2 = xspeed2 * -1;
}
if ((b3._x <= 20) || (b3._x >= 530)) {
xspeed3 = xspeed3 * -1;
}
if ((b4._x <= 20) || (b4._x >= 530)) {
xspeed4 = xspeed4 * -1;
}
if ((b5._x <= 20) || (b5._x >= 530)) {
xspeed5 = xspeed5 * -1;
}
if ((b6._x <= 20) || (b6._x >= 530)) {
xspeed6 = xspeed6 * -1;
}
if ((b7._x <= 20) || (b7._x >= 530)) {
xspeed7 = xspeed7 * -1;
}
if ((b8._x <= 20) || (b8._x >= 530)) {
xspeed8 = xspeed8 * -1;
}
if ((b9._x <= 20) || (b9._x >= 530)) {
xspeed9 = xspeed9 * -1;
}
if ((b1._y <= 20) || (b1._y >= 380)) {
yspeed1 = yspeed1 * -1;
}
if ((b10._y <= 20) || (b10._y >= 380)) {
yspeed10 = yspeed10 * -1;
}
if ((b11._y <= 20) || (b11._y >= 380)) {
yspeed11 = yspeed11 * -1;
}
if ((b12._y <= 20) || (b12._y >= 380)) {
yspeed12 = yspeed12 * -1;
}
if ((b2._y <= 20) || (b2._y >= 380)) {
yspeed2 = yspeed2 * -1;
}
if ((b3._y <= 20) || (b3._y >= 380)) {
yspeed3 = yspeed3 * -1;
}
if ((b4._y <= 20) || (b4._y >= 380)) {
yspeed4 = yspeed4 * -1;
}
if ((b5._y <= 20) || (b5._y >= 380)) {
yspeed5 = yspeed5 * -1;
}
if ((b6._y <= 20) || (b6._y >= 380)) {
yspeed6 = yspeed6 * -1;
}
if ((b7._y <= 20) || (b7._y >= 380)) {
yspeed7 = yspeed7 * -1;
}
if ((b8._y <= 20) || (b8._y >= 380)) {
yspeed8 = yspeed8 * -1;
}
if ((b9._y <= 20) || (b9._y >= 380)) {
yspeed9 = yspeed9 * -1;
}
}
Frame 67
gotoAndPlay (66);
Frame 68
stop();
Frame 69
pointer = 10000;
points.text = pointer;
Frame 70
code11._alpha = 100;
var speeder = random(2);
var speeder2 = random(2);
var speed;
if (speeder == 1) {
speed = -(random(5) + 5);
} else {
speed = random(5) + 5;
}
var speed2;
if (speeder2 == 1) {
speed2 = -(random(5) + 5);
} else {
speed2 = random(5) + 5;
}
defeatcounter = 40;
boss._x = 200 + random(100);
boss._y = 150 + random(50);
switcher._x = boss._x;
switcher._y = boss._y;
box._y = switcher._y;
box._x = switcher._x;
Frame 71
u._rotation = u._rotation - 5;
u._x = u._x + ((_xmouse - u._x) / 2);
u._y = u._y + ((_ymouse - u._y) / 2);
u._width = 60;
u._height = u._width;
if (code11._alpha >= 1) {
code11._alpha = code11._alpha - 1;
} else {
points.text = Number(points.text) - 1;
pointer = points.text;
if (u.hitTest(boss.tracer) || (u.hitTest(box))) {
stop();
u.gotoAndPlay(2);
}
u.onEnterFrame = function () {
if (Key.isDown(32)) {
u._alpha = 30;
boss._x = boss._x + ((u._x - boss._x) / 5);
boss._y = boss._y + ((u._y - boss._y) / 5);
switcher._x = switcher._x + ((u._x - switcher._x) / 100);
switcher._y = switcher._y + ((u._y - switcher._y) / 100);
} else {
u._alpha = 100;
}
};
if ((boss._y <= 20) || (boss._y >= 380)) {
speed = speed * -1;
}
if ((boss._x <= 20) || (boss._x >= 530)) {
speed2 = speed2 * -1;
}
boss._rotation = boss._rotation + 10;
boss._y = boss._y + speed;
boss._x = boss._x + speed2;
if (u.hitTest(switcher)) {
switcher.gotoAndStop(2);
defeatcounter = defeatcounter - 1;
shadower._alpha = shadower._alpha + 0.5;
boss._alpha = boss._alpha - 0.5;
life.text = Number(life.text - 0.5);
box._alpha = box._alpha - 2;
} else {
switcher.gotoAndStop(1);
}
if (defeatcounter == 0) {
defeatcounter = 40;
box._alpha = 100;
switcher._x = boss._x;
switcher._y = boss._y;
box._x = switcher._x;
box._y = switcher._y;
}
shadower._rotation = boss._rotation;
shadower._x = boss._x;
shadower._y = boss._y;
if (life.text <= 0) {
gotoAndStop (73);
}
}
Frame 72
gotoAndPlay (71);
Frame 73
score.text = pointer;
u._rotation = u._rotation + 10;
Symbol 14 Button
on (release) {
gotoAndPlay (10);
}
Symbol 20 Button
on (release) {
gotoAndStop (2);
}
Symbol 23 Button
on (press) {
if (levelCode.text == "Mikhail Rudoy") {
levelCode.text = "Made This Game";
}
if (levelCode.text == "Yevgeniy Rudoy") {
levelCode.text = "Helped With Ideas";
}
if (levelCode.text == "Level1") {
_root.gotoAndPlay(10);
}
if (levelCode.text == "NOT so safe") {
_root.gotoAndPlay(16);
}
if (levelCode.text == "Double Trouble") {
_root.gotoAndPlay(20);
}
if (levelCode.text == "No Way") {
_root.gotoAndPlay(24);
}
if (levelCode.text == "Super Bad Luck") {
_root.gotoAndPlay(28);
}
if (levelCode.text == "Multitrouble") {
_root.gotoAndPlay(32);
}
if (levelCode.text == "rest level") {
_root.gotoAndPlay(36);
}
if (levelCode.text == "OK...") {
_root.gotoAndPlay(40);
}
if (levelCode.text == "...OK...") {
_root.gotoAndPlay(44);
}
if (levelCode.text == "Not Good") {
_root.gotoAndPlay(48);
}
if (levelCode.text == "Feed Me") {
_root.gotoAndPlay(52);
}
if (levelCode.text == "A Bit Easier") {
_root.gotoAndPlay(56);
}
if (levelCode.text == "A Bit Of All") {
_root.gotoAndPlay(60);
}
if (levelCode.text == "Unexpected") {
_root.gotoAndPlay(64);
}
if (levelCode.text == "Bossy Boss") {
_root.gotoAndPlay(68);
}
}
Symbol 29 Button
on (release) {
getURL ("http://www.albinoblacksheep.com/", "_blank");
}
Symbol 39 Button
on (release) {
nextFrame();
}
Symbol 43 Button
on (release) {
gotoAndStop (1);
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 41
_root.gotoAndStop(15);
Symbol 53 Button
on (release) {
prevFrame();
}
Symbol 163 Button
on (release) {
gotoAndPlay (69);
}
Symbol 175 MovieClip Frame 1
stop();