Frame 1
stop();
Math.sind = function (wert) {
return(Math.sin((wert * Math.PI) / 180));
};
Math.cosd = function (wert) {
return(Math.cos((wert * Math.PI) / 180));
};
Math.tand = function (wert) {
return(Math.tan((wert * Math.PI) / 180));
};
Math.asind = function (wert) {
return((Math.asin(wert) * 180) / Math.PI);
};
Math.acosd = function (wert) {
return((Math.acos(wert) * 180) / Math.PI);
};
Math.atand = function (wert) {
return((Math.atan(wert) * 180) / Math.PI);
};
Instance of Symbol 220 MovieClip "a" in Frame 1
onClipEvent (enterFrame) {
maxscore = Math.max(_root.anz.score, maxscore);
}
Instance of Symbol 246 MovieClip "Anz" in Frame 1
onClipEvent (enterFrame) {
W.gotoAndStop(_root.lasersort + 1);
if (Key.isDown(16)) {
if (doz) {
if (_root.a.laserout) {
_root.a.laserout = false;
} else {
_root.a.laserout = true;
}
doz = false;
}
} else {
doz = true;
}
Geld = _root.a.Geld;
score = Geld + _root.aufs;
scoree = ((score + " ( ") + _root.a.maxscore) + " )";
while (length(Geld) < 12) {
Geld = "0" + Geld;
}
Geld = "\u20AC " + Geld;
G._width = Math.max(((_root.a.auto.ha - _root.a.auto.h) / _root.a.auto.ha) * 300, 0);
amo = _root.bombs;
hap = Math.round(((-_root.a.auto._y) + _root.a.B0._y) * 10) / 10;
}
Symbol 26 Button
on (release) {
_root.a.gotoAndStop(3);
}
Symbol 30 Button
on (release) {
getURL ("http://uploads.ungrounded.net/290000/290100_spaceshipgame.swf", "_top");
}
Instance of Symbol 33 MovieClip "S" in Symbol 34 MovieClip Frame 1
onClipEvent (enterFrame) {
if (rak != 23) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_name == "S") {
_visible = 0;
} else {
if (_alpha > 1) {
_alpha = (_alpha - verblass);
}
verblass = verblass + 1;
ST = ST + (random(100) / 10000);
ybew = ybew + ST;
_y = (_y - ybew);
_x = (_x - xbew);
_width = (_width + ((random(3) / 3) + 1));
_height = _width;
}
if (_alpha < 3) {
removeMovieClip("_root.a.Rauch." + _name);
}
ybew = ybew * (0.7 + (random(30) / 100));
xbew = xbew * (0.7 + (random(30) / 100));
_y = Math.min(_root.a.B0._y - (_height / 2), _y);
}
onClipEvent (load) {
}
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 12
removeMovieClip("_root.a.Rack." + _name);
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 12
removeMovieClip("_root.a.Rack." + _name);
stop();
Symbol 46 MovieClip Frame 12
removeMovieClip("_root.a.Rack." + _name);
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 12
removeMovieClip("_root.a.Rack." + _name);
stop();
Instance of Symbol 40 MovieClip "S" in Symbol 57 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "S") {
_visible = 0;
_xscale = 10;
_yscale = 10;
_root.anza = _root.raketen;
_root.raketen = 0;
} else {
z = 0;
while (z <= _root.a.gegner.bla.length) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if ((typ == "l") && (d._currentframe == 23)) {
_root.x = _x;
_root.ax = ax;
}
};
if (((_root.x < _x) && (_root.ax > ax)) or ((_root.x > _x) && (_root.ax < ax))) {
if (_currentframe == 1) {
gotoAndPlay (2);
k = 23;
}
}
z++;
}
ax = _x;
_root.raketen++;
xbew = xbew + (Math.sin((_rotation * Math.PI) / 180) * p);
ybew = ybew - (Math.cos((_rotation * Math.PI) / 180) * p);
xbew = xbew * 0.92;
ybew = ybew * 0.92;
_root.y = _y;
_root.x = _x;
_root.xbew = xbew;
_root.ybew = ybew;
_root.speed = Math.sqrt((xbew * xbew) + (ybew * ybew));
ybew = ybew + mas;
if ((_y > _root.a.B0._y) or (sprit < 0)) {
if (_currentframe == 1) {
if (k != 23) {
k = 23;
gotoAndPlay (2);
}
}
}
if (_currentframe == 1) {
_x = (_x + xbew);
_y = (_y + ybew);
_root.Rauchzahl = Rauchzahl;
tellTarget (_root.a.Rauch) {
S._y = ((_root.y - _root.ybew) + random(5)) - 2.5;
S._x = ((_root.x - _root.xbew) + random(5)) - 2.5;
S._alpha = 50;
S._height = Math.random() + 20;
S._width = S._height;
S.xbew = Math.sin((_rotation * Math.PI) / 180) * p;
S.ybew = (-Math.cos((_rotation * Math.PI) / 180)) * p;
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
ybew = _root.Rauch.S.ybew;
xbew = _root.Rauch.S.xbew;
verblass = 2;
};
};
_xscale = ((_xscale + 100) / 2);
_yscale = ((_yscale + 100) / 2);
yenf = ((_y + (ybew * 5)) - _root.a.auto._y) - (_root.a.auto.ybew * 5);
xenf = ((_x + (xbew * 5)) - _root.a.auto._x) - (_root.a.auto.xbew * 5);
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
w = (yenf / enf) + (mas / p);
ka++;
if (ka > 10) {
if (xenf > 0) {
mussrot = -(Math.acos(w) / 0.0174532777777778);
} else {
mussrot = Math.acos(w) / 0.0174532777777778;
}
} else {
mussrot = 0;
}
xenf = mussrot - _rotation;
if (xenf > 180) {
xenf = xenf - 360;
} else if (xenf < -180) {
xenf = xenf + 360;
}
yenf = 10;
if (xenf < (-yenf)) {
xenf = -yenf;
} else if (xenf > yenf) {
xenf = yenf;
}
_rotation = (_rotation + xenf);
}
yenf = _y - _root.a.auto._y;
xenf = _x - _root.a.auto._x;
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
if (enf < 100) {
if (_currentframe == 1) {
if (k != 23) {
_root.a.auto.h = _root.a.auto.h + 50;
gotoAndPlay (2);
k = 23;
}
}
}
if (k == 23) {
krl++;
if (krl > 11) {
removeMovieClip("_root.a.Rack." + _name);
}
}
yenf = ((_y + (ybew * 5)) - _root.a.auto._y) - (_root.a.auto.ybew * 5);
xenf = ((_x + (xbew * 5)) - _root.a.auto._x) - (_root.a.auto.xbew * 5);
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
w = (yenf / enf) + (mas / p);
if (xenf > 0) {
ro = -(Math.acos(w) / 0.0174532777777778);
ro = (_root.a.auto._rotation - ro) - 180;
} else {
ro = Math.acos(w) / 0.0174532777777778;
ro = (_root.a.auto._rotation - ro) + 180;
}
ae = e;
if (ro < 0) {
e = 1;
} else {
e = -1;
}
if (_root.shoot) {
if (Math.abs(aro - ro) < 180) {
if (((e == -1) && (ae == 1)) or ((e == 1) && (ae == -1))) {
if (_currentframe == 1) {
if (k != 23) {
k = 23;
gotoAndPlay (2);
}
}
}
}
}
aro = ro;
if (_root.bomber) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
}
sprit--;
}
onClipEvent (load) {
sprit = 200;
ax = _x;
p = 5;
_y = (_y + ybew);
_x = (_x + xbew);
mas = 0.5;
}
Instance of Symbol 42 MovieClip "S2" in Symbol 57 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "S2") {
_visible = 0;
_xscale = 10;
_yscale = 10;
} else {
_xscale = (((_xscale * 3) + 70) / 4);
_yscale = _xscale;
z = 0;
while (z <= _root.a.gegner.bla.length) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if ((typ == "l") && (d._currentframe == 23)) {
_root.x = _x;
_root.ax = ax;
}
};
if (((_root.x < _x) && (_root.ax > ax)) or ((_root.x > _x) && (_root.ax < ax))) {
if (_currentframe == 1) {
gotoAndPlay (2);
k = 23;
}
}
z++;
}
ax = _x;
_root.raketen++;
xbew = xbew * 0.98;
ybew = ybew * 0.98;
_root.y = _y;
_root.x = _x;
_root.xbew = xbew;
_root.ybew = ybew;
_root.speed = Math.sqrt((xbew * xbew) + (ybew * ybew));
ybew = ybew + mas;
if (_currentframe == 1) {
if (_y > _root.a.B0._y) {
k = 23;
gotoAndPlay (2);
}
_x = (_x + xbew);
_y = (_y + ybew);
if (sprit > 0) {
sprit--;
xbew = xbew + (Math.sin((_rotation * Math.PI) / 180) * p);
ybew = ybew - (Math.cos((_rotation * Math.PI) / 180) * p);
_root.Rauchzahl = Rauchzahl;
tellTarget (_root.a.Rauch) {
S._y = ((_root.y - _root.ybew) + random(5)) - 2.5;
S._x = ((_root.x - _root.xbew) + random(5)) - 2.5;
S._alpha = 50;
S._height = Math.random() + 20;
S._width = S._height;
S.xbew = Math.sin((_rotation * Math.PI) / 180) * p;
S.ybew = (-Math.cos((_rotation * Math.PI) / 180)) * p;
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
ybew = _root.Rauch.S.ybew;
xbew = _root.Rauch.S.xbew;
verblass = 2;
};
};
} else {
_rotation = (_rotation * 1.03);
}
} else {
krl++;
if (krl > 30) {
gotoAndStop (11);
}
}
yenf = _y - _root.a.auto._y;
xenf = _x - _root.a.auto._x;
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
if (enf < 100) {
if (_currentframe == 1) {
_root.a.auto.h = _root.a.auto.h + 35;
gotoAndPlay (2);
}
}
if (_currentframe > 10) {
removeMovieClip("_root.a.Rack." + _name);
}
yenf = ((_y + (ybew * 5)) - _root.a.auto._y) - (_root.a.auto.ybew * 5);
xenf = ((_x + (xbew * 5)) - _root.a.auto._x) - (_root.a.auto.xbew * 5);
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
w = (yenf / enf) + (mas / p);
if (xenf > 0) {
ro = -(Math.acos(w) / 0.0174532777777778);
ro = (_root.a.auto._rotation - ro) - 180;
} else {
ro = Math.acos(w) / 0.0174532777777778;
ro = (_root.a.auto._rotation - ro) + 180;
}
ae = e;
if (ro < 0) {
e = 1;
} else {
e = -1;
}
if (_root.shoot) {
if (Math.abs(aro - ro) < 180) {
if (((e == -1) && (ae == 1)) or ((e == 1) && (ae == -1))) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
}
}
aro = ro;
if (_root.bomber) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
}
}
onClipEvent (load) {
sprit = 100;
ax = _x;
xbew = xbew + (Math.sin((_rotation * Math.PI) / 180) * 10);
ybew = ybew - (Math.cos((_rotation * Math.PI) / 180) * 10);
p = 3;
_y = (_y + ybew);
_x = (_x + xbew);
mas = 0.5;
}
Instance of Symbol 44 MovieClip "S3" in Symbol 57 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "S3") {
_visible = 0;
_xscale = 10;
_yscale = 10;
} else {
ax = _x;
ybew = ybew * 0.95;
_root.y = _y;
_root.x = _x;
_root.xbew = xbew;
_root.ybew = ybew;
_root.speed = Math.sqrt((xbew * xbew) + (ybew * ybew));
ybew = ybew + mas;
if (_y > _root.a.B0._y) {
if (_currentframe == 1) {
if (k != 23) {
k = 23;
gotoAndPlay (2);
}
}
}
if (_currentframe == 1) {
_x = (_x + xbew);
_y = (_y + ybew);
_root.Rauchzahl = Rauchzahl;
yenf = ((_y + (ybew * 5)) - _root.a.auto._y) - (_root.a.auto.ybew * 5);
xenf = ((_x + (xbew * 5)) - _root.a.auto._x) - (_root.a.auto.xbew * 5);
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
if (hitTest(_root.a.Auto)) {
if (_currentframe == 1) {
if (k != 23) {
_root.a.auto.h = _root.a.auto.h + 20;
gotoAndPlay (2);
k = 23;
}
}
}
}
if (k == 23) {
krl++;
if (krl > 11) {
removeMovieClip("_root.a.Rack." + _name);
}
}
yenf = ((_y + (ybew * 5)) - _root.a.auto._y) - (_root.a.auto.ybew * 5);
xenf = (_x - _root.a.auto._x) - (_root.a.auto.xbew * 5);
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
w = (yenf / enf) + (mas / p);
if (xenf > 0) {
ro = -(Math.acos(w) / 0.0174532777777778);
ro = (_root.a.auto._rotation - ro) - 180;
} else {
ro = Math.acos(w) / 0.0174532777777778;
ro = (_root.a.auto._rotation - ro) + 180;
}
ae = e;
if (ro < 0) {
e = 1;
} else {
e = -1;
}
if (_root.shoot) {
if (Math.abs(aro - ro) < 180) {
if (((e == -1) && (ae == 1)) or ((e == 1) && (ae == -1))) {
if (_currentframe == 1) {
if (k != 23) {
k = 23;
gotoAndPlay (2);
}
}
}
}
}
if (_root.bomber) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
if ((_currentframe == 1) && (sprit > 0)) {
ybew = ybew - p;
aro = ro;
_root.x = _x;
_root.y = _y;
tellTarget (_root.a.Rauch) {
S._y = (_root.y + random(5)) - 2.5;
S._x = (_root.x + random(5)) - 2.5;
S._alpha = 50;
S._xscale = (Math.random() * 20) + 80;
S._yscale = S._xscale;
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
verblass = 1;
};
};
}
}
sprit--;
}
onClipEvent (load) {
sprit = 150;
_xscale = 40;
_yscale = 40;
gotoAndStop (1);
ax = _x;
p = 4;
_y = (_y + ybew);
_x = (_x + xbew);
mas = 2;
}
Instance of Symbol 46 MovieClip "S4" in Symbol 57 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "S4") {
_visible = 0;
_xscale = 10;
_yscale = 10;
} else {
ax = _x;
xbew = xbew + (Math.sin((_rotation * Math.PI) / 180) * p);
ybew = ybew - (Math.cos((_rotation * Math.PI) / 180) * p);
ybew = ybew * 0.98;
_root.y = _y;
_root.x = _x;
_root.xbew = xbew;
_root.ybew = ybew;
_root.speed = Math.sqrt((xbew * xbew) + (ybew * ybew));
ybew = ybew + mas;
if ((_y > _root.a.B0._y) or (sprit < 0)) {
if (_currentframe == 1) {
if (k != 23) {
k = 23;
gotoAndPlay (2);
}
}
}
if (_currentframe == 1) {
_x = (_x + xbew);
_y = (_y + ybew);
yenf = _y - _root.a.auto._y;
xenf = _x - _root.a.auto._x;
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
if (enf < 100) {
if (_currentframe == 1) {
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx03");
lazersound.start(0, 1);
}
_root.a.auto.vers = _root.a.auto.vers + 100;
gotoAndPlay (2);
}
}
}
if (k == 23) {
krl++;
if (krl > 11) {
removeMovieClip("_root.a.Rack." + _name);
}
}
yenf = ((_y + (ybew * 5)) - _root.a.auto._y) - (_root.a.auto.ybew * 5);
xenf = (_x - _root.a.auto._x) - (_root.a.auto.xbew * 5);
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
w = (yenf / enf) + (mas / p);
if (xenf > 0) {
ro = -(Math.acos(w) / 0.0174532777777778);
ro = (_root.a.auto._rotation - ro) - 180;
} else {
ro = Math.acos(w) / 0.0174532777777778;
ro = (_root.a.auto._rotation - ro) + 180;
}
ae = e;
if (ro < 0) {
e = 1;
} else {
e = -1;
}
if (_currentframe == 1) {
aro = ro;
_root.x = _x;
_root.y = _y;
tellTarget (_root.a.Rauch) {
S._y = (_root.y + random(5)) - 2.5;
S._x = (_root.x + random(5)) - 2.5;
S._alpha = 50;
S._xscale = (Math.random() * 20) + 80;
S._yscale = S._xscale;
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
rak = 23;
gotoAndStop (2);
verblass = 1;
};
};
}
}
sprit--;
}
onClipEvent (load) {
sprit = 100;
xbew = xbew + (Math.sin((_rotation * Math.PI) / 180) * 10);
ybew = ybew - (Math.cos((_rotation * Math.PI) / 180) * 10);
_xscale = 40;
_yscale = 40;
gotoAndStop (1);
ax = _x;
p = 5;
_y = (_y + ybew);
_x = (_x + xbew);
mas = 0.5;
}
Instance of Symbol 56 MovieClip "S5" in Symbol 57 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "S5") {
_visible = 0;
_xscale = 10;
_yscale = 10;
_root.anza = _root.raketen;
_root.raketen = 0;
} else {
_alpha = 100;
z = 0;
while (z <= _root.a.gegner.bla.length) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if ((typ == "l") && (d._currentframe == 23)) {
_root.x = _x;
_root.ax = ax;
}
};
if (((_root.x < _x) && (_root.ax > ax)) or ((_root.x > _x) && (_root.ax < ax))) {
if (_currentframe == 1) {
gotoAndPlay (2);
k = 23;
}
}
z++;
}
ax = _x;
_root.raketen++;
xbew = xbew * 0.98;
ybew = ybew * 0.98;
_root.y = _y;
_root.x = _x;
_root.xbew = xbew;
_root.ybew = ybew;
_root.speed = Math.sqrt((xbew * xbew) + (ybew * ybew));
ybew = ybew + mas;
if (hitTest(_root.a.B0)) {
if (_currentframe == 1) {
if (k != 23) {
k = 23;
gotoAndPlay (2);
}
}
}
if (_currentframe == 1) {
_x = (_x + xbew);
_y = (_y + ybew);
_xscale = ((_xscale + 170) / 2);
_yscale = ((_yscale + 170) / 2);
yenf = (((_y + (ybew * 5)) + (mas * 5)) - _root.a.auto._y) - (_root.a.auto.ybew * 5);
xenf = (((_x + (xbew * 5)) + (mas * 5)) - _root.a.auto._x) - (_root.a.auto.xbew * 5);
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
w = (yenf / enf) + (mas / p);
if (xenf > 0) {
mussrot = -(Math.acos(w) / 0.0174532777777778);
} else {
mussrot = Math.acos(w) / 0.0174532777777778;
}
mussrot = mussrot * 1.01;
xenf = (mussrot - _rotation) - (3 * rotbew);
if (xenf > 180) {
xenf = xenf - 360;
} else if (xenf < -180) {
xenf = xenf + 360;
}
yenf = 10;
if (xenf < (-yenf)) {
xenf = -yenf;
} else if (xenf > yenf) {
xenf = yenf;
}
if ((xenf * 0) != 0) {
xenf = 0;
}
if (sprit > 0) {
sprit--;
xbew = xbew * 0.93;
ybew = ybew * 0.93;
xbew = xbew + (Math.sin((_rotation * Math.PI) / 180) * p);
ybew = ybew - (Math.cos((_rotation * Math.PI) / 180) * p);
rotbew = rotbew + (xenf / 6);
_root.Rauchzahl = Rauchzahl;
tellTarget (_root.a.Rauch) {
S._y = ((_root.y - _root.ybew) + random(5)) - 2.5;
S._x = ((_root.x - _root.xbew) + random(5)) - 2.5;
S._alpha = 50;
S._height = Math.random() + 20;
S._width = S._height;
S.xbew = Math.sin((_rotation * Math.PI) / 180) * p;
S.ybew = (-Math.cos((_rotation * Math.PI) / 180)) * p;
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
ybew = _root.Rauch.S.ybew;
xbew = _root.Rauch.S.xbew;
verblass = 2;
};
};
}
}
_rotation = (_rotation * 1.03);
_rotation = (_rotation + rotbew);
rotbew = rotbew * 0.9;
yenf = _y - _root.a.auto._y;
xenf = _x - _root.a.auto._x;
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
if (enf < 100) {
if (_currentframe == 1) {
if (k != 23) {
_root.a.auto.h = _root.a.auto.h + 500;
gotoAndPlay (2);
k = 23;
}
}
}
if (k == 23) {
krl++;
if (krl > 11) {
removeMovieClip("_root.a.Rack." + _name);
}
}
yenf = ((_y + (ybew * 5)) - _root.a.auto._y) - (_root.a.auto.ybew * 5);
xenf = ((_x + (xbew * 5)) - _root.a.auto._x) - (_root.a.auto.xbew * 5);
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
w = (yenf / enf) + (mas / p);
if (xenf > 0) {
ro = -(Math.acos(w) / 0.0174532777777778);
ro = (_root.a.auto._rotation - ro) - 180;
} else {
ro = Math.acos(w) / 0.0174532777777778;
ro = (_root.a.auto._rotation - ro) + 180;
}
ae = e;
if (ro < 0) {
e = 1;
} else {
e = -1;
}
if (_root.shoot) {
if ((Math.abs(aro - ro) < 180) or ((Math.abs(aro - ro) > 360) && (Math.abs(aro - ro) < 540))) {
if (((e == -1) && (ae == 1)) or ((e == 1) && (ae == -1))) {
if (_currentframe == 1) {
if (k != 23) {
k = 23;
gotoAndPlay (2);
}
}
}
}
}
aro = ro;
if (_root.bomber) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
}
}
onClipEvent (load) {
sprit = 200;
ax = _x;
p = 7;
mas = 3;
}
Symbol 105 MovieClip Frame 50
_root.a.Geld = _root.a.altgeld;
_root.bombs = _root.abombs;
_root.zaop = 24;
_root.a.gotoAndStop(3);
Instance of Symbol 127 MovieClip "Rad2" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 97 MovieClip "m" in Symbol 133 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 127 MovieClip "Rad2" in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad2" in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad2" in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad2" in Symbol 154 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 154 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad2" in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad2" in Symbol 163 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 163 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad2" in Symbol 170 MovieClip Frame 2
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 170 MovieClip Frame 2
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad2" in Symbol 176 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 176 MovieClip Frame 1
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad2" in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 127 MovieClip "Rad1" in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
rot = _rotation;
_rotation = 0;
_w = _width;
_rotation = rot;
}
Instance of Symbol 131 MovieClip "bodenlaser" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "bodenlaser") {
_root.a.killnah = 10000;
_y = 10000000;
_alpha = 0;
_root.a.lefttrap = 0;
_root.a.righttrap = 0;
} else {
shieldneed = shieldneed / 2;
ax = _x;
typ = "l";
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (_width / 2)) < (_root.a.s._x + ark)) or ((_x - (_width / 2)) < _root.a.s._x)) {
if (((_x + (_width / 2)) > (_root.a.s._x - ark)) or ((_x + (_width / 2)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 100);
}
}
}
}
balken._xscale = 100 - (h * 10);
if (h > 10) {
if (k != 23) {
lazersound.stop();
k = 23;
_root.a.Geld = _root.a.Geld + 50;
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx10");
lazersound.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
lazersound.stop();
_root.kills++;
}
} else {
gotoAndStop (1);
_y = _root.a.B0._y;
_x = (_x + xbew);
xbew = xbew * 0.9;
if (_root.a.auto._y < (_y - 50)) {
xenf = _x - _root.a.auto._x;
yenf = _y - _root.a.auto._y;
nah = Math.sqrt((xenf * xenf) + (yenf * yenf));
_root.a.killnah = Math.min(_root.a.killnah, nah);
if (doing == "st") {
if (nah == _root.a.killnah) {
if ((doing == "trap") && (Math.abs(xenf < 300))) {
} else {
doing = "kill";
_root.a.killer = _name;
}
} else if (doing != "trap") {
if (xenf < 200) {
if ((_root.a.righttrap - 1) < _root.a.lefttrap) {
doing = "trap";
} else {
doing = "move";
ort = (_root.a.auto._x + 500) + (_root.a.lefttrap * 100);
_root.a.lefttrap++;
}
}
if (xenf > -200) {
if ((_root.a.lefttrap - 1) < _root.a.righttrap) {
doing = "trap";
} else {
doing = "move";
ort = (_root.a.auto._x - 500) - (_root.a.righttrap * 100);
_root.a.righttrap++;
}
}
}
}
} else if (doing == "kill") {
doing = "st";
}
if (doing == "kill") {
shieldneed = shieldneed + 10;
if (_root.a.killer != _name) {
doing = "st";
}
dif = ((_x + (xbew * 5)) - _root.a.auto._x) - (_root.a.auto.xbew * 5);
if (d._currentframe < 15) {
daz = true;
if (Math.abs(dif) < 7) {
d.gotoAndStop(d._currentframe + 1);
} else {
d.gotoAndStop(Math.max(1, d._currentframe - 1));
}
if (dif < (-p)) {
dif = -p;
}
if (dif > p) {
dif = p;
}
xbew = xbew - (dif / 4);
} else if (daz) {
if (d._currentframe < 23) {
d.gotoAndStop(d._currentframe + 1);
} else {
d.gotoAndStop(23);
if (!d.rl.hitTest(_root.a.auto)) {
daz = false;
}
}
} else if (Math.abs(dif) < 7) {
daz = true;
} else {
d.gotoAndStop(Math.max(1, d._currentframe - 1));
}
} else if (doing == "move") {
shieldneed = shieldneed + 1;
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
dif = (_x + (xbew * 5)) - ort;
if (dif < (-p)) {
dif = -p;
}
if (dif > p) {
dif = p;
}
xbew = xbew - (dif / 4);
if (Math.abs(dif) < 2) {
doing = "trap";
}
}
} else if (doing == "trap") {
xenf = _x - _root.a.auto._x;
shieldneed = shieldneed + (30 - (Math.abs(xenf) / 1000));
if (xenf < 0) {
if ((_root.a.righttrap - 1) < _root.a.lefttrap) {
_root.a.righttrap++;
} else if (Math.abs(xenf) > 1000) {
doing = "st";
}
} else if ((_root.a.lefttrap - 1) < _root.a.righttrap) {
_root.a.lefttrap++;
} else if (Math.abs(xenf) > 1000) {
doing = "st";
}
if (Math.abs(xenf) > 2500) {
doing = "st";
}
d.gotoAndStop(d._currentframe + 1);
} else {
doing = "st";
d.stop();
}
_xscale = 40;
_yscale = _xscale;
Rad1._rotation = Rad1._rotation + ((xbew / _xscale) * 100);
Rad2._rotation = Rad1._rotation;
if (d._currentframe == 23) {
d.rl._y = Math.min(2, (_y + 4000) - ((((_root.a._y / _root.a._yscale) * 100) / _yscale) * 100));
d.rl._yscale = 10000;
if (d.rl.hitTest(_root.a.auto)) {
_root.a.auto.h = _root.a.auto.h + k;
k = (k + 1) / 2;
} else {
k = 30;
daz = false;
}
if (_root.soundon) {
if (kop == 23) {
lazersound.start(0, 9);
kop = 1;
}
} else {
kop = 23;
lazersound.stop();
}
} else {
kop = 23;
lazersound.stop();
k = 30;
}
}
if (ka != 1) {
sc._alpha = 10 / ka;
ka = 1;
} else {
sc._alpha = 0;
}
shieldneed = shieldneed / ka;
}
}
onClipEvent (load) {
if (_root.soundon) {
kop = 23;
lazersound = new Sound(this);
lazersound.attachSound("laser2");
}
_x = ((_root.a.auto._x + random(1000)) - 500);
h = 0;
p = 5;
}
Instance of Symbol 135 MovieClip "raketenbatterie" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "raketenbatterie") {
_root.menger = _root.menge;
_root.menge = 0;
_y = 10000000;
_alpha = 0;
} else {
shieldneed = shieldneed / 2;
typ = "r";
z = 0;
while (z < _root.a.gegner.bla.length) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if (typ == "r") {
_root.x = _x;
}
};
if (_root.x != "no") {
xenf = _x - _root.x;
if ((Math.abs(xenf) < 100) && (_root.a.gegner.bla[z] != _name)) {
doing = "move";
ort = _x + (50 + (xenf / 2));
}
}
z++;
}
if (doing == "no") {
d.gotoAndStop(1);
dif = _root.a.auto._x - _x;
if (Math.abs(dif) < 300) {
doing = "s";
} else {
doing = "move1";
}
}
if ((_y - 50) < _root.a.auto._y) {
if (doing != "move") {
doing = "no";
}
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_y = _root.a.B0._y;
_xscale = 40;
_yscale = 40;
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (_width / 2)) < (_root.a.s._x + ark)) or ((_x - (_width / 2)) < _root.a.s._x)) {
if (((_x + (_width / 2)) > (_root.a.s._x - ark)) or ((_x + (_width / 2)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 100);
}
}
}
}
balken._xscale = 100 - (h * 10);
if (h > 10) {
if (k != 23) {
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx10");
sound1.start(0, 1);
}
k = 23;
_root.a.Geld = _root.a.Geld + 150;
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
gotoAndStop (1);
_x = (_x + xbew);
xbew = xbew * 0.9;
Rad1._rotation = Rad1._rotation + ((xbew / _xscale) * 100);
Rad2._rotation = Rad1._rotation;
if (doing == "move1") {
shieldneed = shieldneed + 3;
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
dif = (((_root.a.auto._x + _root.a.auto.xbew) - _x) - xbew) / 5;
if (dif > p) {
dif = p;
} else if (dif < (-p)) {
dif = -p;
}
xbew = xbew + dif;
if (Math.abs(dif) < 300) {
doing = "s";
}
}
} else if (doing == "move") {
shieldneed = shieldneed + 0.5;
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
dif = ((ort - _x) - xbew) / 5;
if (dif > p) {
dif = p;
} else if (dif < (-p)) {
dif = -p;
}
xbew = xbew + dif;
if (Math.abs(dif) < 0.1) {
doing = "no";
}
}
} else if (doing == "s") {
shieldneed = shieldneed + 6;
if (d._currentframe < 10) {
d.gotoAndStop(d._currentframe + 1);
} else {
Zar++;
if (Zar > 30) {
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx04");
sound1.start(0, 1);
}
if (Math.abs(_x - _root.a.auto._x) > 300) {
doing = "no";
}
Zar = 0;
_root.rx = _x;
_root.ry = _y - ((50 * _yscale) / 100);
_root.rxbew = xbew;
_root.rybew = -10;
tellTarget (_root.a.Rack) {
S._y = _root.ry;
S._x = _root.rx;
S._rotation = 0;
S.ybew = -_root.rybew;
S.xbew = -_root.rxbew;
S._alpha = 100;
i++;
duplicateMovieClip ("S", "S" + i, i);
};
}
}
} else {
doing = "no";
}
}
if (ka != 1) {
sc._alpha = 10 / ka;
ka = 1;
} else {
sc._alpha = 0;
}
}
shieldneed = shieldneed * ka;
}
onClipEvent (load) {
_x = ((_root.a.auto._x + random(1000)) - 500);
d.gotoAndStop(1);
h = 0;
p = 3;
}
Instance of Symbol 139 MovieClip "bodenraketen" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "bodenraketen") {
_y = 10000000;
_alpha = 0;
_xscale = 30;
_yscale = _xscale;
} else {
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (((_root.a.s.enf / 100) * _xscale) / 30) * _height;
if (((_x - (_width / 2)) < (_root.a.s._x + ark)) or ((_x - (_width / 2)) < _root.a.s._x)) {
if (((_x + (_width / 2)) > (_root.a.s._x - ark)) or ((_x + (_width / 2)) > _root.a.s._x)) {
h = h + (_root.laserbig / 100);
}
}
}
}
_xscale = 30;
_yscale = _xscale;
if (h > 15) {
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 75;
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx10");
sound1.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
z = 0;
while (z < _root.a.gegner.bla.length) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if (typ == "t") {
_root.x = _x;
}
};
if (_root.x != "no") {
xenf = _x - _root.x;
if ((Math.abs(xenf) < 100) && (_root.a.gegner.bla[z] != _name)) {
doing = "move";
ort = _x + (50 + (xenf / 2));
}
}
z++;
}
_x = (_x + xbew);
xbew = xbew * 0.9;
balken._xscale = 100 - ((h / 15) * 100);
gotoAndStop (1);
if (doing == "no") {
d.gotoAndStop(1);
dif = _root.a.auto._x - _x;
if (Math.abs(dif) < 1000) {
doing = "s";
} else {
doing = "move1";
}
}
if (!_root.a.laserout) {
if (doing != "move") {
doing = "no";
}
}
Rad1._rotation = Rad1._rotation + ((xbew / _xscale) * 100);
Rad2._rotation = Rad1._rotation;
e1._rotation = edreh;
e2._rotation = 180 - edreh;
d._y = -50 - (200 * Math.sind(e1._rotation));
Rad1._x = Math.cosd(e1._rotation) * (50 - d._y);
Rad2._x = -Rad1._x;
e1._y = d._y;
e2._y = e1._y;
if (doing == "move1") {
if (d._y < -100) {
edreh = edreh - 2;
} else if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
dif = (((_root.a.auto._x + _root.a.auto.xbew) - _x) - xbew) / 5;
if (dif > p) {
dif = p;
} else if (dif < (-p)) {
dif = -p;
}
xbew = xbew + dif;
if (Math.abs(dif) < 1000) {
doing = "no";
}
}
} else if (doing == "move") {
if (d._y < -100) {
edreh = edreh - 2;
} else if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
dif = ((ort - _x) - xbew) / 5;
if (dif > p) {
dif = p;
} else if (dif < (-p)) {
dif = -p;
}
xbew = xbew + dif;
if (Math.abs(dif) < 0.1) {
doing = "no";
}
}
} else if (doing == "s") {
if (d._y > -230) {
edreh = edreh + 2;
} else {
Zar++;
if (Zar > 15) {
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx04");
sound1.start(0, 1);
}
if (Math.abs(_x - _root.a.auto._x) > 1000) {
doing = "no";
}
Zar = 0;
_root.rx = _x;
_root.ry = _y + (((d._y + d.k._y) * _yscale) / 100);
_root.rxbew = 0;
_root.rybew = 0;
_root.rot = d.k._rotation;
tellTarget (_root.a.Rack) {
S2._y = _root.ry;
S2._x = _root.rx;
S2._rotation = _root.rot + 90;
S2._alpha = 100;
i++;
duplicateMovieClip ("S2", "S" + i, i);
};
}
}
} else {
doing = "no";
}
}
Ziel_y = _root.a.auto._y - _y;
Ziel_x = _root.a.auto._x - _x;
yb = _root.a.auto.ybew;
xb = _root.a.auto.xbew;
i = 0;
if (koz != 23) {
enft = 0;
zah = 10;
while (i < 10) {
enf = Math.sqrt((Ziel_x * Ziel_x) + (Ziel_y * Ziel_y)) - enft;
if (enf > 0) {
enft = enft + zah;
yb = yb + _root.a.auto.mas;
Ziel_y = Ziel_y + yb;
Ziel_x = Ziel_x + xb;
} else {
i = 10000;
}
zah = zah + 3;
}
enf = Math.sqrt((Ziel_x * Ziel_x) + (Ziel_y * Ziel_y));
w = Ziel_y / enf;
if (Ziel_x > 0) {
d.k._rotation = 90 - (Math.acos(w) / 0.0174532777777778);
} else {
d.k._rotation = 90 + (Math.acos(w) / 0.0174532777777778);
}
}
delete koz;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_y = _root.a.B0._y;
typ = "t";
}
}
onClipEvent (load) {
koz = 23;
Ziel_x = _x;
Ziel_y = _y;
edreh = 20;
_x = ((_root.a.auto._x + random(1000)) - 500);
d.gotoAndStop(1);
h = 0;
p = 3;
}
Instance of Symbol 145 MovieClip "shield" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "shield") {
_root.menger = _root.menge;
_root.menge = 0;
_y = 10000000;
_alpha = 0;
} else {
toshield = "no";
typ = "s";
if (doing == "no") {
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
doing = "wait";
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx10");
lazersound.start(0, 1);
}
}
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_y = _root.a.B0._y;
_xscale = 40;
_yscale = 40;
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (_width / 2)) < (_root.a.s._x + ark)) or ((_x - (_width / 2)) < _root.a.s._x)) {
if (((_x + (_width / 2)) > (_root.a.s._x - ark)) or ((_x + (_width / 2)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 150);
}
}
}
}
balken._xscale = 100 - (h * 10);
if (h > 10) {
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 100;
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx10");
lazersound.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
shieldneed = 30 + sch\u00FCtz;
maxneed = 0.01;
Set("sch\u00FCtz", 0.02);
z = -1;
while (z < (_root.a.gegner.bla.length + 2)) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if ((((((((typ == "r") or (typ == "a")) or (typ == "l")) or (typ == "o")) or (typ == "k")) or (typ == "s")) or (typ == "h")) or (typ == "i")) {
_root.x = _x;
if (typ == "i") {
_root.w = _width / 4;
} else {
_root.w = _width / 2;
}
}
};
if (_root.x != "no") {
xenf = _x - _root.x;
if ((Math.abs(xenf) < ((_width / 2) + _root.w)) && (_root.a.gegner.bla[z] != _name)) {
if (d._currentframe == 14) {
_root.a.gegner[_root.a.gegner.bla[z]].ka = _root.a.gegner[_root.a.gegner.bla[z]].ka / 5;
Set("sch\u00FCtz", sch\u00FCtz + _root.a.gegner[_root.a.gegner.bla[z]].shieldneed);
ka = ka * 1.2;
}
}
if (maxneed < _root.a.gegner[_root.a.gegner.bla[z]].shieldneed) {
maxneed = _root.a.gegner[_root.a.gegner.bla[z]].shieldneed;
toshield = _root.a.gegner.bla[z];
}
}
z++;
}
gotoAndStop (1);
_x = (_x + xbew);
xbew = xbew * 0.9;
Rad1._rotation = Rad1._rotation + ((xbew / _xscale) * 100);
Rad2._rotation = Rad1._rotation;
ka = (ka / 2) + 0.5;
if (doing == "wait") {
_root.a.gegner[oshield].shieldneed = _root.a.gegner[oshield].shieldneed / 2;
if (d._currentframe < 14) {
d.gotoAndStop(d._currentframe + 1);
if (d.hitTest(_root.a.auto)) {
doing = "move1";
}
} else {
if (((sch\u00FCtz + shieldneed) < maxneed) && (toshield != "no")) {
doing = "save";
}
ka = ka / 5.1;
}
} else if (doing == "save") {
if (d._currentframe > 1) {
d.gotoAndStop(Math.max(1, d._currentframe - 2));
} else if (Math.abs(_x - _root.a.gegner[toshield]._x) < 10) {
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx05");
lazersound.start(0, 1);
}
xbew = xbew / 3;
doing = "wait";
oshield = toshield;
toshield = "no";
} else if ((_x + (xbew * 3)) < _root.a.gegner[toshield]._x) {
xbew = xbew + p;
} else {
xbew = xbew - p;
}
} else if (doing == "move1") {
if (d._currentframe > 1) {
d.gotoAndStop(Math.max(1, d._currentframe - 2));
} else {
if (_x < _root.a.auto._x) {
xbew = xbew - p;
} else {
xbew = xbew + p;
}
xenf = (_x - _root.a.auto._x) + (_root.a.auto._width / 2);
yenf = ((_y - 35) - _root.a.auto._y) + (_root.a.auto._height / 2);
enf = Math.sqrt((xenf * xenf) + (yenf * yenf));
if (enf > 400) {
doing = "no";
}
}
} else {
doing = "no";
}
}
if (d._currentframe == 14) {
d.s._alpha = 10 / ka;
xenf = (_x - _root.a.auto._x) - (_root.a.auto._width / 2);
if (xenf < 0) {
xenf = xenf + _root.a.auto._width;
}
yenf = ((_y - 35) - _root.a.auto._y) - (_root.a.auto._height / 2);
enf = Math.sqrt((xenf * xenf) + (yenf * yenf));
if (enf < (_width / 2)) {
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx13");
lazersound.start(0, 1);
}
er = (_width / 2) - enf;
_root.a.auto._x = _root.a.auto._x - ((xenf * er) / enf);
_root.a.auto._y = _root.a.auto._y - ((yenf * er) / enf);
_root.a.auto.xbew = _root.a.auto.xbew / 5;
_root.a.auto.ybew = _root.a.auto.ybew / 5;
_root.a.auto.xbew = _root.a.auto.xbew - (xenf * ((er / enf) + 0.5));
_root.a.auto.ybew = _root.a.auto.ybew - (yenf * ((er / enf) + 0.5));
}
}
}
}
onClipEvent (load) {
_x = ((_root.a.auto._x + random(1000)) - 500);
d.gotoAndStop(1);
h = 0;
p = 1.5;
}
Instance of Symbol 154 MovieClip "killer" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "killer") {
_y = 10000000;
_alpha = 0;
} else {
Rad1._rotation = Rad1._rotation + ((xbew / _xscale) * 100);
Rad2._rotation = Rad1._rotation;
shieldneed = shieldneed + 10;
typ = "k";
if (doing == "no") {
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
doing = "kill";
}
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (!_root.a.laserout) {
doing = "sch\u00FCtz";
Z = 150;
}
_y = _root.a.B0._y;
_xscale = 40;
_yscale = 40;
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (0.5 * width)) < (_root.a.s._x + ark)) or ((_x - (0.5 * width)) < _root.a.s._x)) {
if (((_x + (0.5 * width)) > (_root.a.s._x - ark)) or ((_x + (0.5 * width)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 350);
}
}
}
}
ka = (ka / 2) + 0.5;
balken._xscale = 100 - (h * 10);
if (h > 10) {
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 250;
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx10");
lazersound.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
if (d.d._currentframe == 10) {
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx01");
lazersound.start(0, 1);
}
} else if (d.d._currentframe == 24) {
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("laser2");
lazersound.start(0, 9999);
}
} else if (d.d._currentframe < 10) {
lazersound.stop();
}
if (doing == "kill") {
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else if ((h - 0.02) > ah) {
doing = "sch\u00FCtz";
d.d.gotoAndStop(1);
} else if (d.d._currentframe < 25) {
d.d.gotoAndStop(d.d._currentframe + 1);
} else {
yenf = (_y - _root.a.auto._y) + (((d._y + d.d._y) / 100) * _yscale);
xenf = _x - _root.a.auto._x;
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
if (enf < 10000) {
w = yenf / enf;
if (xenf > 0) {
d.d.l._rotation = -(Math.acos(w) / 0.0174532777777778);
} else {
d.d.l._rotation = Math.acos(w) / 0.0174532777777778;
}
d.d.l._yscale = 2000;
d.d.l.r._y = -Math.max((((enf * _yscale) / 100) / 1.5) - 2000, 0);
_root.a.auto.h = _root.a.auto.h + 10;
} else {
d.d.gotoAndStop(1);
doing = "sch\u00FCtz";
}
}
} else if (doing == "sch\u00FCtz") {
d.d.gotoAndStop(1);
if (d._currentframe < 15) {
d.gotoAndStop(d._currentframe + 1);
} else {
if (_root.killerei > 0) {
doing = "kill";
}
ka = ka / 10;
if ((h - 0.2) <= ah) {
Z++;
if (Z > 200) {
doing = "kill";
_root.killerei = 200;
}
} else {
Z = 0;
}
}
} else {
doing = "no";
}
gotoAndStop (1);
}
}
ah = h;
_root.killerei = Math.max(_root.killerei - 1, 0);
}
onClipEvent (load) {
_xscale = 40;
width = _width;
toshield = "no";
_x = ((_root.a.auto._x + random(1000)) - 500);
d.gotoAndStop(1);
h = 0;
p = 1;
}
Instance of Symbol 160 MovieClip "repair" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "repair") {
_root.menger = _root.menge;
_root.menge = 0;
_y = 10000000;
_alpha = 0;
_root.repairs = _root.re;
_root.re = 0;
} else {
if (_root.soundon && (d._currentframe == 5)) {
if (ko != 23) {
ko = 23;
lazersound = new Sound(this);
lazersound.attachSound("sfx06");
lazersound.start(0, 1);
}
} else {
delete ko;
}
_root.re++;
shieldneed = 10;
shield = "no";
typ = "h";
if (doing == "no") {
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
doing = "wait";
}
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_y = _root.a.B0._y;
_xscale = 40;
_yscale = 40;
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (_width / 2)) < (_root.a.s._x + ark)) or ((_x - (_width / 2)) < _root.a.s._x)) {
if (((_x + (_width / 2)) > (_root.a.s._x - ark)) or ((_x + (_width / 2)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 125);
}
}
}
}
balken._xscale = 100 - (h * 10);
if (h > 10) {
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 75;
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx10");
lazersound.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
toshield = "no";
maxneed = 0;
sh = 0;
z = -1;
while (z < (_root.a.gegner.bla.length + 2)) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if (((((((((typ == "r") or (typ == "a")) or (typ == "l")) or (typ == "o")) or (typ == "s")) or (typ == "k")) or (typ == "r")) or (typ == "h")) or (typ == "i")) {
_root.x = _x;
}
};
if (_root.x != "no") {
xenf = _x - _root.x;
if (_root.a.gegner.bla[z] != _name) {
if (d._currentframe == 5) {
if (d.narf.hitTest(_root.a.gegner[_root.a.gegner.bla[z]].d)) {
_root.a.gegner[_root.a.gegner.bla[z]].h = _root.a.gegner[_root.a.gegner.bla[z]].h / 2;
if (_root.a.gegner[_root.a.gegner.bla[z]].h < 0.1) {
_root.a.gegner[_root.a.gegner.bla[z]].h = 0;
}
}
}
if (maxneed < (_root.a.gegner[_root.a.gegner.bla[z]].h / Math.abs(xenf))) {
maxneed = _root.a.gegner[_root.a.gegner.bla[z]].h / Math.abs(xenf);
toshield = _root.a.gegner.bla[z];
}
if ((sh < (100 / Math.abs(xenf))) && (_root.a.gegner[_root.a.gegner.bla[z]].typ == "s")) {
sh = 100 / Math.abs(xenf);
shield = _root.a.gegner.bla[z];
}
}
}
z++;
}
gotoAndStop (1);
_x = (_x + xbew);
xbew = xbew * 0.9;
Rad1._rotation = Rad1._rotation + ((xbew / _xscale) * 100);
Rad2._rotation = Rad1._rotation;
ka = (ka / 2) + 0.5;
if (doing == "wait") {
if (shield == "no") {
doing = "no";
}
if (toshield != "no") {
doing = "save";
}
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
}
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else if (Math.abs(_x - _root.a.gegner[shield]._x) < 100) {
shieldneed = shieldneed + 40;
} else if ((_x + (xbew * 3)) < _root.a.gegner[shield]._x) {
xbew = xbew + p;
} else {
xbew = xbew - p;
}
} else if (doing == "save") {
if (toshield == "no") {
doing = "n";
} else {
xenf = _x - _root.a.gegner[toshield]._x;
if (Math.abs(xenf) < 150) {
if (xenf < 0) {
d._xscale = -100;
} else {
d._xscale = 100;
}
if (d._currentframe < 5) {
d.gotoAndStop(d._currentframe + 1);
}
} else {
xbew = xbew / 2;
doing = "move";
}
}
} else if (doing == "move") {
if (toshield == "no") {
doing = "n";
} else if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else if (Math.abs(_x - _root.a.gegner[toshield]._x) < 150) {
xbew = xbew / 2;
doing = "save";
} else if ((_x + (xbew * 3)) < _root.a.gegner[toshield]._x) {
xbew = xbew + p;
} else {
xbew = xbew - p;
}
} else {
doing = "no";
}
}
sc._alpha = (((10 / ka) / ka) / ka) - 10;
ka = ((ka * 2) + 1) / 3;
sc._y = -36.1;
sc._x = 0;
}
}
onClipEvent (load) {
toshield = "no";
shield = "no";
_x = ((_root.a.auto._x + random(1000)) - 500);
d.gotoAndStop(1);
h = 0;
p = 1;
}
Instance of Symbol 163 MovieClip "looser" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "looser") {
_y = 10000000;
_alpha = 0;
} else {
z = 0;
while (z < _root.a.gegner.bla.length) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if (typ == "o") {
_root.x = _x;
}
};
if (_root.x != "no") {
xenf = _x - _root.x;
if ((Math.abs(xenf) < 100) && (_root.a.gegner.bla[z] != _name)) {
if (doing != "kill") {
doing = "aw";
xbew = xbew * 0.8;
ort = _x + ((100 * xenf) / Math.abs(xenf));
}
}
}
z++;
}
shieldneed = 20;
if (amo == 5) {
d.gotoAndStop(1);
} else {
if (amo != 0) {
frame = 50 - (10 * amo);
} else {
frame = 51;
}
if (d._currentframe < frame) {
d.gotoAndStop(d._currentframe + 1);
}
}
shieldneed = shieldneed / 2;
ax = _x;
typ = "o";
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (_width / 2)) < (_root.a.s._x + ark)) or ((_x - (_width / 2)) < _root.a.s._x)) {
if (((_x + (_width / 2)) > (_root.a.s._x - ark)) or ((_x + (_width / 2)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 100);
}
}
}
}
balken._xscale = 100 - (h * 10);
if (h > 10) {
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 25;
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx10");
sound1.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
gotoAndStop (1);
_y = _root.a.B0._y;
_x = (_x + xbew);
xbew = xbew * 0.9;
if (_root.a.laserout) {
if (doing == "move") {
if (amo > 0) {
xenf = ((_x + (xbew * 3)) - _root.a.auto._x) - (_root.a.auto.xbew * 3);
nah = Math.abs(xenf);
nah = Math.min(nah / 10, p);
xbew = xbew - ((nah * xenf) / Math.abs(xenf));
if (Math.abs(Math.round(nah)) == 0) {
doing = "kill";
}
} else {
xenf = ((_x + (xbew * 3)) - _root.a.auto._x) - (_root.a.auto.xbew * 3);
nah = p;
xbew = xbew + ((nah * xenf) / Math.abs(xenf));
if (Math.abs(xenf) > 1000) {
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx13");
sound1.start(0, 1);
}
amo = 5;
d.gotoAndStop(1);
}
}
} else if (doing == "aw") {
xenf = (_x + (xbew * 3)) - ort;
nah = Math.abs(xenf);
nah = Math.min(nah / 10, p);
xbew = xbew - ((nah * xenf) / Math.abs(xenf));
if (Math.abs(Math.round(nah))) {
doing = "kill";
}
} else if (doing == "kill") {
Zap++;
if ((Zap > 25) && (amo > 0)) {
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx04");
sound1.start(0, 1);
}
d.gotoAndStop(d._currentframe + 1);
amo--;
Zap = 0;
_root.rx = _x;
_root.ry = _y + (((d._y + 25) * _yscale) / 100);
tellTarget (_root.a.Rack) {
S3._y = _root.ry;
S3._x = _root.rx;
S3._alpha = 100;
i++;
duplicateMovieClip ("S3", "S" + i, i);
};
}
xenf = ((_x + (xbew * 3)) - _root.a.auto._x) - (_root.a.auto.xbew * 3);
nah = Math.abs(xenf);
if (nah > 4) {
doing = "move";
}
}
}
_xscale = 40;
_yscale = _xscale;
Rad1._rotation = Rad1._rotation + ((xbew / _xscale) * 100);
Rad2._rotation = Rad1._rotation;
}
if (ka != 1) {
sc._alpha = 10 / ka;
} else {
sc._alpha = 0;
}
ka = 1;
}
}
onClipEvent (load) {
doing = "move";
d.gotoAndStop(1);
amo = 5;
_x = ((_root.a.auto._x + random(1000)) - 500);
h = 0;
p = 1.5;
}
Instance of Symbol 166 MovieClip "Gra" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
while ((_x + ((_root.a._x / _root.a._xscale) * 100)) < ((230 / _root.a._xscale) * 100)) {
_x = (_x + ((188.5 * _xscale) / 100));
}
while ((_x + ((_root.a._x / _root.a._xscale) * 100)) > ((550 / _root.a._xscale) * 100)) {
_x = (_x - ((188.5 * _xscale) / 100));
}
}
Instance of Symbol 170 MovieClip "inv" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "inv") {
_root.a.killnah = 10000;
_y = 10000000;
_alpha = 0;
_root.a.lefttrap = 0;
_root.a.righttrap = 0;
} else {
typ = "i";
nam = _name;
toshield = "no";
sh = 0;
z = 0;
while (z < _root.a.gegner.bla.length) {
_root.x = "no";
tellTarget (_root.a.gegner[_root.a.gegner.bla[z]]) {
if (((((typ == "s") or (typ == "l")) or (typ == "s")) or (typ == "r")) or (typ == "h")) {
_root.x = _x;
}
};
if (_root.x != "no") {
xenf = _x - _root.x;
if (_root.a.gegner.bla[z] != _name) {
if ((sh < (100 / Math.abs(xenf))) && (_root.x != 0)) {
sh = 100 / Math.abs(xenf);
shield = _root.x;
}
}
}
z++;
}
if ((shield * 1) != 0) {
xenf = (_x + (xbew * 1)) - shield;
po = Math.min(Math.abs(xenf), p);
xbew = xbew * 0.6;
if (xenf < 0) {
xbew = xbew + po;
} else {
xbew = xbew - po;
}
}
ax = _x;
typ = "i";
if (al < 130) {
al = al + 5;
}
efk = efk + 0.3;
_alpha = (al + (Math.sin(efk) * 30));
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (_width / 2)) < (_root.a.s._x + ark)) or ((_x - (_width / 8)) < _root.a.s._x)) {
if (((_x + (_width / 2)) > (_root.a.s._x - ark)) or ((_x + (_width / 8)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 100);
}
}
}
}
if (h > 10) {
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 50;
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx10");
lazersound.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
if (lapoo != 203) {
delete zahl;
lapoo = 203;
_root.kills++;
}
}
} else {
gotoAndStop (1);
_y = _root.a.B0._y;
_x = (_x + xbew);
xbew = xbew * 0.9;
_xscale = 40;
_yscale = _xscale;
}
shieldneed = 1;
ka = 1;
}
}
onClipEvent (load) {
al = 0;
_x = ((_root.a.auto._x + random(1000)) - 500);
h = 0;
p = 5;
}
Instance of Symbol 176 MovieClip "superkiller" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "superkiller") {
_y = 10000000;
_alpha = 0;
} else {
_x = (_x + xbew);
xbew = xbew * 0.9;
erk = 0;
Ziel_y = _root.a.auto._y - _y;
Ziel_x = _root.a.auto._x - _x;
yb = _root.a.auto.ybew;
xb = _root.a.auto.xbew;
if (koz != 23) {
enft = 0;
i = 0;
zah = 10;
while (i < 10) {
enf = Math.sqrt((Ziel_x * Ziel_x) + (Ziel_y * Ziel_y)) - enft;
if (enf > 0) {
enft = enft + zah;
yb = yb + _root.a.auto.mas;
Ziel_y = Ziel_y + yb;
Ziel_x = Ziel_x + xb;
} else {
i = 10000;
}
zah = zah + 5;
}
enf = Math.sqrt((Ziel_x * Ziel_x) + (Ziel_y * Ziel_y));
w = Ziel_y / enf;
if (Ziel_x > 0) {
d.kan._rotation = 180 - (Math.acos(w) / 0.0174532777777778);
} else {
d.kan._rotation = 180 + (Math.acos(w) / 0.0174532777777778);
}
if (d.kan._rotation < -60) {
d.kan._rotation = -60;
erk = -1;
}
if (d.kan._rotation > 60) {
d.kan._rotation = 60;
erk = 1;
}
}
delete koz;
shieldneed = shieldneed + 10;
typ = "a";
if (doing == "no") {
if (d._currentframe > 1) {
d.gotoAndStop(d._currentframe - 1);
} else {
doing = "kill";
}
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (!_root.a.laserout) {
doing = "no";
}
_y = _root.a.B0._y;
_xscale = 40;
_yscale = 40;
treff--;
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (0.5 * _width)) < (_root.a.s._x + ark)) or ((_x - (0.5 * _width)) < _root.a.s._x)) {
if (((_x + (0.5 * _width)) > (_root.a.s._x - ark)) or ((_x + (0.5 * _width)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 1000);
treff = 5;
}
}
}
}
ka = (ka / 2) + 0.5;
balken._xscale = 100 - (h * 10);
if (h > 10) {
xbew = 0;
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 500;
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx10");
lazersound.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
if (doing == "kill") {
if (treff > 0) {
doing = "move";
} else if (erk != 0) {
doing = "move";
} else {
Zap++;
if (Zap > 15) {
d.gotoAndStop(d._currentframe + 1);
Zap = 0;
_root.rx = _x;
_root.ry = _y + (((d._y + d.kan._y) * _yscale) / 100);
_root.v1 = d.kan._rotation;
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx12");
lazersound.start(0, 1);
}
tellTarget (_root.a.Rack) {
S4._rotation = _root.v1;
S4._y = _root.ry;
S4._x = _root.rx;
S4._alpha = 100;
i++;
duplicateMovieClip ("S4", "S" + i, i);
};
}
}
} else if (doing == "move") {
if (_root.soundon && (kap != 23)) {
kap = 23;
lazersound = new Sound(this);
lazersound.attachSound("laser");
lazersound.start(0, 9999);
}
if (treff > 0) {
xenf = _root.a.s._x - _x;
xbew = xbew - (((p * xenf) / Math.abs(xenf)) * 4);
} else {
xbew = xbew + (p * erk);
if (erk == 0) {
doing = "kill";
}
}
} else {
doing = "no";
}
if ((doing != "move") && (kap == 23)) {
delete kap;
lazersound.stop();
}
gotoAndStop (1);
}
}
Rad1._rotation = Rad1._rotation + ((xbew / _xscale) * 100);
Rad2._rotation = Rad1._rotation;
ah = h;
}
onClipEvent (load) {
koz = 23;
_xscale = 40;
_yscale = _xscale;
_x = ((_root.a.auto._x + random(1000)) - 500);
p = 2;
}
Instance of Symbol 180 MovieClip "ufo" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "ufo") {
_root.a.killnah = 10000;
_y = 10000000;
_alpha = 0;
_root.a.lefttrap = 0;
_root.a.righttrap = 0;
} else {
typ = "ufo";
zap = -1;
while (zap < (_root.a.gegner.bla.length + 2)) {
tellTarget (_root.a.gegner[_root.a.gegner.bla[zap]]) {
if (typ == "ufo") {
_root.x = _x;
_root.y = _y;
}
};
xenf = _x - _root.x;
yenf = _y - _root.y;
enf = Math.sqrt((xenf * xenf) + (yenf * yenf));
if ((enf < 300) && (enf > 1)) {
xbew = xbew + ((xenf / enf) * p);
ybew = ybew + ((yenf / enf) * p);
}
zap++;
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
yenf = (_y - _root.a.auto._y) / Math.cosd(_root.a.auto._rotation);
x = _root.a.auto._x - (Math.sind(_root.a.auto._rotation) * yenf);
xenf = Math.abs(_x - x);
yenf = _width / Math.cosd(_root.a.auto._rotation);
enf = Math.abs(Math.sind(_root.a.auto._rotation) * yenf);
if (((xenf < (_width + enf)) && (_root.shoot)) && (hitTest(_root.a.k.k))) {
h = h + ((0.02 * _root.laserbig) / 100);
}
balken._xscale = 100 - (h * 10);
if (h > 10) {
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 1000;
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx10");
lazersound.start(0, 1);
}
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
h = h * 0.99;
gotoAndStop (1);
xenf = _x - _root.a.auto._x;
yenf = _y - _root.a.auto._y;
enf = math.sqrt((xenf * xenf) + (yenf * yenf));
if (_y > 0) {
ybew = ybew - (p * 6);
} else {
pa = Math.min((enf - 500) / 4, p);
xbew = xbew - ((xenf / enf) * pa);
ybew = ybew - ((yenf / enf) * pa);
}
xbew = xbew * 0.9;
ybew = ybew * 0.9;
_x = (_x + xbew);
_y = (_y + ybew);
}
Zar++;
if ((Zar > 75) && (enf < 500)) {
ybew = ybew + 40;
Zar = 0;
_root.rx = _x;
_root.ry = _y;
_root.rxbew = xbew;
_root.rybew = ybew;
if (_root.soundon) {
lazersound = new Sound(this);
lazersound.attachSound("sfx07");
lazersound.start(0, 1);
}
tellTarget (_root.a.Rack) {
S5._rotation = 0;
S5._y = _root.ry;
S5._x = _root.rx;
S5.ybew = -_root.rybew;
S5.xbew = -_root.rxbew;
S5._alpha = 100;
i++;
duplicateMovieClip ("S5", "S" + i, i);
_root.a.Rack["S" + i].ka = 6;
};
}
}
}
onClipEvent (load) {
Zar = 100;
_y = (_root.a.auto._y - 1000);
_x = ((_root.a.auto._x + random(1000)) - 500);
h = 0;
p = 5;
}
Instance of Symbol 184 MovieClip "superkiller2" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == "superkiller2") {
_y = 10000000;
_alpha = 0;
} else {
ab = ((ab * 2) + xbew) / 3;
d._rotation = d._rotation - ((ab - xbew) / 6);
d._rotation = d._rotation * 0.8;
typ = "a2";
zap = -1;
while (zap < (_root.a.gegner.bla.length + 2)) {
tellTarget (_root.a.gegner[_root.a.gegner.bla[zap]]) {
if (typ == "a2") {
_root.x = _x;
_root.y = _y;
}
};
xenf = _x - _root.x;
enf = Math.abs(xenf);
if ((enf < 100) && (enf > 1)) {
xbew = xbew + ((xenf / enf) * p);
}
zap++;
}
_x = (_x + xbew);
xbew = xbew * 0.95;
erk = 0;
Ziel_y = _root.a.auto._y - _y;
Ziel_x = _root.a.auto._x - _x;
yb = _root.a.auto.ybew;
xb = _root.a.auto.xbew;
if (koz != 23) {
enft = 0;
i = 0;
zah = 10;
while (i < 10) {
enf = Math.sqrt((Ziel_x * Ziel_x) + (Ziel_y * Ziel_y)) - enft;
if (enf > 0) {
enft = enft + zah;
yb = yb + _root.a.auto.mas;
Ziel_y = Ziel_y + (yb - ybew);
Ziel_x = Ziel_x + (xb - xbew);
} else {
i = 10000;
}
zah = zah + 5;
}
enf = Math.sqrt((Ziel_x * Ziel_x) + (Ziel_y * Ziel_y));
w = Ziel_y / enf;
if (Ziel_x > 0) {
d.kan._rotation = 180 - (Math.acos(w) / 0.0174532777777778);
} else {
d.kan._rotation = 180 + (Math.acos(w) / 0.0174532777777778);
}
if (d.kan._rotation < -80) {
d.kan._rotation = -80;
erk = -1;
}
if (d.kan._rotation > 80) {
d.kan._rotation = 80;
erk = 1;
}
}
delete koz;
shieldneed = shieldneed + 10;
doing = "kill";
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (!_root.a.laserout) {
doing = "no";
}
_y = _root.a.B0._y;
_xscale = 40;
_yscale = 40;
treff--;
if (_root.a.s._y == _root.a.B0._y) {
if (_root.shoot) {
ark = (_root.a.s.enf / 100) * _xscale;
if (((_x - (0.5 * _width)) < (_root.a.s._x + ark)) or ((_x - (0.5 * _width)) < _root.a.s._x)) {
if (((_x + (0.5 * _width)) > (_root.a.s._x - ark)) or ((_x + (0.5 * _width)) > _root.a.s._x)) {
h = h + ((ka * _root.laserbig) / 2000);
treff = 5;
}
}
}
}
ka = (ka / 2) + 0.5;
balken._xscale = 100 - (h * 10);
if (h > 10) {
xbew = 0;
if (k != 23) {
k = 23;
_root.a.Geld = _root.a.Geld + 2000;
}
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
removeMovieClip(_root.a.gegner[_name]);
_root.kills++;
}
} else {
if (treff > 0) {
xenf = _root.a.s._x - _x;
xbew = xbew - ((p * xenf) / Math.abs(xenf));
} else if (erk != 0) {
xbew = xbew + (p * erk);
}
Zapo++;
if (Zapo > 50) {
Zapo = 0;
_root.rx = _x;
_root.ry = _y + (((d._y + d.kan._y) * _yscale) / 100);
_root.rxbew = xbew;
_root.rybew = ybew;
_root.v1 = d.kan._rotation;
tellTarget (_root.a.Rack) {
S5._rotation = _root.v1;
S5._y = _root.ry;
S5._x = _root.rx;
S5._alpha = 100;
i++;
duplicateMovieClip ("S5", "S" + i, i);
_root.a.Rack["S" + i].ka = 6;
_root.a.Rack["S" + i].xbew = _root.rxbew;
_root.a.Rack["S" + i].ybew = _root.rybew;
};
}
gotoAndStop (1);
}
}
ah = h;
d.kan._rotation = d.kan._rotation - d._rotation;
}
onClipEvent (load) {
Zapo = 25;
koz = 23;
_xscale = 40;
_yscale = _xscale;
_x = ((_root.a.auto._x + random(1000)) - 500);
p = 5;
}
Symbol 194 Button
on (release) {
if ((_root.a.Geld + 0.1) > _root.a.r1) {
_root.a.Geld = _root.a.Geld - _root.a.r1;
_root.aufs = _root.aufs + _root.a.r1;
_root.health = _root.health + 25;
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx07");
lazersound.start(0, 1);
}
}
_root.a.e1 = _root.health;
_root.a.r1 = 250 + ((_root.health - 100) * 5);
}
Symbol 195 Button
on (release) {
if ((_root.a.Geld + 0.1) > _root.a.r2) {
_root.a.Geld = _root.a.Geld - _root.a.r2;
_root.aufs = _root.aufs + _root.a.r2;
_root.dbig = _root.dbig + 25;
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx07");
lazersound.start(0, 1);
}
}
_root.a.e2 = _root.dbig;
_root.a.r2 = 250;
}
Symbol 196 Button
on (release) {
if ((_root.a.Geld + 0.1) > _root.a.r3) {
_root.a.Geld = _root.a.Geld - _root.a.r3;
_root.aufs = _root.aufs + _root.a.r3;
_root.laserbig = _root.laserbig + 25;
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx07");
lazersound.start(0, 1);
}
}
_root.a.e3 = _root.laserbig;
_root.a.r3 = 250 + ((_root.laserbig - 100) * 10);
}
Symbol 204 Button
on (release) {
_root.a.altgeld = _root.a.Geld;
_root.abombs = _root.bombs;
_root.a.gotoAndStop(2);
}
Symbol 208 Button
on (release) {
_root.health = 100;
_root.dbig = 100;
_root.laserbig = 100;
_root.aufs = 0;
_root.a.Geld = 0;
_root.anz.score = 0;
_root.a.hard = 1;
_root.a.altgeld = 0;
_root.bombs = 0;
lev = "Level 1";
}
Symbol 212 Button
on (release) {
if ((_root.a.Geld + 0.1) > (_root.a.r4 * 1)) {
if (_root.soundon) {
lazersound.stop();
lazersound = new Sound(this);
lazersound.attachSound("sfx09");
lazersound.start(0, 1);
}
_root.a.Geld = _root.a.Geld - (_root.a.r4 * 1);
_root.aufs = _root.aufs + (_root.a.r4 * 1);
_root.bombs = _root.bombs * 1;
_root.bombs = _root.bombs + 1;
}
_root.a.e4 = _root.bombs;
}
Symbol 220 MovieClip Frame 1
stop();
fscommand ("showmenu", "false");
_root.aufs = 0;
_root.health = 100;
_root.dbig = 100;
_root.laserbig = 100;
_root.a.hard = 0;
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
_root.a.older = 250;
_root.vol = 20;
_root.soundon = true;
Instance of Symbol 28 MovieClip "zep" in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
level = Math.max(1, level);
gotoAndStop (2);
so = SharedObject.getLocal("Komix_likes_data");
_root.a.hard = so.data.level;
_root.health = Math.max(100, so.data.schild * 1);
_root.dbig = Math.max(100, so.data.db * 1);
_root.laserbig = Math.max(100, so.data.laser * 1);
_root.aufs = so.data.auf;
_root.a.Geld = so.data.geld * 1;
_root.bombs = so.data.bombs * 1;
_root.a.maxscore = so.data.maxscore;
score = _root.aufs + _root.a.Geld;
tex = ((((((((((((((" Level: " + Math.max(1, _root.a.hard * 1)) + "\n Shields: ") + _root.health) + "\n Thrust: ") + _root.dbig) + "\n Laser: ") + _root.laserbig) + "\n Bombs: ") + _root.bombs) + "\n Money: ") + _root.a.Geld) + "\n Highscore: ") + _root.a.maxscore) + "\n Score: ") + score;
}
Symbol 220 MovieClip Frame 2
stop();
Instance of Symbol 57 MovieClip "Rack" in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
i = 300;
}
Instance of Symbol 66 MovieClip "bomb" in Symbol 220 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.bomber = false;
if (der == 0) {
if (_root.a.auto._currentframe == 1) {
gotoAndStop (1);
_x = _root.a.auto._x;
_y = _root.a.auto._y;
xbew = _root.a.auto.xbew;
ybew = _root.a.auto.ybew;
if (Key.isDown(16) && ((_root.bombs * 1) > 0)) {
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx09");
sound1.start(0, 1);
sound1.setVolume(200);
}
dreh = xbew;
der = 1;
_root.bombs--;
_rotation = 0;
}
Z = 0;
} else {
gotoAndStop (28);
}
} else if (der == 1) {
if (_currentframe < 15) {
gotoAndStop(_currentframe + 1);
}
_rotation = (_rotation + (dreh * 0.2));
dreh = dreh * 0.95;
ybew = ybew + 1.5;
xbew = xbew * 0.95;
ybew = ybew * 0.95;
_x = (_x + xbew);
_y = (_y + ybew);
Z++;
if ((_y > _root.a.B0._y) or (Z > 80)) {
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("sfx11");
sound1.start(0, 1);
sound1.setVolume(500);
}
der = 2;
}
} else if (der == 2) {
Z++;
if (Z > 110) {
der = 0;
}
gotoAndStop(Math.max(15, _currentframe + 1));
if (_currentframe < 17) {
yenf = _y - _root.a.auto._y;
xenf = _x - _root.a.auto._x;
enf = Math.sqrt((yenf * yenf) + (xenf * xenf));
_root.a.auto.h = _root.a.auto.h + ((7000000 / enf) / enf);
_root.bomber = true;
z = -1;
while (z < (_root.a.gegner.bla.length + 2)) {
xenf = _x - _root.a.gegner[_root.a.gegner.bla[z]]._x;
yenf = _y - _root.B0._y;
enf = Math.sqrt((xenf * xenf) + (yenf * yenf));
_root.a.gegner[_root.a.gegner.bla[z]].h = _root.a.gegner[_root.a.gegner.bla[z]].h + ((10000000 / enf) / enf);
z++;
}
}
}
_xscale = 30;
_yscale = 30;
_alpha = 150;
}
onClipEvent (load) {
der = 0;
}
Instance of Symbol 90 MovieClip "k" in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("laser2");
}
}
onClipEvent (enterFrame) {
if (_root.shoot && (_root.soundon)) {
if (ko == 23) {
sound1.start(0, 9999999);
ko = 1;
}
} else {
ko = 23;
sound1.stop();
}
}
Instance of Symbol 95 MovieClip "s" in Symbol 220 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = (200 - (100 / (1 + (_root.a.k.k._xscale / 3))));
_yscale = _xscale;
gotoAndStop(_root.lasersort + 1);
if (_root.shoot && ((_root.a.auto._rotation < -89.9) or (_root.a.auto._rotation > 89.9))) {
_y = _root.a.B0._y;
yenf = (_root.a.B0._y - _root.a.auto._y) / Math.cosd(_root.a.auto._rotation);
_x = (_root.a.auto._x - (Math.sind(_root.a.auto._rotation) * yenf));
yenf = 123 / Math.cosd(_root.a.auto._rotation);
enf = Math.sind(_root.a.auto._rotation) * yenf;
} else {
_x = 1000;
_y = 230000;
}
}
Instance of Symbol 105 MovieClip "auto" in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
_x = 0;
_y = 300;
_root.lasersort = 0;
while (_root.laserbig > (((1 + _root.lasersort) * 300) + 100)) {
_root.lasersort++;
}
_root.lasersort = Math.min(3, _root.lasersort);
mas = 0.8;
dbig = 280 - (175 / (0.6 + (_root.dbig / 300)));
_root.a.dspeed = 30;
geschwin = 0;
_rotation = 0;
ha = _root.health;
h = 0;
_root.a.laserout = false;
_root.a.k.k.gotoAndStop(1);
kapor = 23;
if (_root.soundon) {
sound1 = new Sound(this);
sound1.attachSound("engine");
sound1.start(0, 999999999);
}
doz = 0;
}
onClipEvent (enterFrame) {
key1 = key1 * 0.8;
key2 = key2 * 0.8;
key3 = key3 * 0.8;
key4 = key4 * 0.8;
mas = 0.8;
vers = vers - 0.5;
vers = vers * 0.975;
if ((vers > 0) && (_currentframe == 1)) {
h = h + (vers / 1000);
dreh = dreh * 0.3;
xbew = xbew * 0.3;
ybew = ybew * 0.3;
mas = mas * 0.3;
_root.a.vers._x = _x;
_root.a.vers._y = _y;
_root.a.vers._xscale = 30 + w;
_root.a.vers._yscale = _root.a.vers._xscale;
_root.a.vers.gotoAndStop(1);
_root.a.vers._alpha = 150 - (100 / (1 + (vers / 200)));
} else {
_root.a.vers.gotoAndStop(2);
}
vers = Math.max(-10, vers);
_root.shoot = false;
if (Key.isDown(107)) {
_root.a.sap = _root.a.sap + 5;
}
if (Key.isDown(109)) {
_root.a.sap = _root.a.sap - 5;
}
if (_root.a.sap < 35) {
_root.a.sap = 35;
}
_root.a._xscale = _root.a.sap;
_root.a._yscale = _root.a._xscale;
lbig = _root.laserbig - (_root.lasersort * 300);
_root.a.k.k._xscale = 50 + (lbig / 4);
_root.a.k.k._yscale = 50 + (lbig / 4);
arrotation = _rotation;
if (h > ha) {
_root.a.k._y = 100000 /* 0x0186A0 */;
if (_currentframe < 60) {
if (furz != 23) {
sound1.stop();
sound1 = new Sound(this);
sound1.attachSound("sfx11");
sound1.start(0, 1);
sound1.setVolume(200);
furz = 23;
}
gotoAndStop(_currentframe + 1);
}
_root.a.laserout = false;
_root.a.k.k.gotoAndStop((_root.lasersort * 2) + 1);
} else {
if (_root.soundon) {
doz = (doz * 0.6) + (((rauch1 + rauch2) + rauch3) + rauch4);
sound1.setVolume(Math.round((dbig * doz) * 0.5));
}
gotoAndStop (1);
if (_root.a.laserout) {
Z++;
if (Z > 10) {
if (Key.isDown(32) or Key.isDown(65)) {
_root.a.k.k.gotoAndStop((_root.lasersort * 2) + 2);
_root.shoot = true;
_root.a.k.k.gl._yscale = 10000;
} else {
_root.a.k.k.gotoAndStop((_root.lasersort * 2) + 1);
}
_root.a.k.k._y = (_root.a.k.k._y - 10) / 2;
}
} else {
_root.a.k.k.gotoAndStop((_root.lasersort * 2) + 1);
Z = 0;
_root.a.k.k._y = (_root.a.k.k._y + 5) / 2;
}
_root.a.alpha = 35 + ((h / ha) * 45);
_root.a.verb = 2.5;
rauch4 = 0;
rauch3 = 0;
rauch2 = 0;
rauch1 = 0;
ez = ((((k._xscale / 100) * 10) + 3) + ((dbig / 400) * 34)) + Math.max((lbig / 100) - 6.66666666666667, 1);
m._xscale = ((2 * ez) / 34) * 100;
m._yscale = 15;
d1.s2._x = (-dbig) / 8;
d2.s2._x = (-dbig) / 8;
d1.m._xscale = ((dbig / 136) * 100) - 50;
d2.m._xscale = ((dbig / 136) * 100) - 50;
d2._x = ez;
d1._x = -d2._x;
d1.s1._x = -d1.s2._x;
d2.s1._x = -d2.s2._x;
d1._yscale = dbig / 2;
d2._yscale = dbig / 2;
de = 1;
if (Key.isDown(38)) {
key1 = (key1 + 1) / 2;
rauch1 = 1;
rauch2 = 1;
geschwin = geschwin + ((key1 * dbig) / 20);
key1 = 2;
de = 0.5;
}
if (Key.isDown(40)) {
key2 = (key2 + 1) / 2;
geschwin = geschwin - ((key2 * dbig) / 20);
rauch3 = 1;
rauch4 = 1;
de = 0.5;
}
geschwin = geschwin * 0.3;
d = 0;
if (Key.isDown(37)) {
key3 = (key3 + 1) / 2;
if (!Key.isDown(39)) {
rauch3 = 1;
rauch2 = 1;
if (Key.isDown(38)) {
rauch1 = 0;
rauch3 = 0;
} else if (Key.isDown(40)) {
rauch2 = 0;
rauch4 = 0;
}
}
d = d + 1;
dreh = dreh - (((key3 * de) * dbig) / 40);
}
if (Key.isDown(39)) {
key4 = (key4 + 1) / 2;
if (!Key.isDown(37)) {
rauch1 = 1;
rauch4 = 1;
if (Key.isDown(38)) {
rauch2 = 0;
rauch4 = 0;
} else if (Key.isDown(40)) {
rauch3 = 0;
rauch1 = 0;
}
}
d = d - 1;
dreh = dreh + (((key4 * de) * dbig) / 40);
}
k._xscale = 100;
k._yscale = k._xscale;
_rotation = (_rotation + dreh);
dreh = dreh * 0.9;
d = 1 - Math.abs(d / 2);
xbew = xbew + ((Math.sind(_rotation) * geschwin) * d);
ybew = ybew - ((Math.cosd(_rotation) * geschwin) * d);
ybew = ybew * 0.99;
xbew = xbew * 0.99;
ybew = ybew + mas;
_x = (_x + xbew);
_y = (_y + ybew);
ay = _y;
speed = Math.sqrt((ybew * ybew) + (xbew * xbew));
if ((_y + (_height / 2)) > _root.a.B0._y) {
_root.a.laserout = false;
if (speed > 10) {
h = h + ((speed - 10) / 2);
}
_y = (_root.a.B0._y - (_height / 2));
ybew = ybew * -0.5;
dreh = dreh + xbew;
xbew = xbew * 0.7;
if ((_rotation < 65) && (_rotation > -65)) {
roz = 0;
} else if ((_rotation > 25) && (_rotation < 115)) {
roz = 90;
} else if ((_rotation < -25) && (_rotation > -115)) {
roz = -90;
} else if (_rotation > 115) {
roz = 180;
} else if (_rotation < -115) {
roz = -180;
}
uzu = (_rotation - roz) / 4;
if (uzu < 0) {
dreh = dreh + Math.min(Math.abs(uzu), 30);
} else {
dreh = dreh - Math.min(Math.abs(uzu), 30);
}
} else {
_root.a.laserout = true;
}
speed = Math.sqrt((ybew * ybew) + (xbew * xbew));
tellTarget (_root.a.Rauch) {
RZ = _root.a.auto.dbig / 60;
if (_root.a.auto.rauch1 == 1) {
_root.a.erk = 0;
while (_root.a.erk <= RZ) {
z = _root.a.erk / RZ;
S._y = ((((_root.a.auto._y - (_root.a.auto.ybew * z)) + random(5)) - 2.5) + (_root.a.auto.d1._x * Math.sind(_root.a.auto._rotation - (_root.a.auto.dreh * z)))) + ((_root.a.auto.dbig / 4) * Math.cosd((-_root.a.auto._rotation) + (_root.a.auto.dreh * z)));
S._x = ((((_root.a.auto._x - (_root.a.auto.xbew * z)) + random(5)) - 2.5) + (_root.a.auto.d1._x * Math.cosd(_root.a.auto._rotation - (_root.a.auto.dreh * z)))) + ((_root.a.auto.dbig / 4) * Math.sind((-_root.a.auto._rotation) + (_root.a.auto.dreh * z)));
S._alpha = _root.a.alpha;
S._height = ((Math.random() + 20) / 80) * _root.a.auto.dbig;
S._width = S._height;
S.xbew = Math.sind(_root.a.auto._rotation - (_root.a.auto.dreh * z)) * _root.a.dspeed;
S.ybew = (-Math.cosd(_root.a.auto._rotation - (_root.a.auto.dreh * z))) * _root.a.dspeed;
S._x = S._x - (S.xbew * z);
S._y = S._y - (S.ybew * z);
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
ybew = _root.a.Rauch.S.ybew;
xbew = _root.a.Rauch.S.xbew;
verblass = _root.a.verb;
if (_root.a.auto.vers > 0) {
xbew = xbew * 0.25;
ybew = ybew * 0.25;
gotoAndStop (2);
rak = 23;
}
};
_root.a.erk++;
}
}
if (_root.a.auto.rauch2 == 1) {
_root.a.erk = 0;
while (_root.a.erk <= RZ) {
z = _root.a.erk / RZ;
S._y = ((((_root.a.auto._y - (_root.a.auto.ybew * z)) + random(5)) - 2.5) - (_root.a.auto.d1._x * Math.sind(_root.a.auto._rotation - (_root.a.auto.dreh * z)))) + ((_root.a.auto.dbig / 4) * Math.cosd((-_root.a.auto._rotation) + (_root.a.auto.dreh * z)));
S._x = ((((_root.a.auto._x - (_root.a.auto.xbew * z)) + random(5)) - 2.5) - (_root.a.auto.d1._x * Math.cosd(_root.a.auto._rotation - (_root.a.auto.dreh * z)))) + ((_root.a.auto.dbig / 4) * Math.sind((-_root.a.auto._rotation) + (_root.a.auto.dreh * z)));
S._alpha = _root.a.alpha;
S._height = ((Math.random() + 20) / 80) * _root.a.auto.dbig;
S._width = S._height;
S.xbew = Math.sind(_root.a.auto._rotation - (_root.a.auto.dreh * z)) * _root.a.dspeed;
S.ybew = (-Math.cosd(_root.a.auto._rotation - (_root.a.auto.dreh * z))) * _root.a.dspeed;
S._x = S._x - (S.xbew * z);
S._y = S._y - (S.ybew * z);
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
ybew = _root.a.Rauch.S.ybew;
xbew = _root.a.Rauch.S.xbew;
verblass = _root.a.verb;
if (_root.a.auto.vers > 0) {
xbew = xbew * 0.25;
ybew = ybew * 0.25;
gotoAndStop (2);
rak = 23;
}
};
_root.a.erk++;
}
}
if (_root.a.auto.rauch3 == 1) {
_root.a.erk = 0;
while (_root.a.erk <= RZ) {
z = _root.a.erk / RZ;
S._y = ((((_root.a.auto._y - (_root.a.auto.ybew * z)) + random(5)) - 2.5) + (_root.a.auto.d1._x * Math.sind(_root.a.auto._rotation - (_root.a.auto.dreh * z)))) - ((_root.a.auto.dbig / 4) * Math.cosd((-_root.a.auto._rotation) + (_root.a.auto.dreh * z)));
S._x = ((((_root.a.auto._x - (_root.a.auto.xbew * z)) + random(5)) - 2.5) + (_root.a.auto.d1._x * Math.cosd(_root.a.auto._rotation - (_root.a.auto.dreh * z)))) - ((_root.a.auto.dbig / 4) * Math.sind((-_root.a.auto._rotation) + (_root.a.auto.dreh * z)));
S._alpha = _root.a.alpha;
S._height = ((Math.random() + 20) / 80) * _root.a.auto.dbig;
S._width = S._height;
S.xbew = (-Math.sind(_root.a.auto._rotation - (_root.a.auto.dreh * z))) * _root.a.dspeed;
S.ybew = Math.cosd(_root.a.auto._rotation - (_root.a.auto.dreh * z)) * _root.a.dspeed;
S._x = S._x - (S.xbew * z);
S._y = S._y - (S.ybew * z);
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
ybew = _root.a.Rauch.S.ybew;
xbew = _root.a.Rauch.S.xbew;
verblass = _root.a.verb;
if (_root.a.auto.vers > 0) {
xbew = xbew * 0.25;
ybew = ybew * 0.25;
gotoAndStop (2);
rak = 23;
}
};
_root.a.erk++;
}
}
if (_root.a.auto.rauch4 == 1) {
_root.a.erk = 0;
while (_root.a.erk <= RZ) {
z = _root.a.erk / RZ;
S._y = ((((_root.a.auto._y - (_root.a.auto.ybew * z)) + random(5)) - 2.5) - (_root.a.auto.d1._x * Math.sind(_root.a.auto._rotation - (_root.a.auto.dreh * z)))) - ((_root.a.auto.dbig / 4) * Math.cosd((-_root.a.auto._rotation) + (_root.a.auto.dreh * z)));
S._x = ((((_root.a.auto._x - (_root.a.auto.xbew * z)) + random(5)) - 2.5) - (_root.a.auto.d1._x * Math.cosd(_root.a.auto._rotation - (_root.a.auto.dreh * z)))) - ((_root.a.auto.dbig / 4) * Math.sind((-_root.a.auto._rotation) + (_root.a.auto.dreh * z)));
S._alpha = _root.a.alpha;
S._height = ((Math.random() + 20) / 80) * _root.a.auto.dbig;
S._width = S._height;
S.xbew = (-Math.sind(_root.a.auto._rotation - (_root.a.auto.dreh * z))) * _root.a.dspeed;
S.ybew = Math.cosd(_root.a.auto._rotation - (_root.a.auto.dreh * z)) * _root.a.dspeed;
S._x = S._x - (S.xbew * z);
S._y = S._y - (S.ybew * z);
i++;
duplicateMovieClip ("S", "S" + i, i);
tellTarget ("_root.a.Rauch.S" + i) {
ybew = _root.a.Rauch.S.ybew;
xbew = _root.a.Rauch.S.xbew;
verblass = _root.a.verb;
if (_root.a.auto.vers > 0) {
xbew = xbew * 0.25;
ybew = ybew * 0.25;
gotoAndStop (2);
rak = 23;
}
};
_root.a.erk++;
}
}
};
_root.a._x = 275 - ((_x * _root.a._xscale) / 100);
_root.a._y = 200 - ((_y * _root.a._yscale) / 100);
_root.a.k._y = _y;
_root.a.k._x = _x;
_root.a.k._rotation = _rotation;
}
if (kapor == 23) {
w = _width;
}
delete kapor;
}
Instance of Symbol 107 MovieClip "vers" in Symbol 220 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 185 MovieClip "gegner" in Symbol 220 MovieClip Frame 2
onClipEvent (enterFrame) {
Gra.swapDepths(1000000000);
h = Math.min(level.length - 1, _root.a.hard - 1);
while (e < zahl) {
lek = new Array();
erk = 2;
while (erk < level[h].length) {
lek[lek.length] = level[h][erk];
erk++;
}
e++;
pe = random(lek.length);
p = pos[lek[pe]];
while (((_root.repairs - 0.5) > (level[h][1] / 2)) && (p == "repair")) {
pe = random(lek.length);
p = pos[lek[pe]];
}
name = p + e;
bodenlaser._y = B0._y;
if (_root.a.laserout && (bla.length < level[h][1])) {
if (p != "inv") {
duplicateMovieClip (p, name, e);
} else {
duplicateMovieClip (p, name, e + 1000000001);
}
_root.a.gegner[name].zahl = e;
bla[bla.length] = name;
}
}
Zork = Zork + level[h][0];
if (Zork > ((100 / _root.a.hard) + (random(1000) / (1 + (_root.a.hard / 5))))) {
Zork = 0;
zahl = zahl + 1;
}
zap = bla.length;
b = new Array();
a = 0;
while (a < zap) {
b[a] = bla[a];
a++;
}
bla = new Array();
a = 0;
while (a < zap) {
er = b[a];
if ((_root.a.gegner[er].zahl * 3) != 0) {
bla[bla.length] = b[a];
}
a++;
}
if (bla.length < 1) {
Zop--;
if (Zop < 0) {
Zop = 2;
zahl++;
}
}
if (((_root.Anz.score * 1) > ((_root.a.older * 1) - 1)) && (_root.a.hard < level.length)) {
_root.zaop = 23;
_root.a.hard = _root.a.hard * 1;
_root.a.hard = _root.a.hard + 1;
_root.a.gotoAndStop(3);
}
}
onClipEvent (load) {
_root.a.older = 250;
nerz = 0;
while (nerz < _root.a.hard) {
_root.a.older = _root.a.older + ((250 * nerz) + ((10 * nerz) * nerz));
nerz++;
}
_root.kills = 0;
pos = new Array("bodenraketen", "raketenbatterie", "bodenlaser", "shield", "killer", "repair", "inv", "looser", "superkiller", "ufo", "superkiller2");
level = new Array();
level[level.length] = new Array(0.1, 1, 7, 7);
level[level.length] = new Array(1.5, 2, 7, 7);
level[level.length] = new Array(1, 2, 2, 2);
level[level.length] = new Array(1.5, 2, 2, 2);
level[level.length] = new Array(3, 7, 2, 2);
level[level.length] = new Array(1.5, 3, 0, 2);
level[level.length] = new Array(5, 4, 0, 0);
level[level.length] = new Array(9, 10, 2, 2);
level[level.length] = new Array(4, 2, 1, 1);
level[level.length] = new Array(1, 3, 1, 2, 5, 5);
level[level.length] = new Array(2, 4, 7, 2, 5, 5, 3);
level[level.length] = new Array(2.5, 5, 7, 2, 2, 2, 3, 5);
level[level.length] = new Array(3, 6, 7, 2, 2, 2, 3, 5, 7);
level[level.length] = new Array(4, 7, 1, 2, 2, 2, 3, 5, 6, 6, 2, 2, 7);
level[level.length] = new Array(4, 11, 1, 2, 2, 2, 3, 5, 6, 6, 2, 2, 7);
level[level.length] = new Array(0.1, 1, 4);
level[level.length] = new Array(0.2, 2, 4);
level[level.length] = new Array(1.5, 3, 4, 4, 4, 5);
level[level.length] = new Array(2, 4, 4, 4, 4, 4, 5, 3);
level[level.length] = new Array(2.5, 5, 4, 4, 5, 3, 6);
level[level.length] = new Array(2.7, 7, 4, 4, 5, 3, 6);
level[level.length] = new Array(3, 8, 4, 4, 5, 3, 6, 3);
level[level.length] = new Array(6.5, 10, 4, 4, 5, 3, 6, 3, 3);
level[level.length] = new Array(0.1, 1, 8, 8);
level[level.length] = new Array(0.5, 2, 4, 8);
level[level.length] = new Array(1.5, 3, 4, 8);
level[level.length] = new Array(2, 4, 4, 8);
level[level.length] = new Array(2.5, 6, 4, 8, 5, 3, 6);
level[level.length] = new Array(3, 7, 4, 8, 5, 3, 6);
level[level.length] = new Array(7, 10, 4, 8, 5, 3, 6);
level[level.length] = new Array(1, 1, 9);
level[level.length] = new Array(2, 2, 9);
level[level.length] = new Array(3, 3, 9);
level[level.length] = new Array(4, 4, 9);
level[level.length] = new Array(5, 5, 9);
level[level.length] = new Array(6, 6, 9);
level[level.length] = new Array(7, 7, 9);
level[level.length] = new Array(8, 8, 9);
level[level.length] = new Array(9, 9, 9);
level[level.length] = new Array(1, 1, 10);
level[level.length] = new Array(2, 2, 10, 9);
level[level.length] = new Array(3, 3, 10, 9);
level[level.length] = new Array(4, 4, 10, 9);
level[level.length] = new Array(5, 5, 10, 9);
level[level.length] = new Array(6, 6, 10, 9);
level[level.length] = new Array(7, 7, 10, 9);
level[level.length] = new Array(8, 8, 10, 9);
level[level.length] = new Array(9, 9, 10, 9);
level[level.length] = new Array(10, 10, 10, 9);
level[level.length] = new Array(11, 11, 10);
level[level.length] = new Array(11, 12, 10, 9);
bla = new Array();
e = 0;
zahl = 1;
Z = 90;
_root.a.hard = Math.max(1, _root.a.hard);
}
Instance of Symbol 188 MovieClip "B0" in Symbol 220 MovieClip Frame 2
onClipEvent (enterFrame) {
while ((_x + ((_root.a._x / _root.a._xscale) * 100)) < 230) {
_x = (_x + ((188.5 * _root.a.gegner.Gra._xscale) / 100));
}
while ((_x + ((_root.a._x / _root.a._xscale) * 100)) > 550) {
_x = (_x - ((188.5 * _root.a.gegner.Gra._xscale) / 100));
}
y = _y;
x = _x;
}
Symbol 220 MovieClip Frame 3
zep.lev = "Level " + _root.a.hard;
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
e1 = _root.health;
e2 = _root.dbig;
e3 = _root.laserbig;
e4 = _root.bombs;
_root.a.older = 250;
nerz = 0;
while (nerz < _root.a.hard) {
_root.a.older = _root.a.older + ((250 * nerz) + ((10 * nerz) * nerz));
nerz++;
}
stopAllSounds();
Instance of Symbol 209 MovieClip "zep" in Symbol 220 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.a.r2 = 250;
_root.a.r1 = 250 + ((_root.health - 100) * 5);
_root.a.r3 = 250 + ((_root.laserbig - 100) * 10);
}
onClipEvent (load) {
if (_root.zaop == 23) {
so = SharedObject.getLocal("Komix_likes_data");
so.data.level = _root.a.hard;
so.data.schild = _root.health;
so.data.db = _root.dbig;
so.data.laser = _root.laserbig;
so.data.auf = _root.aufs;
so.data.geld = _root.a.Geld;
so.data.bombs = _root.bombs;
so.data.maxscore = _root.a.maxscore;
so.flush;
} else if (_root.zaop == 24) {
so = SharedObject.getLocal("Komix_likes_data");
so.data.maxscore = _root.a.maxscore;
so.flush();
}
}
Symbol 223 Button
on (release) {
getURL ("http://www.komix.at.tf", "_blank");
}
Symbol 231 Button
on (press) {
e = 1;
}
on (release) {
e = 0;
}
Symbol 234 Button
on (press) {
e = -1;
}
on (release) {
e = 0;
}
Instance of Symbol 66 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!narf) {
if (_currentframe < 14) {
gotoAndStop(_currentframe + 1);
} else {
narf = true;
}
} else if (_currentframe > 1) {
gotoAndStop(_currentframe - 1);
} else {
narf = false;
}
}
Instance of Symbol 235 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
if (e != 0) {
_root.a.sap = _root.a.sap + (5 * e);
}
}