Frame 1
fscommand ("allowscale", "false");
total = (_framesloaded / _totalframes) * "100";
Set("/:percent", (substring(total, "1", "5")) add "%");
setProperty("/graph_per", _xscale , total);
setProperty("/graph_per", _x , "163.9" + (total * "1.11"));
setProperty("/graph_per", _y , "226.4");
if (total >= "100") {
gotoAndStop (4);
}
Frame 3
if (total >= "100") {
gotoAndStop (4);
} else {
gotoAndPlay (1);
}
Frame 4
stop();
Set("/:points", "0");
Set("/:deadenemies", "0");
Set("/:pilots", "4");
Set("/:shots", "0");
Symbol 8 Button
on (keyPress "q") {
fscommand ("quit");
}
Symbol 16 MovieClip Frame 1
stop();
Symbol 24 Button
on (keyPress "<Right>") {
stop();
}
Symbol 25 Button
on (keyPress "<Up>") {
stop();
}
Symbol 26 Button
on (keyPress "<Down>") {
stop();
}
Symbol 27 Button
on (keyPress "<Left>") {
stop();
}
Symbol 32 Button
on (keyPress "<Enter>") {
gotoAndStop (4);
}
Symbol 43 Button
on (release) {
gotoAndStop (5);
}
Symbol 45 Button
on (keyPress "<Space>") {
gotoAndStop (5);
}
Symbol 48 Button
on (keyPress "<Right>") {
if (/load:STOP == "0") {
if (getProperty("/plane", _x) < (getProperty("/frame", _x) + (getProperty("/frame", _width) / "2"))) {
setProperty("/plane", _x , getProperty("/plane", _x) + "15");
tellTarget ("/plane") {
gotoAndPlay (4);
};
tellTarget ("/trottle") {
play();
};
}
}
if (/load:STOP == "1") {
if (getProperty("/plane", _x) < (getProperty("/frame", _x) + (getProperty("/frame", _width) / "2"))) {
setProperty("/plane", _x , getProperty("/plane", _x) + "15");
}
}
}
Symbol 49 Button
on (keyPress "<Up>") {
if (/load:STOP == "0") {
if ((getProperty("/frame", _y) - (getProperty("/frame", _height) / "2")) < getProperty("/plane", _y)) {
setProperty("/plane", _y , getProperty("/plane", _y) - "15");
tellTarget ("/trottle") {
play();
};
}
}
if (/load:STOP == "1") {
if ((getProperty("/frame", _y) - (getProperty("/frame", _height) / "2")) < getProperty("/plane", _y)) {
setProperty("/plane", _y , getProperty("/plane", _y) - "15");
}
}
}
Symbol 50 Button
on (keyPress "<Down>") {
if (/load:STOP == "0") {
if (getProperty("/plane", _y) < (getProperty("/frame", _y) + (getProperty("/frame", _height) / "2"))) {
setProperty("/plane", _y , getProperty("/plane", _y) + "15");
tellTarget ("/trottle") {
play();
};
}
}
if (/load:STOP == "1") {
if (getProperty("/plane", _y) < (getProperty("/frame", _y) + (getProperty("/frame", _height) / "2"))) {
setProperty("/plane", _y , getProperty("/plane", _y) + "15");
}
}
}
Symbol 51 Button
on (keyPress "<Left>") {
if (/load:STOP == "0") {
if ((getProperty("/frame", _x) - (getProperty("/frame", _width) / "2")) < getProperty("/plane", _x)) {
setProperty("/plane", _x , getProperty("/plane", _x) - "15");
tellTarget ("/plane") {
gotoAndPlay (7);
};
tellTarget ("/trottle") {
play();
};
}
}
if (/load:STOP == "1") {
if ((getProperty("/frame", _x) - (getProperty("/frame", _width) / "2")) < getProperty("/plane", _x)) {
setProperty("/plane", _x , getProperty("/plane", _x) - "15");
}
}
}
Symbol 56 MovieClip Frame 1
num = "1";
Symbol 56 MovieClip Frame 2
duplicateMovieClip ("/red", "red" add num, num);
setProperty("/red" add num, _x , random("550"));
setProperty("/red" add num, _y , -"23.8");
Symbol 56 MovieClip Frame 3
num = num + "1";
Symbol 56 MovieClip Frame 10
if (num < "10") {
gotoAndPlay (2);
} else {
gotoAndPlay (2);
num = "1";
}
Symbol 57 MovieClip Frame 1
num_n = "10";
while ("0" < num_n) {
b = "4";
while ("0" < b) {
if ((-"1") >= getProperty("/bullet" add b, _y)) {
removeMovieClip("/bullet" add b);
}
setProperty("/bullet" add b, _y , getProperty("/bullet" add b, _y) - "1");
b = b - "1";
}
if (getProperty("/red" add num_n, _y) >= "450") {
removeMovieClip("/red" add num_n);
}
setProperty("/red" add num_n, _y , getProperty("/red" add num_n, _y) + "7");
hit_x = getProperty("/plane", _x);
hit_y = getProperty("/plane", _y);
left = getProperty("/red" add num_n, _x) - "45";
right = getProperty("/red" add num_n, _x) + "45";
up = getProperty("/red" add num_n, _y) - "30";
down = getProperty("/red" add num_n, _y) + "30";
if ((((int(left) < int(hit_x)) and (int(hit_x) < int(right))) and (int(up) < int(hit_y))) and (int(hit_y) < int(down))) {
if (/load:STOP == "0") {
tellTarget (("/red" add num_n) add "/enemy") {
gotoAndStop (2);
};
tellTarget ("/plane") {
gotoAndPlay (10);
};
}
}
num_n = num_n - "1";
}
Symbol 57 MovieClip Frame 2
gotoAndPlay (1);
Symbol 63 MovieClip Frame 3
gotoAndPlay (1);
Symbol 63 MovieClip Frame 5
Set("/red/enemy:x", /red/enemy:x + "100");
Set("/:points", /red/enemy:x);
Set("/:deadenemies", /:deadenemies + "1");
stop();
checkb = "4";
while ("0" < checkb) {
tellTarget ("/bullet" add checkb) {
if (_currentframe == "5") {
removeMovieClip("/bullet" add checkb);
}
};
checkb = checkb - "1";
}
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
bn = bn + "1";
Symbol 66 MovieClip Frame 5
if (bn < "4") {
duplicateMovieClip ("/bullet", "bullet" add bn, bn * "99");
setProperty("/bullet" add bn, _x , getProperty("/plane", _x));
setProperty("/bullet" add bn, _y , getProperty("/plane", _y));
gotoAndPlay (2);
} else if (bn >= "4") {
gotoAndStop (6);
bn = "0";
}
Symbol 66 MovieClip Frame 6
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
num_n = "10";
while ("0" < num_n) {
b = "4";
while ("0" < b) {
hit_xb = getProperty("/bullet" add b, _x);
hit_yb = getProperty("/bullet" add b, _y);
left = getProperty("/red" add num_n, _x) - "45";
right = getProperty("/red" add num_n, _x) + "45";
up = getProperty("/red" add num_n, _y) - "30";
down = getProperty("/red" add num_n, _y) + "30";
if ((((int(left + "25") < int(hit_xb)) and (int(hit_xb) < int(right - "25"))) and (int(up) < int(hit_yb))) and (int(hit_yb) < int(down))) {
tellTarget (("/red" add num_n) add "/enemy") {
gotoAndPlay (2);
};
tellTarget ("/bullet" add b) {
gotoAndPlay (4);
};
}
b = b - "1";
}
num_n = num_n - "1";
}
Symbol 72 MovieClip Frame 2
gotoAndPlay (1);
Symbol 76 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 1
num_m = "10";
while ("0" < num_m) {
num_nm = "10";
while ("0" < num_nm) {
if (getProperty("/bullet_e" add num_m, _y) >= "400") {
removeMovieClip("/bullet_e" add num_m);
}
setProperty("/bullet_e" add num_m, _y , getProperty("/bullet_e" add num_m, _y) + "2");
num_nm = num_nm - "1";
}
hit_xb = getProperty("/bullet_e" add num_m, _x);
hit_yb = getProperty("/bullet_e" add num_m, _y);
left = getProperty("/plane", _x) - "45";
right = getProperty("/plane", _x) + "45";
up = getProperty("/plane", _y) - "30";
down = getProperty("/plane", _y) + "30";
if ((((int(left + "25") < int(hit_xb)) and (int(hit_xb) < int(right - "25"))) and (int(up) < int(hit_yb))) and (int(hit_yb) < int(down))) {
if (/load:STOP == "0") {
tellTarget ("/plane") {
gotoAndPlay (10);
};
tellTarget ("/bullet_e" add num_m) {
gotoAndPlay (4);
};
}
}
num_m = num_m - "1";
}
Symbol 78 MovieClip Frame 2
gotoAndPlay (1);
Symbol 95 MovieClip Frame 1
Set("/load:STOP", "0");
stop();
Symbol 95 MovieClip Frame 6
gotoAndStop (1);
Symbol 95 MovieClip Frame 9
gotoAndStop (1);
Symbol 95 MovieClip Frame 10
stopAllSounds();
Set("/load:STOP", "1");
Symbol 95 MovieClip Frame 14
stop();
Set("/:pilots", /:pilots - "1");
if (/:pilots >= "1") {
tellTarget ("/load") {
gotoAndPlay (2);
};
} else if (/:pilots == "0") {
tellTarget ("/theend") {
gotoAndStop (2);
};
}
Symbol 97 MovieClip Frame 1
STOP = "0";
count_p = "0";
stop();
Symbol 97 MovieClip Frame 2
count_p = count_p + "1";
STOP = "1";
Symbol 97 MovieClip Frame 8
if (count_p == "6") {
setProperty("/plane", _alpha , "100");
gotoAndStop (1);
STOP = "0";
} else if (count_p == "3") {
tellTarget ("/plane") {
gotoAndStop (1);
setProperty("/plane", _x , "275.85");
setProperty("/plane", _y , "371.85");
setProperty("/plane", _alpha , "25");
};
tellTarget ("/sound") {
play();
};
gotoAndPlay (2);
} else {
gotoAndPlay (2);
}
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
check = "10";
while ("0" < check) {
tellTarget (("/red" add check) add "/enemy") {
if (_currentframe == "2") {
duplicateMovieClip ("/ekill", "ekill" add check, check * "89");
setProperty("/ekill" add check, _x , getProperty("/red" add check, _x));
setProperty("/ekill" add check, _y , getProperty("/red" add check, _y));
removeMovieClip("/red" add check);
removeMovieClip(("/red" add check) add "/enemy");
}
};
check = check - "1";
}
stop();
Symbol 100 MovieClip Frame 1
short = int(substring(_name, "4", "1"));
duplicateMovieClip ("/bullet_e", "bullet_e" add short, int(short) * "33.3");
setProperty("/bullet_e" add short, _x , getProperty("/" add _name, _x));
setProperty("/bullet_e" add short, _y , getProperty("/" add _name, _y));
Symbol 101 Button
on (keyPress "<Space>") {
if (/load:STOP == "0") {
Set(/bulletmaker:bn, "0");
tellTarget ("/bulletmaker") {
gotoAndPlay (2);
};
tellTarget ("/machine") {
play();
};
Set("/:shots", /:shots + "3");
}
}
Symbol 103 Button
on (release, keyPress "<Space>") {
num_nnn = "10";
bbb = "4";
num_mmm = "10";
Set("/:points", "0");
Set("/:deadenemies", "0");
Set("/:pilots", "4");
Set("/:shots", "0");
while ("0" < num_nnn) {
removeMovieClip("/red" add num_nnn);
num_nnn = num_nnn - "1";
}
while ("0" < bbb) {
removeMovieClip("/bullet" add bbb);
bbb = bbb - "1";
}
while ("0" < num_mmm) {
removeMovieClip("/bullet_e" add num_mmm);
num_mmm = num_mmm - "1";
}
tellTarget ("/plane") {
gotoAndStop (1);
setProperty("/plane", _x , "275.85");
setProperty("/plane", _y , "371.85");
};
tellTarget ("/sound") {
play();
};
gotoAndStop (1);
}
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
d_acc = /:deadenemies;
s_acc = /:shots;
r_acc = (int(d_acc) / int(s_acc)) * "100";
acc = (substring(r_acc, "1", "5")) add "%";
points_final = /:points;
gotoAndPlay (3);
Symbol 113 MovieClip Frame 4
gotoAndPlay (2);
Symbol 118 MovieClip Frame 5
stop();
checke = "10";
while ("0" < checke) {
tellTarget ("/ekill" add checke) {
if (_currentframe == "5") {
removeMovieClip("/ekill" add checke);
}
};
checke = checke - "1";
}
Symbol 119 MovieClip Frame 3
gotoAndPlay (1);
Symbol 119 MovieClip Frame 5
stop();
checkr = "10";
while ("0" < checkr) {
tellTarget ("/bullet_e" add checkr) {
if (_currentframe == "5") {
removeMovieClip("/bullet_e" add checkr);
}
};
checkr = checkr - "1";
}