Instance of Symbol 19 MovieClip in Symbol 21 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.charge);
}
Instance of Symbol 19 MovieClip in Symbol 27 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.charge);
}
Instance of Symbol 29 MovieClip in Symbol 30 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shiplevel == 1) {
textobj.text = "X-100 Heavy Scout\rHigh Entry Level\rPrice: " + _root.thing.gamelevel.ship.ship2price;
}
if (_root.thing.gamelevel.ship.shiplevel > 1) {
textobj.text = "X-100 Heavy Scout\rHigh Entry Level\rAlready Purchased";
}
}
Instance of Symbol 34 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.charge);
}
Instance of Symbol 29 MovieClip in Symbol 37 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shiplevel < 2) {
textobj.text = "K-325 Light Assaulter\rIntermediate Level\rMust Purchase X-100. ";
}
if (_root.thing.gamelevel.ship.shiplevel == 2) {
textobj.text = "K-325 Light Assaulter\rIntermediate Level\rPrice: " + _root.thing.gamelevel.ship.ship3price;
}
if (_root.thing.gamelevel.ship.shiplevel > 2) {
textobj.text = "K-325 Light Assaulter\rIntermediate Level\rAlready Purchased";
}
}
Instance of Symbol 34 MovieClip in Symbol 40 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.charge);
}
Instance of Symbol 29 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shiplevel < 3) {
textobj.text = "K-400 Assault Hull\rAdvanced Protection\rMust Purchase K-325. ";
}
if (_root.thing.gamelevel.ship.shiplevel == 3) {
textobj.text = "K-400 Assault Hull\rAdvanced Protection\rPrice: " + _root.thing.gamelevel.ship.ship4price;
}
if (_root.thing.gamelevel.ship.shiplevel > 3) {
textobj.text = "K-400 Assault Hull\rAdvanced Protection\rAlready Purchased";
}
}
Instance of Symbol 34 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.charge);
}
Instance of Symbol 29 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shiplevel < 4) {
textobj.text = "K-500 Elite Hull\rElite Protection\rMust Purchase K-400. ";
}
if (_root.thing.gamelevel.ship.shiplevel == 4) {
textobj.text = "K-500 Elite Hull\rElite Protection\rPrice: " + _root.thing.gamelevel.ship.ship5price;
}
if (_root.thing.gamelevel.ship.shiplevel > 4) {
textobj.text = "K-500 Assault Hull\rElite Protection\rAlready Purchased";
}
}
Instance of Symbol 31 MovieClip in Symbol 51 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shiplevel == 1) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shiplevel == 1) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.ship2price) {
_root.thing.gamelevel.ship.shiplevel = 2;
_root.thing.gamelevel.ship.armorcurrent = _root.thing.gamelevel.ship.armor2;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.ship2price;
}
}
}
}
}
}
Instance of Symbol 38 MovieClip in Symbol 51 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shiplevel == 2) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shiplevel == 2) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.ship3price) {
_root.thing.gamelevel.ship.shiplevel = 3;
_root.thing.gamelevel.ship.armorcurrent = _root.thing.gamelevel.ship.armor3;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.ship3price;
}
}
}
}
}
}
Instance of Symbol 42 MovieClip in Symbol 51 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shiplevel == 3) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shiplevel == 3) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.ship4price) {
_root.thing.gamelevel.ship.shiplevel = 4;
_root.thing.gamelevel.ship.armorcurrent = _root.thing.gamelevel.ship.armor4;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.ship4price;
}
}
}
}
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shiplevel == 4) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shiplevel == 4) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.ship5price) {
_root.thing.gamelevel.ship.shiplevel = 5;
_root.thing.gamelevel.ship.armorcurrent = _root.thing.gamelevel.ship.armor5;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.ship5price;
}
}
}
}
}
}
Instance of Symbol 54 MovieClip "bar" in Symbol 55 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
grip = true;
} else {
grip = false;
}
}
onClipEvent (mouseUp) {
grip = false;
}
onClipEvent (load) {
grip = false;
_rotation = 0;
}
onClipEvent (enterFrame) {
if (grip == true) {
if (((((_root.thing.gamelevel._Mouse._y - 150) / 2) + 70) > 0) && ((((_root.thing.gamelevel._Mouse._y - 150) / 2) + 70) < 58)) {
_rotation = (((_root.thing.gamelevel._Mouse._y - 150) / 2) + 70);
}
if ((((_root.thing.gamelevel._Mouse._y - 150) / 2) + 70) > 58) {
_rotation = 58;
}
if ((((_root.thing.gamelevel._Mouse._y - 150) / 2) + 70) < 0) {
_rotation = 0;
}
}
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
gotoAndStop (2);
}
}
Instance of Symbol 64 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
_parent._parent.bar.bar._rotation = 0;
}
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_parent._currentframe == 1) {
_parent._parent.gotoAndStop(1);
}
}
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_parent._currentframe == 2) {
_parent._parent.gotoAndStop(2);
}
}
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_parent._currentframe == 3) {
_parent._parent.gotoAndStop(3);
}
}
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_parent._currentframe == 4) {
_parent._parent.gotoAndStop(4);
}
}
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_parent._currentframe == 5) {
_parent._parent.gotoAndStop(5);
}
}
}
Instance of Symbol 78 MovieClip in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 76 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shieldlevel == 1) {
textobj.text = "K-Core Generator\rLow Intermediate\rPrice: " + _root.thing.gamelevel.ship.shield2price;
}
if (_root.thing.gamelevel.ship.shieldlevel > 1) {
textobj.text = "K-Core Generator\rLow Intermediate\rAlready Purchased";
}
}
Instance of Symbol 89 MovieClip in Symbol 90 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 76 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shieldlevel < 2) {
textobj.text = "X-Core Generator\rUpper Intermediate\rMust Purchase X-Core.";
}
if (_root.thing.gamelevel.ship.shieldlevel == 2) {
textobj.text = "X-Core Generator\rUpper Intermediate\rPrice: " + _root.thing.gamelevel.ship.shield3price;
}
if (_root.thing.gamelevel.ship.shieldlevel > 2) {
textobj.text = "X-Core Generator\rUpper Intermediate\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 106 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shieldlevel < 3) {
textobj.text = "NRGLite Generator\rLower Advanced \rMust Purchase X-Core.";
}
if (_root.thing.gamelevel.ship.shieldlevel == 3) {
textobj.text = "NRGLite Generator\rLower Advanced \rPrice: " + _root.thing.gamelevel.ship.shield4price;
}
if (_root.thing.gamelevel.ship.shieldlevel > 3) {
textobj.text = "NRGLite Generator\rLower Advanced \rAlready Purchased";
}
}
Instance of Symbol 105 MovieClip in Symbol 106 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 76 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shieldlevel < 4) {
textobj.text = "NRGMax Generator\rLower Advanced \rMust Purchase NRGLite.";
}
if (_root.thing.gamelevel.ship.shieldlevel == 4) {
textobj.text = "NRGMax Generator\rUpper Advanced \rPrice: " + _root.thing.gamelevel.ship.shield5price;
}
if (_root.thing.gamelevel.ship.shieldlevel > 4) {
textobj.text = "NRGMax Generator\rUpper Advanced \rAlready Purchased";
}
}
Instance of Symbol 112 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 7);
}
Instance of Symbol 76 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shieldlevel < 5) {
textobj.text = "CoreMaXX Generator\rExpert \rMust Purchase NRGMax";
}
if (_root.thing.gamelevel.ship.shieldlevel == 5) {
textobj.text = "CoreMaXX Generator\rExpert \rPrice: " + _root.thing.gamelevel.ship.shield6price;
}
if (_root.thing.gamelevel.ship.shieldlevel > 5) {
textobj.text = "CoreMaXX Generator\rExpert \rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.shieldlevel < 5) {
textobj.text = "CoreUltima Generator\rExpert \rMust Purchase CoreMaxx.";
}
if (_root.thing.gamelevel.ship.shieldlevel == 5) {
textobj.text = "CoreUltima Generator\rExpert \rPrice: " + _root.thing.gamelevel.ship.shield7price;
}
if (_root.thing.gamelevel.ship.shieldlevel > 5) {
textobj.text = "CoreUltima Generator\rExpert \rAlready Purchased";
}
}
Instance of Symbol 158 MovieClip in Symbol 159 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 84 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 1) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 1) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.shield2price) {
_root.thing.gamelevel.ship.shieldlevel = 2;
_root.thing.gamelevel.ship.shieldcurrent = _root.thing.gamelevel.ship.shield2;
_root.thing.gamelevel.ship.maxshield = _root.thing.gamelevel.ship.shield2;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.shield2price;
}
}
}
}
}
}
Instance of Symbol 97 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 2) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 2) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.shield3price) {
_root.thing.gamelevel.ship.shieldlevel = 3;
_root.thing.gamelevel.ship.shieldcurrent = _root.thing.gamelevel.ship.shield3;
_root.thing.gamelevel.ship.maxshield = _root.thing.gamelevel.ship.shield3;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.shield3price;
}
}
}
}
}
}
Instance of Symbol 107 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 3) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 3) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.shield4price) {
_root.thing.gamelevel.ship.shieldlevel = 4;
_root.thing.gamelevel.ship.shieldcurrent = _root.thing.gamelevel.ship.shield4;
_root.thing.gamelevel.ship.maxshield = _root.thing.gamelevel.ship.shield4;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.shield4price;
}
}
}
}
}
}
Instance of Symbol 114 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 4) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 4) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.shield5price) {
_root.thing.gamelevel.ship.shieldlevel = 5;
_root.thing.gamelevel.ship.shieldcurrent = _root.thing.gamelevel.ship.shield5;
_root.thing.gamelevel.ship.maxshield = _root.thing.gamelevel.ship.shield5;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.shield5price;
}
}
}
}
}
}
Instance of Symbol 153 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 5) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 5) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.shield6price) {
_root.thing.gamelevel.ship.shieldlevel = 6;
_root.thing.gamelevel.ship.shieldcurrent = _root.thing.gamelevel.ship.shield6;
_root.thing.gamelevel.ship.maxshield = _root.thing.gamelevel.ship.shield6;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.shield6price;
}
}
}
}
}
}
Instance of Symbol 159 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 6) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.shieldlevel == 6) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.shield7price) {
_root.thing.gamelevel.ship.shieldlevel = 7;
_root.thing.gamelevel.ship.shieldcurrent = _root.thing.gamelevel.ship.shield7;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.shield78price;
}
}
}
}
}
Instance of Symbol 76 MovieClip in Symbol 169 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.healthlevel == 1) {
textobj.text = "Level H Core\rLower Level\rPrice: " + _root.thing.gamelevel.ship.health2price;
}
if (_root.thing.gamelevel.ship.healthlevel > 1) {
textobj.text = "Level H Core\rLower Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.healthlevel < 2) {
textobj.text = "Level G Core\rLower Intermediate\rMust Purchase H Core";
}
if (_root.thing.gamelevel.ship.healthlevel == 2) {
textobj.text = "Level G Core\rLower Intermediate\rPrice: " + _root.thing.gamelevel.ship.health3price;
}
if (_root.thing.gamelevel.ship.healthlevel > 2) {
textobj.text = "Level G Core\rLower Intermediate\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.healthlevel < 3) {
textobj.text = "Level F Core\rIntermediate Level\rMust Purchase G Core";
}
if (_root.thing.gamelevel.ship.healthlevel == 3) {
textobj.text = "Level F Core\rIntermediate Level\rPrice: " + _root.thing.gamelevel.ship.health4price;
}
if (_root.thing.gamelevel.ship.healthlevel > 3) {
textobj.text = "Level F Core\rIntermediate Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.healthlevel < 4) {
textobj.text = "Level E Core\rHigh Intermediate\rMust Purchase F Core";
}
if (_root.thing.gamelevel.ship.healthlevel == 4) {
textobj.text = "Level E Core\rHigh Intermediate\rPrice: " + _root.thing.gamelevel.ship.health5price;
}
if (_root.thing.gamelevel.ship.healthlevel > 4) {
textobj.text = "Level E Core\rHigh Intermediate\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.healthlevel < 5) {
textobj.text = "Level D Core\rAdvanced Level\rMust Purchase F Core";
}
if (_root.thing.gamelevel.ship.healthlevel == 5) {
textobj.text = "Level D Core\rAdvanced Level\rPrice: " + _root.thing.gamelevel.ship.health6price;
}
if (_root.thing.gamelevel.ship.healthlevel > 5) {
textobj.text = "Level D Core\rAdvanced Level\rAlready Purchased";
}
}
Instance of Symbol 185 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 76 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.healthlevel < 6) {
textobj.text = "Level C Core\rExpert Level\rMust Purchase D Core";
}
if (_root.thing.gamelevel.ship.healthlevel == 6) {
textobj.text = "Level C Core\rExpert Level\rPrice: " + _root.thing.gamelevel.ship.health7price;
}
if (_root.thing.gamelevel.ship.healthlevel > 6) {
textobj.text = "Level C Core\rExpert Level\rAlready Purchased";
}
}
Instance of Symbol 185 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 185 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 1);
}
Instance of Symbol 76 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.healthlevel < 7) {
textobj.text = "Level B Core\rElite Level\rMust Purchase C Core";
}
if (_root.thing.gamelevel.ship.healthlevel == 7) {
textobj.text = "Level B Core\rElite Level\rPrice: " + _root.thing.gamelevel.ship.health8price;
}
if (_root.thing.gamelevel.ship.healthlevel > 7) {
textobj.text = "Level B Core\rElite Level\rAlready Purchased";
}
}
Instance of Symbol 185 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 185 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 1);
}
Instance of Symbol 76 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.healthlevel < 8) {
textobj.text = "Level A Core\rSupreme Elite\rMust Purchase B Core";
}
if (_root.thing.gamelevel.ship.healthlevel == 8) {
textobj.text = "Level A Core\rSupreme Elite\rPrice: " + _root.thing.gamelevel.ship.health9price;
}
if (_root.thing.gamelevel.ship.healthlevel > 8) {
textobj.text = "Level A Core\rSupreme Elite\rAlready Purchased";
}
}
Instance of Symbol 185 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 185 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 1);
}
Instance of Symbol 173 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 170 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 1) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 1) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.health2price) {
_root.thing.gamelevel.ship.healthlevel = 2;
_root.thing.gamelevel.ship.maxhealth = _root.thing.gamelevel.ship.health2;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.health2price;
}
}
}
}
}
}
Instance of Symbol 175 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 2) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 2) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.health3price) {
_root.thing.gamelevel.ship.healthlevel = 3;
_root.thing.gamelevel.ship.maxhealth = _root.thing.gamelevel.ship.health3;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.health3price;
}
}
}
}
}
}
Instance of Symbol 180 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 3) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 3) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.health4price) {
_root.thing.gamelevel.ship.healthlevel = 4;
_root.thing.gamelevel.ship.maxhealth = _root.thing.gamelevel.ship.health4;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.health4price;
}
}
}
}
}
}
Instance of Symbol 184 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 4) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 4) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.health5price) {
_root.thing.gamelevel.ship.healthlevel = 5;
_root.thing.gamelevel.ship.maxhealth = _root.thing.gamelevel.ship.health5;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.health5price;
}
}
}
}
}
}
Instance of Symbol 187 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 5) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 5) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.health6price) {
_root.thing.gamelevel.ship.healthlevel = 6;
_root.thing.gamelevel.ship.maxhealth = _root.thing.gamelevel.ship.health6;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.health6price;
}
}
}
}
}
}
Instance of Symbol 189 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 6) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 6) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.health7price) {
_root.thing.gamelevel.ship.healthlevel = 7;
_root.thing.gamelevel.ship.maxhealth = _root.thing.gamelevel.ship.health7;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.health7price;
}
}
}
}
}
}
Instance of Symbol 191 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 7) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 7) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.health8price) {
_root.thing.gamelevel.ship.healthlevel = 8;
_root.thing.gamelevel.ship.maxhealth = _root.thing.gamelevel.ship.health8;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.health8price;
}
}
}
}
}
}
Instance of Symbol 193 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 8) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.healthlevel == 8) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.health9price) {
_root.thing.gamelevel.ship.healthlevel = 9;
_root.thing.gamelevel.ship.maxhealth = _root.thing.gamelevel.ship.health9;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.health9price;
}
}
}
}
}
}
Instance of Symbol 76 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.controllevel == 1) {
textobj.text = "K-Thrusters\rLower Level\rPrice: " + _root.thing.gamelevel.ship.control2price;
}
if (_root.thing.gamelevel.ship.controllevel > 1) {
textobj.text = "K-Thrusters\rLower Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.controllevel < 2) {
textobj.text = "HyperThrusters\rIntermediate Level\rMust Buy K-Thrusters ";
}
if (_root.thing.gamelevel.ship.controllevel == 2) {
textobj.text = "HyperThrusters\rIntermediate Level\rPrice: " + _root.thing.gamelevel.ship.control3price;
}
if (_root.thing.gamelevel.ship.controllevel > 2) {
textobj.text = "HyperThrusters\rIntermediate Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.controllevel < 3) {
textobj.text = "FluxThrusters\rAdvanced Level\rHyperThrusters required";
}
if (_root.thing.gamelevel.ship.controllevel == 3) {
textobj.text = "FluxThrusters\rAdvanced Level\rPrice: " + _root.thing.gamelevel.ship.control4price;
}
if (_root.thing.gamelevel.ship.controllevel > 3) {
textobj.text = "FluxThrusters\rAdvanced Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.controllevel < 4) {
textobj.text = "GigaFluxThrusters\rExpert Level\rFluxThrusters required";
}
if (_root.thing.gamelevel.ship.controllevel == 4) {
textobj.text = "GigaFluxThrusters\rExpert Level\rPrice: " + _root.thing.gamelevel.ship.control5price;
}
if (_root.thing.gamelevel.ship.controllevel > 4) {
textobj.text = "GigaFluxThrusters\rExpert Level\rAlready Purchased";
}
}
Instance of Symbol 203 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.controllevel == 1) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.controllevel == 1) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.control2price) {
_root.thing.gamelevel.ship.controllevel = 2;
_root.thing.gamelevel.ship.accelspeed = _root.thing.gamelevel.ship.accel2;
_root.thing.gamelevel.ship.rotationfactor = _root.thing.gamelevel.ship.rot2;
_root.thing.gamelevel.ship.maxspeedy = _root.thing.gamelevel.ship.speed2;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.control2price;
}
}
}
}
}
}
Instance of Symbol 207 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.controllevel == 2) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.controllevel == 2) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.control3price) {
_root.thing.gamelevel.ship.controllevel = 3;
_root.thing.gamelevel.ship.accelspeed = _root.thing.gamelevel.ship.accel3;
_root.thing.gamelevel.ship.rotationfactor = _root.thing.gamelevel.ship.rot3;
_root.thing.gamelevel.ship.maxspeedy = _root.thing.gamelevel.ship.speed3;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.control3price;
}
}
}
}
}
}
Instance of Symbol 211 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.controllevel == 3) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.controllevel == 3) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.control4price) {
_root.thing.gamelevel.ship.controllevel = 4;
_root.thing.gamelevel.ship.accelspeed = _root.thing.gamelevel.ship.accel4;
_root.thing.gamelevel.ship.rotationfactor = _root.thing.gamelevel.ship.rot4;
_root.thing.gamelevel.ship.maxspeedy = _root.thing.gamelevel.ship.speed4;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.control4price;
}
}
}
}
}
}
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.controllevel == 4) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.controllevel == 4) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.control5price) {
_root.thing.gamelevel.ship.controllevel = 5;
_root.thing.gamelevel.ship.accelspeed = _root.thing.gamelevel.ship.accel5;
_root.thing.gamelevel.ship.rotationfactor = _root.thing.gamelevel.ship.rot5;
_root.thing.gamelevel.ship.maxspeedy = _root.thing.gamelevel.ship.speed5;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.control5price;
}
}
}
}
}
}
Instance of Symbol 76 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.weaponlevel == 1) {
textobj.text = "Projection Stream\rLower Level\rPrice: " + _root.thing.gamelevel.ship.weapon2price;
}
if (_root.thing.gamelevel.ship.weaponlevel > 1) {
textobj.text = "Projection Stream\rLower Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.weaponlevel < 3) {
textobj.text = "Fission Shots\rAdvanced Level\rBuy Particle Blast ";
}
if (_root.thing.gamelevel.ship.weaponlevel == 3) {
textobj.text = "Fission Shots\rAdvanced Level\rPrice: " + _root.thing.gamelevel.ship.weapon4price;
}
if (_root.thing.gamelevel.ship.weaponlevel > 3) {
textobj.text = "Fission Shots\rAdvanced Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.weaponlevel < 2) {
textobj.text = "Particle Blast\rIntermediate Level\rBuy Projection Stream ";
}
if (_root.thing.gamelevel.ship.weaponlevel == 2) {
textobj.text = "Particle Blast\rIntermediate Level\rPrice: " + _root.thing.gamelevel.ship.weapon3price;
}
if (_root.thing.gamelevel.ship.weaponlevel > 2) {
textobj.text = "Particle Blast\rIntermediate Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.weaponlevel < 4) {
textobj.text = "Cyclic Warp Beam\rExpert Level\rBuy Fission Shots ";
}
if (_root.thing.gamelevel.ship.weaponlevel == 4) {
textobj.text = "Cyclic Warp Beam\rExpert Level\rPrice: " + _root.thing.gamelevel.ship.weapon5price;
}
if (_root.thing.gamelevel.ship.weaponlevel > 4) {
textobj.text = "Cyclic Warp Beam\rExpert Level\rAlready Purchased";
}
}
Instance of Symbol 76 MovieClip in Symbol 239 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.thing.gamelevel.ship.weaponlevel < 5) {
textobj.text = "High Tensity Beam\rElite Level\rBuy Cyclic Beam ";
}
if (_root.thing.gamelevel.ship.weaponlevel == 5) {
textobj.text = "High Tensity Beam\rElite Level\rPrice: " + _root.thing.gamelevel.ship.weapon6price;
}
if (_root.thing.gamelevel.ship.weaponlevel > 5) {
textobj.text = "High Tensity Beam\rElite Level\rAlready Purchased";
}
}
Instance of Symbol 224 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 1) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 1) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.weapon2price) {
_root.thing.gamelevel.ship.weaponlevel = 2;
_root.thing.gamelevel.ship.bullettype = 2;
_root.thing.gamelevel.ship.weaponcurrent = _root.thing.gamelevel.ship.weapon2;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.weapon2price;
}
}
}
}
}
}
Instance of Symbol 228 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 3) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 3) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.weapon4price) {
_root.thing.gamelevel.ship.weaponlevel = 4;
_root.thing.gamelevel.ship.bullettype = 4;
_root.thing.gamelevel.ship.weaponcurrent = _root.thing.gamelevel.ship.weapon4;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.weapon4price;
}
}
}
}
}
}
Instance of Symbol 232 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 2) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 2) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.weapon3price) {
_root.thing.gamelevel.ship.weaponlevel = 3;
_root.thing.gamelevel.ship.bullettype = 3;
_root.thing.gamelevel.ship.weaponcurrent = _root.thing.gamelevel.ship.weapon3;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.weapon3price;
}
}
}
}
}
}
Instance of Symbol 236 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 4) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 4) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.weapon5price) {
_root.thing.gamelevel.ship.weaponlevel = 5;
_root.thing.gamelevel.ship.bullettype = 5;
_root.thing.gamelevel.ship.weaponcurrent = _root.thing.gamelevel.ship.weapon5;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.weapon5price;
}
}
}
}
}
}
Instance of Symbol 240 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (1);
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 5) {
gotoAndStop (2);
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.bar.bar.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (!_parent._parent.go.hitTest(_root.thing.gamelevel._Mouse.center)) {
if (_root.thing.gamelevel.ship.weaponlevel == 5) {
if (_root.thing.gamelevel.ship.money >= _root.thing.gamelevel.ship.weapon6price) {
_root.thing.gamelevel.ship.weaponlevel = 6;
_root.thing.gamelevel.ship.bullettype = 6;
_root.thing.gamelevel.ship.weaponcurrent = _root.thing.gamelevel.ship.weapon6;
_root.thing.gamelevel.ship.money = _root.thing.gamelevel.ship.money - _root.thing.gamelevel.ship.weapon6price;
}
}
}
}
}
}
Instance of Symbol 51 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 1
onClipEvent (load) {
level = 1;
}
onClipEvent (enterFrame) {
_y = ((-_parent.bar.bar._rotation) * 4);
}
Instance of Symbol 58 MovieClip "go" in Symbol 242 MovieClip [menuobj0] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.thing.gamelevel._Mouse.center)) {
_parent._parent.gotoAndPlay(11);
var my_sound = new Sound();
my_sound.attachSound("Blubup-Public_D-2_hifi.mp3");
my_sound.start(0, 0);
}
}
Instance of Symbol 70 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 1
onClipEvent (load) {
_parent.gotoAndStop(1);
gotoAndStop (1);
}
Instance of Symbol 70 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 70 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 1
onClipEvent (load) {
gotoAndStop (3);
}
Instance of Symbol 70 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 1
onClipEvent (load) {
gotoAndStop (4);
}
Instance of Symbol 70 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 1
onClipEvent (load) {
gotoAndStop (5);
}
Instance of Symbol 73 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 1
onClipEvent (enterFrame) {
textobj.text = _parent._parent._parent.ship.money + ".";
}
Instance of Symbol 160 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 2
onClipEvent (load) {
level = 1;
}
onClipEvent (enterFrame) {
_y = ((-_parent.bar.bar._rotation) * 8);
}
Instance of Symbol 194 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 3
onClipEvent (load) {
level = 1;
}
onClipEvent (enterFrame) {
_y = ((-_parent.bar.bar._rotation) * 9);
}
Instance of Symbol 215 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 4
onClipEvent (load) {
level = 1;
}
onClipEvent (enterFrame) {
_y = ((-_parent.bar.bar._rotation) * 9);
}
Instance of Symbol 241 MovieClip in Symbol 242 MovieClip [menuobj0] Frame 5
onClipEvent (load) {
level = 1;
}
onClipEvent (enterFrame) {
_y = ((-_parent.bar.bar._rotation) * 7);
}
Instance of Symbol 242 MovieClip [menuobj0] in Symbol 243 MovieClip [menuobj] Frame 9
onClipEvent (load) {
_parent.gotoAndStop(_parent._currentframe);
}
Instance of Symbol 242 MovieClip [menuobj0] "menuu" in Symbol 243 MovieClip [menuobj] Frame 20
onClipEvent (load) {
_root.thing.gamelevel.ship._paused = false;
_root.thing.gamelevel.ship.health = _root.thing.gamelevel.ship.maxhealth;
_root.thing.gamelevel.ship.shield = _root.thing.gamelevel.ship.maxshield;
_root.thing.gamelevel.ship._progress = 0;
_parent.removeMovieClip();
}
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent._parent.ship._paused != true) {
if (_parent._parent.ship == undefined) {
_parent._x = _parent._x - 4.2;
}
if (_parent._parent._currentframe >= 5) {
_parent._x = _parent._x - (_parent._parent.ship.xspeed * 0.35);
}
if (_parent._parent._currentframe >= 5) {
_parent._y = _parent._y - (_parent._parent.ship.yspeed * 0.35);
}
if (_parent._x < -250) {
_parent._x = 350;
_parent._y = random(400) - 180;
}
if (_parent._x > 400) {
_parent._x = -250;
_parent._y = random(400) - 180;
}
if (_parent._y < -230) {
_parent._y = 200;
_parent._x = random(550) - 230;
}
if (_parent._y > 250) {
_parent._y = -210;
_parent._x = random(550) - 230;
}
}
}
Instance of Symbol 246 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent._parent.ship._paused != true) {
if (_parent._parent.ship == undefined) {
_parent._x = _parent._x - 6.6;
}
if (_parent._parent._currentframe >= 5) {
_parent._x = _parent._x - (_parent._parent.ship.xspeed * 0.55);
}
if (_parent._parent._currentframe >= 5) {
_parent._y = _parent._y - (_parent._parent.ship.yspeed * 0.55);
}
if (_parent._x < -250) {
_parent._x = 350;
_parent._y = random(400) - 180;
}
if (_parent._x > 400) {
_parent._x = -250;
_parent._y = random(400) - 180;
}
if (_parent._y < -230) {
_parent._y = 200;
_parent._x = random(550) - 230;
}
if (_parent._y > 250) {
_parent._y = -210;
_parent._x = random(550) - 230;
}
}
}
Instance of Symbol 246 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent._parent.ship._paused != true) {
if (_parent._parent.ship == undefined) {
_parent._x = _parent._x - 9.6;
}
if (_parent._parent._currentframe >= 5) {
_parent._x = _parent._x - (_parent._parent.ship.xspeed * 0.8);
}
if (_parent._parent._currentframe >= 5) {
_parent._y = _parent._y - (_parent._parent.ship.yspeed * 0.8);
}
if (_parent._x < -250) {
_parent._x = 350;
_parent._y = random(400) - 180;
}
if (_parent._x > 400) {
_parent._x = -250;
_parent._y = random(400) - 180;
}
if (_parent._y < -230) {
_parent._y = 200;
_parent._x = random(550) - 230;
}
if (_parent._y > 250) {
_parent._y = -210;
_parent._x = random(550) - 230;
}
}
}
Instance of Symbol 266 MovieClip in Symbol 292 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_currentframe == 12) {
gotoAndStop (12);
}
}
Instance of Symbol 325 MovieClip "megablast" in Symbol 330 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible == true) {
if (_currentframe == 3) {
var my_sound = new Sound();
my_sound.attachSound("Medium_E-Public_D-219_hifi.mp3");
my_sound.start(0, 0);
}
if (_currentframe == 24) {
var my_sound = new Sound();
my_sound.attachSound("Explosio-Ivan-8042_hifi.mp3");
my_sound.start(0, 0);
}
if (_currentframe == 25) {
_parent._parent._x = _parent._parent._x + 5;
}
if (_currentframe == 26) {
_parent._parent._y = _parent._parent._y + 3;
}
if (_currentframe == 27) {
_parent._parent._x = _parent._parent._x - 3;
}
if (_currentframe == 28) {
_parent._parent._y = _parent._parent._y - 5;
}
if (_currentframe == 29) {
_parent._parent._y = _parent._parent._y + 2;
}
if (_currentframe == 30) {
_parent._parent._x = _parent._parent._x - 2;
}
if (_currentframe == 31) {
_parent._parent._x = _parent._parent._x + 5;
}
if (_currentframe == 32) {
_parent._parent._y = _parent._parent._y + 3;
}
if (_currentframe == 33) {
_parent._parent._x = _parent._parent._x - 3;
}
if (_currentframe == 34) {
_parent._parent._y = _parent._parent._y - 5;
}
if (_currentframe == 35) {
_parent._parent._y = _parent._parent._y + 2;
}
if (_currentframe == 36) {
_parent._parent._x = _parent._parent._x - 2;
}
if (_currentframe == 37) {
_parent._parent._y = _parent._parent._y + 3;
}
if (_currentframe == 38) {
_parent._parent._x = _parent._parent._x - 3;
}
if (_currentframe == 39) {
_parent._parent._y = _parent._parent._y - 5;
}
if (_currentframe == 40) {
_parent._parent._y = _parent._parent._y + 2;
}
}
}
Instance of Symbol 329 MovieClip in Symbol 330 MovieClip Frame 62
onClipEvent (enterFrame) {
if (_parent._visible == true) {
_parent._parent.gotoAndStop(2);
}
}
Instance of Symbol 329 MovieClip in Symbol 330 MovieClip Frame 90
onClipEvent (enterFrame) {
if (_parent._visible == true) {
_parent._parent.gotoAndStop(3);
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 10);
}
Symbol 348 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 354 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(s);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(u);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(r);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(r);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(o);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(u);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(n);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(d);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(e);
}
Instance of Symbol 384 MovieClip "dot" in Symbol 385 MovieClip Frame 1
onClipEvent (load) {
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
xx = 24;
yy = 25;
zz = 26;
punct = 27;
dash = 28;
two = 29;
gotoAndStop(d);
}
Instance of Symbol 448 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (60 - ((_parent._parent._parent.ship.health / _parent._parent._parent.ship.maxhealth) * 60));
}
Instance of Symbol 448 MovieClip in Symbol 455 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (80 - ((_parent._parent._parent.ship.shield / _parent._parent._parent.ship.maxshield) * 80));
}
Instance of Symbol 454 MovieClip in Symbol 455 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
}
Instance of Symbol 446 MovieClip "texts" in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
}
Instance of Symbol 451 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
}
Instance of Symbol 559 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
_rotation = (_rotation + 5);
}
}
Instance of Symbol 559 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
_rotation = (_rotation + 5);
}
}
Instance of Symbol 559 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
_rotation = (_rotation + 5);
}
}
Instance of Symbol 559 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
_rotation = (_rotation + 5);
}
}
Instance of Symbol 571 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent._parent._parent._parent.ship._paused == false) {
if (_parent._parent._parent.attackinmode == 1) {
if (_currentframe == 25) {
gotoAndPlay (26);
}
if (_currentframe == 12) {
gotoAndPlay (1);
}
}
if (_parent._parent._parent.attackinmode == 2) {
if (_currentframe == 25) {
gotoAndStop (25);
}
}
}
}
Instance of Symbol 575 MovieClip "spinner" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.ship._paused == false) {
_rotation = (_rotation + 2);
gotoAndStop (1);
}
}
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 704 MovieClip "diamond" in Symbol 705 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 706 MovieClip "diamond" in Symbol 707 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 752 MovieClip in Symbol 755 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_parent._parent._parent._parent.gunenable == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 755 MovieClip "gun" in Symbol 756 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent._parent._parent._parent.ship._paused == false) {
if (_parent._parent._parent.gunmode == 2) {
if (_currentframe <= 23) {
gotoAndStop(_currentframe + 1);
}
}
if (_parent._parent._parent.gunmode == 1) {
if (_currentframe == 44) {
gotoAndStop (1);
}
if (_currentframe >= 23) {
gotoAndStop(_currentframe + 1);
}
if (_currentframe <= 2) {
gotoAndStop (1);
}
}
}
}
Instance of Symbol 755 MovieClip in Symbol 757 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.gunmode == 2) {
if (_currentframe <= 23) {
gotoAndStop(_currentframe + 1);
}
}
if (_parent._parent._parent.gunmode == 1) {
if (_currentframe == 44) {
gotoAndStop (1);
}
if (_currentframe >= 23) {
gotoAndStop(_currentframe + 1);
}
if (_currentframe <= 2) {
gotoAndStop (1);
}
}
}
Instance of Symbol 575 MovieClip "spinner" in Symbol 760 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
gotoAndStop (1);
}
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 575 MovieClip "spinner" in Symbol 760 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_currentframe == 30) {
gotoAndStop (1);
}
if (_currentframe == 15) {
gotoAndStop (15);
}
_rotation = (_rotation + 2);
}
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 806 MovieClip in Symbol 826 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
}
Instance of Symbol 852 MovieClip in Symbol 855 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
}
Instance of Symbol 878 MovieClip "ship" in Symbol 879 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
}
Instance of Symbol 73 MovieClip in Symbol 908 MovieClip Frame 22
onClipEvent (enterFrame) {
textobj.text = _parent._parent.ship.money;
}
Instance of Symbol 918 MovieClip in Symbol 926 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_parent._parent.leftstick._x / 11);
_y = ((_parent._parent.leftstick._y - (_parent._parent.leftstick._height / 2)) / 11);
}
Instance of Symbol 918 MovieClip in Symbol 926 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_parent._parent.topstick._y / 11);
_x = ((_parent._parent.topstick._x + (_parent._parent.topstick._width / 2)) / 11);
}
Instance of Symbol 918 MovieClip in Symbol 926 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_parent._parent.bottomstick._y / 11);
_x = ((_parent._parent.bottomstick._x - (_parent._parent.bottomstick._width / 2)) / 11);
}
Instance of Symbol 918 MovieClip in Symbol 926 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_parent._parent.rightstick._x / 11);
_y = ((_parent._parent.rightstick._y + (_parent._parent.rightstick._height / 2)) / 11);
}
Instance of Symbol 921 MovieClip "dot" in Symbol 926 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
boxyhit = false;
}
onClipEvent (enterFrame) {
if (_currentframe == 11) {
gotoAndStop (11);
}
if (boxyhit == false) {
if (this.hitTest(_parent.boxy)) {
gotoAndPlay (1);
boxyhit = true;
}
}
_x = (stalker._x / 11);
_y = (stalker._y / 11);
}
Instance of Symbol 925 MovieClip "boxy" in Symbol 926 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 929 MovieClip in Symbol 941 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = _parent._parent.ship._progress;
}
Instance of Symbol 943 MovieClip "number" in Symbol 946 MovieClip Frame 1
onClipEvent (enterFrame) {
number.text = _root.thing.gamelevel.ship.level;
}
Instance of Symbol 293 MovieClip "shipu" in Symbol 978 MovieClip Frame 1
onClipEvent (load) {
ship1.gotoAndStop(1);
loader = 1;
spkind = 1;
num = 0;
health = 100;
maxhealth = 100;
loaded = false;
ship1._visible = true;
stage = loader;
chargingforloader = 0;
readyforblast = false;
}
onClipEvent (enterFrame) {
xspeed = 12;
yspeed = 12;
if (stage == loader) {
if (ship1._currentframe == 33) {
ship1.gotoAndPlay(2);
}
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
loaded = true;
if (chargingforloader == true) {
if (readyforblast == false) {
if (ship1._currentframe == 32) {
readyforblast = true;
ship1.gotoAndPlay(34);
_parent.megablast.gotoAndPlay(1);
_parent.megablast.megablast.gotoAndPlay(1);
_parent.megablast._visible = true;
}
}
}
}
if (_x >= 0) {
if (chargingforloader != true) {
ship1.gotoAndPlay(1);
chargingforloader = true;
}
}
if (_x < -20) {
_x = (_x + 4);
}
if (_x < -15) {
_x = (_x + 3);
}
if (_x < -10) {
_x = (_x + 1);
}
if (_x < -5) {
_x = (_x + 1);
}
if (_x < 0) {
_x = (_x + 1);
}
}
}
Instance of Symbol 293 MovieClip "shipi" in Symbol 978 MovieClip Frame 1
onClipEvent (load) {
ship1.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_x < -20) {
_x = (_x + 3);
}
if (_x < -15) {
_x = (_x + 2);
}
if (_x < -10) {
_x = (_x + 1);
}
if (_x < -5) {
_x = (_x + 1);
}
if (_x < 0) {
_x = (_x + 1);
}
}
Instance of Symbol 293 MovieClip "shipo" in Symbol 978 MovieClip Frame 1
onClipEvent (load) {
ship1.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_x < -20) {
_x = (_x + 2);
}
if (_x < -15) {
_x = (_x + 2);
}
if (_x < -10) {
_x = (_x + 1);
}
if (_x < -5) {
_x = (_x + 1);
}
if (_x < 0) {
_x = (_x + 1);
}
}
Instance of Symbol 299 MovieClip in Symbol 978 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._Mouse)) {
gotoAndStop (2);
}
if (!this.hitTest(_parent._Mouse)) {
gotoAndStop (1);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_parent._Mouse)) {
getURL ("http://www.armorgames.com", "blank");
}
}
Instance of Symbol 330 MovieClip "megablast" in Symbol 978 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 335 MovieClip "_Mouse" in Symbol 978 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(_parent.createEmptyMovieClip("container28", 10000028));
ready = 0;
MENU = new ContextMenu();
MENU.hideBuiltInItems();
_root.menu = MENU;
}
onClipEvent (enterFrame) {
if (ready < 10) {
ready++;
}
Mouse.hide();
if (Key.isDown(81)) {
if (_root._quality == "HIGH") {
if (ready == 10) {
_root._quality = "LOW";
ready = 0;
}
}
if (_root._quality == "MEDIUM") {
if (ready == 10) {
_root._quality = "HIGH";
ready = 0;
}
}
if (_root._quality == "LOW") {
if (ready == 10) {
_root._quality = "MEDIUM";
ready = 0;
}
}
}
_x = (_root._xmouse - 234);
_y = (_root._ymouse - 180);
}
Instance of Symbol 350 MovieClip in Symbol 978 MovieClip Frame 3
onClipEvent (enterFrame) {
_x = (_x + 0.24);
if (_currentframe == 210) {
_parent.gotoAndStop(4);
}
}
Instance of Symbol 351 MovieClip in Symbol 978 MovieClip Frame 3
onClipEvent (load) {
var my_sound = new Sound();
my_sound.attachSound("Menno De Jong - Guanxi (Original Mix).mp3");
my_sound.start(0, 1);
off = false;
my_sound.onSoundComplete = function () {
var m_sound = new Sound();
m_sound.attachSound("The New Deal - Techno Beam.mp3");
m_sound.start(0, 1);
};
volum = 100;
}
onClipEvent (enterFrame) {
if (Key.isDown(77)) {
if ((off == true) && (volum <= 0)) {
off = false;
}
if ((off == false) && (volum >= 100)) {
off = true;
}
}
if (off == true) {
if (volum > 0) {
volum = volum - 5;
my_sound.setVolume(volum);
}
}
if (off == false) {
if (volum < 100) {
volum = volum + 5;
my_sound.setVolume(volum);
}
}
}
Instance of Symbol 299 MovieClip in Symbol 978 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 3);
}
if (_parent.player.backcycle == true) {
if (_alpha > 0) {
_alpha = (_alpha - 6);
}
}
if (this.hitTest(_parent._Mouse)) {
gotoAndStop (2);
}
if (!this.hitTest(_parent._Mouse)) {
gotoAndStop (1);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_parent._Mouse)) {
getURL ("http://www.armorgames.com", "blank");
}
}
Instance of Symbol 418 MovieClip "_title" in Symbol 978 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_currentframe == 102) {
gotoAndStop (102);
}
}
Instance of Symbol 426 MovieClip "player" in Symbol 978 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_currentframe == 67) {
gotoAndStop (67);
}
if (backcycle == true) {
crescendo = crescendo + 0.5;
_parent._title._x = _parent._title._x - crescendo;
gotoAndStop(_currentframe - 1);
}
if (_currentframe == 1) {
if (backcycle == true) {
_parent.gotoAndStop(5);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_parent._Mouse)) {
if (_currentframe == 67) {
var my_sound = new Sound();
my_sound.attachSound("Blubup-Public_D-2_hifi.mp3");
my_sound.start(0, 0);
crescendo = 0;
backcycle = true;
}
}
}
Instance of Symbol 436 MovieClip "ring" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (reset == true) {
if (_parent.textor._currentframe < 184) {
_parent.textor.gotoAndPlay(184);
reset = false;
}
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_currentframe == 9) {
_visible = false;
gotoAndStop (1);
}
}
}
Instance of Symbol 437 MovieClip "ship" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
_paused = false;
xspeed = 10;
yspeed = 0;
_progress = 0;
num = 0;
shakey = 0;
health = 1;
shield = 0;
lives = 4;
adjuster = 0;
bound1 = false;
shiplevel = 1;
rotationfactor = 1;
accelspeed = 1;
rot2 = 1.1;
rot3 = 1.2;
rot4 = 1.3;
rot5 = 1.4;
accel2 = 1.1;
accel2 = 1.2;
accel3 = 1.3;
accel4 = 1.4;
accel5 = 1.5;
speed2 = 16;
speed3 = 18;
speed4 = 20;
speed5 = 22;
maxspeedy = 12;
health2 = 150;
weapon2price = 200;
weapon3price = 700;
weapon4price = 1800;
weapon5price = 4000;
weapon6price = 10000;
control2price = 100;
control3price = 450;
control4price = 1000;
control5price = 1700;
health2price = 100;
health3price = 450;
health4price = 1000;
health5price = 1700;
health6price = 3000;
health7price = 4500;
health8price = 7000;
health9price = 10000;
health3 = 250;
health4 = 400;
health5 = 600;
health6 = 750;
health7 = 1000;
health8 = 1350;
health9 = 1800;
shield1 = 5;
shield2 = 10;
shield3 = 20;
shield4 = 35;
shield5 = 50;
shield6 = 75;
shield7 = 100;
shield2price = 50;
shield3price = 200;
shield4price = 450;
shield5price = 1050;
shield6price = 1800;
shield7price = 3200;
ship2price = 150;
ship3price = 450;
ship4price = 1200;
ship5price = 2500;
armor1 = 1;
armor2 = 1.2;
pauseready = 0;
armor3 = 1.4;
armor4 = 1.7;
armor5 = 2;
levelover = false;
armorcurrent = armor1;
shieldlevel = 1;
healthlevel = 1;
controllevel = 1;
weaponlevel = 1;
bullettype = 1;
maxshield = shield1;
maxhealth = 100;
holding = 0;
level = 1;
shakenum = 0;
shipkilledlev1 = 0;
shipkilledlev2 = 0;
shipkilledlev3 = 0;
shipkilledlev4 = 0;
shipkilledlev5 = 0;
shipkilledlev6 = 0;
shipkilledlev7 = 0;
shipkilledlev8 = 0;
shipkilledlev9 = 0;
shipkilledlev10 = 0;
shipkilledlev11 = 0;
shipkilledlev12 = 0;
shipkilledlev13 = 0;
shipkilledlev14 = 0;
shipkilledlev15 = 0;
shipkilledlev16 = 0;
shipkilledlev17 = 0;
shipkilledlev18 = 0;
shipkilledlev19 = 0;
shipkilledlev20 = 0;
levelstate = false;
timerforlev1 = 0;
timerforlev2 = 0;
timerforlev3 = 0;
timerforlev4 = 0;
timerforlev5 = 0;
timerforlev6 = 0;
timerforlev7 = 0;
timerforlev8 = 0;
timerforlev9 = 0;
timerforlev10 = 0;
timerforlev11 = 0;
timerforlev12 = 0;
timerforlev13 = 0;
timerforlev14 = 0;
timerforlev15 = 0;
timerforlev16 = 0;
timerforlev17 = 0;
timerforlev18 = 0;
timerforlev19 = 0;
timerforlev20 = 0;
shipquotal1 = 8;
shipquotal2 = 13;
shipquotal3 = 17;
shipquotal4 = 20;
shipquotal5 = 20;
shipquotal6 = 20;
shipquotal7 = 20;
shipquotal8 = 20;
shipquotal9 = 20;
shipquotal10 = 1;
shipquotal11 = 20;
shipquotal12 = 20;
shipquotal13 = 20;
shipquotal14 = 20;
shipquotal16 = 20;
shipquotal17 = 20;
shipquotal18 = 20;
shipquotal19 = 20;
shipquotal20 = 1;
charge = 0;
bulletrate = 8;
bulletnumber = 0;
rotationsetting = 0;
movementenabled = false;
money = 0;
alterncycle = 0;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha < 60) {
if (_paused == false) {
duplicateMovieClip (_parent.particle, "particle" + num, num + 3000);
_parent["particle" + num]._x = ((_x - 8) + random(16)) - (Math.cos((_rotation / 180) * Math.PI) * 42);
_parent["particle" + num]._y = ((_y - 8) + random(16)) - (Math.sin((_rotation / 180) * Math.PI) * 42);
this.swapDepths(_parent["particle" + num]);
num++;
duplicateMovieClip (_parent.particle, "particle" + num, num + 3000);
_parent["particle" + num]._x = ((_x - 8) + random(16)) - (Math.cos((_rotation / 180) * Math.PI) * 42);
_parent["particle" + num]._y = ((_y - 8) + random(16)) - (Math.sin((_rotation / 180) * Math.PI) * 42);
this.swapDepths(_parent["particle" + num]);
num++;
}
}
if (levelstate == false) {
if (Key.isDown(80)) {
if (pauseready >= 10) {
if (_paused == false) {
_paused = true;
pauseready = 0;
}
}
if (pauseready >= 10) {
if (_paused == true) {
_paused = false;
pauseready = 0;
}
}
}
}
if (pauseready < 10) {
pauseready++;
}
if (_parent.menu._currentframe == 19) {
_parent.menu.removeMovieClip();
health = maxhealth;
shield = maxshield;
_paused = false;
_progress = 0;
yspeed = 0;
xspeed = 0;
levelstate = false;
}
if (levelover == true) {
_parent.attachMovie("menuobj", "menu", 1004000);
_parent.menu._x = 80;
_parent.menu._y = -80;
levelover = false;
_paused = true;
levelstate = true;
}
if (_paused == false) {
adjuster++;
if (adjuster == 200) {
_parent._x = 0;
_parent._y = 0;
adjuster = 0;
}
if (level == 1) {
_progress = (shipkilledlev1 / shipquotal1) * 100;
}
if (level == 2) {
_progress = (shipkilledlev2 / shipquotal2) * 100;
}
if (level == 3) {
_progress = (shipkilledlev3 / shipquotal3) * 100;
}
if (level == 4) {
_progress = (shipkilledlev4 / shipquotal4) * 100;
}
if (level == 5) {
_progress = (shipkilledlev5 / shipquotal5) * 100;
}
if (level == 6) {
_progress = (shipkilledlev6 / shipquotal6) * 100;
}
if (level == 7) {
_progress = (shipkilledlev7 / shipquotal7) * 100;
}
if (level == 8) {
_progress = (shipkilledlev8 / shipquotal8) * 100;
}
if (level == 9) {
_progress = (shipkilledlev9 / shipquotal9) * 100;
}
if (_paused == false) {
if (health > 0) {
if (_parent.tries._alpha > 0) {
_parent.tries._alpha = 0;
}
}
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (health <= 0) {
if (_parent.nautilus.done == true) {
alterncycle++;
_parent.tries._alpha = _parent.tries._alpha - 5;
if ((alterncycle > 50) && (alterncycle < 70)) {
_parent.tries._alpha = 100;
}
if (alterncycle == 60) {
lives = lives - 1;
}
if (lives <= 0) {
_parent.ring.reset = true;
}
if (lives > 0) {
if (alterncycle == 100) {
health = maxhealth;
shield = maxshield;
alterncycle = 0;
}
}
if (_parent.tries._alpha < 100) {
if (alterncycle < 50) {
_parent.tries._alpha = _parent.tries._alpha + 10;
}
}
if (alterncycle == 15) {
_alpha = 0;
}
if (alterncycle == 17) {
_alpha = 100;
}
if (alterncycle == 18) {
_alpha = 0;
}
if (alterncycle == 23) {
_alpha = 100;
}
if (alterncycle == 24) {
_alpha = 0;
}
if (alterncycle == 27) {
_alpha = 100;
}
if (alterncycle == 28) {
_alpha = 0;
}
if (alterncycle == 31) {
_alpha = 100;
}
if (alterncycle == 32) {
_alpha = 0;
}
if (alterncycle == 35) {
_alpha = 100;
}
if (alterncycle == 36) {
_alpha = 0;
}
if (alterncycle == 41) {
_alpha = 100;
}
if (alterncycle == 44) {
_alpha = 0;
}
if (alterncycle == 47) {
_alpha = 100;
}
if (alterncycle == 48) {
_alpha = 0;
}
if (alterncycle == 51) {
_alpha = 100;
}
if (alterncycle == 52) {
_alpha = 0;
}
if (alterncycle == 55) {
_alpha = 100;
}
if (alterncycle == 57) {
_alpha = 0;
}
if (alterncycle == 61) {
_alpha = 100;
}
if (alterncycle == 64) {
_alpha = 0;
}
if (alterncycle == 67) {
_alpha = 100;
}
if (alterncycle == 68) {
_alpha = 0;
}
if (alterncycle == 71) {
_alpha = 100;
}
if (alterncycle == 72) {
_alpha = 0;
}
if (alterncycle == 75) {
_alpha = 100;
}
if (alterncycle == 76) {
_alpha = 0;
}
if (alterncycle == 79) {
_alpha = 100;
}
}
}
if (shieldlevel == 1) {
if (shield > 0) {
if (shield < shield1) {
shield = shield + (shield1 / 300);
}
}
}
if (shieldlevel == 2) {
if (shield > 0) {
if (shield < shield2) {
shield = shield + (shield2 / 300);
}
}
}
if (shieldlevel == 3) {
if (shield > 0) {
if (shield < shield3) {
shield = shield + (shield3 / 300);
}
}
}
if (shieldlevel == 4) {
if (shield > 0) {
if (shield < shield4) {
shield = shield + (shield4 / 300);
}
}
}
if (shieldlevel == 5) {
if (shield > 0) {
if (shield < shield5) {
shield = shield + (shield5 / 300);
}
}
}
if (shieldlevel == 6) {
if (shield > 0) {
if (shield < shield6) {
shield = shield + (shield6 / 300);
}
}
}
if (shieldlevel == 7) {
if (shield > 0) {
if (shield < shield7) {
shield = shield + (shield7 / 300);
}
}
}
if (level == 19) {
if (shipkilledlev20 == shipquotal20) {
level = 20;
levelover = true;
_progress = 0;
}
}
if (level == 18) {
if (shipkilledlev18 == shipquotal18) {
level = 19;
levelover = true;
_progress = 0;
}
}
if (level == 17) {
if (shipkilledlev17 == shipquotal17) {
level = 18;
levelover = true;
_progress = 0;
}
}
if (level == 16) {
if (shipkilledlev16 == shipquotal16) {
level = 17;
levelover = true;
_progress = 0;
}
}
if (level == 15) {
if (shipkilledlev15 == shipquotal15) {
level = 16;
levelover = true;
_progress = 0;
}
}
if (level == 14) {
if (shipkilledlev14 == shipquotal14) {
level = 15;
levelover = true;
_progress = 0;
}
}
if (level == 13) {
if (shipkilledlev13 == shipquotal13) {
level = 14;
levelover = true;
_progress = 0;
}
}
if (level == 12) {
if (shipkilledlev12 == shipquotal12) {
level = 13;
levelover = true;
_progress = 0;
}
}
if (level == 11) {
if (shipkilledlev11 == shipquotal11) {
level = 12;
levelover = true;
_progress = 0;
}
}
if (level == 10) {
if (shipkilledlev10 == shipquotal10) {
level = 11;
levelover = true;
_progress = 0;
}
}
if (level == 9) {
if (shipkilledlev9 == shipquotal9) {
level = 10;
levelover = true;
_progress = 0;
}
}
if (level == 8) {
if (shipkilledlev8 == shipquotal8) {
level = 9;
levelover = true;
_progress = 0;
}
}
if (level == 7) {
if (shipkilledlev7 == shipquotal7) {
level = 8;
levelover = true;
_progress = 0;
}
}
if (level == 6) {
if (shipkilledlev6 == shipquotal6) {
level = 7;
levelover = true;
_progress = 0;
}
}
if (level == 5) {
if (shipkilledlev5 == shipquotal5) {
level = 6;
levelover = true;
_progress = 0;
}
}
if (level == 4) {
if (shipkilledlev4 == shipquotal4) {
level = 5;
levelover = true;
_progress = 0;
}
}
if (level == 3) {
if (shipkilledlev3 == shipquotal3) {
level = 4;
levelover = true;
_progress = 0;
}
}
if (level == 2) {
if (shipkilledlev2 == shipquotal2) {
level = 3;
levelover = true;
_progress = 0;
}
}
if (level == 1) {
if (shipkilledlev1 == shipquotal1) {
level = 2;
levelover = true;
_progress = 0;
}
}
if (_paused == false) {
if (level == 10) {
_progress = (shipkilledlev10 / shipquotal10) * 100;
timerforlev10++;
if (timerforlev10 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev10 == 200) {
_parent.boss1.ready = true;
_parent.boss1._visible = true;
}
}
if (level == 20) {
_progress = (shipkilledlev20 / shipquotal20) * 100;
timerforlev20++;
if (timerforlev20 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev20 == 200) {
_parent.boss2.ready = true;
_parent.boss2._visible = true;
}
}
gotoAndStop(shiplevel);
if (level == 19) {
_progress = (shipkilledlev19 / shipquotal19) * 100;
timerforlev19++;
if (timerforlev19 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev19 == 400) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 600) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 700) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 800) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship4 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 900) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 1000) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 1200) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 1300) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 1400) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 1600) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 1700) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 1800) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 1900) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 2000) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 2100) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 2200) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 2400) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 2500) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 2600) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev19 == 2700) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship29 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 18) {
_progress = (shipkilledlev18 / shipquotal18) * 100;
timerforlev18++;
if (timerforlev18 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev18 == 400) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 600) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 800) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship4 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 1000) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 1100) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 1200) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 1300) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 1500) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 1700) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 1800) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 1900) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 2050) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 2200) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 2300) {
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev18 == 2500) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.dragon2, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 17) {
_progress = (shipkilledlev17 / shipquotal17) * 100;
timerforlev17++;
if (timerforlev17 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev17 == 400) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 600) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 800) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship4 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 1000) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 1100) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 1200) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 1300) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 1500) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 1700) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 1800) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 1900) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 2050) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 2200) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 2300) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev17 == 2500) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 16) {
_progress = (shipkilledlev16 / shipquotal16) * 100;
timerforlev16++;
if (timerforlev16 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev16 == 400) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 600) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 800) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship4 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 1000) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 1200) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 1300) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 1500) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 1700) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 1800) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 1900) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 2050) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 2200) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 2300) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 2500) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
}
duplicateMovieClip (, , (() + ())-16384);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
if (timerforlev16 == 2050) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 2200) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 2300) {
duplicateMovieClip (_parent.dragon1, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num]._orientation = 0;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev16 == 2500) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (level == 15) {
_progress = (shipkilledlev15 / shipquotal15) * 100;
timerforlev15++;
if (timerforlev15 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev15 == 400) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev15 == 650) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship4 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev15 == 800) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev15 == 1100) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 90;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 270;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev15 == 1300) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev15 == 1400) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 40;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 220;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev15 == 1650) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev15 == 1800) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev15 == 2100) {
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 90;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 270;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev15 == 2300) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
}
}
90;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.rocketship, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num].rotaim = 270;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
if (timerforlev15 == 2300) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (level == 14) {
_progress = (shipkilledlev14 / shipquotal14) * 100;
timerforlev14++;
if (timerforlev14 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev14 == 400) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 450) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 550) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _parent.topstick._y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 600) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _parent.bottomstick._y;
evilship4 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 700) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev14 == 1100) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 1150) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 1250) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _parent.topstick._y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 1300) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _parent.bottomstick._y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 1400) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev14 == 1800) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 1850) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 1950) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _parent.topstick._y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 2000) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _parent.bottomstick._y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 2100) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _parent.topstick._y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev14 == 2150) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _parent.bottomstick._y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 13) {
_progress = (shipkilledlev13 / shipquotal13) * 100;
timerforlev13++;
if (timerforlev13 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev13 == 400) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 500) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev13 == 900) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 1000) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev13 == 1300) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 1400) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 1500) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _x;
_parent["trooper" + num]._y = _parent.topstick._y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 1600) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 1700) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 1750) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 1800) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 1900) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev13 == 2250) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x + 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev13 == 2300) {
duplicateMovieClip (_parent.hammer, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 12) {
_progress = (shipkilledlev12 / shipquotal12) * 100;
timerforlev12++;
if (timerforlev12 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev12 == 400) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev12 == 700) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship4 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev12 == 800) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev12 == 900) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev12 == 1000) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev12 == 1100) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 2;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 2;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev12 == 1500) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev12 == 1900) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev12 == 2000) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship14 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev12 == 2100) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev12 == 2200) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.rightstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev12 == 2300) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 2;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 2;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev12 == 2550) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 2;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 2;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
}
}
if (level == 11) {
_progress = (shipkilledlev11 / shipquotal11) * 100;
timerforlev11++;
if (timerforlev11 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev11 == 400) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev11 == 800) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship4 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship5 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship6 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev11 == 1100) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship8 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev11 == 1500) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship11 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship12 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev11 == 1800) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship13 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship14 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev11 == 2000) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship15 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship16 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev11 == 2200) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev11 == 2300) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship18 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev11 == 2400) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev11 == 2500) {
duplicateMovieClip (_parent.middler, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 9) {
_progress = (shipkilledlev9 / shipquotal9) * 100;
timerforlev9++;
if (timerforlev9 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev9 == 400) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev9 == 600) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship4 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev9 == 700) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship11 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev9 == 900) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev9 == 1000) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship8 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev9 == 1100) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev9 == 1300) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev9 == 1400) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev9 == 1600) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship14 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev9 == 1800) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev9 == 1900) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship18 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev9 == 2000) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 2)];
}
}
if (level == 8) {
_progress = (shipkilledlev8 / shipquotal8) * 100;
timerforlev8++;
if (timerforlev8 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev8 == 400) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship1 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship2 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship3 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev8 == 600) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship4 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev8 == 800) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship11 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev8 == 1000) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship5 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship6 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship7 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev8 == 1200) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship8 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev8 == 1400) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship9 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship10 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 2)];
}
if (timerforlev8 == 1600) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship12 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev8 == 1800) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship13 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev8 == 1900) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship14 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev8 == 2000) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship15 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship16 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship17 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 3;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship3 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 6)].ship1 = _parent["trooper" + (num - 6)];
_parent["trooper" + (num - 6)].ship2 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 6)].ship3 = _parent["trooper" + (num - 2)];
}
if (timerforlev8 == 2200) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship18 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev8 == 2400) {
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.right._x + 100;
_parent["trooper" + num]._y = _y;
evilship19 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 1;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.trooper, "trooper" + num, num + 3000);
_parent["trooper" + num]._x = _parent.leftstick._x - 100;
_parent["trooper" + num]._y = _y;
evilship20 = _parent["trooper" + num];
_parent["trooper" + num].ready = true;
_parent["trooper" + num]._position = 2;
_parent["trooper" + num].shipincommand = 1;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["trooper" + (num - 1)];
_parent["trooper" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
_parent["trooper" + (num - 2)].ship1 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 2)].ship2 = _parent["trooper" + (num - 2)];
_parent["trooper" + (num - 4)].ship1 = _parent["trooper" + (num - 4)];
_parent["trooper" + (num - 4)].ship2 = _parent["trooper" + (num - 2)];
}
}
if (level == 7) {
_progress = (shipkilledlev7 / shipquotal7) * 100;
timerforlev7++;
if (timerforlev7 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev7 == 400) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.leftstick._x - 100;
_parent["spincycle" + num]._y = _y;
evilship1 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 2650) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship3 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship2 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 2100) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship4 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 600) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _parent.topstick._y - 100;
evilship5 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 2200) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship6 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 800) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _parent.topstick._y - 100;
evilship7 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 900) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _parent.topstick._y - 100;
evilship8 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 2300) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship9 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 1000) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship10 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 2400) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _parent.topstick._y - 100;
evilship11 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 1100) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship12 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 2500) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship13 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 1250) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship14 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 1400) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _parent.topstick._y - 100;
evilship15 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 1500) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship16 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 1600) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship17 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 1700) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship18 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 1850) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _parent.topstick._y - 100;
evilship19 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev7 == 2000) {
duplicateMovieClip (_parent.spincycle, "spincycle" + num, num + 3000);
_parent["spincycle" + num]._x = _parent.rightstick._x + 100;
_parent["spincycle" + num]._y = _y;
evilship20 = _parent["spincycle" + num];
_parent["spincycle" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spincycle" + (num - 1)];
_parent["spincycle" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 6) {
_progress = (shipkilledlev6 / shipquotal6) * 100;
timerforlev6++;
if (timerforlev6 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev6 == 300) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship1 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship2 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev6 == 700) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship3 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _x - 100;
_parent["diamond" + num]._y = _parent.bottomstick._y;
evilship4 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship5 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev6 == 1100) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship6 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _x - 100;
_parent["diamond" + num]._y = _parent.bottomstick._y;
evilship7 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship8 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _x - 100;
_parent["diamond" + num]._y = _parent.topstick._y;
evilship9 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev6 == 1500) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship10 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _x - 100;
_parent["diamond" + num]._y = _parent.topstick._y;
evilship11 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev6 == 1700) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship12 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _x - 100;
_parent["diamond" + num]._y = _parent.bottomstick._y;
evilship13 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev6 == 2000) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship14 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _x - 100;
_parent["diamond" + num]._y = _parent.bottomstick._y;
evilship15 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship16 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _x - 100;
_parent["diamond" + num]._y = _parent.topstick._y;
evilship17 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev6 == 2400) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship18 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _x - 100;
_parent["diamond" + num]._y = _parent.bottomstick._y;
evilship19 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship20 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 5) {
_progress = (shipkilledlev5 / shipquotal5) * 100;
timerforlev5++;
if (timerforlev5 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev5 == 200) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship1 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship2 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev5 == 300) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship3 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev5 == 500) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _parent.topstick._y - 100;
evilship4 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev5 == 800) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship5 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.rightstick._x + 100;
_parent["diamond" + num]._y = _y;
evilship6 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev5 == 1100) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship7 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _x + 100;
_parent["firer" + num]._y = _parent.topstick._y - 100;
evilship8 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x + 100;
_parent["diamond" + num]._y = _y + 1000;
evilship9 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev5 == 1450) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship10 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _parent.topstick._y - 100;
evilship11 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _parent.topstick._y - 100;
evilship12 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev5 == 1850) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship13 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _parent.topstick._y - 100;
evilship14 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _parent.topstick._y - 100;
evilship15 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev5 == 2150) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship16 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.leftstick._x - 100;
_parent["firer" + num]._y = _y;
evilship17 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x + 100;
_parent["diamond" + num]._y = _y + 1000;
evilship18 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev5 == 2500) {
duplicateMovieClip (_parent.firer, "firer" + num, num + 3000);
_parent["firer" + num]._x = _parent.rightstick._x + 100;
_parent["firer" + num]._y = _y;
evilship19 = _parent["firer" + num];
_parent["firer" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["firer" + (num - 1)];
_parent["firer" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.rightstick._x + 100;
_parent["diamond" + num]._y = _y;
evilship20 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 4) {
_progress = (shipkilledlev4 / shipquotal4) * 100;
timerforlev4++;
if (timerforlev4 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev4 == 200) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship1 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 300) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship2 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 400) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship3 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 2450) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship4 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 600) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship5 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 2600) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship6 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 800) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship7 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship8 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 1050) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship9 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship10 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 1350) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship11 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship12 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 1550) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship13 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship14 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 1750) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship15 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship16 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 2050) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship17 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship18 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev4 == 2250) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship19 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship20 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 3) {
_progress = (shipkilledlev3 / shipquotal3) * 100;
timerforlev3++;
if (timerforlev3 == 20) {
_parent.numobj.invoked = true;
}
if (timerforlev3 == 100) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship1 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev3 == 400) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.righstick._x + 100;
_parent["diamond" + num]._y = _y;
evilship2 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev3 == 600) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship3 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev3 == 800) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.righstick._x + 100;
_parent["diamond" + num]._y = _y;
evilship4 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship5 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev3 == 1000) {
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.leftstick._x - 100;
_parent["diamond" + num]._y = _y;
evilship6 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev3 == 1150) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship7 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship8 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev3 == 1400) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship9 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.diamond, "diamond" + num, num + 3000);
_parent["diamond" + num]._x = _parent.righstick._x + 100;
_parent["diamond" + num]._y = _y;
evilship10 = _parent["diamond" + num];
_parent["diamond" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["diamond" + (num - 1)];
_parent["diamond" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship11 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev3 == 1800) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship12 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship13 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship14 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev3 == 2250) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship15 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship16 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship17 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 1) {
if (timerforlev1 == 20) {
_parent.numobj.invoked = true;
}
_progress = (shipkilledlev1 / shipquotal1) * 100;
timerforlev1++;
if (timerforlev1 == 800) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship1 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev1 == 1100) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.rightstick._x + 100;
_parent["spshipevil" + num]._y = _y - 250;
evilship2 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev1 == 1500) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.rightstick._x + 100;
_parent["spshipevil" + num]._y = _y - 250;
evilship5 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev1 == 1700) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x + 100;
_parent["spshipevil" + num]._y = _y - 250;
evilship6 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev1 == 1900) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x + 100;
_parent["spshipevil" + num]._y = _y - 250;
evilship7 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (shipkilledlev1 == 2) {
if (bound1 == false) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _x - 100;
_parent["spshipevil" + num]._y = _parent.topstick._y - 250;
evilship3 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _x + 100;
_parent["spshipevil" + num]._y = _parent.bottomstick._y + 250;
evilship4 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
bound1 = true;
}
}
if (timerforlev1 == 2200) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.rightstick._x + 100;
_parent["spshipevil" + num]._y = _y - 250;
evilship8 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (level == 2) {
if (timerforlev2 == 20) {
_parent.numobj.invoked = true;
}
timerforlev2++;
_progress = (shipkilledlev2 / shipquotal2) * 100;
if (timerforlev2 == 100) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship1 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev2 == 300) {
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship2 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev2 == 600) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.rightstick._x + 100;
_parent["spinner" + num]._y = _y;
evilship3 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev2 == 800) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.rightstick._x + 100;
_parent["spinner" + num]._y = _y;
evilship4 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship5 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev2 == 1000) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.rightstick._x + 100;
_parent["spinner" + num]._y = _y;
evilship6 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship7 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev2 == 1200) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.rightstick._x + 100;
_parent["spinner" + num]._y = _y;
evilship8 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev2 == 1400) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.rightstick._x + 100;
_parent["spinner" + num]._y = _y;
evilship9 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship10 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
if (timerforlev2 == 1600) {
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.rightstick._x + 100;
_parent["spinner" + num]._y = _y;
evilship11 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spshipevil, "spshipevil" + num, num + 3000);
_parent["spshipevil" + num]._x = _parent.leftstick._x - 100;
_parent["spshipevil" + num]._y = _y;
evilship12 = _parent["spshipevil" + num];
_parent["spshipevil" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spshipevil" + (num - 1)];
_parent["spshipevil" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
duplicateMovieClip (_parent.spinner, "spinner" + num, num + 3000);
_parent["spinner" + num]._x = _parent.leftstick._x - 100;
_parent["spinner" + num]._y = _y;
evilship13 = _parent["spinner" + num];
_parent["spinner" + num].ready = true;
num++;
duplicateMovieClip (_parent.radar.dot, "dot" + num, num + 3000);
_parent.radar["dot" + num].stalker = _parent["spinner" + (num - 1)];
_parent["spinner" + (num - 1)].stalker = _parent.radar["dot" + num];
num++;
}
}
if (shakey == 1) {
shakey--;
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakey == 2) {
shakey--;
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakey == 3) {
shakey--;
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakey == 4) {
shakey--;
_parent._x = _parent._x - 5;
}
if (shakey == 5) {
shakey--;
_parent._y = _parent._y + 2;
_parent._x = _parent._x + 2;
}
if (shakey == 6) {
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakey == 7) {
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakey == 8) {
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakey == 9) {
_parent._x = _parent._x - 5;
}
if (shakey == 10) {
_parent._y = _parent._y + 2;
_parent._x = _parent._x + 2;
}
if (shakey == 6) {
shakey = shakey - 1;
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakey == 7) {
shakey = shakey - 1;
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakey == 8) {
shakey = shakey - 1;
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakey == 9) {
shakey = shakey - 1;
_parent._x = _parent._x - 5;
}
if (shakey == 10) {
shakey = shakey - 1;
_parent._y = _parent._y + 4;
_parent._x = _parent._x + 2;
}
if (shakey > 20) {
shakey = 21;
_parent._x = 0;
_parent._y = 0;
}
if (shakey == 11) {
shakey--;
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakey == 12) {
shakey--;
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakey == 13) {
shakey--;
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakey == 14) {
shakey--;
_parent._x = _parent._x - 5;
}
if (shakey == 15) {
shakey--;
_parent._y = _parent._y + 2;
_parent._x = _parent._x + 2;
}
if (shakey == 16) {
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakey == 17) {
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakey == 18) {
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakey == 19) {
_parent._x = _parent._x - 5;
}
if (shakey == 20) {
_parent._y = _parent._y + 2;
_parent._x = _parent._x + 2;
}
if (shakey == 16) {
shakey = shakey - 1;
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakey == 17) {
shakey = shakey - 1;
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakey == 18) {
shakey = shakey - 1;
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakey == 19) {
shakey = shakey - 1;
_parent._x = _parent._x - 5;
}
if (shakey == 20) {
shakey = shakey - 1;
_parent._y = _parent._y + 4;
_parent._x = _parent._x + 2;
}
if (shakey == 21) {
shakey = shakey - 1;
}
if (shakenum > 10) {
shakenum = 11;
_parent._x = 0;
_parent._y = 0;
}
if (shakenum == 1) {
shakenum--;
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakenum == 2) {
shakenum--;
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakenum == 3) {
shakenum--;
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakenum == 4) {
shakenum--;
_parent._x = _parent._x - 5;
}
if (shakenum == 5) {
shakenum--;
_parent._y = _parent._y + 2;
_parent._x = _parent._x + 2;
}
if (shakenum == 6) {
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakenum == 7) {
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakenum == 8) {
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakenum == 9) {
_parent._x = _parent._x - 5;
}
if (shakenum == 10) {
_parent._y = _parent._y + 2;
_parent._x = _parent._x + 2;
}
if (shakenum == 6) {
shakenum = shakenum - 1;
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
}
if (shakenum == 7) {
shakenum = shakenum - 1;
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 3;
}
if (shakenum == 8) {
shakenum = shakenum - 1;
_parent._x = _parent._x + 2;
_parent._y = _parent._y - 2;
}
if (shakenum == 9) {
shakenum = shakenum - 1;
_parent._x = _parent._x - 5;
}
if (shakenum == 10) {
shakenum = shakenum - 1;
_parent._y = _parent._y + 4;
_parent._x = _parent._x + 2;
}
if (shakenum == 11) {
shakenum = shakenum - 1;
}
if (rotationsetting > 0) {
_rotation = (_rotation - rotationsetting);
rotationsetting = rotationsetting - 5;
}
if (bulletnumber < bulletrate) {
bulletnumber++;
}
if (movementenabled == true) {
if (!Key.isDown(90)) {
if (charge > 20) {
duplicateMovieClip (_parent.bullbig, "bullbig" + num, num + 3000);
_parent["bullbig" + num]._x = _x + (Math.cos((_rotation / 180) * Math.PI) * 60);
_parent["bullbig" + num]._y = _y + (Math.sin((_rotation / 180) * Math.PI) * 60);
_parent["bullbig" + num]._rotation = _rotation;
_parent["bullbig" + num].ready = true;
rotationsetting = 10;
shakenum = shakenum + 5;
num++;
var my_sound = new Sound();
my_sound.attachSound("Medium_E-Public_D-219_hifi.mp3");
my_sound.start(0, 0);
_parent.ring.gotoAndPlay(1);
_parent.ring._visible = true;
}
if ((charge <= 20) && (charge > 1)) {
duplicateMovieClip (_parent.bullmed, "bullmed" + num, num + 3000);
_parent["bullmed" + num]._x = _x + (Math.cos((_rotation / 180) * Math.PI) * 60);
_parent["bullmed" + num]._y = _y + (Math.sin((_rotation / 180) * Math.PI) * 60);
_parent["bullmed" + num]._rotation = _rotation;
_parent["bullmed" + num].ready = true;
rotationsetting = 10;
shakenum = shakenum + 5;
num++;
_parent.ring.gotoAndPlay(1);
_parent.ring._visible = true;
}
holding = 0;
charge = 1;
}
if (Key.isDown(90)) {
holding++;
charge = (holding - 40) / 3;
if (holding < 40) {
if (bulletnumber >= bulletrate) {
if (bullettype == 6) {
duplicateMovieClip (_parent.bull6, "bull5" + num, num + 3000);
_parent["bull5" + num]._x = _x + (Math.cos(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bull5" + num]._y = _y + (Math.sin(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bull5" + num]._rotation = _rotation;
_parent["bull5" + num].ready = true;
_parent["bull5" + num].prep = true;
_parent["bull5" + num]._visible = true;
num++;
duplicateMovieClip (_parent.bull6, "bull5" + num, num + 3000);
_parent["bull5" + num]._x = _x + (Math.cos(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bull5" + num]._y = _y + (Math.sin(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bull5" + num]._rotation = _rotation;
_parent["bull5" + num].ready = true;
_parent["bull5" + num]._visible = true;
_parent["bull5" + num].prep = true;
num++;
}
if (bullettype == 5) {
duplicateMovieClip (_parent.bull5, "bull5" + num, num + 3000);
_parent["bull5" + num]._x = _x + (Math.cos(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bull5" + num]._y = _y + (Math.sin(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bull5" + num]._rotation = _rotation;
_parent["bull5" + num].ready = true;
_parent["bull5" + num].prep = true;
_parent["bull5" + num]._visible = true;
num++;
duplicateMovieClip (_parent.bull5, "bull5" + num, num + 3000);
_parent["bull5" + num]._x = _x + (Math.cos(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bull5" + num]._y = _y + (Math.sin(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bull5" + num]._rotation = _rotation;
_parent["bull5" + num].ready = true;
_parent["bull5" + num]._visible = true;
_parent["bull5" + num].prep = true;
num++;
}
if (bullettype == 3) {
duplicateMovieClip (_parent.bullet3, "bullet3" + num, num + 3000);
_parent["bullet3" + num]._x = _x + (Math.cos(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bullet3" + num]._y = _y + (Math.sin(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bullet3" + num]._rotation = _rotation;
_parent["bullet3" + num].ready = true;
_parent["bullet3" + num].prep = true;
_parent["bullet3" + num]._visible = true;
num++;
duplicateMovieClip (_parent.bullet3, "bullet3" + num, num + 3000);
_parent["bullet3" + num]._x = _x + (Math.cos(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bullet3" + num]._y = _y + (Math.sin(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bullet3" + num]._rotation = _rotation;
_parent["bullet3" + num].ready = true;
_parent["bullet3" + num]._visible = true;
_parent["bullet3" + num].prep = true;
num++;
}
if (bullettype == 4) {
duplicateMovieClip (_parent.bullet4, "bullet4" + num, num + 3000);
_parent["bullet4" + num]._x = _x + (Math.cos(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bullet4" + num]._y = _y + (Math.sin(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bullet4" + num]._rotation = _rotation - 10;
_parent["bullet4" + num].ready = true;
_parent["bullet4" + num].prep = true;
_parent["bullet4" + num]._visible = true;
num++;
duplicateMovieClip (_parent.bullet4, "bullet4" + num, num + 3000);
_parent["bullet4" + num]._x = _x + (Math.cos(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bullet4" + num]._y = _y + (Math.sin(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bullet4" + num]._rotation = _rotation + 10;
_parent["bullet4" + num].ready = true;
_parent["bullet4" + num].prep = true;
_parent["bullet4" + num]._visible = true;
num++;
duplicateMovieClip (_parent.bullet4, "bullet4" + num, num + 3000);
_parent["bullet4" + num]._x = _x + (Math.cos(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bullet4" + num]._y = _y + (Math.sin(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bullet4" + num]._rotation = _rotation - 10;
_parent["bullet4" + num].ready = true;
_parent["bullet4" + num]._visible = true;
_parent["bullet4" + num].prep = true;
num++;
duplicateMovieClip (_parent.bullet4, "bullet4" + num, num + 3000);
_parent["bullet4" + num]._x = _x + (Math.cos(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bullet4" + num]._y = _y + (Math.sin(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bullet4" + num]._rotation = _rotation + 10;
_parent["bullet4" + num].ready = true;
_parent["bullet4" + num]._visible = true;
_parent["bullet4" + num].prep = true;
num++;
}
if (bullettype == 2) {
duplicateMovieClip (_parent.bullet2, "bullet2" + num, num + 3000);
_parent["bullet2" + num]._x = _x + (Math.cos(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bullet2" + num]._y = _y + (Math.sin(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bullet2" + num]._rotation = _rotation;
_parent["bullet2" + num].ready = true;
_parent["bullet2" + num].prep = true;
_parent["bullet2" + num]._visible = true;
num++;
duplicateMovieClip (_parent.bullet2, "bullet2" + num, num + 3000);
_parent["bullet2" + num]._x = _x + (Math.cos(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bullet2" + num]._y = _y + (Math.sin(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bullet2" + num]._rotation = _rotation;
_parent["bullet2" + num].ready = true;
_parent["bullet2" + num]._visible = true;
_parent["bullet2" + num].prep = true;
num++;
}
if (bullettype == 1) {
duplicateMovieClip (_parent.bull1, "bull1" + num, num + 3000);
_parent["bull1" + num]._x = _x + (Math.cos(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bull1" + num]._y = _y + (Math.sin(((_rotation - 15) / 180) * Math.PI) * 35);
_parent["bull1" + num]._rotation = _rotation;
_parent["bull1" + num].ready = true;
_parent["bull1" + num].prep = true;
_parent["bull1" + num]._visible = true;
num++;
duplicateMovieClip (_parent.bull1, "bull1" + num, num + 3000);
_parent["bull1" + num]._x = _x + (Math.cos(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bull1" + num]._y = _y + (Math.sin(((_rotation + 15) / 180) * Math.PI) * 35);
_parent["bull1" + num]._rotation = _rotation;
_parent["bull1" + num].ready = true;
_parent["bull1" + num]._visible = true;
_parent["bull1" + num].prep = true;
num++;
}
bulletnumber = 0;
}
}
}
if (Key.isDown(38)) {
if (yspeed > maxspeedy) {
if ((_rotation > 0) && (_rotation < 180)) {
yspeed = yspeed - (Math.sin((_rotation / 180) * Math.PI) * accelspeed);
}
}
if (yspeed < (-maxspeedy)) {
if (!((_rotation > 0) && (_rotation < 180))) {
yspeed = yspeed - (Math.sin((_rotation / 180) * Math.PI) * accelspeed);
}
}
yspeed = yspeed + (Math.sin((_rotation / 180) * Math.PI) * accelspeed);
if (xspeed > maxspeedy) {
if ((_rotation > -90) && (_rotation < 90)) {
xspeed = xspeed - (Math.cos((_rotation / 180) * Math.PI) * accelspeed);
}
}
if (xspeed < (-maxspeedy)) {
if (!((_rotation > -90) && (_rotation < 90))) {
xspeed = xspeed - (Math.cos((_rotation / 180) * Math.PI) * accelspeed);
}
}
xspeed = xspeed + (Math.cos((_rotation / 180) * Math.PI) * accelspeed);
}
if (Key.isDown(37)) {
_rotation = (_rotation - (10 * rotationfactor));
}
if (Key.isDown(39)) {
_rotation = (_rotation + (10 * rotationfactor));
}
}
if (_parent._currentframe == 5) {
if (_x <= 40) {
if (_parent.nautilus._alpha < 2) {
_parent.nautilus._alpha = 2;
}
}
}
if (_parent._currentframe == 5) {
if (_x > 30) {
_x = (_x - 12);
}
if (level == 10) {
if (_x > -140) {
_x = (_x - 12);
}
}
if (level == 11) {
if (_x < 30) {
_x = (_x + 12);
}
}
}
}
Instance of Symbol 441 MovieClip "particle" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (this == _parent.particle) {
_visible = false;
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_currentframe == 15) {
removeMovieClip(this);
_visible = false;
}
}
}
Instance of Symbol 457 MovieClip "nautilus" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
_alpha = 0;
this.swapDepths(_parent.createEmptyMovieClip("container", 1000003));
texts._visible = false;
texts.gotoAndStop(1);
done = false;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (texts._currentframe == 90) {
texts.gotoAndStop(90);
if (done == false) {
if (_parent.ship.health < _parent.ship.maxhealth) {
_parent.ship.health = _parent.ship.health + (0.04 * _parent.ship.maxhealth);
}
if (_parent.ship.shield < _parent.ship.maxshield) {
_parent.ship.shield = _parent.ship.shield + ((_parent.ship.maxshield / 5) * 0.2);
}
}
}
if ((_alpha >= 1) && (_alpha < 100)) {
_alpha = (_alpha + 4);
if (_alpha >= 98) {
if (texts._currentframe == 1) {
texts.gotoAndPlay(2);
texts._visible = true;
}
}
}
if (done == false) {
if (_parent.ship.health >= _parent.ship.maxhealth) {
if (texts._currentframe == 90) {
texts.gotoAndStop(89);
if (_parent.prog._currentframe == 1) {
_parent.prog.gotoAndPlay(2);
}
done = true;
texts.gotoAndStop(89);
}
}
}
}
}
Instance of Symbol 514 MovieClip "firer" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
fire = 0;
gotoAndStop (1);
spinner.gotoAndStop(1);
randomgenerator = 0;
health = 8;
flucta = 0;
flyaway = 0;
fluct = 1;
dead = false;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (flucta > 0) {
flucta = flucta - 2;
}
if (dead == true) {
if (spinner._currentframe == 32) {
if (_parent.ship.level == 2) {
_parent.ship.shipkilledlev2++;
}
if (_parent.ship.level == 3) {
_parent.ship.shipkilledlev3++;
}
if (_parent.ship.level == 4) {
_parent.ship.shipkilledlev4++;
}
if (_parent.ship.level == 5) {
_parent.ship.shipkilledlev5++;
}
if (_parent.ship.level == 6) {
_parent.ship.shipkilledlev6++;
}
if (_parent.ship.level == 7) {
_parent.ship.shipkilledlev7++;
}
if (_parent.ship.level == 8) {
_parent.ship.shipkilledlev8++;
}
_parent.ship.money = _parent.ship.money + 15;
stalker.removeMovieClip();
removeMovieClip(this);
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
if (ready == true) {
if (_currentframe == 10) {
gotoAndStop (1);
}
if (this.hitTest(_parent.ship)) {
if (_currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (6 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (6 / _parent.ship.armorcurrent);
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
gotoAndPlay (1);
health = health - 2;
flucta = 30;
flyaway = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180;
}
}
_y = (_y + (Math.sin((flyaway / 180) * Math.PI) * flucta));
_x = (_x + (Math.cos((flyaway / 180) * Math.PI) * flucta));
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
_alpha = (_alpha - 5);
dead = true;
ready = false;
if (spinner._currentframe == 1) {
spinner.gotoAndPlay(2);
}
}
_y = (_y + ((Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * ((disttoobj(this, _parent.ship) / 28) + 2)) * fluct));
_x = (_x + ((Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * ((disttoobj(this, _parent.ship) / 28) + 2)) * fluct));
directionnum = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (fire < 5) {
fire++;
}
if (fire == 5) {
fire = 0;
randomgenerator = random(6);
if (((directionnum + 30) > (_rotation + 125)) && ((directionnum - 30) < (_rotation + 125))) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 245) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 245) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._rotation = _rotation - 145;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
}
if (((directionnum + 30) > (_rotation + 65)) && ((directionnum - 30) < (_rotation + 65))) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 305) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 305) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._rotation = _rotation - 205;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
}
if (((directionnum + 30) > _rotation) && ((directionnum - 30) < _rotation)) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos((_rotation / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin((_rotation / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._rotation = _rotation + 90;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
}
if (((directionnum + 30) > (_rotation - 65)) && ((directionnum - 30) < (_rotation - 65))) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 65) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 65) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._rotation = _rotation + 25;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
}
if (((directionnum + 30) > (_rotation - 125)) && ((directionnum - 30) < (_rotation - 125))) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 125) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 125) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._rotation = _rotation - 35;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
}
if (((directionnum + 30) > (_rotation - 185)) && ((directionnum - 30) < (_rotation - 185))) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 185) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 185) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._rotation = _rotation - 95;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
}
}
readynum = 0;
_rotation = (_rotation + 4);
}
}
}
Instance of Symbol 517 MovieClip "evilball" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if ((((_x < -250) || (_x > 400)) || (_y < -250)) || (_y > 300)) {
_x = -10000;
_visible = false;
removeMovieClip(this);
}
if (_currentframe == 10) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (5 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (5 / _parent.ship.armorcurrent);
}
removeMovieClip(this);
}
if (this.hitTest(_parent.ship)) {
if (_currentframe == 1) {
_parent.ship.shakenum = _parent.ship.shakenum + 10;
gotoAndPlay (2);
}
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
_y = (_y + (Math.sin(((_rotation - 180) / 180) * Math.PI) * 10));
_x = (_x + (Math.cos(((_rotation - 180) / 180) * Math.PI) * 10));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * 5));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * 5));
}
}
Instance of Symbol 533 MovieClip "bullet3" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
bull.bullit.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
bull.bullit.gotoAndPlay(bull.bullit._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (bull.bullit._currentframe == 20) {
removeMovieClip(this);
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
if (ready == false) {
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
}
if (ready == true) {
if (_visible == true) {
if (ready == true) {
if (this.hitTest(_parent.boss1)) {
if (_parent.boss1._currentframe == 1) {
ready = false;
_parent.boss1.health = _parent.boss1.health - 5;
_parent.boss1.gotoAndPlay(2);
}
}
if (this.hitTest(_parent.ship.evilship1)) {
ready = false;
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 5;
}
if (ready == true) {
if (this.hitTest(_parent.boss2)) {
ready = false;
_parent.boss2.health = _parent.boss2.health - 5;
}
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship1)) {
ready = false;
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship2)) {
ready = false;
_parent.ship.evilship2.health = _parent.ship.evilship2.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship3)) {
ready = false;
_parent.ship.evilship3.health = _parent.ship.evilship3.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship4)) {
ready = false;
_parent.ship.evilship4.health = _parent.ship.evilship4.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship5)) {
ready = false;
_parent.ship.evilship5.health = _parent.ship.evilship5.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship6)) {
ready = false;
_parent.ship.evilship6.health = _parent.ship.evilship6.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship7)) {
ready = false;
_parent.ship.evilship7.health = _parent.ship.evilship7.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship8)) {
ready = false;
_parent.ship.evilship8.health = _parent.ship.evilship8.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship9)) {
ready = false;
_parent.ship.evilship9.health = _parent.ship.evilship9.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship10)) {
ready = false;
_parent.ship.evilship10.health = _parent.ship.evilship10.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship11)) {
ready = false;
_parent.ship.evilship11.health = _parent.ship.evilship11.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship12)) {
ready = false;
_parent.ship.evilship12.health = _parent.ship.evilship12.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship13)) {
ready = false;
_parent.ship.evilship13.health = _parent.ship.evilship13.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship14)) {
ready = false;
_parent.ship.evilship14.health = _parent.ship.evilship14.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship15)) {
ready = false;
_parent.ship.evilship15.health = _parent.ship.evilship15.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship16)) {
ready = false;
_parent.ship.evilship16.health = _parent.ship.evilship16.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship17)) {
ready = false;
_parent.ship.evilship17.health = _parent.ship.evilship17.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship18)) {
ready = false;
_parent.ship.evilship18.health = _parent.ship.evilship18.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship19)) {
ready = false;
_parent.ship.evilship19.health = _parent.ship.evilship19.health - 5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship20)) {
ready = false;
_parent.ship.evilship20.health = _parent.ship.evilship20.health - 5;
}
}
}
}
if (ready == true) {
if (prep == true) {
_visible = true;
}
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
bull.bullit.gotoAndPlay(_currentframe);
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 18));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 18));
}
}
}
Instance of Symbol 554 MovieClip "bull6" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == true) {
if (_currentframe == 18) {
gotoAndPlay (1);
}
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 17));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 17));
}
if (prep == true) {
_visible = true;
}
if (_currentframe == 33) {
removeMovieClip(this);
}
if (ready == false) {
if (_currentframe <= 18) {
gotoAndPlay (19);
}
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
}
if (ready == true) {
if (_visible == true) {
if (ready == true) {
if (this.hitTest(_parent.boss1)) {
if (_parent.boss1._currentframe == 1) {
_parent.boss1.health = _parent.boss1.health - 18;
_parent.boss1.gotoAndPlay(2);
}
}
if (this.hitTest(_parent.ship.evilship1)) {
ready = false;
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 18;
}
if (this.hitTest(_parent.boss2)) {
ready = false;
_parent.boss2.health = _parent.boss2.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship2)) {
ready = false;
_parent.ship.evilship2.health = _parent.ship.evilship2.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship3)) {
ready = false;
_parent.ship.evilship3.health = _parent.ship.evilship3.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship4)) {
ready = false;
_parent.ship.evilship4.health = _parent.ship.evilship4.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship5)) {
ready = false;
_parent.ship.evilship5.health = _parent.ship.evilship5.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship6)) {
ready = false;
_parent.ship.evilship6.health = _parent.ship.evilship6.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship7)) {
ready = false;
_parent.ship.evilship7.health = _parent.ship.evilship7.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship8)) {
ready = false;
_parent.ship.evilship8.health = _parent.ship.evilship8.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship9)) {
ready = false;
_parent.ship.evilship9.health = _parent.ship.evilship9.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship10)) {
ready = false;
_parent.ship.evilship10.health = _parent.ship.evilship10.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship11)) {
ready = false;
_parent.ship.evilship11.health = _parent.ship.evilship11.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship12)) {
ready = false;
_parent.ship.evilship12.health = _parent.ship.evilship12.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship13)) {
ready = false;
_parent.ship.evilship13.health = _parent.ship.evilship13.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship14)) {
ready = false;
_parent.ship.evilship14.health = _parent.ship.evilship14.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship15)) {
ready = false;
_parent.ship.evilship15.health = _parent.ship.evilship15.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship16)) {
ready = false;
_parent.ship.evilship16.health = _parent.ship.evilship16.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship17)) {
ready = false;
_parent.ship.evilship17.health = _parent.ship.evilship17.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship18)) {
ready = false;
_parent.ship.evilship18.health = _parent.ship.evilship18.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship19)) {
ready = false;
_parent.ship.evilship19.health = _parent.ship.evilship19.health - 18;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship20)) {
ready = false;
_parent.ship.evilship20.health = _parent.ship.evilship20.health - 18;
}
}
}
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 562 MovieClip "hammer" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
gotoAndStop (1);
health = 35;
obj.gotoAndStop(1);
hit = false;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
obj.gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_currentframe == 13) {
gotoAndStop (1);
}
if (flucta > 1) {
flucta = flucta - 1.5;
}
if (ready == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (obj._currentframe == 15) {
if (_parent.ship.level == 11) {
_parent.ship.shipkilledlev11++;
}
if (_parent.ship.level == 12) {
_parent.ship.shipkilledlev12++;
}
if (_parent.ship.level == 13) {
_parent.ship.shipkilledlev13++;
}
if (_parent.ship.level == 14) {
_parent.ship.shipkilledlev14++;
}
if (_parent.ship.level == 15) {
_parent.ship.shipkilledlev15++;
}
if (_parent.ship.level == 16) {
_parent.ship.shipkilledlev16++;
}
if (_parent.ship.level == 17) {
_parent.ship.shipkilledlev17++;
}
if (_parent.ship.level == 18) {
_parent.ship.shipkilledlev18++;
}
_parent.ship.money = _parent.ship.money + 45;
stalker.removeMovieClip();
removeMovieClip(this);
_visible = false;
}
}
if (ready == true) {
if (health > 0) {
obj.gotoAndStop(1);
}
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
this.gotoAndStop(1);
if (obj._currentframe == 1) {
obj.gotoAndPlay(1);
}
ready = false;
}
if (this.hitTest(_parent.ship)) {
if (_currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (20 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (20 / _parent.ship.armorcurrent);
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
gotoAndPlay (1);
health = health - 2;
flucta = 30;
flyaway = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180;
}
}
_rotation = (_rotation + 15);
_y = (_y + (Math.sin((flyaway / 180) * Math.PI) * flucta));
_x = (_x + (Math.cos((flyaway / 180) * Math.PI) * flucta));
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * (11 + (disttoobj(this, _parent.ship) / 20))));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * (11 + (disttoobj(this, _parent.ship) / 20))));
}
}
}
Instance of Symbol 599 MovieClip "boss2" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2x, obj2y) {
return(Math.sqrt(((obj2x - obj1._x) * (obj2x - obj1._x)) + ((obj2y - obj1._y) * (obj2y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
firer = 0;
attack = 0;
alternator = 0;
alternator1 = 59;
health = 1200;
gotoAndStop (1);
core.gotoAndStop(1);
accelerate = -2;
_visible = false;
rotspeed = 0;
alterndirec = 1;
alternodirec = 1;
attackinmode = 1;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
core.gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == false) {
if (core._currentframe == 1) {
attackinmode = 2;
core.gotoAndPlay(2);
if (_currentframe == 156) {
var my_sound = new Sound();
my_sound.attachSound("Explosio-Ivan-8042_hifi.mp3");
my_sound.start(0, 0);
}
}
}
if (ready == true) {
if (health <= 0) {
ready = false;
}
core.gotoAndStop(1);
attack++;
if (attack == 800) {
attack = 0;
}
if ((attack > 0) && (attack < 400)) {
positionx = _parent.ship._x + 200;
positiony = _parent.ship._y;
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, positionx, positiony) / 180) * Math.PI) * (disttoobj(this, positionx, positiony) / 24)));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, positionx, positiony) / 180) * Math.PI) * (disttoobj(this, positionx, positiony) / 24)));
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
attackinmode = 1;
firer++;
if (firer >= 4) {
if (alterndirec == 1) {
if (alternator > -60) {
alternator = alternator - 5;
}
if (alternator <= -60) {
alterndirec = 2;
}
}
if (alterndirec == 2) {
if (alternator < 60) {
alternator = alternator + 5;
}
if (alternator >= 60) {
alterndirec = 1;
}
}
if (alternodirec == 1) {
if (alternator1 > -60) {
alternator1 = alternator1 - 5;
}
if (alternator1 <= -60) {
alternodirec = 2;
}
}
if (alternodirec == 2) {
if (alternator1 < 60) {
alternator1 = alternator1 + 5;
}
if (alternator1 >= 60) {
alternodirec = 1;
}
}
duplicateMovieClip (_parent.redbull1, "redbull1" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull1" + _parent.ship.num]._x = _x + (Math.cos(((_rotation + alternator) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._y = _y + (Math.sin(((_rotation + alternator) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._rotation = (_rotation + alternator) + 90;
_parent["redbull1" + _parent.ship.num].ready = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbull1, "redbull1" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull1" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - alternator) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - alternator) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._rotation = (_rotation - alternator) + 90;
_parent["redbull1" + _parent.ship.num].ready = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbull1, "redbull1" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull1" + _parent.ship.num]._x = _x + (Math.cos(((_rotation + alternator1) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._y = _y + (Math.sin(((_rotation + alternator1) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._rotation = (_rotation + alternator1) + 90;
_parent["redbull1" + _parent.ship.num].ready = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbull1, "redbull1" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull1" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - alternator1) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - alternator1) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._rotation = (_rotation - alternator1) + 90;
_parent["redbull1" + _parent.ship.num].ready = true;
_parent.ship.num++;
firer = 0;
}
}
if ((attack > 700) && (attack < 800)) {
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
if (_currentframe == 35) {
gotoAndPlay (36);
}
if (_currentframe == 1) {
gotoAndStop (1);
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
positionx = _parent.ship._x + 200;
positiony = _parent.ship._y;
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, positionx, positiony) / 180) * Math.PI) * (disttoobj(this, positionx, positiony) / 24)));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, positionx, positiony) / 180) * Math.PI) * (disttoobj(this, positionx, positiony) / 24)));
}
if ((attack > 400) && (attack < 700)) {
firer++;
if (firer >= 4) {
if (alterndirec == 1) {
if (alternator > -60) {
alternator = alternator - 5;
}
if (alternator <= -60) {
alterndirec = 2;
}
}
if (alterndirec == 2) {
if (alternator < 60) {
alternator = alternator + 5;
}
if (alternator >= 60) {
alterndirec = 1;
}
}
if (alternodirec == 1) {
if (alternator1 > -60) {
alternator1 = alternator1 - 5;
}
if (alternator1 <= -60) {
alternodirec = 2;
}
}
if (alternodirec == 2) {
if (alternator1 < 60) {
alternator1 = alternator1 + 5;
}
if (alternator1 >= 60) {
alternodirec = 1;
}
}
duplicateMovieClip (_parent.redbull1, "redbull1" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull1" + _parent.ship.num]._x = _x + (Math.cos(((_rotation + alternator) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._y = _y + (Math.sin(((_rotation + alternator) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._rotation = (_rotation + alternator) + 90;
_parent["redbull1" + _parent.ship.num].ready = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbull1, "redbull1" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull1" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - alternator) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - alternator) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._rotation = (_rotation - alternator) + 90;
_parent["redbull1" + _parent.ship.num].ready = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbull1, "redbull1" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull1" + _parent.ship.num]._x = _x + (Math.cos(((_rotation + alternator1) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._y = _y + (Math.sin(((_rotation + alternator1) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._rotation = (_rotation + alternator1) + 90;
_parent["redbull1" + _parent.ship.num].ready = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbull1, "redbull1" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull1" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - alternator1) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - alternator1) / 180) * Math.PI) * 65);
_parent["redbull1" + _parent.ship.num]._rotation = (_rotation - alternator1) + 90;
_parent["redbull1" + _parent.ship.num].ready = true;
_parent.ship.num++;
firer = 0;
}
if (hitTest(_parent.ship)) {
flyaway = 30;
_parent.ship.shakenum = _parent.ship.shakenum + 20;
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (40 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (40 / _parent.ship.armorcurrent);
}
}
if (flyaway >= 0) {
flyaway = flyaway - 1;
}
if (_currentframe == 1) {
gotoAndPlay (2);
}
if (_currentframe == 35) {
gotoAndStop (35);
}
if (rotspeed < 45) {
rotspeed++;
}
if (accelerate < 1.5) {
accelerate = accelerate + 0.0777777777777778;
}
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * ((disttoobj(this, _parent.ship._x, _parent.ship._y) / 16) * accelerate)));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * ((disttoobj(this, _parent.ship._x, _parent.ship._y) / 16) * accelerate)));
_y = (_y + (Math.sin(((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180) / 180) * Math.PI) * flyaway));
_x = (_x + (Math.cos(((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180) / 180) * Math.PI) * flyaway));
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
_rotation = (_rotation + rotspeed);
attackinmode = 2;
}
}
}
}
Instance of Symbol 601 MovieClip "blanket" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
this.swapDepths(_parent.createEmptyMovieClip("containe1r", 10000015));
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 6) {
if (_alpha > 0) {
_alpha = (_alpha - 2);
}
}
if ((_parent.boss2.health <= 0) || (_parent.ship.lives <= 0)) {
if (_parent._currentframe == 5) {
_alpha = (_alpha + 1.2);
if (_alpha > 20) {
_alpha = (_alpha + 1);
}
if (_alpha > 40) {
_alpha = (_alpha + 1);
}
if (_alpha > 60) {
_alpha = (_alpha + 0.75);
}
if (_alpha >= 100) {
_parent.gotoAndStop(6);
_parent.ship.removeMovieClip(this);
_parent._text.removeMovieClip(this);
_parent.radar.removeMovieClip(this);
_parent.nautilus.removeMovieClip(this);
_parent.prog.removeMovieClip(this);
}
}
}
}
Instance of Symbol 622 MovieClip "laser" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_currentframe == 32) {
removeMovieClip(this);
}
if (this.hitTest(_parent.ship)) {
if (_currentframe == 1) {
gotoAndPlay (2);
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (20 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (20 / _parent.ship.armorcurrent);
}
}
}
if (_currentframe == 1) {
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 54.5));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 54.5));
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
Instance of Symbol 632 MovieClip "_text" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop (1);
this.swapDepths(_parent.createEmptyMovieClip("container5", 1000005));
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_currentframe == 514) {
gotoAndStop (514);
}
}
}
Instance of Symbol 644 MovieClip "bull1" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
bull.gotoAndPlay(bull._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == true) {
bull.gotoAndPlay(_currentframe);
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 12));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 12));
}
if (prep == true) {
_visible = true;
}
if (bull._currentframe == 15) {
removeMovieClip(this);
}
if (ready == false) {
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
}
if (ready == true) {
if (_visible == true) {
if (ready == true) {
if (this.hitTest(_parent.boss1.barrier)) {
ready = false;
_parent.boss1.health--;
if (_parent.boss1.boss1._currentframe == 1) {
_parent.boss1.boss1.gotoAndPlay(2);
}
}
}
if (ready == true) {
if (this.hitTest(_parent.boss2)) {
ready = false;
_parent.boss2.health--;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship1)) {
ready = false;
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship2)) {
ready = false;
_parent.ship.evilship2.health = _parent.ship.evilship2.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship3)) {
ready = false;
_parent.ship.evilship3.health = _parent.ship.evilship3.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship4)) {
ready = false;
_parent.ship.evilship4.health = _parent.ship.evilship4.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship5)) {
ready = false;
_parent.ship.evilship5.health = _parent.ship.evilship5.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship6)) {
ready = false;
_parent.ship.evilship6.health = _parent.ship.evilship6.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship7)) {
ready = false;
_parent.ship.evilship7.health = _parent.ship.evilship7.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship8)) {
ready = false;
_parent.ship.evilship8.health = _parent.ship.evilship8.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship9)) {
ready = false;
_parent.ship.evilship9.health = _parent.ship.evilship9.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship10)) {
ready = false;
_parent.ship.evilship10.health = _parent.ship.evilship10.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship11)) {
ready = false;
_parent.ship.evilship11.health = _parent.ship.evilship11.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship12)) {
ready = false;
_parent.ship.evilship12.health = _parent.ship.evilship12.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship13)) {
ready = false;
_parent.ship.evilship13.health = _parent.ship.evilship13.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship14)) {
ready = false;
_parent.ship.evilship14.health = _parent.ship.evilship14.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship15)) {
ready = false;
_parent.ship.evilship15.health = _parent.ship.evilship15.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship16)) {
ready = false;
_parent.ship.evilship16.health = _parent.ship.evilship16.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship17)) {
ready = false;
_parent.ship.evilship17.health = _parent.ship.evilship17.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship18)) {
ready = false;
_parent.ship.evilship18.health = _parent.ship.evilship18.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship19)) {
ready = false;
_parent.ship.evilship19.health = _parent.ship.evilship19.health - 1;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship20)) {
ready = false;
_parent.ship.evilship20.health = _parent.ship.evilship20.health - 1;
}
}
}
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 693 MovieClip "bullmed" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
ball.gotoAndStop(1);
collisionready = true;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (ball._currentframe == 16) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ball._currentframe == 7) {
if (this.hitTest(_parent.ship.evilship1)) {
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 3;
}
if (this.hitTest(_parent.ship.evilship2)) {
_parent.ship.evilship2.health = _parent.ship.evilship2.health - 3;
}
if (this.hitTest(_parent.ship.evilship3)) {
_parent.ship.evilship3.health = _parent.ship.evilship3.health - 3;
}
if (this.hitTest(_parent.ship.evilship4)) {
_parent.ship.evilship4.health = _parent.ship.evilship4.health - 3;
}
if (this.hitTest(_parent.ship.evilship5)) {
_parent.ship.evilship5.health = _parent.ship.evilship5.health - 3;
}
if (this.hitTest(_parent.ship.evilship6)) {
_parent.ship.evilship6.health = _parent.ship.evilship6.health - 3;
}
if (this.hitTest(_parent.ship.evilship7)) {
_parent.ship.evilship7.health = _parent.ship.evilship7.health - 3;
}
if (this.hitTest(_parent.ship.evilship8)) {
_parent.ship.evilship8.health = _parent.ship.evilship8.health - 3;
}
if (this.hitTest(_parent.ship.evilship9)) {
_parent.ship.evilship9.health = _parent.ship.evilship9.health - 3;
}
if (this.hitTest(_parent.ship.evilship10)) {
_parent.ship.evilship10.health = _parent.ship.evilship10.health - 3;
}
if (this.hitTest(_parent.ship.evilship11)) {
_parent.ship.evilship11.health = _parent.ship.evilship11.health - 3;
}
if (this.hitTest(_parent.ship.evilship12)) {
_parent.ship.evilship12.health = _parent.ship.evilship12.health - 3;
}
if (this.hitTest(_parent.ship.evilship13)) {
_parent.ship.evilship13.health = _parent.ship.evilship13.health - 3;
}
if (this.hitTest(_parent.ship.evilship14)) {
_parent.ship.evilship14.health = _parent.ship.evilship14.health - 3;
}
if (this.hitTest(_parent.ship.evilship15)) {
_parent.ship.evilship15.health = _parent.ship.evilship15.health - 3;
}
if (this.hitTest(_parent.ship.evilship16)) {
_parent.ship.evilship16.health = _parent.ship.evilship16.health - 3;
}
if (this.hitTest(_parent.ship.evilship17)) {
_parent.ship.evilship17.health = _parent.ship.evilship17.health - 3;
}
if (this.hitTest(_parent.ship.evilship18)) {
_parent.ship.evilship18.health = _parent.ship.evilship18.health - 3;
}
if (this.hitTest(_parent.ship.evilship19)) {
_parent.ship.evilship19.health = _parent.ship.evilship19.health - 3;
}
if (this.hitTest(_parent.ship.evilship20)) {
_parent.ship.evilship20.health = _parent.ship.evilship20.health - 3;
}
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
if (ready == true) {
if (collisionready == true) {
if (((this.hitTest(_parent.ship.evilship1) || (this.hitTest(_parent.ship.evilship2))) || (this.hitTest(_parent.ship.evilship3))) || (this.hitTest(_parent.ship.evilship4))) {
if (_currentframe == 1) {
ball.gotoAndPlay(2);
collisionready = false;
}
}
if (((this.hitTest(_parent.ship.evilship5) || (this.hitTest(_parent.ship.evilship6))) || (this.hitTest(_parent.ship.evilship7))) || (this.hitTest(_parent.ship.evilship8))) {
if (_currentframe == 1) {
collisionready = false;
ball.gotoAndPlay(2);
}
}
if (((this.hitTest(_parent.ship.evilship9) || (this.hitTest(_parent.ship.evilship10))) || (this.hitTest(_parent.ship.evilship11))) || (this.hitTest(_parent.ship.evilship12))) {
if (_currentframe == 1) {
collisionready = false;
ball.gotoAndPlay(2);
}
}
if (((this.hitTest(_parent.ship.evilship13) || (this.hitTest(_parent.ship.evilship14))) || (this.hitTest(_parent.ship.evilship15))) || (this.hitTest(_parent.ship.evilship16))) {
if (_currentframe == 1) {
collisionready = false;
ball.gotoAndPlay(2);
}
}
if (((this.hitTest(_parent.ship.evilship17) || (this.hitTest(_parent.ship.evilship18))) || (this.hitTest(_parent.ship.evilship19))) || (this.hitTest(_parent.ship.evilship20))) {
if (_currentframe == 1) {
collisionready = false;
ball.gotoAndPlay(2);
}
}
}
if (ball._currentframe > 1) {
_x = (_x - (_parent.ship.xspeed / 2));
_y = (_y - (_parent.ship.yspeed / 2));
}
if (ball._currentframe == 1) {
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 12));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 12));
duplicateMovieClip (_parent.starry, "starry" + _parent.ship.num, _parent.ship.num + 3000);
_parent["starry" + _parent.ship.num]._x = _x + (Math.cos((((_rotation - 220) + random(80)) / 180) * Math.PI) * 25);
_parent["starry" + _parent.ship.num]._y = _y + (Math.sin((((_rotation - 220) + random(80)) / 180) * Math.PI) * 25);
_parent["starry" + _parent.ship.num]._rotation = random(360);
_parent["starry" + _parent.ship.num]._xscale = 60 + random(80);
_parent["starry" + _parent.ship.num]._alpha = 100;
_parent["starry" + _parent.ship.num]._yscale = _parent["starry" + _parent.ship.num]._xscale;
_parent.ship.num++;
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 12));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 12));
}
}
}
}
Instance of Symbol 707 MovieClip "diamond" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
function disttopnt(obj1, obj2x, obj2y) {
return(Math.sqrt(((obj2x - obj1._x) * (obj2x - obj1._x)) + ((obj2y - obj1._y) * (obj2y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
health = 8;
movinincircle = true;
pushoff = 10;
firenum = 0;
pushoffready = 10;
_direction = 0;
joltspeed = 0;
gotoAndStop (1);
flucta = 0;
flyaway - 0;
frameofflash = 1;
incircle = true;
firing = false;
fired = false;
firechoose = 0;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
diamond.gotoAndPlay(_currentframe - 1);
diamond.diamond.gotoAndPlay(_currentframe - 1);
diamond.diamond.diamond.gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (diamond.diamond.diamond._currentframe == 9) {
if (_parent.ship.level == 1) {
_parent.ship.shipkilledlev1++;
}
if (_parent.ship.level == 2) {
_parent.ship.shipkilledlev2++;
}
if (_parent.ship.level == 3) {
_parent.ship.shipkilledlev3++;
}
if (_parent.ship.level == 4) {
_parent.ship.shipkilledlev4++;
}
if (_parent.ship.level == 5) {
_parent.ship.shipkilledlev5++;
}
if (_parent.ship.level == 6) {
_parent.ship.shipkilledlev6++;
}
if (_parent.ship.level == 7) {
_parent.ship.shipkilledlev7++;
}
if (_parent.ship.level == 8) {
_parent.ship.shipkilledlev8++;
}
_parent.ship.money = _parent.ship.money + 10;
stalker.removeMovieClip();
removeMovieClip(this);
}
diamond.diamond.gotoAndStop(frameofflash);
if (ready == true) {
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
_parent.ship.shakey = 20;
_alpha = (_alpha - 5);
ready = false;
if (diamond.diamond.diamond._currentframe == 1) {
diamond.diamond.diamond.gotoAndPlay(2);
frameofflash = 21;
diamond.diamond.gotoAndStop(21);
}
}
if (_currentframe == 10) {
gotoAndStop (1);
}
if (flucta > 0) {
flucta = flucta - 2;
}
if (this.hitTest(_parent.ship)) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (6 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (6 / _parent.ship.armorcurrent);
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
gotoAndPlay (1);
health = health - 2;
flucta = 30;
flyaway = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180;
}
if (firenum < 40) {
firenum++;
}
if (distance > 0) {
distance = distance - 1;
}
firechoose = random(100);
if (firing == true) {
if (diamond._currentframe == 25) {
duplicateMovieClip (_parent.evilball, "evilball" + _parent.ship.num, _parent.ship.num + 4200);
_parent["evilball" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 180) / 180) * Math.PI) * 45);
_parent["evilball" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 180) / 180) * Math.PI) * 45);
_parent["evilball" + _parent.ship.num]._rotation = _rotation;
_parent["evilball" + _parent.ship.num].ready = true;
_parent.ship.num++;
}
joltspeed = 0;
hovraspeed = 12;
if (diamond._currentframe == 36) {
diamond.gotoAndStop(1);
firing = false;
}
if (diamond._currentframe == 18) {
if (fired == false) {
diamond.gotoAndStop(18);
if (firenum == 40) {
firenum = 0;
distance = 24;
diamond.gotoAndPlay(18);
fired = true;
}
}
}
}
if (firing == false) {
hovraspeed = 0;
if (firechoose == 37) {
fired = false;
firing = true;
diamond.gotoAndPlay(1);
}
if (pushoffready <= 50) {
pushoffready--;
if (pushoff > 0) {
pushoff = pushoff - 0.25;
}
frameofflash++;
}
if (pushoffready == 0) {
pushoffready = 50;
pushoff = 10;
frameofflash = 1;
}
joltspeed = pushoff + (((disttoobj(this, _parent.ship) / 3.5) * pushoff) / 12);
}
_direction = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_rotation = (_direction - 180);
_y = (_y + (((Math.sin((_direction / 180) * Math.PI) * joltspeed) * 0.35) * 0.75));
_x = (_x + (((Math.cos((_direction / 180) * Math.PI) * joltspeed) * 0.35) * 0.75));
_y = (_y + ((Math.sin((_direction / 180) * Math.PI) * 3) * 0.75));
_x = (_x + ((Math.cos((_direction / 180) * Math.PI) * 3) * 0.75));
_y = (_y + (((Math.sin((_direction / 180) * Math.PI) * hovraspeed) * 0.3) * 0.75));
_x = (_x + (((Math.cos((_direction / 180) * Math.PI) * hovraspeed) * 0.3) * 0.75));
_y = (_y + (((Math.sin((_rotation / 180) * Math.PI) * distance) * 0.3) * 0.75));
_y = (_y + (((Math.sin((flyaway / 180) * Math.PI) * flucta) * 0.75) * 0.75));
_x = (_x + (((Math.cos((flyaway / 180) * Math.PI) * flucta) * 0.75) * 0.75));
_x = (_x - (_parent.ship.xspeed * 0.75));
_y = (_y - (_parent.ship.yspeed * 0.75));
}
}
}
Instance of Symbol 722 MovieClip "bullet2" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
bull.gotoAndPlay(bull._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (bull._currentframe == 17) {
removeMovieClip(this);
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
if (ready == false) {
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
}
if (ready == true) {
if (_visible == true) {
if (ready == true) {
if (this.hitTest(_parent.boss1)) {
if (_parent.boss1._currentframe == 1) {
ready = false;
_parent.boss1.health = _parent.boss1.health - 2.5;
_parent.boss1.gotoAndPlay(2);
}
}
if (this.hitTest(_parent.ship.evilship1)) {
ready = false;
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 2.5;
}
if (ready == true) {
if (this.hitTest(_parent.boss2)) {
ready = false;
_parent.boss2.health = _parent.boss2.health - 2.5;
}
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship1)) {
ready = false;
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship2)) {
ready = false;
_parent.ship.evilship2.health = _parent.ship.evilship2.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship3)) {
ready = false;
_parent.ship.evilship3.health = _parent.ship.evilship3.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship4)) {
ready = false;
_parent.ship.evilship4.health = _parent.ship.evilship4.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship5)) {
ready = false;
_parent.ship.evilship5.health = _parent.ship.evilship5.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship6)) {
ready = false;
_parent.ship.evilship6.health = _parent.ship.evilship6.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship7)) {
ready = false;
_parent.ship.evilship7.health = _parent.ship.evilship7.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship8)) {
ready = false;
_parent.ship.evilship8.health = _parent.ship.evilship8.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship9)) {
ready = false;
_parent.ship.evilship9.health = _parent.ship.evilship9.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship10)) {
ready = false;
_parent.ship.evilship10.health = _parent.ship.evilship10.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship11)) {
ready = false;
_parent.ship.evilship11.health = _parent.ship.evilship11.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship12)) {
ready = false;
_parent.ship.evilship12.health = _parent.ship.evilship12.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship13)) {
ready = false;
_parent.ship.evilship13.health = _parent.ship.evilship13.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship14)) {
ready = false;
_parent.ship.evilship14.health = _parent.ship.evilship14.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship15)) {
ready = false;
_parent.ship.evilship15.health = _parent.ship.evilship15.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship16)) {
ready = false;
_parent.ship.evilship16.health = _parent.ship.evilship16.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship17)) {
ready = false;
_parent.ship.evilship17.health = _parent.ship.evilship17.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship18)) {
ready = false;
_parent.ship.evilship18.health = _parent.ship.evilship18.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship19)) {
ready = false;
_parent.ship.evilship19.health = _parent.ship.evilship19.health - 2.5;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship20)) {
ready = false;
_parent.ship.evilship20.health = _parent.ship.evilship20.health - 2.5;
}
}
}
}
if (ready == true) {
if (prep == true) {
_visible = true;
}
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
bull.gotoAndPlay(_currentframe);
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 15));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 15));
}
}
}
Instance of Symbol 644 MovieClip "bullet4" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
bull.gotoAndPlay(bull._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == true) {
bull.gotoAndPlay(_currentframe);
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 12));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 12));
}
if (prep == true) {
_visible = true;
}
if (bull._currentframe == 15) {
removeMovieClip(this);
}
if (ready == false) {
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
}
if (ready == true) {
if (_visible == true) {
if (ready == true) {
if (this.hitTest(_parent.boss1)) {
if (_parent.boss1._currentframe == 1) {
ready = false;
_parent.boss1.health = _parent.boss1.health - 4;
_parent.boss1.gotoAndPlay(2);
}
}
if (this.hitTest(_parent.ship.evilship1)) {
ready = false;
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 4;
}
if (ready == true) {
if (this.hitTest(_parent.boss2)) {
ready = false;
_parent.boss2.health = _parent.boss2.health - 4;
}
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship2)) {
ready = false;
_parent.ship.evilship2.health = _parent.ship.evilship2.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship3)) {
ready = false;
_parent.ship.evilship3.health = _parent.ship.evilship3.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship4)) {
ready = false;
_parent.ship.evilship4.health = _parent.ship.evilship4.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship5)) {
ready = false;
_parent.ship.evilship5.health = _parent.ship.evilship5.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship6)) {
ready = false;
_parent.ship.evilship6.health = _parent.ship.evilship6.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship7)) {
ready = false;
_parent.ship.evilship7.health = _parent.ship.evilship7.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship8)) {
ready = false;
_parent.ship.evilship8.health = _parent.ship.evilship8.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship9)) {
ready = false;
_parent.ship.evilship9.health = _parent.ship.evilship9.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship10)) {
ready = false;
_parent.ship.evilship10.health = _parent.ship.evilship10.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship11)) {
ready = false;
_parent.ship.evilship11.health = _parent.ship.evilship11.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship12)) {
ready = false;
_parent.ship.evilship12.health = _parent.ship.evilship12.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship13)) {
ready = false;
_parent.ship.evilship13.health = _parent.ship.evilship13.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship14)) {
ready = false;
_parent.ship.evilship14.health = _parent.ship.evilship14.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship15)) {
ready = false;
_parent.ship.evilship15.health = _parent.ship.evilship15.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship16)) {
ready = false;
_parent.ship.evilship16.health = _parent.ship.evilship16.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship17)) {
ready = false;
_parent.ship.evilship17.health = _parent.ship.evilship17.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship18)) {
ready = false;
_parent.ship.evilship18.health = _parent.ship.evilship18.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship19)) {
ready = false;
_parent.ship.evilship19.health = _parent.ship.evilship19.health - 4;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship20)) {
ready = false;
_parent.ship.evilship20.health = _parent.ship.evilship20.health - 4;
}
}
}
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 644 MovieClip "bull5" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
switcher = 0;
num = 0;
dist = 1000000 /* 0x0F4240 */;
jetta = -10;
cando = 0;
_visible = false;
bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
jetta = jetta + 0.5;
if (_parent.ship._paused == true) {
bull.gotoAndPlay(bull._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == true) {
cando++;
if (cando == 1) {
duplicateMovieClip (_parent.starry, "starry" + _parent.ship.num, _parent.ship.num + 3000);
_parent["starry" + _parent.ship.num]._x = ((_x - 8) + random(16)) - (Math.cos((_rotation / 180) * Math.PI) * 12);
_parent["starry" + _parent.ship.num]._y = ((_y - 8) + random(16)) - (Math.sin((_rotation / 180) * Math.PI) * 12);
_parent["starry" + _parent.ship.num]._alpha = 100;
_parent.ship.num++;
cando = 0;
}
if (switcher == 0) {
while (num <= 20) {
if (disttoobj(this, _parent.ship["evilship" + num]) < dist) {
dist = disttoobj(this, _parent.ship["evilship" + num]);
loggy = _parent.ship["evilship" + num];
}
num++;
}
dist = 1000000 /* 0x0F4240 */;
num = 0;
switcher = 20;
}
switcher--;
bull.gotoAndPlay(_currentframe);
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 4));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 4));
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * jetta));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * jetta));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, loggy._x, loggy._y) / 180) * Math.PI) * 4));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, loggy._x, loggy._y) / 180) * Math.PI) * 4));
}
if (prep == true) {
_visible = true;
}
if (bull._currentframe == 15) {
removeMovieClip(this);
}
if (ready == false) {
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
}
if (ready == true) {
if (_visible == true) {
if (ready == true) {
if (this.hitTest(_parent.boss1.barrier)) {
ready = false;
_parent.boss1.health = _parent.boss1.health - 12;
if (_parent.boss1.boss1._currentframe == 1) {
_parent.boss1.boss1.gotoAndPlay(2);
}
}
}
if (ready == true) {
if (this.hitTest(_parent.boss2)) {
ready = false;
_parent.boss2.health = _parent.boss2.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship1)) {
ready = false;
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship2)) {
ready = false;
_parent.ship.evilship2.health = _parent.ship.evilship2.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship3)) {
ready = false;
_parent.ship.evilship3.health = _parent.ship.evilship3.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship4)) {
ready = false;
_parent.ship.evilship4.health = _parent.ship.evilship4.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship5)) {
ready = false;
_parent.ship.evilship5.health = _parent.ship.evilship5.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship6)) {
ready = false;
_parent.ship.evilship6.health = _parent.ship.evilship6.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship7)) {
ready = false;
_parent.ship.evilship7.health = _parent.ship.evilship7.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship8)) {
ready = false;
_parent.ship.evilship8.health = _parent.ship.evilship8.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship9)) {
ready = false;
_parent.ship.evilship9.health = _parent.ship.evilship9.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship10)) {
ready = false;
_parent.ship.evilship10.health = _parent.ship.evilship10.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship11)) {
ready = false;
_parent.ship.evilship11.health = _parent.ship.evilship11.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship12)) {
ready = false;
_parent.ship.evilship12.health = _parent.ship.evilship12.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship13)) {
ready = false;
_parent.ship.evilship13.health = _parent.ship.evilship13.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship14)) {
ready = false;
_parent.ship.evilship14.health = _parent.ship.evilship14.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship15)) {
ready = false;
_parent.ship.evilship15.health = _parent.ship.evilship15.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship16)) {
ready = false;
_parent.ship.evilship16.health = _parent.ship.evilship16.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship17)) {
ready = false;
_parent.ship.evilship17.health = _parent.ship.evilship17.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship18)) {
ready = false;
_parent.ship.evilship18.health = _parent.ship.evilship18.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship19)) {
ready = false;
_parent.ship.evilship19.health = _parent.ship.evilship19.health - 12;
}
}
if (ready == true) {
if (this.hitTest(_parent.ship.evilship20)) {
ready = false;
_parent.ship.evilship20.health = _parent.ship.evilship20.health - 12;
}
}
}
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 731 MovieClip "laserbullet" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_enabled == true) {
_x = (_x - (_parent.ship.xspeed / 1.5));
_y = (_y - (_parent.ship.yspeed / 1.5));
if (_currentframe == 17) {
removeMovieClip(this);
}
if (_currentframe == 1) {
_y = (_y - (Math.sin((_rotation / 180) * Math.PI) * 17));
_x = (_x - (Math.cos((_rotation / 180) * Math.PI) * 17));
gotoAndStop (1);
if (this.hitTest(_parent.ship)) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (3.25 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (3.25 / _parent.ship.armorcurrent);
}
gotoAndPlay (1);
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
}
}
}
}
Instance of Symbol 765 MovieClip "boss1" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2x, obj2y) {
return(Math.sqrt(((obj2x - obj1._x) * (obj2x - obj1._x)) + ((obj2y - obj1._y) * (obj2y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
ready = false;
alternum = 0;
health = 400;
rotationincreaser = 0;
laserattack = 0;
bulletattack = 0;
gunmode = 2;
alternator = 0;
lasering = false;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
boss1.charger.gotoAndPlay(_currentframe - 1);
boss1.spinner.gotoAndPlay(_currentframe - 1);
boss1.gotoAndPlay(_currentframe - 1);
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_currentframe == 156) {
var my_sound = new Sound();
my_sound.attachSound("Explosio-Ivan-8042_hifi.mp3");
my_sound.start(0, 0);
}
if (_currentframe == 186) {
ready = false;
gotoAndStop (126);
_visible = false;
_x = 1000;
_parent.ship.shipkilledlev10++;
_parent.ship.money = _parent.ship.money + 50;
}
if (health > 0) {
gotoAndStop (1);
}
if (health <= 0) {
if (_currentframe == 1) {
gotoAndPlay (145);
}
}
if (ready == false) {
_visible = false;
}
if (ready == true) {
if (boss1._currentframe == 1) {
boss1.gotoAndStop(1);
}
laserattack++;
bulletattack++;
if (bulletattack == 450) {
gunmode = 1;
}
if ((bulletattack > 480) && (bulletattack < 800)) {
alternator++;
if (alternator >= 36) {
duplicateMovieClip (_parent.redbullbig, "redbullbig" + _parent.ship.num, _parent.ship.num);
_parent["redbullbig" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 146) / 180) * Math.PI) * 150);
_parent["redbullbig" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 146) / 180) * Math.PI) * 150);
_parent["redbullbig" + _parent.ship.num]._rotation = _rotation - 22;
_parent["redbullbig" + _parent.ship.num].gotoAndStop(1);
_parent["redbullbig" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbullbig, "redbullbig" + _parent.ship.num, _parent.ship.num);
_parent["redbullbig" + _parent.ship.num]._x = _x + (Math.cos((((_rotation - 180) - 34) / 180) * Math.PI) * 150);
_parent["redbullbig" + _parent.ship.num]._y = _y + (Math.sin((((_rotation - 180) - 34) / 180) * Math.PI) * 150);
_parent["redbullbig" + _parent.ship.num]._rotation = _rotation - 22;
_parent["redbullbig" + _parent.ship.num]._enabled = true;
_parent["redbullbig" + _parent.ship.num].gotoAndStop(1);
_parent.ship.num++;
alternator = 0;
}
gunmode = 1;
}
if (bulletattack == 180) {
gunmode = 2;
}
if (bulletattack == 900) {
bulletattack = 0;
}
if ((bulletattack < 200) || (bulletattack > 450)) {
gunenable = false;
}
if ((bulletattack > 200) && (bulletattack < 450)) {
gunmode = 2;
gunenable = true;
alternator++;
if ((alternator == 2) || (alternator == 6)) {
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 149) / 180) * Math.PI) * 140);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 149) / 180) * Math.PI) * 140);
_parent["laserbullet" + _parent.ship.num]._rotation = _rotation - 22;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos((((_rotation - 180) - 31) / 180) * Math.PI) * 140);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin((((_rotation - 180) - 31) / 180) * Math.PI) * 140);
_parent["laserbullet" + _parent.ship.num]._rotation = _rotation + 22;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
}
if ((alternator == 5) || (alternator == 1)) {
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 144) / 180) * Math.PI) * 160);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 144) / 180) * Math.PI) * 160);
_parent["laserbullet" + _parent.ship.num]._rotation = _rotation - 22;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos((((_rotation - 180) - 36) / 180) * Math.PI) * 160);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin((((_rotation - 180) - 36) / 180) * Math.PI) * 160);
_parent["laserbullet" + _parent.ship.num]._rotation = _rotation + 22;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
}
if (alternator >= 8) {
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 146) / 180) * Math.PI) * 150);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 146) / 180) * Math.PI) * 150);
_parent["laserbullet" + _parent.ship.num]._rotation = _rotation - 22;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos((((_rotation - 180) - 34) / 180) * Math.PI) * 150);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin((((_rotation - 180) - 34) / 180) * Math.PI) * 150);
_parent["laserbullet" + _parent.ship.num]._rotation = _rotation + 22;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
alternator = 0;
}
}
if (laserattack == 300) {
rotationincreaser = 0;
}
if ((laserattack >= 320) && (laserattack < 500)) {
rotationincreaser = rotationincreaser + 1;
alternum++;
if (alternum >= 18) {
duplicateMovieClip (_parent.redbullbiggest, "redbullbiggest" + _parent.ship.num, _parent.ship.num);
_parent["redbullbiggest" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 180) / 180) * Math.PI) * 100);
_parent["redbullbiggest" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 180) / 180) * Math.PI) * 100);
_parent["redbullbiggest" + _parent.ship.num]._rotation = ((_rotation + 180) + rotationincreaser) - 90;
_parent["redbullbiggest" + _parent.ship.num].gotoAndStop(1);
_parent["redbullbiggest" + _parent.ship.num]._xscale = 30;
_parent["redbullbiggest" + _parent.ship.num]._yscale = 30;
_parent.ship.num++;
alternum = 0;
}
}
if (laserattack == 600) {
laserattack = 0;
}
if ((laserattack > 100) && (laserattack < 250)) {
alternum++;
if (alternum >= 10) {
duplicateMovieClip (_parent.laser, "redbullbiggest" + _parent.ship.num, _parent.ship.num);
_parent["redbullbiggest" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 180) / 180) * Math.PI) * 100);
_parent["redbullbiggest" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 180) / 180) * Math.PI) * 100);
_parent["redbullbiggest" + _parent.ship.num]._rotation = _rotation - 180;
_parent["redbullbiggest" + _parent.ship.num].gotoAndStop(1);
_parent.ship.num++;
alternum = 0;
}
}
if (laserattack == 100) {
boss1.spinner.gotoAndPlay(1);
}
if (laserattack == 120) {
boss1.charger._visible = true;
boss1.charger.gotoAndPlay(1);
}
positionx = _parent.ship._x + 500;
positiony = _parent.ship._y;
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, positionx, positiony) / 180) * Math.PI) * (disttoobj(this, positionx, positiony) / 24)));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, positionx, positiony) / 180) * Math.PI) * (disttoobj(this, positionx, positiony) / 24)));
_x = (_x - (_parent.ship.xspeed / 5));
_y = (_y - (_parent.ship.yspeed / 5));
if (FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) > (_rotation + 180)) {
_rotation = (_rotation + 0.2);
}
if (FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) < (_rotation + 180)) {
_rotation = (_rotation - 0.2);
}
}
}
}
Instance of Symbol 798 MovieClip "spinner" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
gotoAndStop (1);
health = 8;
self.gotoAndStop(1);
hit = false;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
self.gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == true) {
if (_currentframe == 20) {
gotoAndStop (20);
}
if (self._currentframe == 21) {
if (_parent.ship.level == 1) {
_parent.ship.shipkilledlev1++;
}
if (_parent.ship.level == 2) {
_parent.ship.shipkilledlev2++;
}
if (_parent.ship.level == 3) {
_parent.ship.shipkilledlev3++;
}
if (_parent.ship.level == 4) {
_parent.ship.shipkilledlev4++;
}
if (_parent.ship.level == 5) {
_parent.ship.shipkilledlev5++;
}
if (_parent.ship.level == 6) {
_parent.ship.shipkilledlev6++;
}
if (_parent.ship.level == 7) {
_parent.ship.shipkilledlev7++;
}
if (_parent.ship.level == 8) {
_parent.ship.shipkilledlev8++;
}
_parent.ship.money = _parent.ship.money + 8;
stalker.removeMovieClip();
removeMovieClip(this);
}
if (this.health <= 0) {
if (_currentframe == 1) {
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
self.gotoAndPlay(2);
gotoAndPlay (2);
hit = true;
}
}
if (this.hitTest(_parent.ship)) {
if (_currentframe == 1) {
if (self._currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (18 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (18 / _parent.ship.armorcurrent);
}
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
self.gotoAndPlay(2);
gotoAndPlay (2);
hit = true;
}
}
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (hit == false) {
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * (9 + (disttoobj(this, _parent.ship) / 24))));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * (9 + (disttoobj(this, _parent.ship) / 24))));
self._rotation = self._rotation + 10;
}
}
}
}
Instance of Symbol 826 MovieClip "trooper" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2x, obj2y) {
return(Math.sqrt(((obj2x - obj1._x) * (obj2x - obj1._x)) + ((obj2y - obj1._y) * (obj2y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
timer = 0;
firer = 3;
gotoAndStop (1);
health = 18;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_currentframe == 44) {
if (_parent.ship.level == 2) {
_parent.ship.shipkilledlev2++;
}
if (_parent.ship.level == 3) {
_parent.ship.shipkilledlev3++;
}
if (_parent.ship.level == 4) {
_parent.ship.shipkilledlev4++;
}
if (_parent.ship.level == 5) {
_parent.ship.shipkilledlev5++;
}
if (_parent.ship.level == 6) {
_parent.ship.shipkilledlev6++;
}
if (_parent.ship.level == 7) {
_parent.ship.shipkilledlev7++;
}
if (_parent.ship.level == 8) {
_parent.ship.shipkilledlev8++;
}
if (_parent.ship.level == 9) {
_parent.ship.shipkilledlev9++;
}
if (_parent.ship.level == 11) {
_parent.ship.shipkilledlev11++;
}
if (_parent.ship.level == 12) {
_parent.ship.shipkilledlev12++;
}
if (_parent.ship.level == 13) {
_parent.ship.shipkilledlev13++;
}
_parent.ship.money = _parent.ship.money + 28;
stalker.removeMovieClip();
removeMovieClip(this);
}
}
if (ready == true) {
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
if (_position == 1) {
ship2.shipincommand = 2;
ship3.shipincommand = 2;
ship4.shipincommand = 2;
ship5.shipincommand = 2;
}
if (_position == 2) {
if (shipincommand == 2) {
ship3.shipincommand = 3;
ship4.shipincommand = 3;
ship5.shipincommand = 3;
}
}
gotoAndPlay (2);
ready = false;
}
firer++;
if (firer == 8) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos((_rotation / 180) * Math.PI) * 53);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin((_rotation / 180) * Math.PI) * 53);
_parent["redbull" + _parent.ship.num]._rotation = _rotation + 90;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
firer = 0;
}
if (_position == 1) {
shipx = Math.cos((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
shipy = Math.sin((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
ymovement = Math.sin((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_y = (_y + ymovement);
xmovement = Math.cos((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_x = (_x + xmovement);
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
if (_position == 2) {
if (shipincommand == 1) {
_rotation = ship1._rotation;
_y = (ship1._y + (Math.sin(((_rotation - 135) / 180) * Math.PI) * 70));
_x = (ship1._x + (Math.cos(((_rotation - 135) / 180) * Math.PI) * 70));
}
if (shipincommand == 2) {
shipx = Math.cos((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
shipy = Math.sin((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
ymovement = Math.sin((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_y = (_y + ymovement);
xmovement = Math.cos((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_x = (_x + xmovement);
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
if (_position == 3) {
if (shipincommand == 1) {
_rotation = ship1._rotation;
_y = (ship1._y + (Math.sin((((_rotation - 135) - 90) / 180) * Math.PI) * 70));
_x = (ship1._x + (Math.cos((((_rotation - 135) - 90) / 180) * Math.PI) * 70));
}
if (shipincommand == 2) {
_rotation = ship2._rotation;
_y = (ship2._y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 100));
_x = (ship2._x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 100));
}
if (shipincommand == 3) {
shipx = Math.cos((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
shipy = Math.sin((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
ymovement = Math.sin((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_y = (_y + ymovement);
xmovement = Math.cos((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_x = (_x + xmovement);
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
}
}
}
Instance of Symbol 837 MovieClip "spincycle" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
timer = 0;
health = 12;
firer = 0;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (flucta > 0) {
flucta = flucta - 2;
}
if (ready == false) {
if (_currentframe == 48) {
if (_parent.ship.level == 2) {
_parent.ship.shipkilledlev2++;
}
if (_parent.ship.level == 3) {
_parent.ship.shipkilledlev3++;
}
if (_parent.ship.level == 4) {
_parent.ship.shipkilledlev4++;
}
if (_parent.ship.level == 5) {
_parent.ship.shipkilledlev5++;
}
if (_parent.ship.level == 6) {
_parent.ship.shipkilledlev6++;
}
if (_parent.ship.level == 7) {
_parent.ship.shipkilledlev7++;
}
if (_parent.ship.level == 8) {
_parent.ship.shipkilledlev8++;
}
if (_parent.ship.level == 9) {
_parent.ship.shipkilledlev9++;
}
if (_parent.ship.level == 11) {
_parent.ship.shipkilledlev11++;
}
if (_parent.ship.level == 12) {
_parent.ship.shipkilledlev12++;
}
_parent.ship.money = _parent.ship.money + 20;
stalker.removeMovieClip();
removeMovieClip(this);
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
if (ready == true) {
if (this.hitTest(_parent.ship)) {
if (_currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (7 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (7 / _parent.ship.armorcurrent);
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
health = health - 2;
flucta = 30;
flyaway = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180;
}
}
gotoAndStop (1);
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
gotoAndPlay (2);
ready = false;
}
firer++;
if (firer == 3) {
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos((((_rotation + 30) - 120) / 180) * Math.PI) * 50);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin((((_rotation + 30) - 120) / 180) * Math.PI) * 50);
_parent["laserbullet" + _parent.ship.num]._rotation = (_rotation + 180) - 120;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
firer = 0;
}
if (firer == 1) {
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos((((_rotation + 30) + 120) / 180) * Math.PI) * 50);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin((((_rotation + 30) + 120) / 180) * Math.PI) * 50);
_parent["laserbullet" + _parent.ship.num]._rotation = (_rotation + 180) + 120;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
}
if (firer == 2) {
duplicateMovieClip (_parent.laserbullet, "laserbullet" + _parent.ship.num, _parent.ship.num);
_parent["laserbullet" + _parent.ship.num]._x = _x + (Math.cos(((_rotation + 30) / 180) * Math.PI) * 50);
_parent["laserbullet" + _parent.ship.num]._y = _y + (Math.sin(((_rotation + 30) / 180) * Math.PI) * 50);
_parent["laserbullet" + _parent.ship.num]._rotation = _rotation + 180;
_parent["laserbullet" + _parent.ship.num].gotoAndStop(1);
_parent["laserbullet" + _parent.ship.num]._enabled = true;
_parent.ship.num++;
}
_y = (_y + (Math.sin((flyaway / 180) * Math.PI) * flucta));
_x = (_x + (Math.cos((flyaway / 180) * Math.PI) * flucta));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * ((disttoobj(this, _parent.ship) / 20) + 4)));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * ((disttoobj(this, _parent.ship) / 20) + 4)));
directionnum = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
_rotation = (_rotation + 2.5);
}
}
}
Instance of Symbol 840 MovieClip "middler" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2x, obj2y) {
return(Math.sqrt(((obj2x - obj1._x) * (obj2x - obj1._x)) + ((obj2y - obj1._y) * (obj2y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
timer = 0;
health = 25;
firer = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (health <= 0) {
_xscale = (_xscale - 1.44927536231884);
_yscale = (_yscale - 1.44927536231884);
}
if (flucta > 0) {
flucta = flucta - 2;
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_currentframe == 69) {
if (_parent.ship.level == 11) {
_parent.ship.shipkilledlev11++;
}
if (_parent.ship.level == 12) {
_parent.ship.shipkilledlev12++;
}
if (_parent.ship.level == 13) {
_parent.ship.shipkilledlev13++;
}
if (_parent.ship.level == 14) {
_parent.ship.shipkilledlev14++;
}
if (_parent.ship.level == 15) {
_parent.ship.shipkilledlev15++;
}
if (_parent.ship.level == 16) {
_parent.ship.shipkilledlev16++;
}
if (_parent.ship.level == 17) {
_parent.ship.shipkilledlev17++;
}
if (_parent.ship.level == 18) {
_parent.ship.shipkilledlev18++;
}
_parent.ship.money = _parent.ship.money + 37;
stalker.removeMovieClip();
removeMovieClip(this);
}
}
if (ready == true) {
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
if (_position == 1) {
ship2.shipincommand = 2;
ship3.shipincommand = 2;
ship4.shipincommand = 2;
ship5.shipincommand = 2;
}
if (_position == 2) {
if (shipincommand == 2) {
ship3.shipincommand = 3;
ship4.shipincommand = 3;
ship5.shipincommand = 3;
}
}
gotoAndPlay (2);
ready = false;
}
firer++;
if (firer == 16) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 27) / 180) * Math.PI) * 40);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 27) / 180) * Math.PI) * 40);
_parent["redbull" + _parent.ship.num]._rotation = _rotation + 90;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation + 27) / 180) * Math.PI) * 40);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation + 27) / 180) * Math.PI) * 40);
_parent["redbull" + _parent.ship.num]._rotation = _rotation + 90;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
firer = 0;
}
if (_position == 1) {
shipx = Math.cos((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
shipy = Math.sin((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
ymovement = Math.sin((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_y = (_y + ymovement);
xmovement = Math.cos((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_x = (_x + xmovement);
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
if (_position == 2) {
if (shipincommand == 1) {
_rotation = ship1._rotation;
_y = (ship1._y + (Math.sin(((_rotation - 135) / 180) * Math.PI) * 70));
_x = (ship1._x + (Math.cos(((_rotation - 135) / 180) * Math.PI) * 70));
}
if (shipincommand == 2) {
shipx = Math.cos((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
shipy = Math.sin((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
ymovement = Math.sin((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_y = (_y + ymovement);
xmovement = Math.cos((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_x = (_x + xmovement);
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
if (_position == 3) {
if (shipincommand == 1) {
_rotation = ship1._rotation;
_y = (ship1._y + (Math.sin((((_rotation - 135) - 90) / 180) * Math.PI) * 70));
_x = (ship1._x + (Math.cos((((_rotation - 135) - 90) / 180) * Math.PI) * 70));
}
if (shipincommand == 2) {
_rotation = ship2._rotation;
_y = (ship2._y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 100));
_x = (ship2._x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 100));
}
if (shipincommand == 3) {
shipx = Math.cos((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
shipy = Math.sin((FigureOutDirection(_parent.ship._x, _parent.ship._y, _x, _y) / 180) * Math.PI) * 200;
ymovement = Math.sin((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_y = (_y + ymovement);
xmovement = Math.cos((FigureOutDirection(_x, _y, _parent.ship._x + shipx, _parent.ship._y + shipy) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x + shipx, _parent.ship._y + shipy) / 4);
_x = (_x + xmovement);
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
}
}
}
Instance of Symbol 843 MovieClip "dropping" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (ready == true) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_xscale > 0) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
if (_xscale <= 5) {
removeMovieClip(this);
}
}
}
Instance of Symbol 846 MovieClip "dragon1" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2x, obj2y) {
return(Math.sqrt(((obj2x - obj1._x) * (obj2x - obj1._x)) + ((obj2y - obj1._y) * (obj2y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
timer = 0;
health = 25;
firer = 0;
rotaim = 0;
drop = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (ready == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_currentframe == 20) {
if (_parent.ship.level == 11) {
_parent.ship.shipkilledlev11++;
}
if (_parent.ship.level == 12) {
_parent.ship.shipkilledlev12++;
}
if (_parent.ship.level == 13) {
_parent.ship.shipkilledlev13++;
}
if (_parent.ship.level == 14) {
_parent.ship.shipkilledlev14++;
}
if (_parent.ship.level == 15) {
_parent.ship.shipkilledlev15++;
}
if (_parent.ship.level == 16) {
_parent.ship.shipkilledlev16++;
}
if (_parent.ship.level == 17) {
_parent.ship.shipkilledlev17++;
}
if (_parent.ship.level == 18) {
_parent.ship.shipkilledlev18++;
}
if (_parent.ship.level == 19) {
_parent.ship.shipkilledlev19++;
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
_parent.ship.money = _parent.ship.money + 45;
stalker.removeMovieClip();
removeMovieClip(this);
_visible = false;
}
}
if (ready == true) {
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
gotoAndPlay (2);
ready = false;
}
firer++;
if (firer == 16) {
duplicateMovieClip (_parent.redbull1, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 47) / 180) * Math.PI) * 40);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 47) / 180) * Math.PI) * 40);
_parent["redbull" + _parent.ship.num]._rotation = _rotation + 90;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
duplicateMovieClip (_parent.redbull1, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation + 47) / 180) * Math.PI) * 40);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation + 47) / 180) * Math.PI) * 40);
_parent["redbull" + _parent.ship.num]._rotation = _rotation + 90;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
firer = 0;
}
if (drop < 4) {
drop++;
}
if (drop == 4) {
duplicateMovieClip (_parent.dropping, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x;
_parent["redbull" + _parent.ship.num]._y = _y;
_parent["redbull" + _parent.ship.num].ready = true;
this.swapDepths(_parent["redbull" + _parent.ship.num]);
_parent.ship.num++;
drop = 0;
}
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
if (_orientation == 1) {
rotaim = rotaim + 4;
}
if (_orientation == 0) {
rotaim = rotaim - 4;
}
aimingx = _parent.ship._x + (Math.cos((rotaim / 180) * Math.PI) * 180);
aimingy = _parent.ship._y + (Math.sin((rotaim / 180) * Math.PI) * 180);
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, aimingx, aimingy) / 180) * Math.PI) * (disttoobj(this, aimingx, aimingy) / 10)));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, aimingx, aimingy) / 180) * Math.PI) * (disttoobj(this, aimingx, aimingy) / 10)));
}
}
}
Instance of Symbol 855 MovieClip "dragon2" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2x, obj2y) {
return(Math.sqrt(((obj2x - obj1._x) * (obj2x - obj1._x)) + ((obj2y - obj1._y) * (obj2y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
timer = 0;
health = 25;
firer = 0;
rotaim = 0;
drop = 0;
hitready = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (ready == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_currentframe == 22) {
if (_parent.ship.level == 11) {
_parent.ship.shipkilledlev11++;
}
if (_parent.ship.level == 12) {
_parent.ship.shipkilledlev12++;
}
if (_parent.ship.level == 13) {
_parent.ship.shipkilledlev13++;
}
if (_parent.ship.level == 14) {
_parent.ship.shipkilledlev14++;
}
if (_parent.ship.level == 15) {
_parent.ship.shipkilledlev15++;
}
if (_parent.ship.level == 16) {
_parent.ship.shipkilledlev16++;
}
if (_parent.ship.level == 17) {
_parent.ship.shipkilledlev17++;
}
if (_parent.ship.level == 18) {
_parent.ship.shipkilledlev18++;
}
if (_parent.ship.level == 19) {
_parent.ship.shipkilledlev19++;
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
_parent.ship.money = _parent.ship.money + 45;
stalker.removeMovieClip();
removeMovieClip(this);
_visible = false;
}
}
if (ready == true) {
if (hitready < 40) {
hitready++;
}
if (this.hitTest(_parent.ship)) {
if (hitready == 40) {
_parent.ship.shakenum = _parent.ship.shakenum + 10;
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (40 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (40 / _parent.ship.armorcurrent);
}
hitready = 0;
}
}
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
gotoAndPlay (2);
ready = false;
}
if (drop < 4) {
drop++;
}
if (drop == 4) {
duplicateMovieClip (_parent.dropping2, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x;
_parent["redbull" + _parent.ship.num]._rotation = _rotation;
_parent["redbull" + _parent.ship.num]._y = _y;
_parent["redbull" + _parent.ship.num].ready = true;
this.swapDepths(_parent["redbull" + _parent.ship.num]);
_parent.ship.num++;
drop = 0;
}
firer++;
if (firer == 50) {
thedirec = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
plungespeed = 30;
firer = 0;
}
if (plungespeed > 1) {
plungespeed--;
}
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
_x = (_x + (Math.cos((thedirec / 180) * Math.PI) * plungespeed));
_y = (_y + (Math.sin((thedirec / 180) * Math.PI) * plungespeed));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x, _parent.ship._y) / 10)));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * (disttoobj(this, _parent.ship._x, _parent.ship._y) / 10)));
}
}
}
Instance of Symbol 858 MovieClip "dropping2" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (ready == true) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_xscale > 0) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
if (_xscale <= 5) {
removeMovieClip(this);
}
}
}
Instance of Symbol 861 MovieClip "starry" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_alpha > 0) {
_alpha = (_alpha - 15);
}
if (_alpha <= 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 862 MovieClip "bullbig" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
ball.gotoAndStop(1);
collisionready = true;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (ball._currentframe == 16) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ball._currentframe == 7) {
if (this.hitTest(_parent.ship.evilship1)) {
_parent.ship.evilship1.health = _parent.ship.evilship1.health - 5;
}
if (this.hitTest(_parent.ship.evilship2)) {
_parent.ship.evilship2.health = _parent.ship.evilship2.health - 5;
}
if (this.hitTest(_parent.ship.evilship3)) {
_parent.ship.evilship3.health = _parent.ship.evilship3.health - 5;
}
if (this.hitTest(_parent.ship.evilship4)) {
_parent.ship.evilship4.health = _parent.ship.evilship4.health - 5;
}
if (this.hitTest(_parent.ship.evilship5)) {
_parent.ship.evilship5.health = _parent.ship.evilship5.health - 5;
}
if (this.hitTest(_parent.ship.evilship6)) {
_parent.ship.evilship6.health = _parent.ship.evilship6.health - 5;
}
if (this.hitTest(_parent.ship.evilship7)) {
_parent.ship.evilship7.health = _parent.ship.evilship7.health - 5;
}
if (this.hitTest(_parent.ship.evilship8)) {
_parent.ship.evilship8.health = _parent.ship.evilship8.health - 5;
}
if (this.hitTest(_parent.ship.evilship9)) {
_parent.ship.evilship9.health = _parent.ship.evilship9.health - 5;
}
if (this.hitTest(_parent.ship.evilship10)) {
_parent.ship.evilship10.health = _parent.ship.evilship10.health - 5;
}
if (this.hitTest(_parent.ship.evilship11)) {
_parent.ship.evilship11.health = _parent.ship.evilship11.health - 5;
}
if (this.hitTest(_parent.ship.evilship12)) {
_parent.ship.evilship12.health = _parent.ship.evilship12.health - 5;
}
if (this.hitTest(_parent.ship.evilship13)) {
_parent.ship.evilship13.health = _parent.ship.evilship13.health - 5;
}
if (this.hitTest(_parent.ship.evilship14)) {
_parent.ship.evilship14.health = _parent.ship.evilship14.health - 5;
}
if (this.hitTest(_parent.ship.evilship15)) {
_parent.ship.evilship15.health = _parent.ship.evilship15.health - 5;
}
if (this.hitTest(_parent.ship.evilship16)) {
_parent.ship.evilship16.health = _parent.ship.evilship16.health - 5;
}
if (this.hitTest(_parent.ship.evilship17)) {
_parent.ship.evilship17.health = _parent.ship.evilship17.health - 5;
}
if (this.hitTest(_parent.ship.evilship18)) {
_parent.ship.evilship18.health = _parent.ship.evilship18.health - 5;
}
if (this.hitTest(_parent.ship.evilship19)) {
_parent.ship.evilship19.health = _parent.ship.evilship19.health - 5;
}
if (this.hitTest(_parent.ship.evilship20)) {
_parent.ship.evilship20.health = _parent.ship.evilship20.health - 5;
}
}
if ((((_x < -250) || (_x > 600)) || (_y < -250)) || (_y > 600)) {
removeMovieClip(this);
}
if (ready == true) {
if (collisionready == true) {
if (((this.hitTest(_parent.ship.evilship1) || (this.hitTest(_parent.ship.evilship2))) || (this.hitTest(_parent.ship.evilship3))) || (this.hitTest(_parent.ship.evilship4))) {
if (_currentframe == 1) {
ball.gotoAndPlay(2);
collisionready = false;
}
}
if (((this.hitTest(_parent.ship.evilship5) || (this.hitTest(_parent.ship.evilship6))) || (this.hitTest(_parent.ship.evilship7))) || (this.hitTest(_parent.ship.evilship8))) {
if (_currentframe == 1) {
collisionready = false;
ball.gotoAndPlay(2);
}
}
if (((this.hitTest(_parent.ship.evilship9) || (this.hitTest(_parent.ship.evilship10))) || (this.hitTest(_parent.ship.evilship11))) || (this.hitTest(_parent.ship.evilship12))) {
if (_currentframe == 1) {
collisionready = false;
ball.gotoAndPlay(2);
}
}
if (((this.hitTest(_parent.ship.evilship13) || (this.hitTest(_parent.ship.evilship14))) || (this.hitTest(_parent.ship.evilship15))) || (this.hitTest(_parent.ship.evilship16))) {
if (_currentframe == 1) {
collisionready = false;
ball.gotoAndPlay(2);
}
}
if (((this.hitTest(_parent.ship.evilship17) || (this.hitTest(_parent.ship.evilship18))) || (this.hitTest(_parent.ship.evilship19))) || (this.hitTest(_parent.ship.evilship20))) {
if (_currentframe == 1) {
collisionready = false;
ball.gotoAndPlay(2);
}
}
}
if (ball._currentframe > 1) {
_x = (_x - (_parent.ship.xspeed / 2));
_y = (_y - (_parent.ship.yspeed / 2));
}
if (ball._currentframe == 1) {
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 12));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 12));
duplicateMovieClip (_parent.starry, "starry" + _parent.ship.num, _parent.ship.num + 3000);
_parent["starry" + _parent.ship.num]._x = _x + (Math.cos((((_rotation - 220) + random(80)) / 180) * Math.PI) * 25);
_parent["starry" + _parent.ship.num]._y = _y + (Math.sin((((_rotation - 220) + random(80)) / 180) * Math.PI) * 25);
_parent["starry" + _parent.ship.num]._rotation = random(360);
_parent["starry" + _parent.ship.num]._xscale = 60 + random(80);
_parent["starry" + _parent.ship.num]._alpha = 100;
_parent["starry" + _parent.ship.num]._yscale = _parent["starry" + _parent.ship.num]._xscale;
_parent.ship.num++;
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 12));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 12));
}
}
}
}
Instance of Symbol 879 MovieClip "spshipevil" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
numjumpin = 1;
gotoAndStop (1);
fluctuation = random(30);
health = 6;
readynum = 0;
fluct = 1;
flucto = 1;
flucta = 0;
flyaway = 0;
offcoursepath = 0;
direc = 1;
turningspeed = 10 + random(10);
bulletfire = 0;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (ready == true) {
if (fluct < 1) {
fluct = fluct + 0.02;
}
if (flucta > 0) {
flucta = flucta - 2;
}
if (_currentframe == 10) {
gotoAndStop (1);
}
if (this.box.hitTest(_parent.ship)) {
if (ship._currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (5 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (5 / _parent.ship.armorcurrent);
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
gotoAndPlay (1);
health = health - 2;
flucta = 30;
flyaway = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180;
}
}
}
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
_alpha = (_alpha - 5);
ready = false;
if (ship._currentframe == 1) {
ship.gotoAndPlay(2);
}
}
if (ship._currentframe == 14) {
if (_parent.ship.level == 1) {
_parent.ship.shipkilledlev1++;
}
if (_parent.ship.level == 2) {
_parent.ship.shipkilledlev2++;
}
if (_parent.ship.level == 3) {
_parent.ship.shipkilledlev3++;
}
if (_parent.ship.level == 4) {
_parent.ship.shipkilledlev4++;
}
if (_parent.ship.level == 5) {
_parent.ship.shipkilledlev5++;
}
if (_parent.ship.level == 6) {
_parent.ship.shipkilledlev6++;
}
_parent.ship.money = _parent.ship.money + 5;
stalker.removeMovieClip();
removeMovieClip(this);
}
numjumpin++;
if (numjumpin == 4) {
numjumpin = 1;
}
if (ready == true) {
if (readynum < 40) {
readynum++;
}
bulletfire = random(30);
if (readynum == 40) {
if (bulletfire == 23) {
duplicateMovieClip (_parent.redbull, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._y = _y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 45);
_parent["redbull" + _parent.ship.num]._rotation = _rotation;
_parent["redbull" + _parent.ship.num].ready = true;
_parent.ship.num++;
readynum = 0;
}
}
_y = (_y + (Math.sin((flyaway / 180) * Math.PI) * flucta));
_x = (_x + (Math.cos((flyaway / 180) * Math.PI) * flucta));
_y = (_y + ((Math.sin(((_rotation - 90) / 180) * Math.PI) * (((disttoobj(this, _parent.ship) / 28) + 2) + (fluctuation / 10))) * fluct));
_x = (_x + ((Math.cos(((_rotation - 90) / 180) * Math.PI) * (((disttoobj(this, _parent.ship) / 28) + 2) + (fluctuation / 10))) * fluct));
_rotation = ((((_rotation + FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y)) + 90) - _rotation) + offcoursepath);
if (offcoursepath > turningspeed) {
direc = -1;
offcoursepath = turningspeed - 1;
}
if (offcoursepath < (-turningspeed)) {
direc = 1;
offcoursepath = (-turningspeed) + 1;
}
if (direc == 1) {
offcoursepath = offcoursepath + ((1 / turningspeed) * 5);
}
if (direc == -1) {
offcoursepath = offcoursepath - ((1 / turningspeed) * 5);
}
_x = (_x - (_parent.ship.xspeed / flucto));
_y = (_y - (_parent.ship.yspeed / flucto));
}
}
}
Instance of Symbol 894 MovieClip "redbull" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
bull.bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
bull.bull.gotoAndPlay(bull.bull._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (bull.bull._currentframe == 21) {
removeMovieClip(this);
}
if (this.hitTest(_parent.ship)) {
if (bull.bull._currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (2.5 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (2.5 / _parent.ship.armorcurrent);
}
bull.bull.gotoAndPlay(2);
_parent.ship.shakenum = _parent.ship.shakenum + 5;
}
}
if ((((_x < -250) || (_x > 400)) || (_y < -250)) || (_y > 300)) {
removeMovieClip(this);
}
if (bull.bull._currentframe > 1) {
_y = (_y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 6.5));
_x = (_x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 6.5));
}
if (bull.bull._currentframe == 1) {
_y = (_y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 21.5));
_x = (_x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 21.5));
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
Instance of Symbol 908 MovieClip "scorething" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
this.swapDepths(_parent.createEmptyMovieClip("container4", 1000004));
gotoAndStop (1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_currentframe == 21) {
_parent._text.gotoAndPlay(1);
_parent.ship.movementenabled = true;
gotoAndStop (22);
}
}
Instance of Symbol 861 MovieClip "diamond" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_alpha > 0) {
_alpha = (_alpha - 8);
}
if (_alpha <= 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 894 MovieClip "redbullbig" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
bull.bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
bull.bull.gotoAndPlay(bull.bull._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_enabled == true) {
if (bull.bull._currentframe == 21) {
removeMovieClip(this);
}
if (this.hitTest(_parent.ship)) {
if (bull.bull._currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (10 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (10 / _parent.ship.armorcurrent);
}
bull.bull.gotoAndPlay(2);
_parent.ship.shakenum = _parent.ship.shakenum + 5;
}
}
if ((((_x < -250) || (_x > 400)) || (_y < -250)) || (_y > 300)) {
removeMovieClip(this);
}
if (bull.bull._currentframe > 1) {
_y = (_y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 8.5));
_x = (_x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 8.5));
}
if (bull.bull._currentframe == 1) {
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * 13));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * 13));
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 4.5));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 4.5));
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
}
Instance of Symbol 894 MovieClip "redbullbiggest" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
function disttoobj(obj1, obj2) {
return(Math.sqrt(((obj2._x - obj1._x) * (obj2._x - obj1._x)) + ((obj2._y - obj1._y) * (obj2._y - obj1._y))));
}
bull.bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_xscale < 400) {
_xscale = (_xscale + 25);
}
if (_yscale < 400) {
_yscale = (_yscale + 25);
}
if (_parent.ship._paused == true) {
bull.bull.gotoAndPlay(bull.bull._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (bull.bull._currentframe == 21) {
removeMovieClip(this);
}
if (this.hitTest(_parent.ship)) {
if (bull.bull._currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (30 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (30 / _parent.ship.armorcurrent);
}
bull.bull.gotoAndPlay(2);
_parent.ship.shakenum = _parent.ship.shakenum + 5;
}
}
if ((((_x < -250) || (_x > 400)) || (_y < -250)) || (_y > 300)) {
removeMovieClip(this);
}
if (bull.bull._currentframe > 1) {
_y = (_y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 14.5));
_x = (_x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 14.5));
}
if (bull.bull._currentframe == 1) {
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * 14.5));
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * 14.5));
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
Instance of Symbol 894 MovieClip "redbull1" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
bull.bull.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
bull.bull.gotoAndPlay(bull.bull._currentframe - 1);
}
if (_parent.ship._paused == false) {
if (bull.bull._currentframe == 21) {
removeMovieClip(this);
}
if (this.hitTest(_parent.ship)) {
if (bull.bull._currentframe == 1) {
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (15 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (15 / _parent.ship.armorcurrent);
}
bull.bull.gotoAndPlay(2);
_parent.ship.shakenum = _parent.ship.shakenum + 10;
}
}
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if ((((_x < -250) || (_x > 400)) || (_y < -250)) || (_y > 300)) {
removeMovieClip(this);
}
if (bull.bull._currentframe > 1) {
_y = (_y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 6.5));
_x = (_x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 6.5));
}
if (bull.bull._currentframe == 1) {
_y = (_y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * 21.5));
_x = (_x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * 21.5));
}
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
}
}
Instance of Symbol 913 MovieClip "topstick" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
bull.gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (this.hitTest(_parent.ship)) {
_parent.ship.yspeed = (-_parent.ship.yspeed) + 1;
}
}
}
Instance of Symbol 913 MovieClip "rightstick" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (this.hitTest(_parent.ship)) {
_parent.ship.xspeed = (-_parent.ship.xspeed) - 1;
}
}
}
Instance of Symbol 913 MovieClip "bottomstick" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (this.hitTest(_parent.ship)) {
_parent.ship.yspeed = (-_parent.ship.yspeed) - 1;
}
}
}
Instance of Symbol 913 MovieClip "leftstick" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (this.hitTest(_parent.ship)) {
_parent.ship.xspeed = (-_parent.ship.xspeed) + 1;
}
}
}
Instance of Symbol 926 MovieClip "radar" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
this.swapDepths(_parent.createEmptyMovieClip("container1", 1000000));
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent._text._currentframe >= 265) {
if (_alpha < 100) {
_alpha = (_alpha+1);
}
}
}
}
Instance of Symbol 941 MovieClip "prog" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
this.swapDepths(_parent.createEmptyMovieClip("container2", 1000002));
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (ready == true) {
_visible = true;
gotoAndStop (81);
}
_alpha = (_alpha+1);
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (_parent.ship._paused == true) {
if (_currentframe != 81) {
gotoAndPlay(_currentframe - 1);
}
if (_currentframe == 81) {
gotoAndStop(_currentframe);
}
}
if (_parent.ship._paused == false) {
if (_currentframe == 80) {
ready = true;
_parent.scorething._visible = true;
_parent.scorething.gotoAndPlay(1);
gotoAndStop (81);
}
}
}
Instance of Symbol 947 MovieClip "numobj" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
this.swapDepths(_parent.createEmptyMovieClip("container27", 10000027));
_visible = false;
gotoAndStop (1);
invoked = false;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (invoked == true) {
if (_currentframe == 1) {
_visible = true;
gotoAndPlay (2);
}
}
if (invoked == true) {
if (_currentframe == 92) {
_visible = false;
invoked = false;
gotoAndStop (1);
}
}
}
}
Instance of Symbol 953 MovieClip "rocketship" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function disttoobj(obj1, obj2x, obj2y) {
return(Math.sqrt(((obj2x - obj1._x) * (obj2x - obj1._x)) + ((obj2y - obj1._y) * (obj2y - obj1._y))));
}
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
recoil = 0;
health = 40;
gotoAndStop (1);
acceleration = 0.05;
firingready = 0;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
if (ready == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_currentframe == 25) {
if (_parent.ship.level == 11) {
_parent.ship.shipkilledlev11++;
}
if (_parent.ship.level == 12) {
_parent.ship.shipkilledlev12++;
}
if (_parent.ship.level == 13) {
_parent.ship.shipkilledlev13++;
}
if (_parent.ship.level == 14) {
_parent.ship.shipkilledlev14++;
}
if (_parent.ship.level == 15) {
_parent.ship.shipkilledlev15++;
}
if (_parent.ship.level == 16) {
_parent.ship.shipkilledlev16++;
}
if (_parent.ship.level == 17) {
_parent.ship.shipkilledlev17++;
}
if (_parent.ship.level == 18) {
_parent.ship.shipkilledlev18++;
}
_parent.ship.money = _parent.ship.money + 45;
_parent.ship.shakenum = _parent.ship.shakenum + 10;
stalker.removeMovieClip();
removeMovieClip(this);
_visible = false;
}
}
if (ready == true) {
if (health <= 0) {
if (ready == true) {
chooser = random(20);
if (chooser < 10) {
var my_sound = new Sound();
my_sound.attachSound("Boom-Public_d-160_hifi.mp3");
my_sound.start(0, 0);
}
if (chooser >= 10) {
var my_sound = new Sound();
my_sound.attachSound("booom-Public_D-21_hifi.mp3");
my_sound.start(0, 0);
}
}
gotoAndPlay (2);
ready = false;
}
if (acceleration < 1) {
acceleration = acceleration * 1.2;
}
if (recoil > 1) {
recoil = recoil - 4;
}
if (recoil <= 1) {
recoil = 0;
}
if (disttoobj(this, aimingx, aimingy) > 15) {
if (_alpha > 35) {
_alpha = (_alpha - 5);
}
}
if (disttoobj(this, aimingx, aimingy) < 15) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
firingready++;
if (firingready == 30) {
duplicateMovieClip (_parent.rocket1, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x;
_parent["redbull" + _parent.ship.num]._y = _y;
_parent["redbull" + _parent.ship.num]._rotation = _rotation;
_parent["redbull" + _parent.ship.num].ready = true;
_parent["redbull" + _parent.ship.num]._direction = 1;
_parent.ship.num++;
duplicateMovieClip (_parent.rocket1, "redbull" + _parent.ship.num, _parent.ship.num + 4200);
_parent["redbull" + _parent.ship.num]._x = _x;
_parent["redbull" + _parent.ship.num]._y = _y;
_parent["redbull" + _parent.ship.num]._rotation = _rotation;
_parent["redbull" + _parent.ship.num].ready = true;
_parent["redbull" + _parent.ship.num]._direction = 0;
_parent.ship.num++;
recoil = 20;
rotaim = rotaim + 60;
acceleration = 0.05;
firingready = 0;
}
}
aimingx = _parent.ship._x + (Math.cos((rotaim / 180) * Math.PI) * 180);
aimingy = _parent.ship._y + (Math.sin((rotaim / 180) * Math.PI) * 180);
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, aimingx, aimingy) / 180) * Math.PI) * ((disttoobj(this, aimingx, aimingy) / 10) * acceleration)));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, aimingx, aimingy) / 180) * Math.PI) * ((disttoobj(this, aimingx, aimingy) / 10) * acceleration)));
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
_x = (_x + (Math.cos(((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180) / 180) * Math.PI) * recoil));
_y = (_y + (Math.sin(((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) - 180) / 180) * Math.PI) * recoil));
}
}
}
Instance of Symbol 970 MovieClip "rocket1" in Symbol 978 MovieClip Frame 5
onClipEvent (load) {
function FigureOutDirection(xx, yy, otherobjx, otherobjy) {
if ((xx < otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795));
}
if ((xx < otherobjx) && (yy > otherobjy)) {
return(Math.round((Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 360));
}
if ((xx == otherobjx) && (yy < otherobjy)) {
return(90);
}
if ((xx == otherobjx) && (yy > otherobjy)) {
return(270);
}
if ((xx > otherobjx) && (yy == otherobjy)) {
return(180);
}
if ((xx <= otherobjx) && (yy == otherobjy)) {
return(0);
}
if ((xx > otherobjx) && (yy < otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
if ((xx > otherobjx) && (yy > otherobjy)) {
return(Math.round(Math.atan((yy - otherobjy) / (xx - otherobjx)) * 57.2957795) + 180);
}
}
gotoAndStop (1);
diminisher = 1.2;
speed = -5;
life = 120 + random(100);
sidemove = 5;
}
onClipEvent (enterFrame) {
if (_parent.ship._paused == true) {
gotoAndPlay(_currentframe - 1);
}
if (_parent.ship._paused == false) {
if (_parent.blanket._alpha > 80) {
removeMovieClip(this);
}
life = life - 1;
if (ready == false) {
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (_currentframe == 26) {
removeMovieClip(this);
}
}
if (ready == true) {
if (hitTest(_parent.ship)) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
if (_parent.ship.shield > 0) {
_parent.ship.shield = _parent.ship.shield - (15 / _parent.ship.armorcurrent);
}
if (_parent.ship.shield <= 0) {
_parent.ship.health = _parent.ship.health - (15 / _parent.ship.armorcurrent);
}
_parent.ship.shakenum = _parent.ship.shakenum + 10;
ready = false;
}
if (life <= 0) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
ready = false;
}
if (_direction == 0) {
_x = (_x + (Math.cos(((_rotation - 90) / 180) * Math.PI) * sidemove));
_y = (_y + (Math.sin(((_rotation - 90) / 180) * Math.PI) * sidemove));
if (sidemove > 0) {
sidemove = sidemove - 1;
}
}
if (_direction == 1) {
_x = (_x + (Math.cos(((_rotation + 90) / 180) * Math.PI) * sidemove));
_y = (_y + (Math.sin(((_rotation + 90) / 180) * Math.PI) * sidemove));
if (sidemove > 0) {
sidemove = sidemove - 1;
}
}
_x = (_x + (Math.cos((_rotation / 180) * Math.PI) * speed));
_y = (_y + (Math.sin((_rotation / 180) * Math.PI) * speed));
_x = (_x + (Math.cos((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * ((8 + speed) + (_parent.ship.maxspeedy / 6))));
_y = (_y + (Math.sin((FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y) / 180) * Math.PI) * ((8 + speed) + (_parent.ship.maxspeedy / 6))));
_x = (_x - _parent.ship.xspeed);
_y = (_y - _parent.ship.yspeed);
if (speed < 0) {
speed = speed + 2;
}
if (speed >= 0) {
_rotation = FigureOutDirection(_x, _y, _parent.ship._x, _parent.ship._y);
}
}
}
}
Instance of Symbol 972 MovieClip "tries" in Symbol 978 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.ship.lives > 0) {
textobj.text = ("-" + _parent.ship.lives) + " tries left-";
}
if (_parent.ship.lives <= 0) {
textobj.text = "Game Over.";
}
}
Instance of Symbol 977 MovieClip "textor" in Symbol 978 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_currentframe == 471) {
_parent.gotoAndStop(4);
}
}
Instance of Symbol 601 MovieClip "blanket" in Symbol 978 MovieClip Frame 6
onClipEvent (load) {
this.swapDepths(_parent.createEmptyMovieClip("containe1r", 10000015));
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 6) {
if (_alpha > 0) {
_alpha = (_alpha - 2);
}
}
if (_parent.boss2.health <= 0) {
if (_parent._currentframe == 5) {
_alpha = (_alpha + 1.2);
if (_alpha > 20) {
_alpha = (_alpha + 1);
}
if (_alpha > 40) {
_alpha = (_alpha + 1);
}
if (_alpha > 60) {
_alpha = (_alpha + 0.75);
}
if (_alpha >= 100) {
_parent.gotoAndStop(6);
}
}
}
}
Instance of Symbol 978 MovieClip "gamelevel" in Symbol 979 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
Symbol 981 MovieClip Frame 1
starttime = newDate();
onEnterFrame = function () {
var currtime = new Date();
var ttime = (currtime - starttime);
while (ttime < 20) {
var currtime = new Date();
var ttime = (currtime - starttime);
}
starttime = new Date();
};