Frame 1
if (intro_done == 1) {
gotoAndPlay (5);
}
Frame 2
if (intro_done == 1) {
nextFrame();
play();
} else {
gotoAndPlay (1);
}
Frame 3
loadPercent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
progressmeter.gotoAndStop(loadPercent);
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay (5);
}
Frame 4
prevFrame();
play();
Frame 5
stop();
Frame 37
Set("/:pause", 1);
removeMovieClip("/cello_top");
stop();
Frame 54
if (/:select == 1) {
gotoAndPlay (65);
}
if (/:select == 2) {
gotoAndPlay (109);
}
if (/:select == 3) {
gotoAndPlay (59);
}
Frame 58
stop();
Frame 59
theScore = 0;
pause = 0;
boss_bounce = 0;
music = 1;
level = 1;
creat = 90;
hard = 70;
get_cap1 = 0;
ballsLeft = 2;
gTileNum = 110;
brick_remain = 49;
theNumberOfBalls = 1;
superball = 0;
pb = 300;
sidehit = 0;
i = 300;
while (i < 500) {
removeMovieClip("/pb_" add i);
i++;
}
removeMovieClip(this.MovieClip);
duplicateMovieClip ("/cello", "cello_top", 5000);
setProperty("/cello_top", _x , 0);
setProperty("/cello_top", _y , 0);
stop();
Instance of Symbol 105 MovieClip "paddle" in Frame 59
onClipEvent (enterFrame) {
this._x = _root._xmouse;
if (this._x < 0) {
this._x = 0;
} else if (this._x > 550) {
this._x = 550;
}
}
Frame 60
function moveTheBalls() {
x = 1;
while (x <= theNumberOfBalls) {
thisBall = theBallsList["ball" + x];
if ((!thisBall) == 0) {
thisBall.moveBall();
}
x++;
}
}
function newBallList(startBallNum) {
this["ball" + startBallNum] = new newBall("ball" + startBallNum);
}
function addNewBall() {
get_cap1 = 0;
theNumberOfBalls++;
theCurBallNum++;
theBallsList["ball" + theNumberOfBalls] = new newBall("ball" + theNumberOfBalls);
}
function maketargetList(numOfTiles) {
i = 0;
while (i < numOfTiles) {
gTargetList[i] = String("tile" + (i + 1));
i++;
}
}
function newBall(instName) {
duplicateMovieClip ("ball", instName, theNumberOfBalls);
this.name = instName;
this.MovieClip = _root[instName];
this.MovieClip._x = gBallBaseLoc[0];
this.MovieClip._y = gBallBaseLoc[1];
this.deltaX = getRandom(-5, 5);
this.deltaY = -10;
this.HitNum = 0;
}
function resetGame() {
maketargetList(gTileNum);
resetTiles();
}
function NextLevel() {
tellTarget ("/bricks") {
gotoAndPlay (2);
};
gotoAndPlay (60);
}
function resetTiles() {
i = 0;
while (i < gTileNum) {
var thisTile = gTargetList[i];
_root[thisTile]._x = _root[thisTile].startX;
i++;
}
}
function checkForXtraBall(theBallName) {
var xtraBallNum = xtraBallList.length;
i = 0;
while (i < xtraBallNum) {
if (theBallName eq xtraBallList[i]) {
return(1);
}
i++;
}
}
function getRandom(x, y) {
return(Math.round(Math.random() * (y - x)) + x);
}
Mouse.hide();
gameOn = 1;
theCurBallNum = 1;
gBallBaseLoc = [200, 500];
gThePaddle = [_root.paddle, _root.paddle2];
gGameRect = [10, 10, 530, 600];
gHMax = pGameRect[2] - 5;
gTargetList = [];
maketargetList(gTileNum);
theBallsList = new newBallList(theNumberOfBalls);
xtraBallList = ["none"];
_root.resetTiles();
newBall.prototype.moveBall = function () {
this.MovieClip._x = this.MovieClip._x + this.deltaX;
this.MovieClip._y = this.MovieClip._y + this.deltaY;
if (this.MovieClip._y < 4) {
hit_top = hit_top + 1;
if (hit_top > 4) {
hit_top = 0;
if (this.deltaY > 0) {
this.deltaY++;
} else {
this.deltaY--;
}
}
sidehit = 0;
this.flipY();
tellTarget ("/sounds") {
gotoAndPlay ("wall");
};
}
var theTileNum = gTargetList.length;
if (/:brick_remain == 0) {
NextLevel();
}
i = 0;
while (i < theTileNum) {
var thisTile = gTargetList[i];
if (this.MovieClip.hitTest(_root.bricks[thisTile])) {
this.increaseSpeed();
theScore = theScore + (10 * theCurBallNum);
tellTarget (_root.bricks[thisTile]) {
gotoAndPlay ("explode");
};
gTargetList.splice(i, 1);
this.flipY();
if (checkForXtraBall(thisTile)) {
addNewBall();
}
break;
}
i++;
}
thisPad = 0;
while (thisPad < 2) {
var thePaddle = gThePaddle[thisPad];
if (this.MovieClip.hitTest(thePaddle) && (this.deltaY > 0)) {
sidehit = 0;
tellTarget ("/sounds") {
gotoAndPlay ("paddle");
};
this.paddleHit(thePaddle);
}
thisPad++;
}
if ((this.MovieClip._y > (gGameRect[3] + 20)) or (cannon_hit == 1)) {
theBallsList[this.name] = 0;
removeMovieClip(this.MovieClip);
theCurBallNum--;
if ((theCurBallNum <= 0) or (cannon_hit == 1)) {
cannon_hit = 0;
tellTarget ("/paddle") {
gotoAndPlay (2);
};
ballsLeft--;
if (ballsLeft < 0) {
ballsLeft = 0;
gameOn = 0;
gotoAndPlay (64);
} else {
gotoAndPlay (60);
}
}
}
if ((this.MovieClip._x < gGameRect[0]) || (this.MovieClip._x > gGameRect[2])) {
sidehit = 1;
tellTarget ("/sounds") {
gotoAndPlay ("wall");
};
this.flipX();
}
};
newBall.prototype.serveBall = function () {
this.MovieClip._x = gBallBaseLoc[0];
this.MovieClip._y = gBallBaseLoc[1];
this.deltaX = getRandom(-5, 5);
this.deltaY = -10;
};
newBall.prototype.flipY = function () {
this.deltaY = this.deltaY * -1;
};
newBall.prototype.flipX = function () {
this.deltaX = this.deltaX * -1;
};
newBall.prototype.paddleHit = function (thePaddle) {
this.deltaX = (this.MovieClip._x - thePaddle._x) / 4;
this.flipY();
this.MovieClip._y = Math.min(this.MovieClip._y, thePaddle._y + 10);
};
newBall.prototype.increaseSpeed = function () {
if ((this.deltaY < -18) || (this.deltaY > 18)) {
} else {
this.hitNum++;
if (this.hitNum > 2) {
this.hitNum = 0;
if (this.deltaY > 0) {
this.deltaY++;
} else {
this.deltaY--;
}
}
}
};
Frame 61
if (get_cap1 == 1) {
addNewBall();
}
moveTheBalls();
Frame 62
gotoAndPlay (61);
Frame 64
Mouse.show();
i = 1;
while (i < 200) {
removeMovieClip("tile" add i);
i++;
}
stop();
Frame 65
stage = stg;
pause = 0;
over = 0;
dir = 0;
free = 0;
miss = 1;
bomb = 0;
spd = 7;
score = 0;
s_freq = 4;
tellTarget ("/over") {
gotoAndStop (1);
};
stop();
Frame 67
if (bomb == (stage + 10)) {
gotoAndPlay (98);
}
Frame 68
if (pause != 1) {
gotoAndPlay (66);
} else {
gotoAndStop (99);
}
Frame 98
stop();
Frame 99
stop();
Frame 109
ship_spd = 7;
ufo = 0;
Set("/:gun_load", 0);
ship_fire = 0;
Set("/:goto_next", 0);
timer = 30;
safe = 0;
stop_fire = 0;
time_stop = 0;
tick = 0;
pow_lev = 1;
score = 0;
lives = 5;
pb = 2;
dir = 0;
adv = 0;
laser = 0;
godown = 1;
hit_bottom = 0;
Set("/:main_x", 100);
Set("/:main_y", 20);
tellTarget ("/remain") {
gotoAndPlay(/:lives);
};
tellTarget ("/array/sets") {
gotoAndPlay (100);
};
stop();
Frame 110
if ((/:pause == 0) and (/:time_stop == 0)) {
Set("/:tick", /:tick + 1);
if (/:tick > timer) {
Set("/:tick", 0);
gotoAndPlay (112);
}
}
Instance of Symbol 264 MovieClip "ship" in Frame 110
onClipEvent (enterFrame) {
_x = this_x;
_y = this_y;
this_x = _x;
this_y = _y;
if (key.isDown(key.Right) and (/:pause == 0)) {
if (this_x < 519) {
this_x = this_x + /:ship_spd;
}
}
if (key.isDown(key.Left) and (/:pause == 0)) {
if (this_x > 37) {
this_x = this_x - /:ship_spd;
}
}
}
Frame 111
ufo_out = random(700);
if (((ufo_out == 101) and (ufo == 0)) and (/:destroyed > 7)) {
tellTarget ("/sounds") {
gotoAndPlay ("ufo");
};
tellTarget ("/ufo") {
gotoAndPlay (2);
};
}
if ((/:destroyed > 20) and (/:destroyed < 30)) {
Set("/:timer", 20);
}
if ((/:destroyed > 10) and (/:destroyed < 20)) {
Set("/:timer", 15);
}
if ((/:destroyed > 5) and (/:destroyed < 10)) {
Set("/:timer", 10);
}
if ((/:destroyed > 3) and (/:destroyed < 5)) {
Set("/:timer", 6);
}
if ((/:destroyed > 1) and (/:destroyed < 3)) {
Set("/:timer", 3);
}
if (/:destroyed < 2) {
Set("/:timer", 1);
}
if (/:destroyed == 0) {
Set("/:goto_next", 1);
gotoAndPlay (118);
}
if (/:hit_bottom == 1) {
gotoAndPlay (123);
} else {
gotoAndPlay (110);
}
Frame 112
adv = adv + 2;
Set("/:cheater", 0);
tellTarget ("/advance") {
gotoAndStop(/:adv);
};
if (adv > 6) {
adv = 0;
}
move = move + 1;
gotoAndPlay (110);
Frame 113
stop();
Frame 118
Set("/:timer", 30);
Set("/array/:this_x", 0);
Set("/array/:this_y", 0);
Set("/:main_x", 0);
Set("/:main_y", 0);
Set("/:pause", 0);
Set("/:level", /:level + 1);
if (/:level == 86) {
Set("/:level", 80);
}
if (/:level == 96) {
Set("/:level", 90);
}
tellTarget ("/array/sets") {
gotoAndPlay (100);
};
Frame 122
gotoAndPlay (110);
Frame 123
Set("/:pause", 1);
Frame 147
stop();
Set("/:game_over", 1);
Set("/:cheater", 0);
Instance of Symbol 267 MovieClip in Frame 148
onClipEvent (load) {
stop();
}
Symbol 15 MovieClip Frame 145
Set("/:intro_done", 1);
stop();
Symbol 19 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 100
stop();
Symbol 38 Button
on (release) {
gotoAndPlay (6);
}
Symbol 43 Button
on (release) {
gotoAndStop (58);
}
Symbol 58 MovieClip Frame 143
stop();
Symbol 68 Button
on (release) {
Set("/:select", 3);
nextFrame();
play();
}
Symbol 75 Button
on (release) {
Set("/:select", 2);
nextFrame();
play();
}
Symbol 81 Button
on (release) {
Set("/:select", 1);
nextFrame();
play();
}
Symbol 97 Button
on (release) {
stopAllSounds();
gotoAndStop (5);
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
gotoAndStop (1);
Symbol 101 MovieClip Frame 3
gotoAndStop (1);
Symbol 101 MovieClip Frame 4
gotoAndPlay (1);
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
Set("/:brick_remain", /:brick_remain - 1);
stop();
Symbol 104 MovieClip Frame 1
Set("/:get_cap1", 0);
Set("/:gTileNum", 110);
Set("/:brick_remain", 63);
Set("/:theNumberOfBalls", 1);
Set("/:superball", 0);
removeMovieClip(this.MovieClip);
stop();
Symbol 104 MovieClip Frame 2
gotoAndStop (1);
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 3
Set("/:superball", 0);
if (/:ballsLeft < 0) {
stop();
} else {
i = 300;
while (i < 500) {
removeMovieClip("/pb_" add i);
i++;
}
gotoAndStop (1);
}
Symbol 115 Button
on (rollOver) {
duplicateMovieClip ("/cello", "cello_top", 5000);
setProperty("/cello_top", _x , 0);
setProperty("/cello_top", _y , 0);
}
on (release) {
gotoAndPlay (60);
}
Symbol 118 Button
on (rollOver) {
removeMovieClip("/cello_top");
}
on (release) {
gotoAndPlay (60);
}
Symbol 122 Button
on (keyPress "<Space>") {
pause = 1;
gotoAndPlay (59);
}
Symbol 126 Button
on (release) {
removeMovieClip("/cello_top");
stopAllSounds();
gotoAndStop (5);
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 12
gotoAndStop (1);
Symbol 140 MovieClip Frame 204
gotoAndPlay (13);
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
Set("/:score", /:score + 1);
Symbol 146 MovieClip Frame 8
gotoAndStop (1);
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 2
stop();
Symbol 153 MovieClip Frame 3
stop();
Symbol 153 MovieClip Frame 4
removeMovieClip("/barrel");
tellTarget ("/over") {
gotoAndPlay (2);
};
stop();
Symbol 153 MovieClip Frame 5
stop();
Symbol 153 MovieClip Frame 6
stop();
Symbol 153 MovieClip Frame 7
stop();
Symbol 153 MovieClip Frame 8
removeMovieClip("/barrel");
tellTarget ("/over") {
gotoAndPlay (2);
};
stop();
Symbol 153 MovieClip Frame 9
stop();
Symbol 153 MovieClip Frame 10
stop();
Symbol 153 MovieClip Frame 11
stop();
Symbol 153 MovieClip Frame 12
removeMovieClip("/barrel");
tellTarget ("/over") {
gotoAndPlay (2);
};
stop();
Symbol 155 Button
on (release) {
tellTarget ("/barrel") {
gotoAndStop ("old");
};
}
on (release) {
tellTarget ("/sound") {
gotoAndPlay (2);
};
startDrag ("/barrel", true, 10, 500, 500, 500);
gotoAndPlay (66);
}
Symbol 160 MovieClip Frame 10
gotoAndPlay (1);
Symbol 160 MovieClip Frame 20
gotoAndPlay (1);
Symbol 168 MovieClip Frame 1
i = /:bomb + 1;
my_x = _x;
if (my_x < 0) {
stop();
}
Symbol 168 MovieClip Frame 2
my_x = _x;
my_y = _y;
if (/:pause != 1) {
_y = (my_y + /:spd);
}
caught = this.hitTest(_root.barrel);
if (caught == true) {
tellTarget ("/barrel/splash") {
gotoAndPlay (2);
};
removeMovieClip("");
}
if (my_y > 500) {
gotoAndPlay (4);
}
Symbol 168 MovieClip Frame 3
gotoAndPlay (2);
Symbol 168 MovieClip Frame 4
Set("/:pause", 1);
Symbol 168 MovieClip Frame 5
Set("/:miss", /:miss + 1);
tellTarget ("/barrel") {
nextFrame();
};
Symbol 168 MovieClip Frame 10
if (i < (/:bomb + 1)) {
tellTarget ("/b_" add i) {
gotoAndPlay ("harmless");
};
}
Symbol 168 MovieClip Frame 16
i = i + 1;
if (i > (/:bomb + 1)) {
if (/:over != 1) {
tellTarget ("/background") {
gotoAndPlay (2);
};
}
stop();
removeMovieClip("");
} else {
gotoAndPlay (10);
}
Symbol 168 MovieClip Frame 29
removeMovieClip("");
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 175 Button
on (rollOver) {
tellTarget ("/barrel") {
gotoAndStop ("normal");
};
}
on (release) {
tellTarget ("/sound") {
gotoAndPlay (2);
};
startDrag ("/barrel", true, 10, 500, 500, 500);
gotoAndPlay (66);
}
Symbol 179 Button
on (rollOver) {
tellTarget ("/barrel") {
gotoAndStop ("narrow");
};
}
on (release) {
tellTarget ("/sound") {
gotoAndPlay (2);
};
startDrag ("/barrel", true, 10, 500, 500, 500);
gotoAndPlay (66);
}
Symbol 180 Button
on (keyPress "<Right>") {
barx = getProperty("/barrel", _x);
setProperty("/barrel", _x , barx + 20);
}
on (keyPress "<Left>") {
barx = getProperty("/barrel", _x);
setProperty("/barrel", _x , barx - 20);
}
Symbol 181 Button
on (release) {
tellTarget ("/") {
gotoAndPlay (1);
};
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 74
stop();
tellTarget ("/background") {
gotoAndPlay ("gameover");
};
Set("/:over", 1);
Symbol 186 MovieClip Frame 1
freq = /:s_freq;
commit = 10;
Symbol 186 MovieClip Frame 2
if (commit < 1) {
commit = random(10) + 1;
dir = random(2) + 1;
}
if (dir == 1) {
spd = random(20) + 30;
} else {
spd = random(20) - 30;
}
Symbol 186 MovieClip Frame 3
my_x = _x;
if (my_x < 0) {
my_x = 10;
dir = 1;
}
if (my_x > 500) {
my_x = 490;
dir = 0;
}
commit = commit - 1;
_x = (my_x + spd);
Symbol 186 MovieClip Frame 4
freq = freq - 1;
drop = random(2);
if ((freq < 1) and (drop == 1)) {
tellTarget ("bomb") {
gotoAndPlay ("empty");
};
freq = /:s_freq;
Set("/:bomb", /:bomb + 1);
duplicateMovieClip ("/bomb", "b_" add /:bomb, /:bomb + 1);
setProperty("/b_" add /:bomb, _x , my_x);
setProperty("/b_" add /:bomb, _y , 230);
}
Symbol 186 MovieClip Frame 5
gotoAndPlay (2);
Symbol 188 Button
on (release) {
tellTarget ("/sound") {
gotoAndPlay (2);
};
pause = 0;
bomb = 0;
stage = stage + 1;
if (stage > 3) {
if (upper == 1) {
upper = 0;
spd = spd + 1;
} else {
s_freq = s_freq - 1;
upper = 1;
}
}
}
on (release) {
gotoAndPlay (66);
}
Symbol 190 Button
on (release) {
tellTarget ("/sound") {
gotoAndPlay (2);
};
bomb = 0;
pause = 0;
gotoAndPlay (66);
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 1
if (/:pow_lev == 1) {
gotoAndPlay (2);
}
if (/:pow_lev == 2) {
gotoAndPlay (4);
}
if (/:pow_lev == 3) {
gotoAndPlay (6);
}
if (/:pow_lev == 4) {
gotoAndPlay (8);
}
if (/:pow_lev == 5) {
gotoAndPlay (10);
}
if (/:pow_lev == 6) {
gotoAndPlay (12);
}
if (/:pow_lev == 10) {
gotoAndPlay (40);
}
if ((/:pow_lev > 5) and (/:pow_lev != 10)) {
Set("/:pow_lev", 6);
gotoAndPlay (12);
}
Symbol 198 MovieClip Frame 2
Set("/:ship_bullet_x", _x);
Set("/:ship_bullet_y", _y);
this_y = _y;
this_x = _x;
if (this_x < 5) {
Set("/:gun_load", 0);
removeMovieClip("");
stop();
}
if (this_y < 15) {
Set("/:gun_load", 0);
removeMovieClip("");
}
Symbol 198 MovieClip Frame 3
this_y = this_y - 18;
_y = this_y;
gotoAndPlay (2);
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 5
gotoAndStop (1);
Symbol 203 MovieClip Frame 11
gotoAndStop (1);
Symbol 205 MovieClip Frame 1
this_y = _y;
this_x = _x;
if (this_x < 5) {
removeMovieClip("");
stop();
}
if (this_y > 600) {
Set("/:boss_shot", /:boss_shot + 1);
Set("/:alien_fire", /:alien_fire - 1);
removeMovieClip("");
stop();
}
Symbol 205 MovieClip Frame 2
if (/:stop_fire == 0) {
this_y = this_y + 7;
_y = this_y;
ship_coll = this.hitTest(_root.ship.ship_hotspot);
if (ship_coll == true) {
if (/:safe == 1) {
Set("/:alien_fire", /:alien_fire - 1);
removeMovieClip("");
} else {
tellTarget ("_root.ship") {
gotoAndPlay ("explode");
};
}
gotoAndPlay (3);
}
}
gotoAndPlay (1);
Symbol 205 MovieClip Frame 3
Set("/:alien_fire", /:alien_fire - 1);
removeMovieClip("");
Symbol 212 MovieClip Frame 1
this_y = _y;
this_x = _x;
status1 = this.hitTest("/bullet");
if (status1 == true) {
if (/:pow_lev == 1) {
removeMovieClip("/bullet");
}
gotoAndPlay (3);
}
Symbol 212 MovieClip Frame 2
if (/:pause == 0) {
fire = random(350);
if ((fire == 1) and (/:alien_fire < 6)) {
Set("/:alien_fire", /:alien_fire + 1);
Set("/:pb", /:pb + 1);
duplicateMovieClip ("_root.a_f_1", "blobr_" add /:pb, /:pb);
setProperty("_root.blobr_" add /:pb, _x , this_x + /:main_x);
setProperty("_root.blobr_" add /:pb, _y , this_y + /:main_y);
}
}
gotoAndPlay (1);
Symbol 212 MovieClip Frame 3
Set("/:destroyed", /:destroyed - 1);
Set("/:gun_load", 0);
Set("/:score", /:score + 50);
Symbol 212 MovieClip Frame 15
Set("/:squadron", /:squadron + 1);
stop();
Symbol 216 MovieClip Frame 1
this_y = _y;
this_x = _x;
status1 = this.hitTest("/bullet");
if (status1 == true) {
if (/:pow_lev == 1) {
removeMovieClip("/bullet");
}
gotoAndPlay (3);
}
Symbol 216 MovieClip Frame 2
if (/:pause == 0) {
fire = random(350);
if ((fire == 1) and (/:alien_fire < 6)) {
Set("/:alien_fire", /:alien_fire + 1);
Set("/:pb", /:pb + 1);
duplicateMovieClip ("_root.a_f_1", "blobr_" add /:pb, /:pb);
setProperty("_root.blobr_" add /:pb, _x , this_x + /:main_x);
setProperty("_root.blobr_" add /:pb, _y , this_y + /:main_y);
}
}
gotoAndPlay (1);
Symbol 216 MovieClip Frame 3
Set("/:destroyed", /:destroyed - 1);
Set("/:gun_load", 0);
Set("/:score", /:score + 50);
Symbol 216 MovieClip Frame 16
Set("/:squadron", /:squadron + 1);
stop();
Symbol 220 MovieClip Frame 1
this_y = _y;
this_x = _x;
status1 = this.hitTest("/bullet");
if (status1 == true) {
if (/:pow_lev == 1) {
removeMovieClip("/bullet");
}
gotoAndPlay (3);
}
Symbol 220 MovieClip Frame 2
if (/:pause == 0) {
fire = random(350);
if ((fire == 1) and (/:alien_fire < 6)) {
Set("/:alien_fire", /:alien_fire + 1);
Set("/:pb", /:pb + 1);
duplicateMovieClip ("_root.a_f_1", "blobr_" add /:pb, /:pb);
setProperty("_root.blobr_" add /:pb, _x , this_x + /:main_x);
setProperty("_root.blobr_" add /:pb, _y , this_y + /:main_y);
}
}
gotoAndPlay (1);
Symbol 220 MovieClip Frame 3
Set("/:destroyed", /:destroyed - 1);
Set("/:gun_load", 0);
Set("/:score", /:score + 50);
Symbol 220 MovieClip Frame 15
Set("/:squadron", /:squadron + 1);
stop();
Symbol 221 MovieClip Frame 1
Set("/:destroyed", 54);
stop();
Symbol 221 MovieClip Frame 80
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 81
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 82
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 83
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 84
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 85
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 90
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 91
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 92
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 93
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 94
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 95
Set("/:destroyed", 55);
stop();
Symbol 221 MovieClip Frame 100
gotoAndPlay(/:level);
Symbol 223 MovieClip Frame 1
this_move = 0;
Symbol 223 MovieClip Frame 2
if ((/:pause == 0) and (/:time_stop == 0)) {
setProperty("/array", _x , this_x);
setProperty("/array", _y , this_y);
statusl = this.hitTest(_root.wall_left);
statusr = this.hitTest(_root.wall_right);
statusb = this.hitTest(_root.wall_bottom);
this_x = getProperty("/array", _x);
this_y = getProperty("/array", _y);
if (/:move > this_move) {
if (/:dir == 0) {
this_x = this_x - 15;
Set("/:main_x", /:main_x - 15);
}
if (/:dir == 1) {
this_x = this_x + 15;
Set("/:main_x", /:main_x + 15);
}
this_move = /:move;
}
if (statusl == true) {
tellTarget ("/wall_left") {
gotoAndPlay (2);
};
this_y == getProperty("/array", _y);
this_y = this_y + 12;
Set("/:main_y", /:main_y + 12);
Set("/:dir", 1);
setProperty("/array", _x , this_x);
setProperty("/array", _y , this_y);
}
if (statusr == true) {
tellTarget ("/wall_right") {
gotoAndPlay (2);
};
this_y == getProperty("/array", _y);
this_y = this_y + 12;
Set("/:main_y", /:main_y + 12);
Set("/:dir", 0);
setProperty("/array", _x , this_x);
setProperty("/array", _y , this_y);
}
}
if (statusb == true) {
Set("/:hit_bottom", 1);
}
Symbol 223 MovieClip Frame 3
gotoAndPlay (2);
Symbol 223 MovieClip Frame 10
stop();
Symbol 228 MovieClip Frame 1
_x = 37;
stop();
Symbol 228 MovieClip Frame 2
this_x = _x;
Set("/:ufo", 1);
status1 = this.hitTest("/bullet");
if (status1 == true) {
removeMovieClip("/bullet");
gotoAndPlay (4);
}
Symbol 228 MovieClip Frame 3
this_x = this_x + 3;
_x = this_x;
if (/:pause == 0) {
fire = random(200);
}
if (this_x > 510) {
stopAllSounds();
Set("/:ufo", 0);
gotoAndPlay (1);
} else {
gotoAndPlay (2);
}
Symbol 228 MovieClip Frame 4
Set("/:ufo", 0);
Set("/:gun_load", 0);
Set("/:score", /:score + 300);
this_x = _x;
this_y = _y;
Symbol 228 MovieClip Frame 56
Set("/:ufo", 0);
gotoAndStop (1);
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 3
stop();
Symbol 233 MovieClip Frame 4
stop();
Symbol 233 MovieClip Frame 5
stop();
Symbol 238 Button
on (rollOver) {
Set("/:level", 90);
tellTarget ("/overlay") {
gotoAndStop (1);
};
tellTarget ("/backdrop") {
gotoAndStop (1);
};
tellTarget ("/array/sets") {
gotoAndStop(/:level);
};
}
on (release) {
gotoAndPlay (110);
Set("/:PAUSE", 0);
}
Symbol 239 Button
on (rollOver) {
tellTarget ("/overlay") {
gotoAndStop (1);
};
tellTarget ("/backdrop") {
gotoAndStop (2);
Set("/:level", 80);
};
tellTarget ("/array/sets") {
gotoAndStop(/:level);
};
}
on (release) {
Set("/:PAUSE", 0);
gotoAndPlay (110);
}
Symbol 240 Button
on (rollOver) {
Set("/:level", 90);
tellTarget ("/backdrop") {
gotoAndStop (2);
};
tellTarget ("/overlay") {
gotoAndStop (2);
};
tellTarget ("/array/sets") {
gotoAndStop(/:level);
};
}
on (release) {
gotoAndPlay (110);
Set("/:PAUSE", 0);
}
Symbol 241 Button
on (rollOver) {
Set("/:level", 90);
tellTarget ("/overlay") {
gotoAndStop (1);
};
tellTarget ("/backdrop") {
gotoAndStop (2);
};
tellTarget ("/array/sets") {
gotoAndStop(/:level);
};
}
on (release) {
Set("/:PAUSE", 0);
gotoAndPlay (110);
}
Symbol 245 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 4
stop();
Symbol 254 MovieClip Frame 6
stop();
Symbol 254 MovieClip Frame 8
stop();
Symbol 256 Button
on (keyPress "<Space>") {
if ((/:gun_load == 0) and (/:pause == 0)) {
Set("/:gun_load", 1);
tellTarget ("/sounds") {
gotoAndPlay ("shot2");
};
duplicateMovieClip ("/ship_fire", "bullet", 1);
setProperty("/bullet", _x , getProperty("/ship", _x));
setProperty("/bullet", _y , getProperty("/ship", _y) - 10);
}
}
on (keyPress "q") {
toggleHighQuality();
}
Symbol 259 Button
on (keyPress "<Space>") {
if ((/:gun_load == 0) and (/:pause == 0)) {
Set("/:gun_load", 1);
tellTarget ("/sounds") {
gotoAndPlay ("shot2");
};
duplicateMovieClip ("/ship_fire", "bullet", 1);
setProperty("/bullet", _x , getProperty("/ship", _x));
setProperty("/bullet", _y , getProperty("/ship", _y) - 10);
}
}
Symbol 264 MovieClip Frame 1
Set("/:safe", 0);
Symbol 264 MovieClip Frame 2
Set("/:gun_load", 0);
stop();
Symbol 264 MovieClip Frame 4
Set("/:pause", 1);
Symbol 264 MovieClip Frame 56
Set("/:lives", /:lives - 1);
tellTarget ("/remain") {
gotoAndPlay(/:lives);
};
if (/:lives < 1) {
Set("/:pause", 1);
tellTarget ("/game_over") {
gotoAndStop (2);
};
stop();
}
Symbol 264 MovieClip Frame 57
if (/:stop_fire == 0) {
Set("/:pause", 0);
gotoAndStop (1);
}
Symbol 264 MovieClip Frame 58
prevFrame();
play();
Symbol 265 Button
on (keyPress "p") {
Set("/:pause", 1);
Set("/:stop_fire", 1);
gotoAndPlay (113);
}
Symbol 266 Button
on (release) {
stopAllSounds();
tellTarget ("/") {
gotoAndStop (1);
};
}
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
stopAllSounds();
Set("/:game_over", 1);
stop();
Symbol 276 Button
on (keyPress "p") {
Set("/:cheater", 0);
Set("/:pause", 0);
Set("/:stop_fire", 0);
gotoAndPlay (110);
}
Symbol 277 Button
on (keyPress "<Enter>") {
tellTarget ("/") {
gotoAndPlay (1);
};
}