Frame 2
ifFrameLoaded (12) {
gotoAndPlay (5);
}
Frame 4
gotoAndPlay (2);
Frame 5
flash4 = true;
if (Number(flash4) == Number(true)) {
gotoAndPlay (11);
} else {
gotoAndStop (10);
}
Frame 9
stop();
Frame 10
stop();
Frame 12
fscommand ("allowscale", false);
setProperty("/follow1", _visible , false);
setProperty("/follow2", _visible , false);
setProperty("/follow3", _visible , false);
setProperty("/follow4", _visible , false);
setProperty("/follow5", _visible , false);
setProperty("/follow6", _visible , false);
setProperty("/follow7", _visible , false);
Frame 13
if (Number(_framesloaded) >= Number(_totalframes)) {
if (Number(once) == 0) {
tellTarget ("/loaderinit") {
play();
};
once = 1;
}
} else {
setProperty("/loader", _xscale , (_framesloaded / _totalframes) * 100);
}
loadedpercent = (_framesloaded * 100) / _totalframes;
if (Number(loadedpercent) < 10) {
loadedpercent = 0;
}
if (Number(loadedpercent) > 99) {
setProperty("/loader", _xscale , (_framesloaded / _totalframes) * 100);
loadedpercent = 99;
}
play();
Set("mausX" add x, getProperty("/drag", _x));
Set("mausY" add x, getProperty("/drag", _y));
mausX = "mausX" add x;
mausY = "mausY" add x;
if (Number(y) == 14) {
setProperty("/follow1", _visible , true);
setProperty("/follow2", _visible , true);
setProperty("/follow3", _visible , true);
setProperty("/follow4", _visible , true);
setProperty("/follow5", _visible , true);
setProperty("/follow6", _visible , true);
setProperty("/follow7", _visible , true);
y = 15;
}
Frame 14
test1 = eval (mausX);
test2 = eval (mausY);
mausX_1 = "mausX" add (x - 3);
mausY_1 = "mausY" add (x - 3);
setProperty("/follow1", _x , Number(eval (mausX_1)) + 35);
setProperty("/follow1", _y , Number(eval (mausY_1)) + 15);
test3 = eval (mausX_1);
test4 = eval (mausY_1);
if (((Number(test1) == Number(test3)) and (Number(test2) == Number(test4))) and (Number(once2) == 1)) {
tellTarget ("/follow1") {
play();
};
once1 = 0;
}
if ((Number(test1) != Number(test3)) or (Number(test2) != Number(test4))) {
once1 = 1;
}
mausX_2 = "mausX" add (x - 5);
mausY_2 = "mausY" add (x - 5);
setProperty("/follow2", _x , Number(eval (mausX_2)) + 45);
setProperty("/follow2", _y , Number(eval (mausY_2)) + 15);
test3 = eval (mausX_2);
test4 = eval (mausY_2);
if (((Number(test1) == Number(test3)) and (Number(test2) == Number(test4))) and (Number(once2) == 1)) {
tellTarget ("/follow2") {
play();
};
once2 = 0;
}
if ((Number(test1) != Number(test3)) or (Number(test2) != Number(test4))) {
once2 = 1;
}
mausX_3 = "mausX" add (x - 7);
mausY_3 = "mausY" add (x - 7);
setProperty("/follow3", _x , Number(eval (mausX_3)) + 60);
setProperty("/follow3", _y , Number(eval (mausY_3)) + 15);
test3 = eval (mausX_3);
test4 = eval (mausY_3);
if (((Number(test1) == Number(test3)) and (Number(test2) == Number(test4))) and (Number(once3) == 1)) {
tellTarget ("/follow3") {
play();
};
once3 = 0;
}
if ((Number(test1) != Number(test3)) or (Number(test2) != Number(test4))) {
once3 = 1;
}
mausX_4 = "mausX" add (x - 9);
mausY_4 = "mausY" add (x - 9);
setProperty("/follow4", _x , Number(eval (mausX_4)) + 75);
setProperty("/follow4", _y , Number(eval (mausY_4)) + 15);
test3 = eval (mausX_4);
test4 = eval (mausY_4);
if (((Number(test1) == Number(test3)) and (Number(test2) == Number(test4))) and (Number(once4) == 1)) {
tellTarget ("/follow4") {
play();
};
once4 = 0;
}
if ((Number(test1) != Number(test3)) or (Number(test2) != Number(test4))) {
once4 = 1;
}
mausX_5 = "mausX" add (x - 11);
mausY_5 = "mausY" add (x - 11);
setProperty("/follow5", _x , Number(eval (mausX_5)) + 90);
setProperty("/follow5", _y , Number(eval (mausY_5)) + 15);
test3 = eval (mausX_5);
test4 = eval (mausY_5);
if (((Number(test1) == Number(test3)) and (Number(test2) == Number(test4))) and (Number(once5) == 1)) {
tellTarget ("/follow5") {
play();
};
once5 = 0;
}
if ((Number(test1) != Number(test3)) or (Number(test2) != Number(test4))) {
once5 = 1;
}
mausX_6 = "mausX" add (x - 13);
mausY_6 = "mausY" add (x - 13);
setProperty("/follow6", _x , Number(eval (mausX_6)) + 98);
setProperty("/follow6", _y , Number(eval (mausY_6)) + 15);
test3 = eval (mausX_6);
test4 = eval (mausY_6);
if (((Number(test1) == Number(test3)) and (Number(test2) == Number(test4))) and (Number(once6) == 1)) {
tellTarget ("/follow6") {
play();
};
once6 = 0;
}
if ((Number(test1) != Number(test3)) or (Number(test2) != Number(test4))) {
once6 = 1;
}
mausX_7 = "mausX" add (x - 15);
mausY_7 = "mausY" add (x - 15);
setProperty("/follow7", _x , Number(eval (mausX_7)) + 112);
setProperty("/follow7", _y , Number(eval (mausY_7)) + 15);
test3 = eval (mausX_7);
test4 = eval (mausY_7);
if (((Number(test1) == Number(test3)) and (Number(test2) == Number(test4))) and (Number(once7) == 1)) {
tellTarget ("/follow7") {
play();
};
once7 = 0;
}
if ((Number(test1) != Number(test3)) or (Number(test2) != Number(test4))) {
once7 = 1;
}
x = Number(x) + 1;
if (Number(y) < 15) {
y = Number(y) + 1;
}
test1 = eval (mausX);
test2 = eval (mausY);
test3 = eval (mausX_5);
test4 = eval (mausY_5);
if ((Number(test1) == Number(test3)) and (Number(test2) == Number(test4))) {
z = 0;
while (Number(z) < 15) {
Set("mausX" add z, eval (mausX));
Set("mausY" add z, eval (mausY));
z = Number(z) + 1;
}
x = 15;
}
prevFrame();
Frame 21
x = 0;
y = 0;
Frame 22
stage.showMenu = false;
_root.score = 0;
fscommand ("allowscale", false);
play();
time1 = getTimer();
Frame 115
tellTarget ("/music") {
gotoAndStop ("sound1");
};
Frame 185
tellTarget ("/explosion") {
gotoAndStop (6);
};
tellTarget ("/alien1") {
gotoAndStop (15);
};
tellTarget ("/alien2") {
gotoAndStop (15);
};
tellTarget ("/alien3") {
gotoAndStop (15);
};
Frame 213
time2 = getTimer();
time1 = int((time2 - time1) / 60);
if (Number(time1) < 200) {
system = "fast system detected";
tooslow = 0;
}
if ((Number(time1) > 200) and (Number(time1) < 260)) {
system = "moderate system detected";
tooslow = 0;
}
if ((Number(time1) > 260) and (Number(time1) < 350)) {
system = "slow system detected";
tooslow = 1;
}
if (Number(time1) > 350) {
system = "very slow system detected";
tooslow = 1;
}
Frame 214
tellTarget ("/explosion") {
gotoAndStop (6);
};
tellTarget ("/alien1") {
gotoAndStop (15);
};
tellTarget ("/alien2") {
gotoAndStop (15);
};
tellTarget ("/alien3") {
gotoAndStop (15);
};
Frame 234
stop();
Frame 237
fscommand ("allowscale", "false");
Frame 238
loadVariablesNum ("http://www.polymip.net/cgi-bin/highscore.cgi", 0);
Frame 261
stop();
Frame 262
fscommand ("allowscale", "false");
Frame 289
stop();
Frame 290
fscommand ("allowscale", "false");
Frame 319
stop();
Frame 320
duplicateMovieClip ("/mask", "outermask", 1000);
if (Number(tooslow) == 1) {
setProperty("/tooslow", _alpha , 100);
}
powerup = 1000;
alien._visible = false;
tellTarget ("/alien") {
stop();
};
x = 50;
tellTarget ("/drop") {
stop();
};
stopAllSounds();
if (Number(soundoff) == 0) {
tellTarget ("/music") {
gotoAndStop ("sound2");
};
}
n = Number(n) + 1;
shotnum = "shot" add n;
duplicateMovieClip ("/shot", shotnum, n);
setProperty(shotnum, _x , getProperty("/schiff", _x));
setProperty("shotnum", _y , getProperty("/schiff", _y));
fscommand ("allowscale", false);
n = 100;
wave = 1;
subwave = 1;
bombstart = 200;
x_level_set = 4;
x_level = 12;
y_level_set = 1;
y_level = 2;
fire_set = 400;
fire_level = 900;
treffer = 0;
how_many = 3;
level = 1;
destroyed = 0;
Frame 325
stop();
Frame 331
play();
Frame 335
y = Number(y) + 1;
zahler = n;
aliennum = "alien" add y;
duplicateMovieClip ("/alien", aliennum, y);
finished = Number(finished) + 1;
Set("schiff:destroyed", destroyed);
Frame 337
powerup = powerup - random(50);
trace(powerup);
if (Number(powerup) < 0) {
powerup = 800 + Number(random(400));
duplicateMovieClip ("/powerup", "powerup1", 200);
setProperty("/powerup1", _x , Number(random(250)) + 20);
setProperty("/powerup1", _y , -20);
tellTarget ("/powerup1") {
gotoAndPlay (1);
};
}
Frame 340
if (Number(finished) < Number(how_many)) {
gotoAndPlay (331);
}
Frame 341
if (Number(Number(temptreffer) + Number(weg)) == Number(/amount:amount - 1)) {
gotoAndPlay (355);
}
test = Number(temptreffer) + Number(weg / 2);
amount = /amount:amount - 1;
play();
Frame 354
gotoAndPlay (341);
Frame 355
if (Number(subwave) == 3) {
wave = Number(wave) + 1;
how_many = Number(how_many) + 1;
subwave = 1;
}
subwave = Number(subwave) + 1;
Frame 361
if (Number(wave) == 4) {
level = Number(level) + 1;
wave = 1;
bombstart = Number(bombstart) + 50;
x_level_set = Number(x_level_set) + 1;
x_level = Number(x_level) + 2.5;
y_level_set = Number(y_level_set) + 0.5;
y_level = Number(y_level) + 1;
if (Number(fire_set) > 75) {
fire_set = fire_set - 75;
}
if (Number(fire_level) > 50) {
fire_level = fire_level - 50;
}
how_many = 4;
Set(/levelani:level, level);
tellTarget ("/levelani") {
play();
};
stop();
}
Frame 374
tellTarget ("/amount") {
amount = 1;
n = 0;
};
n = 100;
y = 0;
finished = 0;
weg = 0;
temptreffer = 0;
gotoAndPlay (331);
Frame 444
play();
stopAllSounds();
if (Number(soundoff) == 0) {
tellTarget ("/music") {
gotoAndStop ("sound1");
};
}
num = 1;
rank = "99";
while (Number(num) < 10) {
if (treffer > eval ("score" add num)) {
rank = num;
trace(eval ("score" add num));
trace(num);
trace(rank);
num = 99;
}
num = Number(num) + 1;
}
v = 0;
while (Number(v) < 50) {
removeMovieClip("alien" add v);
removeMovieClip("drop" add v);
v = Number(v) + 1;
}
Mouse.show();
Frame 522
tellTarget ("/amount") {
amount = 1;
n = 0;
};
n = 100;
y = 0;
finished = 0;
weg = 0;
temptreffer = 0;
if (Number(tooslow) == 1) {
gotoAndPlay (214);
} else {
gotoAndPlay (523);
}
Frame 523
stop();
Set("submitscore:treffer", treffer);
Frame 531
duplicateMovieClip ("/mask", "outermask", 1000);
powerup = 1000;
play();
alien._visible = false;
tellTarget ("/alien") {
stop();
};
x = 50;
tellTarget ("/drop") {
stop();
};
stopAllSounds();
if (Number(soundoff) == 0) {
tellTarget ("/music") {
gotoAndStop ("sound2");
};
}
n = Number(n) + 1;
Set("/steuerung:destroyed", 0);
shotnum = "shot" add n;
duplicateMovieClip ("/shot", shotnum, n);
setProperty(shotnum, _x , getProperty("/schiff", _x));
setProperty("shotnum", _y , getProperty("/schiff", _y));
fscommand ("allowscale", false);
n = 100;
wave = 1;
subwave = 1;
bombstart = 200;
x_level_set = 4;
x_level = 12;
y_level_set = 1;
y_level = 2;
fire_set = 400;
fire_level = 900;
treffer = 0;
how_many = 3;
level = 1;
destroyed = 0;
Frame 542
play();
Frame 546
y = Number(y) + 1;
zahler = n;
aliennum = "alien" add y;
Set("/steuerung:alienson", 1);
duplicateMovieClip ("/alien", aliennum, y);
finished = Number(finished) + 1;
Set("schiff:destroyed", destroyed);
Frame 548
powerup = powerup - random(50);
if (Number(powerup) < 0) {
powerup = 800 + Number(random(400));
duplicateMovieClip ("/powerup", "powerup1", 200);
setProperty("/powerup1", _x , Number(random(250)) + 20);
setProperty("/powerup1", _y , -20);
tellTarget ("/powerup1") {
gotoAndPlay (1);
};
}
Frame 551
if (Number(finished) < Number(how_many)) {
gotoAndPlay (542);
}
Frame 552
if (Number(Number(temptreffer) + Number(weg)) == Number(/amount:amount - 1)) {
Set("/steuerung:alienson", 0);
gotoAndPlay (566);
}
test = Number(temptreffer) + Number(weg / 2);
amount = /amount:amount - 1;
play();
Frame 565
gotoAndPlay (552);
Frame 566
if (Number(subwave) == 3) {
wave = Number(wave) + 1;
how_many = Number(how_many) + 1;
subwave = 1;
}
subwave = Number(subwave) + 1;
Frame 572
if (Number(wave) == 4) {
level = Number(level) + 1;
wave = 1;
bombstart = Number(bombstart) + 50;
x_level_set = Number(x_level_set) + 1;
x_level = Number(x_level) + 2.5;
y_level_set = Number(y_level_set) + 0.5;
y_level = Number(y_level) + 1;
if (Number(fire_set) > 75) {
fire_set = fire_set - 75;
}
if (Number(fire_level) > 50) {
fire_level = fire_level - 50;
}
how_many = 4;
Set(/levelani:level, level);
tellTarget ("/levelani") {
play();
};
stop();
}
Frame 585
tellTarget ("/amount") {
amount = 1;
n = 0;
};
n = 100;
y = 0;
finished = 0;
weg = 0;
temptreffer = 0;
gotoAndPlay (542);
Frame 655
play();
stopAllSounds();
if (Number(soundoff) == 0) {
tellTarget ("/music") {
gotoAndStop ("sound1");
};
}
num = 1;
rank = 99;
treffer = 0;
v = 0;
while (Number(v) < 100) {
removeMovieClip("alien" add v);
removeMovieClip("drop" add v);
v = Number(v) + 1;
}
Frame 733
tellTarget ("/amount") {
amount = 1;
n = 0;
};
n = 100;
y = 0;
finished = 0;
weg = 0;
temptreffer = 0;
gotoAndPlay (214);
Symbol 12 Button
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash", "_blank");
}
Symbol 13 MovieClip Frame 1
if (_root.sessionstarted != 1) {
_root.arcade = new LoadVars();
_root.sessionvars = new LoadVars();
_root.arcade.gamename = "alienattack";
_root.arcade.sessdo = "sessionstart";
_root.arcade.sendAndLoad("arcade.php", _root.sessionvars, "POST");
_root.sessionstarted = 1;
}
if (_root.gameover == 1) {
if ((_root.askpermission != 1) && (_root.sessionvars.connStatus == 1)) {
_root.prequestvars = new LoadVars();
_root.pranswer = new LoadVars();
_root.prequestvars.gametime = _root.sessionvars.gametime;
_root.prequestvars.fakekey = _root.sessionvars.initbar;
if (_root.score == 0) {
_root.prequestvars.score = -1;
} else {
_root.prequestvars.score = _root.score;
}
_root.prequestvars.id = _root.sessionvars.lastid;
_root.prequestvars.sessdo = "permrequest";
_root.prequestvars.note = (_root.prequestvars.id * _root.prequestvars.score) * _root.prequestvars.fakekey;
_root.prequestvars.sendAndLoad("./arcade.php", _root.pranswer, "POST");
_root.askpermission = 1;
}
if ((_root.pranswer.validate == 1) && (_root.finalsent != 1)) {
_root.burnscore = new LoadVars();
_root.burnscore.microone = _root.pranswer.microone;
_root.burnscore.gametime = _root.prequestvars.gametime;
_root.burnscore.id = _root.prequestvars.id;
if (_root.score == 0) {
_root.burnscore.noscore = 1;
}
_root.burnscore.sessdo = "burn";
_root.burnscore.send("./arcade.php", "_self", "POST");
_root.finalsent = 1;
}
}
Symbol 24 MovieClip Frame 50
gotoAndPlay (30);
Symbol 25 Button
on (rollOver) {
startDrag ("/drag", true, 0, 0, 400, 295);
play();
}
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
x = getProperty("/drag", _x);
y = getProperty("/drag", _y);
Symbol 26 MovieClip Frame 3
gotoAndPlay (2);
Symbol 28 Button
on (press) {
tellTarget ("..") {
gotoAndPlay ("start");
};
play();
}
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 14
gotoAndStop (1);
Symbol 29 MovieClip Frame 17
stop();
Symbol 29 MovieClip Frame 30
gotoAndStop (17);
Symbol 31 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 30
tellTarget ("../follow1") {
gotoAndStop (17);
};
tellTarget ("../enter") {
play();
};
stop();
Symbol 72 MovieClip Frame 30
stop();
Symbol 75 MovieClip Frame 25
stop();
Symbol 81 MovieClip Frame 16
stop();
Symbol 84 MovieClip Frame 15
stop();
Symbol 86 MovieClip Frame 11
stop();
Symbol 96 MovieClip Frame 18
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 15
gotoAndStop (1);
Symbol 99 MovieClip Frame 20
stop();
Symbol 103 MovieClip Frame 12
stop();
Symbol 111 Button
on (rollOver) {
tellTarget ("/over2") {
play();
};
tellTarget ("/sucher") {
play();
};
}
on (press) {
gotoAndPlay (262);
}
Symbol 113 MovieClip Frame 25
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
tellTarget ("1") {
play();
};
Symbol 114 MovieClip Frame 6
tellTarget ("2") {
play();
};
Symbol 114 MovieClip Frame 10
tellTarget ("3") {
play();
};
Symbol 114 MovieClip Frame 14
tellTarget ("4") {
play();
};
stop();
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 117 Button
on (rollOver) {
tellTarget ("/over4") {
play();
};
tellTarget ("/sucher") {
play();
};
}
on (press) {
gotoAndPlay (290);
}
Symbol 119 Button
on (rollOver) {
tellTarget ("/over6") {
play();
};
tellTarget ("/sucher") {
play();
};
}
on (press) {
if (Number(soundoff) == 1) {
tellTarget ("/music") {
gotoAndStop ("sound1");
};
soundoff = "0";
}
if (Number(soundoff) == 0) {
stopAllSounds();
soundoff = "1";
tellTarget ("/music") {
gotoAndStop (1);
};
}
}
Symbol 120 Button
on (rollOver) {
tellTarget ("/over1") {
play();
};
tellTarget ("/sucher") {
play();
};
}
on (press) {
gotoAndPlay (320);
}
Symbol 122 Button
on (rollOver) {
tellTarget ("/over6") {
play();
};
tellTarget ("/sucher") {
play();
};
}
on (press) {
gotoAndPlay (531);
}
Symbol 125 Button
on (rollOver) {
tellTarget ("/over3") {
play();
};
tellTarget ("/sucher") {
play();
};
}
on (press) {
gotoAndPlay (262);
}
Symbol 128 Button
on (rollOver) {
tellTarget ("/over5") {
play();
};
tellTarget ("/sucher") {
play();
};
}
on (press) {
if (Number(soundoff) == 1) {
tellTarget ("/music") {
gotoAndPlay ("sound1");
};
soundoff = "0";
} else if (Number(soundoff) == 0) {
stopAllSounds();
soundoff = "1";
tellTarget ("/music") {
gotoAndStop (1);
};
}
}
Symbol 130 Button
on (rollOver) {
tellTarget ("/over2") {
play();
};
tellTarget ("/sucher") {
play();
};
}
on (press) {
gotoAndPlay (531);
}
Symbol 174 Button
on (rollOver) {
tellTarget ("/sucher") {
play();
};
}
on (press) {
gotoAndPlay (214);
}
Symbol 188 MovieClip Frame 50
stop();
Symbol 189 Button
on (press) {
Mouse.hide();
startDrag ("/schiff", true, 376, 48, 30, 280);
tellTarget ("..") {
play();
};
gotoAndStop (2);
}
Symbol 190 Button
on (press) {
tellTarget ("../shotsound") {
gotoAndStop (2);
};
tellTarget ("..") {
n = Number(n) + 1;
shotnum = "shot" add n;
duplicateMovieClip ("/shot", shotnum, Number(n) + 100);
setProperty(shotnum, _x , getProperty("/schiff", _x));
setProperty(shotnum, _y , getProperty("/schiff", _y) - 20);
};
tellTarget ("../amount") {
n = Number(n) + 1;
};
play();
}
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
stop();
if (Number(destroyed) != 0) {
tellTarget ("..") {
gotoAndStop ("gameover");
};
gotoAndStop (7);
}
Symbol 191 MovieClip Frame 6
gotoAndStop (2);
Symbol 191 MovieClip Frame 7
play();
destroyed = 1;
tellTarget ("..") {
destroyed = 1;
};
stopDrag();
play();
play();
Symbol 191 MovieClip Frame 65
tellTarget ("..") {
gotoAndStop ("gameover");
};
stop();
Symbol 191 MovieClip Frame 66
tellTarget ("..") {
gotoAndStop ("gameover");
};
stop();
Symbol 191 MovieClip Frame 67
stop();
tellTarget ("..") {
gotoAndStop ("gameover");
};
Symbol 191 MovieClip Frame 68
tellTarget ("..") {
gotoAndStop ("gameover");
};
stop();
Symbol 191 MovieClip Frame 69
stop();
tellTarget ("..") {
gotoAndStop ("gameover");
};
Symbol 191 MovieClip Frame 70
stop();
tellTarget ("..") {
gotoAndStop ("gameover");
};
Symbol 191 MovieClip Frame 71
tellTarget ("..") {
gotoAndStop ("gameover");
};
stop();
Symbol 191 MovieClip Frame 72
stop();
tellTarget ("..") {
gotoAndStop ("gameover");
};
Symbol 191 MovieClip Frame 73
tellTarget ("..") {
gotoAndStop ("gameover");
};
stop();
Symbol 191 MovieClip Frame 74
stop();
tellTarget ("..") {
gotoAndStop ("gameover");
};
Symbol 191 MovieClip Frame 75
tellTarget ("..") {
gotoAndStop ("gameover");
};
stop();
Symbol 191 MovieClip Frame 76
stop();
tellTarget ("..") {
gotoAndStop ("gameover");
};
Symbol 191 MovieClip Frame 77
tellTarget ("..") {
gotoAndStop ("gameover");
};
gotoAndStop (60);
Symbol 197 MovieClip Frame 1
stop();
level = 1;
Symbol 197 MovieClip Frame 79
tellTarget ("..") {
play();
};
level = Number(level) + 1;
gotoAndStop (2);
Symbol 199 MovieClip Frame 1
yStep = -30;
Symbol 199 MovieClip Frame 2
_y = (Number(_y) + Number(yStep));
zahler = 1;
missileX = _x;
missileY = _y;
while (Number(zahler) < Number(Number(amount) + 1)) {
hittest = "/alien" add zahler;
alienY = getProperty(hittest, _y);
alienX = getProperty(hittest, _x);
if ((((Number(missileX) > Number(alienX - 40)) and (Number(missileX) < Number(Number(alienX) + 40))) and (Number(missileY) > Number(alienY - 30))) and (Number(missileY) < Number(Number(alienY) + 5))) {
tellTarget (".." add hittest) {
shot = true;
gotoAndStop (10);
};
removeMovieClip("");
}
zahler = Number(zahler) + 1;
}
Symbol 199 MovieClip Frame 3
gotoAndPlay (2);
if (Number(_y) <= 0) {
removeMovieClip("");
}
Symbol 200 MovieClip Frame 1
if (_parent.shot == true) {
_root.treffer = _root.treffer + 1;
} else {
_root.treffer = _root.treffer + 10;
}
_root.temptreffer = _root.temptreffer + 1;
Symbol 200 MovieClip Frame 24
tellTarget ("..") {
removeMovieClip("");
};
Symbol 201 MovieClip Frame 1
x_level_set = _level0:x_level_set;
x_level = _level0:x_level;
y_level_set = _level0:y_level_set;
y_level = _level0:y_level;
fire_set = _level0:fire_set;
fire_level = _level0:fire_level;
bombstart = _level0:bombstart;
while (Number(xStep) < Number(x_level_set)) {
xStep = random(x_level);
}
while (Number(yStep) < Number(y_level_set)) {
yStep = random(y_level);
}
bombdrop = bombstart;
while (Number(firenow) < Number(fire_set)) {
firenow = random(fire_level);
}
tellTarget ("../amount") {
amount = Number(amount) + 1;
};
direction = random(10);
if (Number(direction) < 5) {
_x = 450;
_y = random(100);
if (Number(random(100)) < 30) {
_x = random(300);
_y = -30;
yStep = Number(yStep) + 5;
}
gotoAndPlay (6);
} else {
_x = -30;
_y = random(100);
if (Number(random(100)) < 30) {
_x = random(300);
_y = -30;
yStep = Number(yStep) + 5;
}
}
Symbol 201 MovieClip Frame 3
_x = (Number(_x) + Number(xStep));
_y = (Number(_y) + Number(yStep));
name = _name;
bombdrop = Number(bombdrop) + Number(random(50));
Set("/id:name", name);
if (name eq "alien") {
stop();
}
if (Number(bombdrop) >= Number(firenow)) {
tellTarget ("../dropsound") {
gotoAndStop (2);
};
tellTarget ("..") {
x = Number(x) + 1;
name = /id:name;
dropnum = "drop" add x;
duplicateMovieClip ("/drop", dropnum, x);
setProperty(dropnum, _x , getProperty(name, _x));
setProperty(dropnum, _y , getProperty(name, _y));
};
bombdrop = 0;
}
shipX = getProperty("/schiff", _x);
shipY = getProperty("/schiff", _y);
selfX = _x;
selfY = _y;
if ((((Number(shipX) > Number(selfX - 40)) and (Number(shipX) < Number(Number(selfX) + 40))) and (Number(shipY) > Number(selfY - 40))) and (Number(shipY) < Number(Number(selfY) + 40))) {
tellTarget ("../shield") {
nextFrame();
};
gotoAndStop (10);
}
Symbol 201 MovieClip Frame 4
gotoAndPlay (3);
if (Number(direction) < 5) {
if (Number(_x) >= 450) {
Set("_level0:weg", Number(_level0:weg) + 1);
removeMovieClip("");
}
} else if (Number(_x) >= 310) {
gotoAndPlay (6);
}
if (Number(_y) >= 350) {
Set("_level0:weg", Number(_level0:weg) + 1);
removeMovieClip("");
}
Symbol 201 MovieClip Frame 6
_x = (_x - xStep);
_y = (Number(_y) + Number(yStep));
name = _name;
bombdrop = Number(bombdrop) + Number(random(50));
Set("/id:name", name);
if (name eq "alien") {
stop();
}
if (Number(bombdrop) >= Number(firenow)) {
tellTarget ("../dropsound") {
gotoAndStop (2);
};
tellTarget ("..") {
x = Number(x) + 1;
name = /id:name;
dropnum = "drop" add x;
duplicateMovieClip ("/drop", dropnum, x);
setProperty(dropnum, _x , getProperty(name, _x));
setProperty(dropnum, _y , getProperty(name, _y));
};
bombdrop = 0;
}
shipX = getProperty("/schiff", _x);
shipY = getProperty("/schiff", _y);
selfX = _x;
selfY = _y;
if ((((Number(shipX) > Number(selfX - 40)) and (Number(shipX) < Number(Number(selfX) + 40))) and (Number(shipY) > Number(selfY - 40))) and (Number(shipY) < Number(Number(selfY) + 40))) {
tellTarget ("../shield") {
nextFrame();
};
gotoAndStop (10);
}
Symbol 201 MovieClip Frame 7
gotoAndPlay (6);
if (Number(direction) < 5) {
if (Number(_x) <= 0) {
gotoAndPlay (3);
}
} else if (Number(_x) <= Number(-30)) {
removeMovieClip("");
Set("_level0:weg", Number(_level0:weg) + 1);
}
if (Number(_y) > 350) {
Set("_level0:weg", Number(_level0:weg) + 1);
removeMovieClip("");
}
Symbol 201 MovieClip Frame 10
tellTarget ("../explosionsound") {
gotoAndStop (2);
};
play();
Symbol 201 MovieClip Frame 15
newname = "debris";
_name = newname;
stop();
Symbol 202 MovieClip Frame 1
while (Number(yStep2) < 5) {
yStep2 = random(20);
}
Symbol 202 MovieClip Frame 2
_y = (Number(_y) + Number(yStep2));
shipX = getProperty("/schiff", _x);
shipY = getProperty("/schiff", _y);
dropX = _x;
dropY = _y;
if ((((Number(dropX) > Number(shipX - 30)) and (Number(dropX) < Number(Number(shipX) + 30))) and (Number(dropY) > Number(shipY - 30))) and (Number(dropY) < Number(Number(shipY) + 30))) {
tellTarget ("../shield") {
nextFrame();
};
removeMovieClip("");
}
Symbol 202 MovieClip Frame 3
gotoAndPlay (2);
if (Number(_y) > 300) {
removeMovieClip("");
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
gotoAndStop (1);
Symbol 205 MovieClip Frame 1
zahler = Number(n) + 100;
while (Number(zahler) >= 0) {
temp = "../shot" add zahler;
Set(temp add ":amount", amount);
zahler = zahler - 1;
}
Symbol 205 MovieClip Frame 2
zahler = n;
while (Number(zahler) >= 0) {
temp = "../shot" add zahler;
Set(temp add ":amount", amount);
zahler = zahler - 1;
}
gotoAndPlay (1);
Symbol 210 MovieClip Frame 20
stop();
Symbol 218 MovieClip Frame 2
play();
Symbol 218 MovieClip Frame 3
play();
Symbol 218 MovieClip Frame 4
stop();
Symbol 218 MovieClip Frame 5
stop();
Symbol 218 MovieClip Frame 6
stop();
Symbol 218 MovieClip Frame 7
stop();
Symbol 218 MovieClip Frame 8
stop();
tellTarget ("../schiff") {
gotoAndPlay ("destruction");
};
Symbol 218 MovieClip Frame 81
stop();
tellTarget ("../schiff") {
gotoAndPlay ("destruction");
};
Symbol 218 MovieClip Frame 82
stop();
Symbol 218 MovieClip Frame 83
stop();
Symbol 218 MovieClip Frame 84
stop();
Symbol 218 MovieClip Frame 85
stop();
Symbol 218 MovieClip Frame 86
stop();
Symbol 218 MovieClip Frame 87
stop();
Symbol 218 MovieClip Frame 88
stop();
Symbol 218 MovieClip Frame 89
stop();
Symbol 218 MovieClip Frame 90
stop();
Symbol 218 MovieClip Frame 91
stop();
Symbol 218 MovieClip Frame 92
stop();
Symbol 218 MovieClip Frame 93
stop();
Symbol 218 MovieClip Frame 94
stop();
Symbol 218 MovieClip Frame 95
stop();
Symbol 218 MovieClip Frame 96
stop();
Symbol 218 MovieClip Frame 97
stop();
Symbol 226 MovieClip Frame 1
while (Number(yStep2) < 10) {
yStep2 = random(30);
}
Symbol 226 MovieClip Frame 2
_y = (Number(_y) + Number(yStep2));
shipX = getProperty("/schiff", _x);
shipY = getProperty("/schiff", _y);
dropX = _x;
dropY = _y;
if ((((Number(dropX) > Number(shipX - 30)) and (Number(dropX) < Number(Number(shipX) + 30))) and (Number(dropY) > Number(shipY - 30))) and (Number(dropY) < Number(Number(shipY) + 30))) {
tellTarget ("../shield") {
prevFrame();
};
tellTarget ("../pwrsound") {
play();
};
removeMovieClip("");
}
Symbol 226 MovieClip Frame 3
gotoAndPlay (2);
if (Number(_y) > 300) {
removeMovieClip("");
}
Symbol 231 Button
on (rollOver) {
submit2.play();
}
on (press) {
_root.gotoAndPlay(214);
}
Symbol 291 Button
on (release) {
getURL ("mailto:marco@polymip.net");
}
Symbol 301 Button
on (release) {
getURL ("mailto:npeplow@hotmail.com");
}
Symbol 309 Button
on (release) {
getURL ("http://www.v3arcade.com", "_blank");
}
Symbol 312 Button
on (rollOver) {
submit1.play();
}
on (release) {
_root.score = treffer;
_root.gameover = 1;
}
Symbol 314 MovieClip Frame 1
player = "anonymous";
xmsg = "---------------";
Symbol 316 MovieClip Frame 1
stop();
if (Number(destroyed) != 0) {
tellTarget ("..") {
gotoAndStop ("gameover");
};
gotoAndStop (6);
}
Symbol 316 MovieClip Frame 5
gotoAndStop (2);
Symbol 316 MovieClip Frame 6
play();
destroyed = 1;
Set("/steuerung:destroyed", 1);
_name = "destroyed";
tellTarget ("..") {
destroyed = 1;
};
stopDrag();
play();
play();
Symbol 316 MovieClip Frame 64
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 65
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 66
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 67
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 68
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 69
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 70
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 71
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 72
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 73
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 74
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 75
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 316 MovieClip Frame 76
tellTarget ("..") {
gotoAndStop ("gameover2");
};
stop();
Symbol 317 MovieClip Frame 1
shotnow = 0;
dauer = 0;
dauer2 = 0;
Symbol 317 MovieClip Frame 2
if (((Number(shotnow) >= 30) and (Number(destroyed) == 0)) and (Number(alienson) == 1)) {
shotnow = 0;
tellTarget ("../shotsound") {
gotoAndStop (2);
};
tellTarget ("..") {
n = Number(n) + 1;
shotnum = "shot" add n;
duplicateMovieClip ("/shot", shotnum, Number(n) + 100);
setProperty(shotnum, _x , getProperty("/schiff", _x));
setProperty(shotnum, _y , getProperty("/schiff", _y) - 20);
};
tellTarget ("../amount") {
n = Number(n) + 1;
};
}
shotnow = Number(shotnow) + Number(random(10));
if (Number(dauer) == 0) {
movex = random(10);
Xspeed = Number(random(7)) + 1;
}
if (Number(dauer) <= 0) {
dauer = 20;
}
schiffX = getProperty("/schiff", _x);
if (Number(movex) < 5) {
setProperty("/schiff", _x , Number(getProperty("/schiff", _x)) + Number(Xspeed));
}
if ((Number(movex) < 5) and (Number(schiffX) > 300)) {
setProperty("/schiff", _x , getProperty("/schiff", _x) - Xspeed);
movex = 8;
}
if (Number(movex) > 5) {
setProperty("/schiff", _x , getProperty("/schiff", _x) - Xspeed);
}
if ((Number(movex) > 5) and (Number(schiffX) < 20)) {
setProperty("/schiff", _x , Number(getProperty("/schiff", _x)) + Number(Xspeed));
movex = 1;
}
dauer = dauer - 1;
play();
Symbol 317 MovieClip Frame 3
missileX = getProperty("/schiff", _x);
missileY = getProperty("/schiff", _y);
zahler = 50;
away = 0;
while (Number(zahler) <= 100) {
dropnum = "/drop" add zahler;
alienX = getProperty(dropnum, _x);
alienY = getProperty(dropnum, _y);
if ((((Number(missileX) > Number(alienX - 50)) and (Number(missileX) < Number(Number(alienX) + 50))) and (Number(missileY) > Number(alienY - 0))) and (Number(missileY) < Number(Number(alienY) + 50))) {
temp = dropnum;
trace("ausweichen wegen" add dropnum);
gotoAndPlay (5);
}
zahler = Number(zahler) + 1;
}
zahler = 0;
away = 0;
while (Number(zahler) < 20) {
dropnum = "/alien" add zahler;
alienX = getProperty(dropnum, _x);
alienY = getProperty(dropnum, _y);
if ((((Number(missileX) > Number(alienX - 60)) and (Number(missileX) < Number(Number(alienX) + 60))) and (Number(missileY) > Number(alienY - 20))) and (Number(missileY) < Number(Number(alienY) + 60))) {
temp = dropnum;
trace("ausweichen wegen" add dropnum);
gotoAndPlay (5);
}
zahler = Number(zahler) + 1;
}
prevFrame();
Symbol 317 MovieClip Frame 5
if (((Number(shotnow) >= 30) and (Number(destroyed) == 0)) and (Number(alienson) == 1)) {
shotnow = 0;
tellTarget ("../shotsound") {
gotoAndStop (2);
};
tellTarget ("..") {
n = Number(n) + 1;
shotnum = "shot" add n;
duplicateMovieClip ("/shot", shotnum, Number(n) + 100);
setProperty(shotnum, _x , getProperty("/schiff", _x));
setProperty(shotnum, _y , getProperty("/schiff", _y) - 20);
};
tellTarget ("../amount") {
n = Number(n) + 1;
};
}
shotnow = Number(shotnow) + Number(random(10));
schiffY = getProperty("/schiff", _y);
schiffX = getProperty("/schiff", _x);
alienX = getProperty(temp, _x);
if (Number(alienX) > Number(schiffX)) {
setProperty("/schiff", _x , (getProperty("/schiff", _x) - Xspeed) - 3);
trace("alien rechts");
}
if ((Number(alienX) > Number(schiffX)) and (Number(schiffX) < 50)) {
setProperty("/schiff", _x , Number(Number(getProperty("/schiff", _x)) + Number(Xspeed)) + 4);
trace("alien rechts aber rand");
}
if (Number(alienX) < Number(schiffX)) {
setProperty("/schiff", _x , Number(Number(getProperty("/schiff", _x)) + Number(Xspeed)) + 3);
trace("alien links");
trace(temp);
trace("<<<---ausweichwert");
}
if ((Number(alienX) < Number(schiffX)) and (Number(schiffX) > 270)) {
setProperty("/schiff", _x , (getProperty("/schiff", _x) - Xspeed) - 4);
trace("alien links aber rand");
}
play();
schiffY = getProperty("/schiff", _y);
schiffX = getProperty("/schiff", _x);
if (Number(schiffY) < 270) {
setProperty("/schiff", _y , Number(Number(getProperty("/schiff", _y)) + Number(Yspeed)) + 5);
}
Symbol 317 MovieClip Frame 6
dauer = 0;
gotoAndPlay (3);
Symbol 322 Button
on (press) {
v = 0;
while (Number(v) < 200) {
removeMovieClip("alien" add v);
removeMovieClip("drop" add v);
removeMovieClip("shot" add v);
v = Number(v) + 1;
removeMovieClip("debris");
}
tellTarget ("/amount") {
amount = 1;
n = 0;
};
n = 100;
y = 0;
finished = 0;
weg = 0;
temptreffer = 0;
gotoAndStop (214);
}