Frame 1
ifFrameLoaded (12) {
gotoAndPlay (12);
}
_root.popup = 1;
_root.ship._visible = false;
_root.v1._visible = false;
_root.v2._visible = false;
_root.v3._visible = false;
_root.v4._visible = false;
_root.v5._visible = false;
_root.entername._visible = false;
Instance of Symbol 23 MovieClip "v1" in Frame 1
onClipEvent (load) {
var vshotcounter = 0;
_x = 312;
_y = -36;
movespeedy = movespeedy + (1 + random(2));
movespeedx = movespeedx - (1 + random(2));
}
onClipEvent (enterFrame) {
_x = (_x + movespeedx);
_y = (_y + movespeedy);
if (_x < 70) {
movespeedx = movespeedx + 3;
}
if (570 < _x) {
movespeedx = movespeedx - 3;
}
if (530 < _y) {
movespeedy = movespeedy - 3;
}
if (_y < 50) {
movespeedy = movespeedy + 3;
}
if (8 < random(10)) {
movespeedy = movespeedy + random(4);
movespeedx = movespeedx + random(4);
movespeedy = movespeedy - random(4);
movespeedx = movespeedx - random(4);
}
if ((((20 < movespeedy) or (movespeedy < -20)) or (20 < movespeedx)) or (movespeedx < -20)) {
movespeedx = random(10);
movespeedy = random(10);
}
if ((_root.v1hit < 50) and ((!_root.level) == 0)) {
if (80 < random(10)) {
vshotCounter++;
_root.vshot1.duplicateMovieClip("vshot1" + vshotCounter, vshotCounter);
if (40 < vshotCounter1) {
vshotCounter1 = 0;
}
}
}
}
Instance of Symbol 30 MovieClip "ship" in Frame 1
onClipEvent (load) {
_x = 400;
_y = 300;
}
onClipEvent (enterFrame) {
if (45 < _y) {
if (key.isDown(38)) {
_y = (_y - _root.movespeed);
}
}
if (_y < 550) {
if (key.isDown(40)) {
_y = (_y + _root.movespeed);
}
}
if (50 < _x) {
if (key.isDown(37)) {
_x = (_x - _root.movespeed);
}
}
if (_x < 580) {
if (key.isDown(39)) {
_x = (_x + _root.movespeed);
}
}
if (Key.isDown(32) and (-1 < _root.shields)) {
shotCounter1++;
_root.shot1.duplicateMovieClip("shot1" + shotCounter1, shotCounter1);
_root["shot1" + shotCounter1]._visible = true;
_root.shot1._y = _root.shot1._y + 20;
if (40 < shotCounter1) {
shotCounter1 = 0;
}
}
}
Instance of Symbol 56 MovieClip "gameover" in Frame 1
onClipEvent (enterFrame) {
if (_root.levens < 0) {
play();
_root[_root.controler.currentv]._visible = false;
} else {
stop();
}
}
Frame 10
ifFrameLoaded (12) {
gotoAndPlay (12);
}
_root.ship._visible = false;
_root.v1._visible = false;
_root.v2._visible = false;
_root.v3._visible = false;
_root.v4._visible = false;
_root.v5._visible = false;
_root.entername._visible = false;
Frame 11
gotoAndPlay (1);
Frame 12
stop();
command = "init";
this.loadVariables("highscores.php?" + int(Math.random() * 100000), "POST");
loadVariablesNum ("PHPCounter.txt?ran=" + random(999), 0);
_root.shot1._visible = false;
_root.v1shot._visible = false;
var view = 0;
var score;
var namen = 1;
var levens = 3;
var shields = 50;
var level = 0;
var superguns;
var score;
var vhit = 0;
var v4hit = 0;
var v5hit = 0;
Instance of Symbol 8 MovieClip "controler" in Frame 12
onClipEvent (enterFrame) {
var currentv;
var rc;
var _local1 = 2;
if (((_root.levens) === (_local1))) {
_root.leven3._visible = false;
}
_local1 = 1;
if (((_root.levens) === (_local1))) {
_root.leven2._visible = false;
_root.leven3._visible = false;
}
_local1 = 0;
if (((_root.levens) === (_local1))) {
_root.leven1._visible = false;
_root.leven2._visible = false;
_root.leven3._visible = false;
}
_local1 = 1;
if (((_root.level) === (_local1))) {
currentv = "v1";
_root.ship._visible = true;
_root.v1._visible = true;
}
_local1 = 2;
if (((_root.level) === (_local1))) {
currentv = "v1";
_root.v1.niveau = 2;
_root.v1._visible = true;
}
_local1 = 3;
if (((_root.level) === (_local1))) {
currentv = "v1";
_root.v1.niveau = 3;
_root.v1._visible = true;
}
_local1 = 4;
if (((_root.level) === (_local1))) {
currentv = "v2";
_root.v2.niveau = 1;
_root.v1._visible = false;
_root.v2._visible = true;
}
_local1 = 5;
if (((_root.level) === (_local1))) {
_root.v2.niveau = 1;
_root.ship._visible = true;
_root.v2._visible = true;
}
_local1 = 6;
if (((_root.level) === (_local1))) {
_root.v2.niveau = 3;
_root.ship._visible = true;
_root.v2._visible = true;
}
_local1 = 7;
if (((_root.level) === (_local1))) {
_root.v2.niveau = 4;
_root.v2._visible = true;
_root.ship._visible = true;
}
_local1 = 8;
if (((_root.level) === (_local1))) {
currentv = "v3";
_root.v3.niveau = 2;
_root.v1._visible = false;
_root.v2._visible = false;
_root.v3._visible = true;
_root.ship._visible = true;
}
_local1 = 9;
if (((_root.level) === (_local1))) {
currentv = "v3";
_root.v3.niveau = 3;
_root.v3._visible = true;
_root.ship._visible = true;
}
_local1 = 10;
if (((_root.level) === (_local1))) {
currentv = "v3";
_root.v3.niveau = 4;
_root.ship._visible = true;
_root.v3._visible = true;
}
_local1 = 11;
if (((_root.level) === (_local1))) {
currentv = "v3";
_root.v3.niveau = 5;
_root.ship._visible = true;
_root.v3._visible = true;
}
_local1 = 12;
if (((_root.level) === (_local1))) {
currentv = "v4";
_root.v4.niveau = 6;
_root.ship._visible = true;
_root.v1._visible = false;
_root.v2._visible = false;
_root.v3._visible = false;
_root.v4._visible = true;
}
_local1 = 13;
if (((_root.level) === (_local1))) {
currentv = "v4";
_root.v3.niveau = 7;
_root.ship._visible = true;
_root.v4._visible = true;
}
_local1 = 14;
if (((_root.level) === (_local1))) {
currentv = "v4";
_root.v3.niveau = 8;
_root.ship._visible = true;
_root.v4._visible = true;
}
_local1 = 15;
if (((_root.level) === (_local1))) {
currentv = "v4";
_root.v3.niveau = 9;
_root.ship._visible = true;
_root.v4._visible = true;
}
_local1 = 16;
if (((_root.level) === (_local1))) {
currentv = "v5";
_root.v5.niveau = 1;
_root.ship._visible = true;
_root.v1._visible = false;
_root.v2._visible = false;
_root.v3._visible = false;
_root.v4._visible = false;
_root.v5._visible = true;
}
_local1 = 17;
if (((_root.level) === (_local1))) {
currentv = "v5";
_root.v5.niveau = 2;
_root.ship._visible = true;
_root.v5._visible = true;
}
_local1 = 18;
if (((_root.level) === (_local1))) {
currentv = "v5";
_root.v5.niveau = 3;
_root.ship._visible = true;
_root.v5._visible = true;
}
_local1 = 19;
if (((_root.level) === (_local1))) {
currentv = "v5";
_root.v5.niveau = 4;
_root.ship._visible = true;
_root.v5._visible = true;
}
_local1 = 20;
if (((_root.level) === (_local1))) {
currentv = "v5";
_root.v5.niveau = 5;
_root.ship._visible = true;
_root.v5._visible = true;
}
if (20 < _root.level) {
_root.superguns = "true";
_local1 = 1;
if (((rc) === (_local1))) {
currentv = "v1";
}
_local1 = 2;
if (((rc) === (_local1))) {
currentv = "v2";
}
_local1 = 3;
if (((rc) === (_local1))) {
currentv = "v3";
}
_local1 = 4;
if (((rc) === (_local1))) {
currentv = "v4";
}
_local1 = 5;
if (((rc) === (_local1))) {
currentv = "v5";
}
_root.ship._visible = true;
_root[currentv]._visible = true;
_root[currentv].niveau = random(10);
}
}
Instance of Symbol 23 MovieClip "v1" in Frame 12
onClipEvent (load) {
var vshotcounter = 0;
var niveau = 1;
_x = 312;
_y = -36;
movespeedy = movespeedy + (niveau + random(2));
movespeedx = movespeedx - (niveau + random(2));
}
onClipEvent (enterFrame) {
_root.vshot3._y = -100;
_root.vshot3._x = _100;
_root.vshot2._y = -100;
_root.vshot2._x = _100;
_root.vshot1._y = -100;
_root.vshot1._x = _100;
_x = (_x + movespeedx);
_y = (_y + movespeedy);
if (_x < 70) {
movespeedx = movespeedx + (niveau * 3);
}
if (570 < _x) {
movespeedx = movespeedx - (niveau * 3);
}
if (530 < _y) {
movespeedy = movespeedy - (niveau * 2);
}
if (_y < 50) {
movespeedy = movespeedy + (niveau * 3);
}
if (8 < random(10)) {
movespeedy = movespeedy + (niveau * random(3));
movespeedx = movespeedx + (niveau * random(3));
movespeedy = movespeedy - (niveau * random(3));
movespeedx = movespeedx - (niveau * random(3));
}
if (((((niveau * 12) < movespeedy) or (movespeedy < (-[niveau * 12]))) or ((niveau * 12) < movespeedx)) or (movespeedx < (-[niveau * 12]))) {
movespeedx = niveau + random(6);
movespeedy = niveau + random(6);
}
if ((((_root.v5hit < 251) and (_root.vhit < 51)) and (_root.v4hit < 71)) and (0 < _root.level)) {
_root.vshot1._y = -100;
_root.vshot1._x = _x;
if ((((90 < random(100)) and ((!_root.level) == 0)) and (_root.vhit < 50)) and (0 < _root.shields)) {
vshotCounter++;
_root.vshot1.duplicateMovieClip("vshot1" + vshotCounter, vshotCounter);
if (40 < vshotCounter1) {
vshotCounter1 = 0;
}
}
}
}
Instance of Symbol 83 MovieClip "v2" in Frame 12
onClipEvent (load) {
var vshotcounter1 = 0;
var niveau = 1;
_x = 312;
_y = -36;
movespeedy = movespeedy + (niveau + random(2));
movespeedx = movespeedx - (niveau + random(2));
}
onClipEvent (enterFrame) {
_root.vshot3._y = -100;
_root.vshot3._x = _100;
_root.vshot2._y = -100;
_root.vshot2._x = _100;
_root.vshot1._y = -100;
_root.vshot1._x = _100;
_x = (_x + movespeedx);
_y = (_y + movespeedy);
if (_x < 70) {
movespeedx = movespeedx + (niveau * 3);
}
if (570 < _x) {
movespeedx = movespeedx - (niveau * 3);
}
if (530 < _y) {
movespeedy = movespeedy - (niveau * 2);
}
if (_y < 50) {
movespeedy = movespeedy + (niveau * 3);
}
if (8 < random(10)) {
movespeedy = movespeedy + (niveau * random(3));
movespeedx = movespeedx + (niveau * random(3));
movespeedy = movespeedy - (niveau * random(3));
movespeedx = movespeedx - (niveau * random(3));
}
if (((((niveau * 12) < movespeedy) or (movespeedy < (-[niveau * 12]))) or ((niveau * 12) < movespeedx)) or (movespeedx < (-[niveau * 12]))) {
movespeedx = niveau + random(6);
movespeedy = niveau + random(6);
}
_root.vshot1._y = -100;
_root.vshot1._x = _x;
if (((_root.v5hit < 251) and (_root.vhit < 51)) and (_root.v4hit < 71)) {
vshotCounter++;
if (((((40 - (_root.v2.niveau * 3)) < random(100)) and ((!_root.level) == 0)) and (-1 < _root.shields)) and (0 < _root.level)) {
_root.vshot1.duplicateMovieClip("vshot1" + vshotCounter, vshotCounter);
}
if (((((90 - (_root.v2.niveau * 10)) < random(100)) and (4 < _root.level)) and (-1 < _root.shields)) and (4 < _root.level)) {
_root.vshot2.duplicateMovieClip("vshot2" + vshotCounter, vshotCounter);
}
if (100 < vshotCounter1) {
vshotCounter1 = 0;
}
}
}
Instance of Symbol 89 MovieClip "v3" in Frame 12
onClipEvent (load) {
var vshotcounter1 = 0;
var niveau = 1;
_x = 312;
_y = -36;
movespeedy = movespeedy + (niveau + random(2));
movespeedx = movespeedx - (niveau + random(2));
}
onClipEvent (enterFrame) {
_root.vshot3._y = -100;
_root.vshot3._x = _100;
_root.vshot2._y = -100;
_root.vshot2._x = _100;
_root.vshot1._y = -100;
_root.vshot1._x = _100;
_x = (_x + movespeedx);
_y = (_y + movespeedy);
if (_x < 70) {
movespeedx = movespeedx + (niveau * 3);
}
if (570 < _x) {
movespeedx = movespeedx - (niveau * 3);
}
if (530 < _y) {
movespeedy = movespeedy - (niveau * 2);
}
if (_y < 50) {
movespeedy = movespeedy + (niveau * 3);
}
if (8 < random(10)) {
movespeedy = movespeedy + (niveau * random(3));
movespeedx = movespeedx + (niveau * random(3));
movespeedy = movespeedy - (niveau * random(3));
movespeedx = movespeedx - (niveau * random(3));
}
if (((((niveau * 12) < movespeedy) or (movespeedy < (-[niveau * 12]))) or ((niveau * 12) < movespeedx)) or (movespeedx < (-[niveau * 12]))) {
movespeedx = niveau + random(6);
movespeedy = niveau + random(6);
}
if ((((_root.v5hit < 251) and (_root.vhit < 51)) and (_root.v4hit < 71)) and (0 < _root.level)) {
if (((((60 - (_root.v2.niveau * 3)) < random(100)) and (7 < _root.level)) and (_root.vhit < 50)) and (-1 < _root.shields)) {
vshotCounter++;
_root.vshot1.duplicateMovieClip("vshot1" + vshotCounter, vshotCounter);
}
if (((((90 - (_root.v2.niveau * 10)) < random(100)) and (7 < _root.level)) and (_root.vhit < 50)) and (-1 < _root.shields)) {
vshotCounter++;
_root.vshot2.duplicateMovieClip("vshot2" + vshotCounter, vshotCounter);
}
if ((((99 - (_root.v5.niveau * 4)) < random(100)) and (-1 < _root.shields)) and (7 < _root.level)) {
_root.vshot3.duplicateMovieClip("vshot3" + vshotCounter, vshotCounter);
}
if (40 < vshotCounter1) {
vshotCounter1 = 0;
}
}
}
Instance of Symbol 92 MovieClip "v4" in Frame 12
onClipEvent (load) {
var vshotcounter1 = 0;
var niveau = 1;
_x = 312;
_y = -36;
movespeedy = movespeedy + (niveau + random(2));
movespeedx = movespeedx - (niveau + random(2));
}
onClipEvent (enterFrame) {
_root.vshot3._y = -100;
_root.vshot3._x = _100;
_root.vshot2._y = -100;
_root.vshot2._x = _100;
_root.vshot1._y = -100;
_root.vshot1._x = _100;
_x = (_x + movespeedx);
_y = (_y + movespeedy);
if (_x < 70) {
movespeedx = movespeedx + (niveau * 2);
}
if (570 < _x) {
movespeedx = movespeedx - (niveau * 2);
}
if (530 < _y) {
movespeedy = movespeedy - (niveau * 2);
}
if (_y < 50) {
movespeedy = movespeedy + (niveau * 2);
}
if (8 < random(10)) {
movespeedy = movespeedy + (niveau * random(2));
movespeedx = movespeedx + (niveau * random(2));
movespeedy = movespeedy - (niveau * random(2));
movespeedx = movespeedx - (niveau * random(2));
}
if (((((niveau * 10) < movespeedy) or (movespeedy < (-[niveau * 10]))) or ((niveau * 10) < movespeedx)) or (movespeedx < (-[niveau * 10]))) {
movespeedx = niveau + random(6);
movespeedy = niveau + random(6);
}
vshotCounter++;
if ((((_root.v5hit < 251) and (_root.vhit < 51)) and (_root.v4hit < 71)) and (0 < _root.level)) {
if ((((7 < random(10)) and (11 < _root.level)) and (_root.v4hit < 71)) and (-1 < _root.shields)) {
_root.vshot1.duplicateMovieClip("vshot1" + vshotCounter, vshotCounter);
}
if (((((90 - (_root.v2.niveau * 10)) < random(100)) and (7 < _root.level)) and (_root.v4hit < 71)) and (-1 < _root.shields)) {
_root.vshot2.duplicateMovieClip("vshot2" + vshotCounter, vshotCounter);
}
if ((((97 - (_root.v5.niveau * 5)) < random(100)) and (-1 < _root.shields)) and (11 < _root.level)) {
_root.vshot3.duplicateMovieClip("vshot3" + vshotCounter, vshotCounter);
}
if (100 < vshotCounter1) {
vshotCounter1 = 0;
}
}
}
Instance of Symbol 96 MovieClip "v5" in Frame 12
onClipEvent (load) {
var vshotcounter1 = 0;
var niveau = 1;
_x = 312;
_y = -36;
movespeedy = movespeedy + (niveau + random(2));
movespeedx = movespeedx - (niveau + random(2));
}
onClipEvent (enterFrame) {
_x = (_x + movespeedx);
_y = (_y + movespeedy);
if (_x < 70) {
movespeedx = movespeedx + (niveau * 3);
}
if (570 < _x) {
movespeedx = movespeedx - (niveau * 3);
}
if (530 < _y) {
movespeedy = movespeedy - (niveau * 3);
}
if (_y < 50) {
movespeedy = movespeedy + (niveau * 3);
}
if (8 < random(10)) {
movespeedy = movespeedy + (niveau + random(2));
movespeedx = movespeedx + (niveau * random(2));
movespeedy = movespeedy - (niveau + random(2));
movespeedx = movespeedx - (niveau * random(2));
}
if (((((niveau * 10) < movespeedy) or (movespeedy < (-[niveau * 10]))) or ((niveau * 10) < movespeedx)) or (movespeedx < (-[niveau * 10]))) {
movespeedx = niveau + random(4);
movespeedy = niveau + random(4);
}
if ((((_root.v5hit < 251) and (_root.vhit < 51)) and (_root.v4hit < 71)) and (0 < _root.level)) {
if ((8 < random(10)) and (-1 < _root.shields)) {
vshotCounter++;
_root.vshot1.duplicateMovieClip("vshot1" + vshotCounter, vshotCounter);
}
if ((((90 - (_root.v2.niveau * 5)) < random(100)) and (-1 < _root.shields)) and (15 < _root.level)) {
_root.vshot2.duplicateMovieClip("vshot2" + vshotCounter, vshotCounter);
}
if ((((95 - (_root.v5.niveau * 5)) < random(100)) and (-1 < _root.shields)) and (15 < _root.level)) {
_root.vshot3.duplicateMovieClip("vshot3" + vshotCounter, vshotCounter);
}
if (100 < vshotCounter1) {
vshotCounter1 = 0;
}
}
}
Instance of Symbol 99 MovieClip "shot1" in Frame 12
onClipEvent (load) {
_y = _root.ship._y;
_x = _root.ship._x;
}
onClipEvent (enterFrame) {
_y = (_y - 25);
if (_y < 7) {
removeMovieClip(_root.shot1[_root.ship.shotcounter1]);
}
if ((((((((_root[_root.controler.currentv]._x - (_root[_root.controler.currentv]._width / 2)) < _x) and (_x < (_root[_root.controler.currentv]._x + (_root[_root.controler.currentv].width / 2)))) and ((_root[_root.controler.currentv]._y - (_root[_root.controler.currentv]._height / 2)) < _y)) and (_y < (_root[_root.controler.currentv]._y + _root[_root.controler.currentv]._height))) and (_root.vhit < 51)) and (_root.v5hit < 251)) and (_root.v4hit < 71)) {
_root[_root.controler.currentv].gotoAndPlay(2);
_root.vhit = _root.vhit + 1;
_root.v4hit = _root.v4hit + 1;
_root.v5hit = _root.v5hit + 0.8;
}
}
Instance of Symbol 101 MovieClip "vshot1" in Frame 12
onClipEvent (load) {
_y = _root[_root.controler.currentv]._y;
_x = _root[_root.controler.currentv]._x;
}
onClipEvent (enterFrame) {
if (((585 < _y) or (625 < _x)) or (_x < 6)) {
removeMovieClip(_root.vshot1["_root.controler.currentv".vshotCounter]);
}
_y = (_y + (_root[_root.controler.currentv].niveau * 15));
if (((((((_root.ship._x - (_root.ship._width / 2)) < _x) and (_x < (_root.ship._x + (_root.ship.width / 2)))) and ((_root.ship._y - (_root.ship._height / 2)) < _y)) and (_y < (_root.ship._y + _root.ship._height))) and (_root.vhit < 51)) and (-1 < _root.shields)) {
_root.shields = _root.shields - 2;
_root.ship.gotoAndPlay(3);
}
}
Instance of Symbol 104 MovieClip "vshot2" in Frame 12
onClipEvent (load) {
var _local1 = "v1";
if (((_root[_root.controler.currentv]) === (_local1))) {
_visible = false;
_x = -100;
_y = -100;
}
_y = (_root[_root.controler.currentv]._y - 25);
_x = _root[_root.controler.currentv]._x;
}
onClipEvent (enterFrame) {
_y = (_y - (_root[_root.controler.currentv].niveau * 10));
if (((_y < 7) or (625 < _x)) or (_x < 6)) {
removeMovieClip(_root.vshot2["_root.controler.currentv".vshotCounter]);
}
if (((((((_root.ship._x - (_root.ship._width / 2)) < _x) and (_x < (_root.ship._x + (_root.ship.width / 2)))) and ((_root.ship._y - (_root.ship._height / 2)) < _y)) and (_y < (_root.ship._y + _root.ship._height))) and (_root.vhit < 51)) and (-1 < _root.shields)) {
_root.shields = _root.shields - 3;
_root.ship.gotoAndPlay(3);
}
}
Instance of Symbol 106 MovieClip "shot2" in Frame 12
onClipEvent (load) {
_y = _root.ship._y;
_x = _root.ship._x;
}
onClipEvent (enterFrame) {
if (_y < 7) {
removeMovieClip(_root.shot2[_root.ship.shotcounter1]);
}
lr = random(5);
_y = (_y - 20);
var _local1 = 1;
if (((lr) === (_local1))) {
_x = (_x - 15);
}
_local1 = 2;
if (((lr) === (_local1))) {
_x = (_x + 15);
}
if ((((((((_root[_root.controler.currentv]._x - (_root[_root.controler.currentv]._width / 2)) < _x) and (_x < (_root[_root.controler.currentv]._x + (_root[_root.controler.currentv].width / 2)))) and ((_root[_root.controler.currentv]._y - (_root[_root.controler.currentv]._height / 2)) < _y)) and (_y < (_root[_root.controler.currentv]._y + _root[_root.controler.currentv]._height))) and (_root.vhit < 51)) and (_root.v5hit < 251)) and (_root.v4hit < 71)) {
_root[_root.controler.currentv].gotoAndPlay(2);
_root.vhit = _root.vhit + 1;
_root.v4hit = _root.v4hit + 1;
_root.v5hit = _root.v5hit + 0.6;
}
}
Instance of Symbol 108 MovieClip "vshot3" in Frame 12
onClipEvent (load) {
var _local1 = v1;
if (((_root[_root.controler.currentv]) === (_local1))) {
_visible = false;
_x = -100;
_y = -100;
}
_y = _root[_root.controler.currentv]._y;
_x = _root[_root.controler.currentv]._x;
}
onClipEvent (enterFrame) {
if (((585 < _y) or (625 < _x)) or (_x < 6)) {
_visible = false;
removeMovieClip(_root.vshot3["_root.controler.currentv".vshotCounter]);
}
lr = random(5);
_y = (_y + 20);
var _local1 = 1;
if (((lr) === (_local1))) {
_x = (_x - 22);
}
_local1 = 2;
if (((lr) === (_local1))) {
_x = (_x + 22);
}
if (((((((_root.ship._x - (_root.ship._width / 2)) < _x) and (_x < (_root.ship._x + (_root.ship.width / 2)))) and ((_root.ship._y - (_root.ship._height / 2)) < _y)) and (_y < (_root.ship._y + _root.ship._height))) and (_root.v5hit < 205)) and (-1 < _root.shields)) {
_root.shields = _root.shields - 2.5;
_root.ship.gotoAndPlay(3);
}
}
Instance of Symbol 30 MovieClip "ship" in Frame 12
onClipEvent (load) {
_x = 400;
_y = 300;
starttime = getTimer();
_root.vshot3._y = -100;
_root.vshot3._x = _100;
_root.vshot2._y = -100;
_root.vshot2._x = _100;
_root.vshot1._y = -100;
_root.vshot1._x = _100;
}
onClipEvent (enterFrame) {
if (45 < _y) {
if (key.isDown(38)) {
_y = (_y - 23);
}
}
if (_y < 550) {
if (key.isDown(40)) {
_y = (_y + 23);
}
}
if (50 < _x) {
if (key.isDown(37)) {
_x = (_x - 23);
}
}
if (_x < 580) {
if (key.isDown(39)) {
_x = (_x + 23);
}
}
if ((Key.isDown(32) and (-1 < _root.shields)) and (0 < _root.level)) {
shotCounter1++;
_root.shot1.duplicateMovieClip("shot1" + shotCounter1, shotCounter1);
_root["shot1" + shotCounter1]._visible = true;
}
if (((Key.isDown(32) and (1 < _root.level)) and (-1 < _root.shields)) and (5 < random(10))) {
shotCounter1++;
_root.shot2.duplicateMovieClip("shot2" + shotCounter1, shotCounter1);
_root["shot2" + shotCounter1]._visible = true;
}
if (40 < shotCounter1) {
shotCounter1 = 0;
}
}
Instance of Symbol 52 MovieClip "menu" in Frame 12
/* no clip actions */
Symbol 23 MovieClip Frame 1
_root.v4hit = 0;
stop();
Symbol 23 MovieClip Frame 3
if (50 < _root.vhit) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Symbol 23 MovieClip Frame 15
_root.fuel = 180;
_root.level = _root.level + 1;
_root.levelwriter.gotoAndPlay(2);
Symbol 23 MovieClip Frame 60
_root.fuel = 80;
_root.shields = 50;
_x = 300;
_y = -36;
_root.vhit = 0;
if (20 < _root.level) {
_visible = false;
}
gotoAndPlay (1);
Symbol 30 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 MovieClip Frame 3
if (_root.shields < 0) {
gotoAndPlay (5);
} else {
gotoAndPlay (1);
}
Symbol 30 MovieClip Frame 14
_root.levens = _root.levens - 1;
stop();
if (-1 < _root.levens) {
gotoAndPlay (1);
_root.shields = 50;
}
if (_root.levens < -1) {
_root[_root.controler.currentv]._visible = false;
_root.ship._visible = false;
_root.ship.gotoAndStop(1);
_root.gameover.gotoAndPlay(2);
}
Symbol 43 Button
on (press) {
loadVariablesNum ("PHPCounter.php?ran=" + random(999), 0);
_root.ship._visible = true;
_root.ship.gotoAndPlay(1);
_root.namen = 0;
_root.level = 1;
_root.entername._visible = false;
_root[_root.controler.currentv]._visible = false;
_root.shields = 50;
_root.vhit = 0;
_root.v4hit = 0;
_root.v5hit = 0;
_root.levens = 3;
_root.ship._visible = true;
_root.leven1._visible = true;
_root.leven2._visible = true;
_root.leven3._visible = true;
_root[_root.controler.currentv].niveau = 1;
_root.view = 0;
_visible = false;
_root.gameover.gotoAndStop(1);
}
Symbol 45 Button
on (press) {
gotoAndPlay (2);
}
Symbol 50 Button
on (press) {
loadVariablesNum ("PHPCounter.php?ran=" + random(999), 0);
_root.level = 1;
_root.entername._visible = false;
_root[_root.controler.currentv]._visible = true;
_root.shields = 50;
_root.vhit = 0;
_root.v4hit = 0;
_root.v5hit = 0;
_root.levens = 3;
_root.ship._visible = true;
_root.leven1._visible = true;
_root.leven2._visible = true;
_root.leven3._visible = true;
_root[_root.controler.currentv].niveau = 1;
_root.view = 0;
_visible = false;
_root.gameover.gotoAndStop(1);
}
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 11
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 2
var _local1 = 0;
if (((_root.view) === (_local1))) {
_root.entername._visible = true;
}
Symbol 56 MovieClip Frame 135
_root[_root.controler.currentv]._visible = false;
_root.namen = 0;
_root.menu._visible = true;
if (_root.popup < 5) {
getURL ("javascript:window.open('http://liquid2k.com/alcapone/adds.html','thewin','height=134,width=240,toolbar=no,scrollbars=no'),_blank");
_root.popup = _root.popup + 1;
}
stop();
Symbol 65 Button
on (release) {
score = _root.level;
if (0 < _root.level) {
if (name ne "") {
command = "update";
this.loadVariables("highscores.php?" + int(Math.random() * 100000), "POST");
gotoAndStop (1);
}
}
_root.view = 1;
_root.entername._visible = false;
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
_root[_root.controler.currentv]._visible = false;
Symbol 73 MovieClip Frame 23
_root[_root.controler.currentv]._visible = false;
Symbol 73 MovieClip Frame 45
if (20 < _root.level) {
_root.controler.rc = random(5);
}
Symbol 83 MovieClip Frame 1
stop();
_root.vhit = 0;
_root.v5hit = 0;
Symbol 83 MovieClip Frame 3
if (70 < _root.v4hit) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Symbol 83 MovieClip Frame 20
_root.level = _root.level + 1;
_root.levelwriter.gotoAndPlay(2);
Symbol 83 MovieClip Frame 64
_root.vhit = 0;
_root.shields = 50;
_x = 300;
_y = -36;
_root.v4hit = 0;
_root.v5hit = 0;
if (20 < _root.level) {
_visible = false;
}
gotoAndPlay (1);
Symbol 89 MovieClip Frame 1
stop();
_root.v4hit = 0;
Symbol 89 MovieClip Frame 3
if (50 < _root.vhit) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Symbol 89 MovieClip Frame 21
_root.fuel = 80;
_root.level = _root.level + 1;
_root.levelwriter.gotoAndPlay(2);
Symbol 89 MovieClip Frame 64
_root.shields = 50;
_root.vhit = 0;
_root.v4hit = 0;
_root.v5hit = 0;
if (20 < _root.level) {
_visible = false;
}
gotoAndPlay (1);
Symbol 92 MovieClip Frame 1
_root.vhit = 0;
stop();
Symbol 92 MovieClip Frame 3
if (70 < _root.v4hit) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Symbol 92 MovieClip Frame 17
_root.level = _root.level + 1;
_root.levelwriter.gotoAndPlay(2);
Symbol 92 MovieClip Frame 60
_root.shields = 50;
_root.v4hit = 0;
_root.v5hit = 0;
_root.vhit = 0;
if (20 < _root.level) {
_visible = false;
}
gotoAndPlay (1);
Symbol 96 MovieClip Frame 1
_root.vhit = 0;
_root.v4hit = 0;
stop();
Symbol 96 MovieClip Frame 3
if (250 < _root.v5hit) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Symbol 96 MovieClip Frame 17
_root.level = _root.level + 1;
_root.levelwriter.gotoAndPlay(2);
Symbol 96 MovieClip Frame 60
_root.shields = 50;
_root.v5hit = 0;
_root.v4hit = 0;
_root.vhit = 0;
if (20 < _root.level) {
_visible = false;
}
gotoAndPlay (1);