Frame 20
stop();
Frame 21
if (restart == "1") {
gotoAndPlay (24);
}
if (vmask < "1") {
duplicateMovieClip ("/mask", "mask2", "999999999");
}
vmask = "1";
score = "0";
ships = "0";
level = "0";
newshipcounter = "0";
Newship = "0";
adjustnewship = "0";
stop();
Frame 22
level = level + "1";
getrocks = "0";
play();
Frame 23
tellTarget ("/asteroid") {
gotoAndStop ("last frame");
};
play();
Frame 24
getrocks = getrocks + "1";
eraserocks = "0";
if (getrocks < ("5" + level)) {
duplicateMovieClip ("asteroid", (name add random("1000000")) + "20", random("1000000") + "20");
prevFrame();
} else {
play();
}
Frame 25
play();
Frame 26
play();
Frame 27
play();
Frame 28
play();
Frame 29
play();
Frame 30
play();
Frame 31
play();
Frame 32
ships = /ship:ships;
if (addship >= "500") {
addcounter = addcounter + "1";
tellTarget ("/newship") {
play();
};
Set("/ship:ships", ships + "1");
addship = score - ("500" * addcounter);
}
if (/ship:ships == "0") {
gotoAndStop (41);
} else if (/rocksizer:newlevel == "1") {
gotoAndPlay (22);
} else {
gotoAndPlay (31);
}
Frame 41
eraserocks = "1";
stopAllSounds();
getrocks = "0";
restart = "1";
Symbol 8 MovieClip Frame 2
tellTarget ("/") {
FrameLoad = int((_framesloaded / _totalframes) * "100");
};
percentage = /:FrameLoad add "%";
setProperty("Bar", _xscale , /:FrameLoad);
if (/:FrameLoad == "100") {
tellTarget ("/") {
gotoAndPlay(_currentframe + "1");
};
} else {
tellTarget ("/") {
gotoAndStop(_currentframe - "1");
};
}
Symbol 14 MovieClip Frame 91
tellTarget ("/") {
nextFrame();
}
Symbol 18 Button
on (release) {
fscommand ("quit");
}
Symbol 30 Button
on (release) {
getURL ("mailto:Bundbary@prodigy.net", "", "POST");
}
Symbol 35 Button
on (release) {
getURL ("http://www.m1tech.com", "_blank");
}
Symbol 39 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (24);
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 26
gotoAndStop (1);
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
play();
Symbol 46 MovieClip Frame 5
stop();
Symbol 47 MovieClip Frame 1
_visible = "0";
distance = "1";
stop();
Symbol 47 MovieClip Frame 2
if (_visible == "0") {
tellTarget ("sound") {
nextFrame();
};
}
_visible = "1";
play();
Symbol 47 MovieClip Frame 3
newRotation = _rotation;
PI = "22" / "7";
r = (newRotation * PI) / "180";
sin = ((((r - (((r * r) * r) / "6")) + (((((r * r) * r) * r) * r) / "120")) - (((((((r * r) * r) * r) * r) * r) * r) / ("120" * "42"))) + (((((((((r * r) * r) * r) * r) * r) * r) * r) * r) / "362880")) - (((((((((((r * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) / "39916800");
cos = -(((((("1" - ((r * r) / "2")) + ((((r * r) * r) * r) / "24")) - ((((((r * r) * r) * r) * r) * r) / "720")) + ((((((((r * r) * r) * r) * r) * r) * r) * r) / "40320")) - (((((((((("2" * "2") * "2") * "2") * "2") * "2") * "2") * "2") * "2") * "2") / "3628800")) + ((((((((((((r * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) / "479001600"));
_y = (_y + (/ship:BulletSpeed * cos));
_x = (_x + (/ship:BulletSpeed * sin));
if (_x < "0") {
_x = (_x + "719");
}
if ("719" < _x) {
_x = (_x - "719");
}
if (_y < "0") {
_y = (_y + "520");
}
if ("520" < _y) {
_y = (_y - "520");
}
distance = distance + "1";
if ("7" < distance) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 50 Button
on (keyPress "<Left>") {
rotation = int(rotation - "15");
if (rotation < (-"360")) {
rotation = -"15";
}
_rotation = rotation;
}
on (keyPress "<Right>") {
rotation = int(rotation + "15");
if ("360" < rotation) {
rotation = "15";
}
_rotation = rotation;
}
on (keyPress "<Space>") {
tellTarget ("flame") {
gotoAndPlay (2);
};
Rotation = _rotation;
PI = "22" / "7";
r = (Rotation * PI) / "180";
sin = ((((r - (((r * r) * r) / "6")) + (((((r * r) * r) * r) * r) / "120")) - (((((((r * r) * r) * r) * r) * r) * r) / ("120" * "42"))) + (((((((((r * r) * r) * r) * r) * r) * r) * r) * r) / "362880")) - (((((((((((r * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) / "39916800");
cos = -(((((("1" - ((r * r) / "2")) + ((((r * r) * r) * r) / "24")) - ((((((r * r) * r) * r) * r) * r) / "720")) + ((((((((r * r) * r) * r) * r) * r) * r) * r) / "40320")) - (((((((((("2" * "2") * "2") * "2") * "2") * "2") * "2") * "2") * "2") * "2") / "3628800")) + ((((((((((((r * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) / "479001600"));
Vy = Vy + (Accel * cos);
Vx = Vx + (Accel * sin);
if (shipmax < Vy) {
Vy = shipmax;
} else if (Vy < (-shipmax)) {
Vy = -shipmax;
}
if (shipmax < Vx) {
Vx = shipmax;
} else if (Vx < (-shipmax)) {
Vx = -shipmax;
}
play();
}
on (keyPress "m") {
if (boom == "0") {
BulletCount = BulletCount + "1";
if (BulletCount == "1") {
setProperty("/bullet1", _x , _x);
setProperty("/bullet1", _y , _y);
setProperty("/bullet1", _rotation , _rotation);
tellTarget ("/bullet1") {
gotoAndPlay (2);
};
}
if (BulletCount == "2") {
setProperty("/bullet2", _x , _x);
setProperty("/bullet2", _y , _y);
setProperty("/bullet2", _rotation , _rotation);
tellTarget ("/bullet2") {
gotoAndPlay (2);
};
}
if (BulletCount == "3") {
setProperty("/bullet3", _x , _x);
setProperty("/bullet3", _y , _y);
setProperty("/bullet3", _rotation , _rotation);
tellTarget ("/bullet3") {
gotoAndPlay (2);
};
}
if (BulletCount == "4") {
setProperty("/bullet4", _x , _x);
setProperty("/bullet4", _y , _y);
setProperty("/bullet4", _rotation , _rotation);
tellTarget ("/bullet4") {
gotoAndPlay (2);
};
}
if (BulletCount == "5") {
setProperty("/bullet5", _x , _x);
setProperty("/bullet5", _y , _y);
setProperty("/bullet5", _rotation , _rotation);
tellTarget ("/bullet5") {
gotoAndPlay (2);
};
}
if (bulletcount == "6") {
bulletcount = "0";
}
}
}
on (keyPress "<Delete>") {
gotoAndPlay (62);
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 4
stop();
Symbol 55 Button
on (keyPress "<Left>") {
rotation = int(rotation - "15");
if (rotation < (-"360")) {
rotation = -"15";
}
_rotation = rotation;
}
on (keyPress "<Right>") {
rotation = int(rotation + "15");
if ("360" < rotation) {
rotation = "15";
}
_rotation = rotation;
}
on (keyPress "<Space>") {
tellTarget ("flame") {
gotoAndPlay (2);
};
Rotation = _rotation;
PI = "22" / "7";
r = (Rotation * PI) / "180";
sin = ((((r - (((r * r) * r) / "6")) + (((((r * r) * r) * r) * r) / "120")) - (((((((r * r) * r) * r) * r) * r) * r) / ("120" * "42"))) + (((((((((r * r) * r) * r) * r) * r) * r) * r) * r) / "362880")) - (((((((((((r * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) / "39916800");
cos = -(((((("1" - ((r * r) / "2")) + ((((r * r) * r) * r) / "24")) - ((((((r * r) * r) * r) * r) * r) / "720")) + ((((((((r * r) * r) * r) * r) * r) * r) * r) / "40320")) - ((((((((((r * r) * r) * r) * r) * r) * r) * r) * r) * r) / "3628800")) + ((((((((((((r * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) * r) / "479001600"));
Vy = Vy + (Accel * cos);
Vx = Vx + (Accel * sin);
if (shipmax < Vy) {
Vy = shipmax;
} else if (Vy < (-shipmax)) {
Vy = -shipmax;
}
if (shipmax < Vx) {
Vx = shipmax;
} else if (Vx < (-shipmax)) {
Vx = -shipmax;
}
play();
}
on (keyPress "m") {
if (boom == "0") {
BulletCount = BulletCount + "1";
if (BulletCount == "1") {
setProperty("/bullet1", _x , _x);
setProperty("/bullet1", _y , _y);
setProperty("/bullet1", _rotation , _rotation);
tellTarget ("/bullet1") {
gotoAndPlay (2);
};
}
if (BulletCount == "2") {
setProperty("/bullet2", _x , _x);
setProperty("/bullet2", _y , _y);
setProperty("/bullet2", _rotation , _rotation);
tellTarget ("/bullet2") {
gotoAndPlay (2);
};
}
if (BulletCount == "3") {
setProperty("/bullet3", _x , _x);
setProperty("/bullet3", _y , _y);
setProperty("/bullet3", _rotation , _rotation);
tellTarget ("/bullet3") {
gotoAndPlay (2);
};
}
if (BulletCount == "4") {
setProperty("/bullet4", _x , _x);
setProperty("/bullet4", _y , _y);
setProperty("/bullet4", _rotation , _rotation);
tellTarget ("/bullet4") {
gotoAndPlay (2);
};
}
if (BulletCount == "5") {
setProperty("/bullet5", _x , _x);
setProperty("/bullet5", _y , _y);
setProperty("/bullet5", _rotation , _rotation);
tellTarget ("/bullet5") {
gotoAndPlay (2);
};
}
if (bulletcount == "6") {
bulletcount = "0";
}
}
}
on (keyPress "<Delete>") {
gotoAndPlay (62);
}
Symbol 62 MovieClip Frame 1
ships = "5";
boom = "1";
sheild = "1";
Symbol 62 MovieClip Frame 2
shipmax = "50";
accel = "2";
BulletSpeed = "60";
Vy = "0";
Vx = "0";
if (hyperspace == "1") {
hyperspace = "0";
gotoAndPlay (31);
}
boom = "1";
Symbol 62 MovieClip Frame 3
call("move ship");
Symbol 62 MovieClip Frame 4
call("move ship");
Symbol 62 MovieClip Frame 5
call("move ship");
Symbol 62 MovieClip Frame 6
call("move ship");
Symbol 62 MovieClip Frame 7
call("move ship");
Symbol 62 MovieClip Frame 8
call("move ship");
Symbol 62 MovieClip Frame 9
call("move ship");
Symbol 62 MovieClip Frame 10
call("move ship");
Symbol 62 MovieClip Frame 11
call("move ship");
Symbol 62 MovieClip Frame 12
call("move ship");
Symbol 62 MovieClip Frame 13
call("move ship");
Symbol 62 MovieClip Frame 14
call("move ship");
Symbol 62 MovieClip Frame 15
call("move ship");
Symbol 62 MovieClip Frame 16
call("move ship");
Symbol 62 MovieClip Frame 17
call("move ship");
Symbol 62 MovieClip Frame 18
call("move ship");
Symbol 62 MovieClip Frame 19
call("move ship");
Symbol 62 MovieClip Frame 20
call("move ship");
Symbol 62 MovieClip Frame 21
call("move ship");
Symbol 62 MovieClip Frame 22
call("move ship");
Symbol 62 MovieClip Frame 23
call("move ship");
Symbol 62 MovieClip Frame 24
call("move ship");
Symbol 62 MovieClip Frame 25
call("move ship");
Symbol 62 MovieClip Frame 26
call("move ship");
Symbol 62 MovieClip Frame 27
call("move ship");
Symbol 62 MovieClip Frame 28
call("move ship");
boom = "0";
Symbol 62 MovieClip Frame 29
play();
Symbol 62 MovieClip Frame 30
call("move ship");
sheild = "0";
Xship = _x;
Yship = _y;
if (boom <> "1") {
prevFrame();
}
Symbol 62 MovieClip Frame 31
tellTarget ("/thrust") {
gotoAndStop (1);
};
boom = "1";
sheild = "1";
play();
Symbol 62 MovieClip Frame 33
Ships = ships - "1";
Symbol 62 MovieClip Frame 49
_y = (_y + Vy);
_x = (_x + Vx);
if (_x < "0") {
_x = (_x + "719");
}
if ("719" < _x) {
_x = (_x - "719");
}
if (_y < "0") {
_y = (_y + "520");
}
if ("570" < _y) {
_y = (_y - "520");
}
Symbol 62 MovieClip Frame 54
_x = "360";
_y = "270";
gotoAndPlay (2);
Symbol 62 MovieClip Frame 62
_x = (random("700") + "10");
_y = (random("505") + "10");
hyperspace = random("3");
Symbol 62 MovieClip Frame 67
gotoAndPlay (2);
Symbol 65 MovieClip Frame 1
_visible = "0";
distance = "0";
stop();
Symbol 65 MovieClip Frame 2
tellTarget ("/alienship/swim/mouth") {
play();
};
_visible = "1";
setProperty("/alienbullet", _x , getProperty("/alienship", _x));
setProperty("/alienbullet", _y , getProperty("/alienship", _y));
x = getProperty("/ship", _x);
y = getProperty("/ship", _y);
if (getProperty("/ship", _x) < getProperty("/alienship", _x)) {
x = x * (-"1");
}
if (getProperty("/ship", _y) < getProperty("/alienship", _y)) {
y = y * (-"1");
}
call("call");
Symbol 65 MovieClip Frame 3
call("call");
Symbol 65 MovieClip Frame 4
distance = distance + "1";
call("call");
if (distance < "17") {
gotoAndPlay (3);
} else {
gotoAndStop (1);
}
Symbol 65 MovieClip Frame 18
_y = (((y / x) * "10") + _y);
_x = (((x / y) * "10") + _x);
if (_y < "0") {
_y = (_y + "520");
}
if ("520" < _y) {
_y = (_y - "520");
}
if ("719" < _x) {
_x = (_x - "719");
}
if (_x < "0") {
_x = (_x + "719");
}
if (/ship:boom <> "1") {
if ((getProperty("/ship", _x) - (getProperty("/ship", _xscale) / "4")) < _x) {
if (_x < (getProperty("/ship", _x) + (getProperty("/ship", _xscale) / "4"))) {
if ((getProperty("/ship", _y) - (getProperty("/ship", _yscale) / "4")) < _y) {
if (_y < (getProperty("/ship", _y) + (getProperty("/ship", _xscale) / "4"))) {
tellTarget ("/ship") {
boom = "1";
};
gotoAndStop (1);
}
}
}
}
}
Symbol 69 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 21
gotoAndPlay (1);
Symbol 79 MovieClip Frame 1
if (counter == "0") {
counter = "1";
}
count2 = "0";
if (/:ships == "0") {
startcount = "0";
}
startcount = startcount + "1";
Symbol 79 MovieClip Frame 2
if (/:score < "20") {
gotoAndPlay (1);
} else if (startcount < randomstart) {
gotoAndPlay (1);
} else {
_x = "0";
_y = "0";
gotoAndPlay (3);
}
Symbol 79 MovieClip Frame 5
if (counter == "0") {
directionx = random("10") - "5";
directiony = random("10") - "5";
}
counter = counter + "1";
call("collision checker");
Symbol 79 MovieClip Frame 6
_x = (directionx + _x);
_y = (directiony + _y);
if (counter == "50") {
count2 = count2 + "1";
if (count2 == "10") {
gotoAndPlay (1);
}
tellTarget ("/alienbullet") {
play();
};
counter = "0";
}
if (_y < "0") {
_y = (_y + "520");
}
if ("520" < _y) {
_y = (_y - "520");
}
if ("719" < _x) {
_x = (_x - "719");
}
if (_x < "0") {
_x = (_x + "719");
}
gotoAndPlay (5);
call("collision checker");
Symbol 79 MovieClip Frame 7
play();
tellTarget ("sound") {
gotoAndStop ("stop");
};
Set("/:score", /:score + "100");
Set("/:addship", /:addship + "100");
Symbol 79 MovieClip Frame 29
startcount = "0";
level = /:level;
randomstart = "500" / level;
gotoAndPlay (1);
Symbol 79 MovieClip Frame 36
if (/ship:boom <> "1") {
if ((getProperty("/ship", _x) - (getProperty("/ship", _xscale) / "4")) < _x) {
if (_x < (getProperty("/ship", _x) + (getProperty("/ship", _xscale) / "4"))) {
if ((getProperty("/ship", _y) - (getProperty("/ship", _yscale) / "4")) < _y) {
if (_y < (getProperty("/ship", _y) + (getProperty("/ship", _yscale) / "4"))) {
tellTarget ("/ship") {
boom = "1";
};
gotoAndPlay (7);
}
}
}
}
}
if (getProperty("/bullet1", _visible) == "1") {
if ((getProperty("/bullet1", _x) - (getProperty("/ship", _xscale) / "4")) < _x) {
if (_x < (getProperty("/bullet1", _x) + (getProperty("/ship", _xscale) / "4"))) {
if ((getProperty("/bullet1", _y) - (getProperty("/ship", _yscale) / "4")) < _y) {
if (_y < (getProperty("/bullet1", _y) + (getProperty("/ship", _yscale) / "4"))) {
tellTarget ("/bullet1") {
gotoAndPlay (1);
};
gotoAndPlay (7);
}
}
}
}
}
if (getProperty("/bullet2", _visible) == "1") {
if ((getProperty("/bullet2", _x) - (getProperty("/ship", _xscale) / "4")) < _x) {
if (_x < (getProperty("/bullet2", _x) + (getProperty("/ship", _xscale) / "4"))) {
if ((getProperty("/bullet2", _y) - (getProperty("/ship", _yscale) / "4")) < _y) {
if (_y < (getProperty("/bullet2", _y) + (getProperty("/ship", _yscale) / "4"))) {
tellTarget ("/bullet2") {
gotoAndPlay (1);
};
gotoAndPlay (7);
}
}
}
}
}
if (getProperty("/bullet3", _visible) == "1") {
if ((getProperty("/bullet3", _x) - (getProperty("/ship", _xscale) / "4")) < _x) {
if (_x < (getProperty("/bullet3", _x) + (getProperty("/ship", _xscale) / "4"))) {
if ((getProperty("/bullet3", _y) - (getProperty("/ship", _yscale) / "4")) < _y) {
if (_y < (getProperty("/bullet3", _y) + (getProperty("/ship", _yscale) / "4"))) {
tellTarget ("/bullet3") {
gotoAndPlay (1);
};
gotoAndPlay (7);
}
}
}
}
}
if (getProperty("/bullet4", _visible) == "1") {
if ((getProperty("/bullet4", _x) - (getProperty("/ship", _xscale) / "4")) < _x) {
if (_x < (getProperty("/bullet4", _x) + (getProperty("/ship", _xscale) / "4"))) {
if ((getProperty("/bullet4", _y) - (getProperty("/ship", _yscale) / "4")) < _y) {
if (_y < (getProperty("/bullet4", _y) + (getProperty("/ship", _yscale) / "4"))) {
tellTarget ("/bullet4") {
gotoAndPlay (1);
};
gotoAndPlay (7);
}
}
}
}
}
if (getProperty("/bullet5", _visible) == "1") {
if ((getProperty("/bullet5", _x) - (getProperty("/ship", _xscale) / "4")) < _x) {
if (_x < (getProperty("/bullet5", _x) + (getProperty("/ship", _xscale) / "4"))) {
if ((getProperty("/bullet5", _y) - (getProperty("/ship", _yscale) / "4")) < _y) {
if (_y < (getProperty("/bullet5", _y) + (getProperty("/ship", _yscale) / "4"))) {
tellTarget ("/bullet5") {
gotoAndPlay (1);
};
gotoAndPlay (7);
}
}
}
}
}
Symbol 81 Button
on (press) {
_xscale = (_xscale * "2");
_yscale = (_yscale * "2");
}
Symbol 84 MovieClip Frame 1
rotation = random("20") - "10";
direction1 = random("20") - "10";
direction2 = random("20") - "10";
if (direction1 == "0") {
direction1 = "1";
}
if (direction2 == "0") {
direction2 = "1";
}
_x = getProperty("/rocksizer", _x);
_y = getProperty("/rocksizer", _y);
newsize = getProperty("/rocksizer", _xscale);
_xscale = newsize;
_yscale = newsize;
D = "10000";
call("checker");
_visible = "0";
Symbol 84 MovieClip Frame 2
call("checker");
_visible = "1";
Symbol 84 MovieClip Frame 3
_x = (_x + direction1);
_y = (_y + direction2);
_rotation = (_rotation + rotation);
if ("719" < _x) {
_x = (_x - "719");
}
if (_x < "0") {
_x = (_x + "719");
}
if (_y < "0") {
_y = (_y + "520");
}
if ("520" < _y) {
_y = (_y - "520");
}
_xscale = newsize;
_yscale = newsize;
gotoAndPlay (2);
Symbol 84 MovieClip Frame 4
Set("/:score", /:score + "1");
Set("/:addship", /:addship + "1");
Set("/:newship", /:newship + "1");
Xstartspot = _x;
Ystartspot = _y;
name = _name;
if ("8" < (_xscale / "2")) {
duplicateMovieClip ("", (name add random("1000000")) + "20", random("1000000") + "20");
duplicateMovieClip ("", (name add random("1000000")) + "20", random("1000000") + "20");
setProperty("/rocksizer", _xscale , _xscale / "2");
setProperty("/rocksizer", _yscale , _yscale / "2");
setProperty("/rocksizer", _x , _x);
setProperty("/rocksizer", _y , _y);
tellTarget ("/'") {
Xstartspot = _x;
Ystartspot = _y;
};
}
play();
Symbol 84 MovieClip Frame 10
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 11
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 12
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 13
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 14
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 15
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 16
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 17
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 18
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 19
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 20
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 21
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 22
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 23
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 24
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 25
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 26
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 27
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 28
removeMovieClip("/" add name);
Symbol 84 MovieClip Frame 29
stop();
Symbol 84 MovieClip Frame 31
size = _xscale;
tellTarget ("/rocksizer") {
gotoAndPlay (1);
};
if (/:eraserocks == "1") {
gotoAndPlay (18);
}
width = _width;
Xrock = _x;
Yrock = _y;
Xship = /ship:Xship;
Yship = /ship:Yship;
Ybullet1 = getProperty("/bullet1", _y);
Xbullet1 = getProperty("/bullet1", _x);
Ybullet2 = getProperty("/bullet2", _y);
Xbullet2 = getProperty("/bullet2", _x);
Ybullet3 = getProperty("/bullet3", _y);
Xbullet3 = getProperty("/bullet3", _x);
Ybullet4 = getProperty("/bullet4", _y);
Xbullet4 = getProperty("/bullet4", _x);
Ybullet5 = getProperty("/bullet5", _y);
Xbullet5 = getProperty("/bullet5", _x);
Rrock = _width / "2";
D = ((Xrock - Xship) * (Xrock - Xship)) + ((Yrock - Yship) * (Yrock - Yship));
Dbullet1 = ((Xrock - Xbullet1) * (Xrock - Xbullet1)) + ((Yrock - Ybullet1) * (Yrock - Ybullet1));
Dbullet2 = ((Xrock - Xbullet2) * (Xrock - Xbullet2)) + ((Yrock - Ybullet2) * (Yrock - Ybullet2));
Dbullet3 = ((Xrock - Xbullet3) * (Xrock - Xbullet3)) + ((Yrock - Ybullet3) * (Yrock - Ybullet3));
Dbullet4 = ((Xrock - Xbullet4) * (Xrock - Xbullet4)) + ((Yrock - Ybullet4) * (Yrock - Ybullet4));
Dbullet5 = ((Xrock - Xbullet5) * (Xrock - Xbullet5)) + ((Yrock - Ybullet5) * (Yrock - Ybullet5));
if (D < (_width * "30")) {
if (/ship:sheild == "0") {
tellTarget ("/ship") {
gotoAndPlay ("boom");
};
gotoAndPlay (4);
}
}
if (getProperty("/bullet1", _visible) == "1") {
if (Dbullet1 < (_width * "30")) {
tellTarget ("/bullet1") {
gotoAndStop (1);
};
gotoAndPlay (4);
}
}
if (getProperty("/bullet2", _visible) == "1") {
if (Dbullet2 < (_width * "30")) {
tellTarget ("/bullet2") {
gotoAndStop (1);
};
gotoAndPlay (4);
}
}
if (getProperty("/bullet3", _visible) == "1") {
if (Dbullet3 < (_width * "30")) {
tellTarget ("/bullet3") {
gotoAndStop (1);
};
gotoAndPlay (4);
}
}
if (getProperty("/bullet4", _visible) == "1") {
if (Dbullet4 < (_width * "30")) {
tellTarget ("/bullet4") {
gotoAndStop (1);
};
gotoAndPlay (4);
}
}
if (getProperty("/bullet5", _visible) == "1") {
if (Dbullet5 < (_width * "30")) {
tellTarget ("/bullet5") {
gotoAndStop (1);
};
gotoAndPlay (4);
}
}
if (getProperty("/alienbullet", _visible) == "1") {
if ((getProperty("/alienbullet", _x) - (getProperty("/ship", _xscale) / "2")) < _x) {
if (_x < (getProperty("/alienbullet", _x) + (getProperty("/ship", _xscale) / "2"))) {
if ((getProperty("/alienbullet", _y) - (getProperty("/ship", _yscale) / "2")) < _y) {
if (_y < (getProperty("/alienbullet", _y) + (getProperty("/ship", _yscale) / "2"))) {
tellTarget ("/alienbullet") {
gotoAndStop (1);
};
gotoAndPlay (4);
}
}
}
}
}
Symbol 85 MovieClip Frame 1
newlevel = "0";
play();
Symbol 85 MovieClip Frame 17
newlevel = "1";
Symbol 85 MovieClip Frame 30
gotoAndPlay (1);
Symbol 87 Button
on (release) {
score = "0";
ships = "0";
level = "0";
newshipcounter = "0";
Newship = "0";
adjustnewship = "0";
gotoAndPlay (22);
}