Frame 1
ifFrameLoaded (100) {
gotoAndStop (14);
}
Frame 8
gotoAndStop (14);
Frame 14
stop();
stopAllSounds();
Set("/:tricount", "1");
Set("/:score", "0");
Set("/:life", "4");
Set("/:lifeplus", "0");
Frame 22
gotoAndStop (14);
Frame 23
stop();
startDrag ("pos", true, "0", "0", "200", "400");
Set("/calc1:tan", "1.1");
call("/calc1:tangens");
Set("/:bulletcheck", "0");
Symbol 17 MovieClip Frame 14
stop();
Symbol 19 MovieClip Frame 2
if ("0" < /:tricount) {
setProperty("/tri1", _x , random("160") + "20");
setProperty("/tri1", _y , -"20");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 19 MovieClip Frame 3
play();
Symbol 19 MovieClip Frame 4
if (getProperty("/tri1", _y) < "400") {
setProperty("/tri1", _y , getProperty("/tri1", _y) + "3.5");
gotoAndPlay (3);
}
Symbol 19 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri1", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
};
if (/:life < "1") {
tellTarget ("/") {
gotoAndStop ("end");
};
}
Symbol 19 MovieClip Frame 20
gotoAndPlay (1);
Symbol 19 MovieClip Frame 28
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 20 MovieClip Frame 1
play();
Symbol 20 MovieClip Frame 2
if ("1" < /:tricount) {
setProperty("/tri2", _x , random("160") + "20");
setProperty("/tri2", _y , -"20");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 20 MovieClip Frame 3
play();
Symbol 20 MovieClip Frame 4
if (getProperty("/tri2", _y) < "400") {
setProperty("/tri2", _y , getProperty("/tri2", _y) + "3");
prevFrame();
}
Symbol 20 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri2", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
};
if (/:life < "1") {
tellTarget ("/") {
gotoAndStop ("end");
};
}
Symbol 20 MovieClip Frame 17
gotoAndPlay (1);
Symbol 20 MovieClip Frame 27
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 21 MovieClip Frame 1
play();
Symbol 21 MovieClip Frame 2
if ("2" < /:tricount) {
setProperty("/tri3", _x , random("160") + "20");
setProperty("/tri3", _y , -"20");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 21 MovieClip Frame 3
play();
Symbol 21 MovieClip Frame 4
if (getProperty("/tri3", _y) < "400") {
setProperty("/tri3", _y , getProperty("/tri3", _y) + "2.5");
prevFrame();
}
Symbol 21 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri3", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
};
if (/:life < "1") {
tellTarget ("/") {
gotoAndStop ("end");
};
}
Symbol 21 MovieClip Frame 6
gotoAndPlay (1);
Symbol 21 MovieClip Frame 15
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 22 MovieClip Frame 1
play();
Symbol 22 MovieClip Frame 2
if ("3" < /:tricount) {
setProperty("/tri4", _x , random("160") + "20");
setProperty("/tri4", _y , -"20");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 22 MovieClip Frame 3
play();
Symbol 22 MovieClip Frame 4
if (getProperty("/tri4", _y) < "400") {
setProperty("/tri4", _y , getProperty("/tri4", _y) + "2");
prevFrame();
}
Symbol 22 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri4", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
}
Symbol 22 MovieClip Frame 6
gotoAndPlay (1);
Symbol 22 MovieClip Frame 15
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 23 MovieClip Frame 1
play();
Symbol 23 MovieClip Frame 2
if ("4" < /:tricount) {
setProperty("/tri5", _x , random("160") + "20");
setProperty("/tri5", _y , -"20");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 23 MovieClip Frame 3
play();
Symbol 23 MovieClip Frame 4
if (getProperty("/tri5", _y) < "400") {
setProperty("/tri5", _y , getProperty("/tri5", _y) + "1.5");
prevFrame();
}
Symbol 23 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri5", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
}
Symbol 23 MovieClip Frame 6
gotoAndPlay (1);
Symbol 23 MovieClip Frame 15
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 24 MovieClip Frame 1
play();
Symbol 24 MovieClip Frame 2
if ("5" < /:tricount) {
setProperty("/tri6", _x , random("160") + "20");
setProperty("/tri6", _y , -"20");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 24 MovieClip Frame 3
play();
Symbol 24 MovieClip Frame 4
if (getProperty("/tri6", _y) < "400") {
setProperty("/tri6", _y , getProperty("/tri6", _y) + "1.5");
prevFrame();
}
Symbol 24 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri6", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
}
Symbol 24 MovieClip Frame 6
gotoAndPlay (1);
Symbol 24 MovieClip Frame 15
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 25 MovieClip Frame 1
play();
Symbol 25 MovieClip Frame 2
if ("6" < /:tricount) {
setProperty("/tri7", _x , random("160") + "20");
setProperty("/tri7", _y , -"20");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 25 MovieClip Frame 3
play();
Symbol 25 MovieClip Frame 4
if (getProperty("/tri7", _y) < "400") {
setProperty("/tri7", _y , getProperty("/tri7", _y) + "1.5");
prevFrame();
}
Symbol 25 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri7", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
}
Symbol 25 MovieClip Frame 6
gotoAndPlay (1);
Symbol 25 MovieClip Frame 15
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 26 MovieClip Frame 1
play();
Symbol 26 MovieClip Frame 2
if ("7" < /:tricount) {
setProperty("/tri8", _x , random("160") + "20");
setProperty("/tri8", _y , -"20");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 26 MovieClip Frame 3
play();
Symbol 26 MovieClip Frame 4
if (getProperty("/tri8", _y) < "400") {
setProperty("/tri8", _y , getProperty("/tri8", _y) + "1.5");
prevFrame();
}
Symbol 26 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri8", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
}
Symbol 26 MovieClip Frame 6
gotoAndPlay (1);
Symbol 26 MovieClip Frame 15
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 27 MovieClip Frame 1
play();
Symbol 27 MovieClip Frame 2
if ("8" < /:tricount) {
setProperty("/tri9", _x , random("160") + "20");
setProperty("/tri9", _y , -"20");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 27 MovieClip Frame 3
play();
Symbol 27 MovieClip Frame 4
if (getProperty("/tri9", _y) < "400") {
setProperty("/tri9", _y , getProperty("/tri9", _y) + "1.5");
prevFrame();
}
Symbol 27 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri9", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
}
Symbol 27 MovieClip Frame 6
gotoAndPlay (1);
Symbol 27 MovieClip Frame 15
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 38 MovieClip Frame 1
play();
Symbol 38 MovieClip Frame 2
if ("10" < /:tricount) {
setProperty("/tri10", _x , random("160") + "20");
setProperty("/tri10", _y , -"30");
gotoAndPlay (3);
} else {
prevFrame();
}
Symbol 38 MovieClip Frame 3
play();
Symbol 38 MovieClip Frame 4
if (getProperty("/tri10", _y) < "400") {
setProperty("/tri10", _y , getProperty("/tri10", _y) + "5");
prevFrame();
}
Symbol 38 MovieClip Frame 5
Set("/:life", /:life - "1");
setProperty("/alien", _x , getProperty("/tri10", _x));
tellTarget ("/alien") {
gotoAndPlay ("play");
}
Symbol 38 MovieClip Frame 6
gotoAndPlay (1);
Symbol 38 MovieClip Frame 15
Set("/:score", /:score + "1");
Set("/:lifeplus", /:lifeplus + "1");
Symbol 45 MovieClip Frame 2
tellTarget ("../") {
FrameLoad = int((_framesloaded / _totalframes) * "100");
};
percentage = (((../:FrameLoad add ".") add /:pointt) add /:pointp) add "%";
Set("/:pointt", random("10"));
Set("/:pointp", random("10"));
setProperty("Bar", _xscale , ../:FrameLoad);
if (../:FrameLoad == "100") {
tellTarget ("../") {
gotoAndPlay(_currentframe + "1");
};
} else {
tellTarget ("../") {
gotoAndPlay ("loader");
};
}
Symbol 48 MovieClip Frame 1
thisX = getProperty("/bullet", _x);
thisY = getProperty("/bullet", _y);
spX = getProperty("/bullet2", _x);
spY = getProperty("/bullet2", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet2", _x , spX + xStp);
setProperty("/bullet2", _y , (spY + yStp) + "5");
Symbol 48 MovieClip Frame 2
thisX = getProperty("/bullet", _x);
thisY = getProperty("/bullet", _y);
spX = getProperty("/bullet2", _x);
spY = getProperty("/bullet2", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet2", _x , spX + xStp);
setProperty("/bullet2", _y , (spY + yStp) + "5");
Symbol 49 MovieClip Frame 1
thisX = getProperty("/bullet2", _x);
thisY = getProperty("/bullet2", _y);
spX = getProperty("/bullet3", _x);
spY = getProperty("/bullet3", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet3", _x , spX + xStp);
setProperty("/bullet3", _y , (spY + yStp) - "5");
Symbol 49 MovieClip Frame 2
thisX = getProperty("/bullet2", _x);
thisY = getProperty("/bullet2", _y);
spX = getProperty("/bullet3", _x);
spY = getProperty("/bullet3", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet3", _x , spX + xStp);
setProperty("/bullet3", _y , (spY + yStp) - "5");
Symbol 50 MovieClip Frame 1
thisX = getProperty("/bullet3", _x);
thisY = getProperty("/bullet3", _y);
spX = getProperty("/bullet4", _x);
spY = getProperty("/bullet4", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet4", _x , spX + xStp);
setProperty("/bullet4", _y , (spY + yStp) - "5");
Symbol 50 MovieClip Frame 2
thisX = getProperty("/bullet3", _x);
thisY = getProperty("/bullet3", _y);
spX = getProperty("/bullet4", _x);
spY = getProperty("/bullet4", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet4", _x , spX + xStp);
setProperty("/bullet4", _y , (spY + yStp) - "5");
Symbol 51 MovieClip Frame 1
thisX = getProperty("/bullet4", _x);
thisY = getProperty("/bullet4", _y);
spX = getProperty("/bullet5", _x);
spY = getProperty("/bullet5", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet5", _x , spX + xStp);
setProperty("/bullet5", _y , (spY + yStp) - "5");
Symbol 51 MovieClip Frame 2
thisX = getProperty("/bullet4", _x);
thisY = getProperty("/bullet4", _y);
spX = getProperty("/bullet5", _x);
spY = getProperty("/bullet5", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet5", _x , spX + xStp);
setProperty("/bullet5", _y , (spY + yStp) - "5");
Symbol 52 MovieClip Frame 1
thisX = getProperty("/bullet5", _x);
thisY = getProperty("/bullet5", _y);
spX = getProperty("/bullet6", _x);
spY = getProperty("/bullet6", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet6", _x , spX + xStp);
setProperty("/bullet6", _y , (spY + yStp) - "5");
Symbol 52 MovieClip Frame 2
thisX = getProperty("/bullet5", _x);
thisY = getProperty("/bullet5", _y);
spX = getProperty("/bullet6", _x);
spY = getProperty("/bullet6", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet6", _x , spX + xStp);
setProperty("/bullet6", _y , (spY + yStp) - "5");
Symbol 53 MovieClip Frame 1
thisX = getProperty("/bullet6", _x);
thisY = getProperty("/bullet6", _y);
spX = getProperty("/bullet7", _x);
spY = getProperty("/bullet7", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet7", _x , spX + xStp);
setProperty("/bullet7", _y , (spY + yStp) - "5");
Symbol 53 MovieClip Frame 2
thisX = getProperty("/bullet6", _x);
thisY = getProperty("/bullet6", _y);
spX = getProperty("/bullet7", _x);
spY = getProperty("/bullet7", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet7", _x , spX + xStp);
setProperty("/bullet7", _y , (spY + yStp) - "5");
Symbol 54 MovieClip Frame 1
thisX = getProperty("/bullet7", _x);
thisY = getProperty("/bullet7", _y);
spX = getProperty("/bullet8", _x);
spY = getProperty("/bullet8", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet8", _x , spX + xStp);
setProperty("/bullet8", _y , (spY + yStp) - "5");
Symbol 54 MovieClip Frame 2
thisX = getProperty("/bullet7", _x);
thisY = getProperty("/bullet7", _y);
spX = getProperty("/bullet8", _x);
spY = getProperty("/bullet8", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "1.2";
yStp = difY / "1.2";
setProperty("/bullet8", _x , spX + xStp);
setProperty("/bullet8", _y , (spY + yStp) - "5");
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
setProperty("/bullet", _y , "390");
Set("/:bulletcheck", "1");
Symbol 55 MovieClip Frame 3
setProperty("/bullet", _y , getProperty("/bullet", _y) - "10");
setProperty("/bullet", _x , getProperty("/ship", _x));
Symbol 55 MovieClip Frame 4
if ("0" < getProperty("/bullet", _y)) {
gotoAndPlay (3);
}
setProperty("/bullet", _x , getProperty("/ship", _x));
Symbol 55 MovieClip Frame 5
Set("/:bulletcheck", "0");
setProperty("/bullet", _y , "430");
setProperty("/bullet2", _y , "430");
setProperty("/bullet3", _y , "430");
setProperty("/bullet4", _y , "430");
setProperty("/bullet5", _y , "430");
setProperty("/bullet6", _y , "430");
setProperty("/bullet7", _y , "430");
setProperty("/bullet8", _y , "430");
setProperty("/bullet9", _y , "430");
Symbol 55 MovieClip Frame 6
tellTarget ("bullet") {
gotoAndStop ("stop");
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 64 Button
on (press) {
gotoAndStop (23);
}
Symbol 66 Button
on (press) {
gotoAndStop (16);
}
Symbol 71 Button
on (press) {
getURL ("http://flashgamestudio.com", "_blank");
}
Symbol 75 Button
on (press) {
gotoAndStop (1);
}
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
setProperty("/bullet", _y , "390");
Set("/:bulletcheck", "1");
Symbol 82 MovieClip Frame 3
setProperty("/bullet", _y , getProperty("/bullet", _y) - "10");
setProperty("/bullet", _x , getProperty("/ship", _x));
Symbol 82 MovieClip Frame 4
if ("0" < getProperty("/bullet", _y)) {
gotoAndPlay (3);
}
setProperty("/bullet", _x , getProperty("/ship", _x));
Symbol 82 MovieClip Frame 5
Set("/:bulletcheck", "0");
setProperty("/bullet", _y , "430");
setProperty("/bullet2", _y , "430");
setProperty("/bullet3", _y , "430");
setProperty("/bullet4", _y , "430");
setProperty("/bullet5", _y , "430");
setProperty("/bullet6", _y , "430");
setProperty("/bullet7", _y , "430");
setProperty("/bullet8", _y , "430");
setProperty("/bullet9", _y , "430");
Symbol 82 MovieClip Frame 6
tellTarget ("/bullet") {
gotoAndStop ("stop");
}
Symbol 87 MovieClip Frame 1
thisX = getProperty("/pos", _x);
spX = getProperty("/ship", _x);
difX = thisX - spX;
xStp = difX / "8";
setProperty("/ship", _x , spX + xStp);
setProperty("/k", _x , spX + xStp);
Symbol 87 MovieClip Frame 2
thisX = getProperty("/pos", _x);
spX = getProperty("/ship", _x);
difX = thisX - spX;
xStp = difX / "8";
setProperty("/ship", _x , spX + xStp);
setProperty("/k", _x , spX + xStp);
Symbol 94 MovieClip Frame 1
if (/:score == "5") {
Set("/:tricount", "2");
}
if (/:score == "6") {
Set("/:tricount", "2");
}
if (/:score == "15") {
Set("/:tricount", "3");
}
if (/:score == "16") {
Set("/:tricount", "3");
}
if (/:score == "30") {
Set("/:tricount", "4");
}
if (/:score == "31") {
Set("/:tricount", "4");
}
if (/:score == "50") {
Set("/:tricount", "5");
}
if (/:score == "51") {
Set("/:tricount", "5");
}
if (/:score == "75") {
Set("/:tricount", "6");
}
if (/:score == "76") {
Set("/:tricount", "6");
}
if (/:score == "100") {
Set("/:tricount", "7");
}
if (/:score == "101") {
Set("/:tricount", "7");
}
if (/:score == "125") {
Set("/:tricount", "8");
}
if (/:score == "126") {
Set("/:tricount", "8");
}
if (/:score == "150") {
Set("/:tricount", "9");
}
if (/:score == "151") {
Set("/:tricount", "9");
}
if (/:score == "200") {
Set("/:tricount", "10");
}
if (/:score == "201") {
Set("/:tricount", "10");
}
if (/:score == "202") {
Set("/:tricount", "10");
}
if (/:score == "203") {
Set("/:tricount", "10");
}
if (/:score == "250") {
Set("/:tricount", "11");
}
if (/:score == "251") {
Set("/:tricount", "11");
}
if (/:score == "252") {
Set("/:tricount", "11");
}
if (/:score == "253") {
Set("/:tricount", "11");
}
Symbol 94 MovieClip Frame 2
if (/:score == "5") {
Set("/:tricount", "2");
}
if (/:score == "6") {
Set("/:tricount", "2");
}
if (/:score == "15") {
Set("/:tricount", "3");
}
if (/:score == "16") {
Set("/:tricount", "3");
}
if (/:score == "30") {
Set("/:tricount", "4");
}
if (/:score == "31") {
Set("/:tricount", "4");
}
if (/:score == "50") {
Set("/:tricount", "5");
}
if (/:score == "51") {
Set("/:tricount", "5");
}
if (/:score == "75") {
Set("/:tricount", "6");
}
if (/:score == "76") {
Set("/:tricount", "6");
}
if (/:score == "100") {
Set("/:tricount", "7");
}
if (/:score == "101") {
Set("/:tricount", "7");
}
if (/:score == "125") {
Set("/:tricount", "8");
}
if (/:score == "126") {
Set("/:tricount", "8");
}
if (/:score == "150") {
Set("/:tricount", "9");
}
if (/:score == "151") {
Set("/:tricount", "9");
}
if (/:score == "200") {
Set("/:tricount", "10");
}
if (/:score == "201") {
Set("/:tricount", "10");
}
if (/:score == "202") {
Set("/:tricount", "10");
}
if (/:score == "203") {
Set("/:tricount", "10");
}
Symbol 96 MovieClip Frame 1
if (/:life == "5") {
setProperty("/life1", _visible , "1");
setProperty("/life2", _visible , "1");
setProperty("/life3", _visible , "1");
setProperty("/life4", _visible , "1");
}
if (/:life == "4") {
setProperty("/life1", _visible , "1");
setProperty("/life2", _visible , "1");
setProperty("/life3", _visible , "1");
setProperty("/life4", _visible , "0");
}
if (/:life == "3") {
setProperty("/life1", _visible , "1");
setProperty("/life2", _visible , "1");
setProperty("/life3", _visible , "0");
setProperty("/life4", _visible , "0");
}
if (/:life == "2") {
setProperty("/life1", _visible , "1");
setProperty("/life2", _visible , "0");
setProperty("/life3", _visible , "0");
setProperty("/life4", _visible , "0");
}
if (/:life == "1") {
setProperty("/life1", _visible , "0");
setProperty("/life2", _visible , "0");
setProperty("/life3", _visible , "0");
setProperty("/life4", _visible , "0");
}
if (/:life < "1") {
tellTarget ("/") {
gotoAndStop ("end");
};
}
Symbol 96 MovieClip Frame 3
gotoAndPlay (1);
Symbol 99 MovieClip Frame 1
if (/:lifeplus < "51") {
if (/:life < "5") {
if (/:lifeplus == "50") {
Set("/:life", /:life + "1");
Set("/:lifeplus", "0");
}
}
} else {
Set("/:lifeplus", "0");
}
Symbol 99 MovieClip Frame 2
if (/:lifeplus < "51") {
if (/:life < "5") {
if (/:lifeplus == "50") {
Set("/:life", /:life + "1");
Set("/:lifeplus", "0");
}
}
} else {
Set("/:lifeplus", "0");
}
Symbol 100 MovieClip Frame 1
setProperty("/pos2", _x , getProperty("/pos", _x));
Symbol 100 MovieClip Frame 2
setProperty("/pos2", _x , getProperty("/pos", _x));
Symbol 101 MovieClip Frame 1
tan = "0";
stop();
Symbol 101 MovieClip Frame 3
if (pivotx < x) {
if (y < pivoty) {
gegenkathete = x - pivotx;
ankathete = pivoty - y;
baseangle = "0";
} else {
gegenkathete = y - pivoty;
ankathete = x - pivotx;
baseangle = "90";
}
} else if (y < pivoty) {
gegenkathete = pivoty - y;
ankathete = pivotx - x;
baseangle = "270";
} else {
gegenkathete = pivotx - x;
ankathete = y - pivoty;
baseangle = "180";
}
tan = gegenkathete / ankathete;
stop();
Symbol 101 MovieClip Frame 5
if ("1" < tan) {
if ("2.41" < tan) {
if ("5.03" < tan) {
if ("10.15" < tan) {
angle = "90";
} else {
angle = "84.375";
}
} else if ("3.3" < tan) {
angle = "78.75";
} else {
angle = "73";
}
} else if ("1.496" < tan) {
if ("1.87" < tan) {
angle = "67.5";
} else {
angle = "61.875";
}
} else if ("1.22" < tan) {
angle = "56.25";
} else {
angle = "50.625";
}
} else if ("0.41" < tan) {
if ("0.67" < tan) {
if ("0.82" < tan) {
angle = "45";
} else {
angle = "39.375";
}
} else if ("0.534" < tan) {
angle = "33.75";
} else {
angle = "28.125";
}
} else if ("0.198" < tan) {
if ("0.3" < tan) {
angle = "22.5";
} else {
angle = "16.875";
}
} else if ("0.098" < tan) {
angle = "11.25";
} else {
angle = "5.625";
}
angle = (angle + baseangle) - "180";
stop();
Symbol 102 MovieClip Frame 1
Set("/calc1:pivotx", getProperty("/pos2", _x));
Set("/calc1:pivoty", getProperty("/pos2", _y));
Set("/calc1:x", getProperty("/bullet", _x));
Set("/calc1:y", getProperty("/bullet", _y));
call("/calc1:init");
call("/calc1:tangens");
setProperty("/bullet", _rotation , /calc1:angle);
setProperty("/bullet", _yscale , "100");
setProperty("/bullet", _xscale , "100");
setProperty("/k", _rotation , /calc1:angle);
setProperty("/k", _yscale , "100");
setProperty("/k", _xscale , "100");
Symbol 102 MovieClip Frame 2
gotoAndPlay (1);
Symbol 110 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 1
radius1 = getProperty("/tri" add n, _width) / "2";
radius2 = getProperty("/bullet", _width) / "2";
Symbol 111 MovieClip Frame 2
play();
n = "0";
while (n < "11") {
n = n + "1";
obj1_x = getProperty("/bullet", _x);
obj2_x = getProperty("/tri" add n, _x);
delta_x = obj1_x - obj2_x;
obj1_y = getProperty("/bullet", _y);
obj2_y = getProperty("/tri" add n, _y);
delta_y = obj1_y - obj2_y;
if (((radius1 + radius2) * (radius1 + radius2)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
Set("/:bulletx", "131313");
tellTarget ("/tri" add n) {
gotoAndPlay ("bust");
};
} else {
Set("/:bulletx", "0");
}
}
Symbol 111 MovieClip Frame 3
play();
n = "0";
while (n < "11") {
n = n + "1";
obj1_x = getProperty("/bullet", _x);
obj2_x = getProperty("/tri" add n, _x);
delta_x = obj1_x - obj2_x;
obj1_y = getProperty("/bullet", _y);
obj2_y = getProperty("/tri" add n, _y);
delta_y = obj1_y - obj2_y;
if (((radius1 + radius2) * (radius1 + radius2)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
Set("/:bulletx", "131313");
tellTarget ("/tri" add n) {
gotoAndPlay ("bust");
};
} else {
Set("/:bulletx", "0");
}
}
prevFrame();
Symbol 113 Button
on (press) {
if (/:bulletcheck == "0") {
tellTarget ("/ship") {
gotoAndPlay ("go");
tellTarget ("/bullet") {
gotoAndPlay ("go");
};
}
}
}
Symbol 115 MovieClip Frame 1
x1 = getProperty("/ship", _x);
if (z < "1") {
z = "1";
}
Symbol 115 MovieClip Frame 2
if ("3" < z) {
x2 = getProperty("/ship", _x);
if ((x1 - x2) == "0") {
setProperty("/pos2", _x , getProperty("/ship", _x));
} else if ("0" < (x1 - x2)) {
setProperty("/pos2", _x , getProperty("/ship", _x) + "100");
} else {
setProperty("/pos2", _x , getProperty("/ship", _x) - "100");
}
}
z = z + "1";
Symbol 124 Button
on (press) {
tellTarget ("/") {
gotoAndStop ("go");
}
}
Symbol 162 Button
on (release) {
if (((/:score_done == "1") and (/:hiscore15 < /:score)) and (/:old_score <> /:score)) {
Set("/:old_score", /:score);
Set("/:hiscore", /:score);
if (/:xname eq "Name Here") {
Set("/:xname", "flashgamestudio");
}
loadVariablesNum ((((("/scores.php?action=sendscore&game=" add /:game) add "&hiscore=") add /:hiscore) add "&xname=") add /:xname, "0", "POST");
_visible = "0";
}
}
Symbol 166 MovieClip Frame 1
if ((/:hiscore20 < /:score) and (/:local == "1")) {
_visible = "1";
} else {
_visible = "0";
stop();
}
Symbol 167 MovieClip Frame 1
if (/:local == "1") {
_visible = "1";
} else {
_visible = "0";
stop();
}
Symbol 167 MovieClip Frame 2
Set("/:game", "invasion");
loadVariablesNum ("/scores.php?action=getscores&game=" add /:game, "0", "POST");
Symbol 167 MovieClip Frame 9
stop();