Frame 125
gotoAndPlay (126);
Frame 126
stop();
Instance of Symbol 26 MovieClip "container" in Frame 126
onClipEvent (load) {
_root.ready._alpha = 0;
}
Frame 127
stop();
Instance of Symbol 26 MovieClip "container" in Frame 127
onClipEvent (enterFrame) {
_root.getready._x = 999;
}
Frame 128
stop();
stop();
Instance of Symbol 37 MovieClip "ebullet0" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet0._x, _root.ebullet0._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet1" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet1._x, _root.ebullet1._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet2" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet2._x, _root.ebullet2._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet3" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet3._x, _root.ebullet3._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet4" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet4._x, _root.ebullet4._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet5" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet5._x, _root.ebullet5._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet6" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet6._x, _root.ebullet6._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet7" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet7._x, _root.ebullet7._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet8" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet8._x, _root.ebullet8._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 37 MovieClip "ebullet9" in Frame 128
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (_root.ship.hitTest(_root.ebullet9._x, _root.ebullet9._y, true)) {
_root.shield = _root.shield - 5;
this.play();
_root.ship.play();
}
}
Instance of Symbol 41 MovieClip "bullet0" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet1" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet1._x, _root.bullet1._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet1._x, _root.bullet1._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet1._x, _root.bullet1._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet1._x, _root.bullet1._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet1._x, _root.bullet1._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet1._x, _root.bullet1._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet1._x, _root.bullet1._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet1._x, _root.bullet1._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet2" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet2._x, _root.bullet2._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet2._x, _root.bullet2._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet2._x, _root.bullet2._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet2._x, _root.bullet2._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet2._x, _root.bullet2._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet2._x, _root.bullet2._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet2._x, _root.bullet2._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet2._x, _root.bullet2._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet3" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet3._x, _root.bullet3._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet3._x, _root.bullet3._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet3._x, _root.bullet3._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet3._x, _root.bullet3._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet3._x, _root.bullet3._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet3._x, _root.bullet3._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet3._x, _root.bullet3._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet3._x, _root.bullet3._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet4" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet4._x, _root.bullet4._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet4._x, _root.bullet4._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet4._x, _root.bullet4._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet4._x, _root.bullet4._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet5" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet5._x, _root.bullet5._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet5._x, _root.bullet5._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet5._x, _root.bullet5._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet5._x, _root.bullet5._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet6" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet6._x, _root.bullet6._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet6._x, _root.bullet6._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet6._x, _root.bullet6._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet6._x, _root.bullet6._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet7" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet7._x, _root.bullet7._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet7._x, _root.bullet7._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet7._x, _root.bullet7._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet7._x, _root.bullet7._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet8" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet8._x, _root.bullet8._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet8._x, _root.bullet8._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet8._x, _root.bullet8._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet8._x, _root.bullet8._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet0._x, _root.bullet0._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 41 MovieClip "bullet9" in Frame 128
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
this._y = this._y - speed;
if (_root.target0.hitTest(_root.bullet9._x, _root.bullet9._y, true)) {
_root.target0.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target1.hitTest(_root.bullet9._x, _root.bullet9._y, true)) {
_root.target1.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target2.hitTest(_root.bullet9._x, _root.bullet9._y, true)) {
_root.target2.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target3.hitTest(_root.bullet9._x, _root.bullet9._y, true)) {
_root.target3.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target4.hitTest(_root.bullet9._x, _root.bullet9._y, true)) {
_root.target4.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target5.hitTest(_root.bullet9._x, _root.bullet9._y, true)) {
_root.target5.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target6.hitTest(_root.bullet9._x, _root.bullet9._y, true)) {
_root.target6.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
if (_root.target7.hitTest(_root.bullet9._x, _root.bullet9._y, true)) {
_root.target7.goToAndPlay(2);
_root.score++;
this.play();
speed = 5;
}
}
Instance of Symbol 44 MovieClip "target1" in Frame 128
onClipEvent (load) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target1"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target1"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target1"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target1"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
onClipEvent (enterFrame) {
fire = Math.floor((Math.random() * 50) + 1);
if (fire == 9) {
_root["ebullet" + _root.container.ebulletcounter]._x = this._x;
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - 15;
_root.container.ebulletcounter++;
if (9 < _root.container.ebulletcounter) {
_root.container.ebulletcounter = 0;
}
}
if (0 < _root.bulletsleft) {
this._y = this._y + yspeed;
this._x = this._x + xspeed;
if (500 < this._y) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
_root.miss++;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target1"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target1"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target1"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target1"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
}
}
Instance of Symbol 47 MovieClip "target0" in Frame 128
onClipEvent (load) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target0"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target0"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target0"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target0"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
onClipEvent (enterFrame) {
fire = Math.floor((Math.random() * 50) + 1);
if (fire == 9) {
_root["ebullet" + _root.container.ebulletcounter]._x = this._x + 8;
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - 15;
_root.container.ebulletcounter++;
if (9 < _root.container.ebulletcounter) {
_root.container.ebulletcounter = 0;
}
}
if (0 < _root.bulletsleft) {
this._y = this._y + yspeed;
this._x = this._x + (-xspeed);
if (500 < this._y) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
_root.miss++;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target0"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target0"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target0"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target0"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
}
}
Instance of Symbol 48 MovieClip "target2" in Frame 128
onClipEvent (load) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target2"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target2"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target2"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target2"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
onClipEvent (enterFrame) {
fire = Math.floor((Math.random() * 50) + 1);
if (fire == 9) {
_root["ebullet" + _root.container.ebulletcounter]._x = this._x - 18;
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - 45;
_root.container.ebulletcounter++;
_root["ebullet" + _root.container.ebulletcounter]._x = this._x + 18;
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - 45;
_root.container.ebulletcounter++;
if (9 < _root.container.ebulletcounter) {
_root.container.ebulletcounter = 0;
}
}
if (0 < _root.bulletsleft) {
this._y = this._y + yspeed;
this._x = this._x + xspeed;
if (500 < this._y) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
_root.miss++;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target2"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target2"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target2"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target2"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
}
}
Instance of Symbol 49 MovieClip "target3" in Frame 128
onClipEvent (load) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target3"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target3"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target3"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target3"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
onClipEvent (enterFrame) {
fire = Math.floor((Math.random() * 50) + 1);
if (fire == 9) {
_root["ebullet" + _root.container.ebulletcounter]._x = this._x - (((scale - 49) * 0.36) + 19);
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - (((scale - 49) * 0.3) + 30);
_root.container.ebulletcounter++;
if (9 < _root.container.ebulletcounter) {
_root.container.ebulletcounter = 0;
}
}
if (0 < _root.bulletsleft) {
this._y = this._y + yspeed;
this._x = this._x + xspeed;
if (550 < this._y) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
_root.miss++;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target3"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target3"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target3"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target3"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
}
}
Instance of Symbol 26 MovieClip "container" in Frame 128
onClipEvent (load) {
gravity = 0.5;
bulletcounter = 80;
ebulletcounter = 0;
_root.miss = 0;
stop = 0;
}
onClipEvent (enterFrame) {
_root.shieldbar._xscale = _root.shield;
if (0 >= _root.shield) {
_root.gotoAndStop("destroyed2");
}
if (0 >= _root.bulletsleft) {
stop++;
if (stop >= 25) {
_root.gotoAndStop("amo2");
}
if ((_root.score = 2)) {
stop++;
if (stop >= 25) {
_root.gotoAndStop("destroyed4");
}
}
}
if (_root.ship.hitTest(_root.target0._x, _root.target0._y, true)) {
_root.shield = _root.shield - 5;
_root.target0.play();
_root.ship.play();
}
if (_root.ship.hitTest(_root.target1._x, _root.target1._y, true)) {
_root.shield = _root.shield - 5;
_root.target1.play();
_root.ship.play();
}
if (_root.ship.hitTest(_root.target2._x, _root.target2._y, true)) {
_root.shield = _root.shield - 5;
_root.target2.play();
_root.ship.play();
}
if (_root.ship.hitTest(_root.target3._x, _root.target3._y, true)) {
_root.shield = _root.shield - 5;
_root.target3.play();
_root.ship.play();
}
if (_root.ship.hitTest(_root.target4._x, _root.target4._y, true)) {
_root.shield = _root.shield - 5;
_root.target4.play();
_root.ship.play();
}
if (_root.ship.hitTest(_root.target5._x, _root.target5._y, true)) {
_root.shield = _root.shield - 5;
_root.target5.play();
_root.ship.play();
}
if (_root.ship.hitTest(_root.target6._x, _root.target6._y, true)) {
_root.shield = _root.shield - 5;
_root.target6.play();
_root.ship.play();
}
if (_root.ship.hitTest(_root.target7._x, _root.target7._y, true)) {
_root.shield = _root.shield - 5;
_root.target7.play();
_root.ship.play();
}
}
Instance of Symbol 55 MovieClip "ship" in Frame 128
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.ship._x = this._x - 20;
}
if (Key.isDown(39)) {
_root.ship._x = this._x + 20;
}
if (50 >= _root.ship._x) {
_root.ship._x = 50;
}
if (_root.ship._x >= 500) {
_root.ship._x = 500;
}
}
Instance of Symbol 62 MovieClip in Frame 128
onClipEvent (load) {
start = getTimer();
startCount = 40;
}
onClipEvent (enterFrame) {
current = (getTimer() - start) / 1000;
if (current < startCount) {
elapsed = startCount - current;
counter = Math.floor(elapsed);
} else {
_root.gotoAndStop("done");
}
}
Instance of Symbol 44 MovieClip "target4" in Frame 128
onClipEvent (load) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target4"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target4"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target4"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target4"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
onClipEvent (enterFrame) {
fire = Math.floor((Math.random() * 50) + 1);
if (fire == 9) {
_root["ebullet" + _root.container.ebulletcounter]._x = this._x;
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - 15;
_root.container.ebulletcounter++;
if (9 < _root.container.ebulletcounter) {
_root.container.ebulletcounter = 0;
}
}
if (0 < _root.bulletsleft) {
this._y = this._y + yspeed;
this._x = this._x + xspeed;
if (500 < this._y) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
_root.miss++;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target4"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target4"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target4"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target4"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
}
}
Instance of Symbol 47 MovieClip "target5" in Frame 128
onClipEvent (load) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target5"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target5"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target5"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target5"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
onClipEvent (enterFrame) {
fire = Math.floor((Math.random() * 50) + 1);
if (fire == 9) {
_root["ebullet" + _root.container.ebulletcounter]._x = this._x + 8;
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - 15;
_root.container.ebulletcounter++;
if (9 < _root.container.ebulletcounter) {
_root.container.ebulletcounter = 0;
}
}
if (0 < _root.bulletsleft) {
this._y = this._y + yspeed;
this._x = this._x + (-xspeed);
if (500 < this._y) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
_root.miss++;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target5"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target5"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target5"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target5"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
}
}
Instance of Symbol 48 MovieClip "target6" in Frame 128
onClipEvent (load) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target6"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target6"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target6"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target6"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
onClipEvent (enterFrame) {
fire = Math.floor((Math.random() * 50) + 1);
if (fire == 9) {
_root["ebullet" + _root.container.ebulletcounter]._x = this._x - 18;
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - 45;
_root.container.ebulletcounter++;
_root["ebullet" + _root.container.ebulletcounter]._x = this._x + 18;
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - 45;
_root.container.ebulletcounter++;
if (9 < _root.container.ebulletcounter) {
_root.container.ebulletcounter = 0;
}
}
if (0 < _root.bulletsleft) {
this._y = this._y + yspeed;
this._x = this._x + xspeed;
if (500 < this._y) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
_root.miss++;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target6"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target6"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target6"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target6"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
}
}
Instance of Symbol 49 MovieClip "target7" in Frame 128
onClipEvent (load) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target7"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target7"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target7"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target7"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
onClipEvent (enterFrame) {
fire = Math.floor((Math.random() * 50) + 1);
if (fire == 9) {
_root["ebullet" + _root.container.ebulletcounter]._x = this._x - (((scale - 49) * 0.36) + 19);
_root["ebullet" + _root.container.ebulletcounter]._y = this._y - (((scale - 49) * 0.3) + 30);
_root.container.ebulletcounter++;
if (9 < _root.container.ebulletcounter) {
_root.container.ebulletcounter = 0;
}
}
if (0 < _root.bulletsleft) {
this._y = this._y + yspeed;
this._x = this._x + xspeed;
if (550 < this._y) {
this._y = 0;
this._x = (Math.random() * 400) + 100;
scale = (Math.random() * 50) + 50;
this._xscale = scale;
this._yscale = scale;
yspeed = (Math.random() * 3) + 2;
xspeed = (Math.random() * 2) + 1;
this._alpha = (Math.random() * 50) + 50;
_root.miss++;
colour = Math.floor((Math.random() * 4) + 1);
if (colour == 1) {
targetColor = new Color(["_root.target7"]);
myObject = new Object();
myObject = {ra:-100, rb:0, ga:50, gb:0, ba:100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 2) {
targetColor = new Color(["_root.target7"]);
myObject = new Object();
myObject = {ra:16, rb:0, ga:60, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 3) {
targetColor = new Color(["_root.target7"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:29, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
if (colour == 4) {
targetColor = new Color(["_root.target7"]);
myObject = new Object();
myObject = {ra:100, rb:0, ga:58, gb:0, ba:-100, bb:0, aa:100, ab:0};
targetColor.setTransform(myObject);
}
}
}
}
Frame 129
stop();
Instance of Symbol 26 MovieClip "container" in Frame 129
onClipEvent (load) {
_root.thepass2._alpha = 0;
if (_root.miss < _root.score) {
_root.miss = _root.score;
}
score2 = _root.score / (80 - _root.bulletsleft);
_root.accuracy = _root.score / _root.miss;
_root.accuracy = Math.floor(_root.accuracy * 100);
score3 = _root.accuracy + (score2 * 100);
accuracy3 = Math.floor(score3 / 2);
_root.accuracy2 = accuracy3 + "%";
if (_root.score >= 50) {
_root.thepass2._alpha = 100;
}
}
Frame 130
stop();
Instance of Symbol 26 MovieClip "container" in Frame 130
onClipEvent (load) {
_root.thepass2._alpha = 0;
if (_root.miss < _root.score) {
_root.miss = _root.score;
}
score2 = _root.score / (80 - _root.bulletsleft);
_root.accuracy = _root.score / _root.miss;
_root.accuracy = Math.floor(_root.accuracy * 100);
score3 = _root.accuracy + (score2 * 100);
accuracy3 = Math.floor(score3 / 2);
_root.accuracy2 = accuracy3 + "%";
if (_root.score >= 50) {
_root.thepass2._alpha = 100;
}
if ((_root.accuracy == 0) and (_root.bulletsleft == 80)) {
_root.accuracy2 = "0%";
}
}
Symbol 4 MovieClip [yarget] Frame 1
stop();
Symbol 4 MovieClip [yarget] Frame 10
gotoAndStop (1);
this._x = -71;
Symbol 6 MovieClip [target] Frame 1
stop();
Symbol 6 MovieClip [target] Frame 10
gotoAndStop (1);
this._x = -71;
Symbol 12 Button
on (rollOver) {
_root.ready._alpha = 100;
}
on (release) {
_root.ready.gotoAndPlay(2);
_root.ready._alpha = 100;
_root.bulletsleft = 80;
_root.score = 0;
_root.accuracy = 0;
_root.accuracy2 = 0;
_root.shield = 100;
}
Symbol 14 Button
on (release) {
gotoAndStop (127);
}
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 100
_root.gotoAndStop("battle2");
Symbol 29 Button
on (release) {
gotoAndStop (126);
}
Symbol 32 Button
on (keyPress "<Space>") {
if (0 < _root.bulletsleft) {
_root["bullet" + _root.container.bulletcounter]._x = _root.ship._x - 2;
_root["bullet" + _root.container.bulletcounter]._y = _root.ship._y - 5;
_root.bulletsleft--;
_root.container.bulletcounter++;
_root["bullet" + (_root.container.bulletcounter - 1)].speed = 20;
if (9 < _root.container.bulletcounter) {
_root.container.bulletcounter = 0;
}
}
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 10
gotoAndStop (1);
this._x = 999;
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 10
gotoAndStop (1);
this._x = 999;
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 6
gotoAndStop (1);
this._y = 500;
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 6
gotoAndStop (1);
this._y = 500;
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 6
gotoAndStop (1);
this._y = 500;
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 6
gotoAndStop (1);
this._y = 551;