Frame 1
totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
percentone = totalBytes / 100;
percent = Math.round(loadedBytes / percentone);
if (_root._framesloaded >= _root._totalframes) {
gotoAndStop (5);
}
Instance of Symbol 11 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Frame 2
gotoAndPlay (1);
Frame 5
fscommand ("allowscale", false);
stopAllSounds();
Frame 6
fscommand ("allowscale", false);
Frame 15
fscommand ("allowscale", false);
stopAllSounds();
var amitavaplay = true;
var amitavalevel = 1;
var amitavalaser = false;
var amitavagun = true;
var frame = "2nd";
var generat = true;
var scrter = true;
var sco = 0;
Instance of Symbol 60 MovieClip in Frame 15
onClipEvent (enterFrame) {
_x = (_x + 0.3);
}
Instance of Symbol 73 MovieClip "back" in Frame 15
onClipEvent (load) {
_visible = false;
die = false;
}
Instance of Symbol 149 MovieClip "scrollers" in Frame 15
onClipEvent (load) {
pl = 1;
alive = true;
life = 20;
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
_x = (_x + (_parent.speed / 2));
_root.rot._x = _root.rot._x + (_parent.speed / 2);
if (_x > 600) {
_root.scrter = true;
life = 20;
_x = -200;
_root.rot._x = -200;
i = 0;
while (i < 9) {
this["t" + i].gotoAndStop(1);
i++;
}
alive = true;
pl = 1;
this.gotoAndStop(1 + random(7));
}
if (alive == false) {
if (pl == 1) {
if (this.frm == "1st") {
_root.scrter = false;
this.t1.play();
} else if (this.frm == "2nd") {
_root.scrter = false;
this.t2.play();
} else if (this.frm == "3rd") {
_root.scrter = false;
this.t3.play();
} else if (this.frm == "4th") {
_root.scrter = false;
this.t4.play();
} else if (this.frm == "5th") {
_root.scrter = false;
this.t5.play();
} else if (this.frm == "6th") {
_root.scrter = false;
this.t6.play();
} else if (this.frm == "7th") {
_root.scrter = false;
this.t7.play();
} else if (this.frm == "8th") {
_root.scrter = false;
this.t8.play();
}
pl = 0;
}
}
}
}
Instance of Symbol 150 MovieClip "rot" in Frame 15
onClipEvent (load) {
function reset() {
_x = xpos;
}
_visible = false;
xpos = _x;
}
onClipEvent (enterFrame) {
trace(_root.scrollers.frm);
if (_root.scrollers.frm == "2nd") {
dx = _x - _root.p1._x;
dy = _y - _root.p1._y;
d = Math.sqrt((dx * dx) + (dy * dy));
if (d > 10) {
rad = Math.atan2(dy, dx) + Math.PI;
deg = (rad * 180) / Math.PI;
_rotation = deg;
_root.scrollers.t2.gun._rotation = deg - 90;
b = 5 * Math.cos(rad);
p = 5 * Math.sin(rad);
}
} else if (_root.scrollers.frm == "5th") {
dx = _x - _root.p1._x;
dy = _y - _root.p1._y;
d = Math.sqrt((dx * dx) + (dy * dy));
if (d > 10) {
rad = Math.atan2(dy, dx) + Math.PI;
deg = (rad * 180) / Math.PI;
_rotation = deg;
_root.scrollers.t5.gun._rotation = deg - 90;
b = 5 * Math.cos(rad);
p = 5 * Math.sin(rad);
}
} else if (_root.scrollers.frm == "6th") {
dx = _x - _root.p1._x;
dy = _y - _root.p1._y;
d = Math.sqrt((dx * dx) + (dy * dy));
if (d > 10) {
rad = Math.atan2(dy, dx) + Math.PI;
deg = (rad * 180) / Math.PI;
_rotation = deg;
_root.scrollers.t6.gun._rotation = deg - 90;
b = 5 * Math.cos(rad);
p = 5 * Math.sin(rad);
}
}
}
Instance of Symbol 171 MovieClip "m" in Frame 15
onClipEvent (load) {
dy = 5;
dx = 7;
g = -0.3;
if (this._name != "m") {
_parent.sfx.playSound("bombDrop");
}
}
onClipEvent (enterFrame) {
if (active) {
i++;
_y = (sy + ((dy * i) - (g * Math.pow(i, 2))));
_x = (sx - ((_parent.speed - dx) * i));
j = 2;
while (j <= 5) {
ax = Math.abs(_x - _parent["p" + j]._x);
ay = Math.abs(_y - _parent["p" + j]._y);
if ((ax < 40) && (ay < 20)) {
_parent["p" + j].power = 0;
_parent["p" + j].play();
active = false;
this.removeMovieClip();
}
j++;
}
if (this.hitTest(_root.rm1)) {
if (pl == 1) {
this.play();
_root.rm1.die = true;
_root.rm1.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.rm2)) {
if (pl == 1) {
this.play();
_root.rm2.die = true;
_root.rm2.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.rm3)) {
if (pl == 1) {
this.play();
_root.rm3.die = true;
_root.rm3.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.scrollers.br) && (_root.scrter == true)) {
active = false;
_parent.scrollers.alive = false;
this.gotoAndPlay("explode");
}
if (_y > 350) {
active = false;
this.gotoAndPlay("explode");
}
}
}
Instance of Symbol 214 MovieClip "p1" in Frame 15
onClipEvent (load) {
function startSound() {
engine.start(0, 1000);
engine.setVolume(0);
}
function shoot() {
if (_root.amitavagun == true) {
bn--;
_parent.b.duplicateMovieClip("b" + bn, bn + 99);
_parent["b" + bn]._x = _x - 50;
_parent["b" + bn]._y = _y;
_parent["b" + bn]._rotation = _rotation;
_parent["b" + bn].ally = true;
_parent["b" + bn].active = true;
if (bn < 0) {
bn = 99;
}
bulletWait = 10;
} else if (_root.amitavalaser == true) {
bn--;
_parent.lb.duplicateMovieClip("lb" + bn, bn + 99);
_parent["lb" + bn]._x = _x - 50;
_parent["lb" + bn]._y = _y;
_parent["lb" + bn]._rotation = _rotation;
_parent["lb" + bn].ally = true;
_parent["lb" + bn].active = true;
if (bn < 0) {
bn = 99;
}
bulletWait = 10;
}
}
function res() {
amitint = 1;
a = 100;
aMin = 12;
if (_parent.level == 2) {
a = aMin;
}
b = 1.4;
minX = 50;
maxX = 450;
minY = 75;
maxY = 368;
minSpeed = 6;
maxSpeed = 16;
_x = 180;
state = "FLY";
_y = 200;
posX = _x;
posY = _y;
dX = 0;
dY = 0;
bn = 0;
mn = 0;
bombWait = 0;
bulletWait = 0;
mouseIsDown = false;
this.gotoAndStop(6);
}
engine = new Sound(this);
engine.attachSound("engine");
startSound();
power = 15;
res();
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
trace(_parent.mute);
if (!_parent.mute) {
engine.setVolume(_parent.speed * 3);
}
_parent.power = power;
if (!_parent.gPause) {
if (state == "TAKEOFF") {
tx = _parent._xmouse;
if (tx < 0) {
tx = 0;
}
if (tx > 200) {
tx = 200;
}
speedTarget = (tx / 200) * maxSpeed;
if (_parent.speed < speedTarget) {
_parent.speed = _parent.speed + 0.4;
} else if (_parent.speed > speedTarget) {
_parent.speed = _parent.speed - 0.4;
}
if (_parent.speed > (maxSpeed * 0.9)) {
if (_parent._ymouse < 400) {
state = "FLY";
}
}
} else if (state == "FLY") {
if (a > aMin) {
a = a - 1;
}
targetX = _parent._xmouse;
targetY = _parent._ymouse;
if (targetX < minX) {
targetX = minX;
}
if (targetX > maxX) {
targetX = maxX;
}
if (targetY < minY) {
targetY = minY;
}
dX = (dX + (((targetX - posX) * 1) / a)) / b;
dY = (dY + (((targetY - posY) * 1) / a)) / b;
posX = posX + dX;
posY = posY + dY;
_x = posX;
_y = posY;
if (posY > maxY) {
if (_parent.gameState != "LAND") {
state = "CRASH";
} else {
ax = _parent.airport._x - _x;
if ((ax > 400) || (dY > 5)) {
state = "CRASH";
} else {
state = "LAND";
}
}
}
if (_parent.gameState == "LAND") {
ax = _parent.airport._x - _x;
if (ax < -300) {
if (_y > 240) {
state = "CRASH";
} else {
_parent.ol.gotoAndStop("overshot");
state = "OVERSHOT";
engine.stop();
}
}
}
yFrame = dY / 4;
this._rotation = yFrame * 2;
if (yFrame > 5) {
yFrame = 5;
}
if (yFrame < -5) {
yFrame = -5;
}
yFrame = Math.floor(yFrame) + 6;
this.gotoAndStop(yFrame);
_parent.speed = (8 + minSpeed) - ((maxSpeed - minSpeed) * ((_x - minX) / (maxX - minX)));
i = 2;
while (i <= 5) {
dx = Math.abs(_x - _parent["p" + i]._x);
dy = Math.abs(_y - _parent["p" + i]._y);
if (_root.scrollers.br.hitTest(this._x, this._y + 10, true) && (_root.scrter == true)) {
power = 0;
}
if (this.br.hitTest(_root.rm1) && (_root.rm1.die == false)) {
if (amitint == 1) {
_root.rm1.play();
power = 0;
amitint = 0;
}
}
if (this.br.hitTest(_root.rm2) && (_root.rm2.die == false)) {
if (amitint == 1) {
_root.rm2.play();
power = 0;
amitint = 0;
}
}
if (this.br.hitTest(_root.rm3) && (_root.rm3.die == false)) {
if (amitint == 1) {
_root.rm3.play();
power = 0;
amitint = 0;
}
}
if (((dx < 70) && (dy < 30)) || (this.br.hitTest(_root.back))) {
power = 0;
}
i++;
}
if (power <= 0) {
state = "CRASH";
}
} else if (state == "LAND") {
if (_parent.speed > 1) {
_parent.speed = _parent.speed * 0.98;
} else {
state = "STOPPED";
_parent.speed = 0;
}
ax = _parent.airport._x - _x;
if (ax < -250) {
state = "CRASH";
}
} else if (state == "STOPPED") {
engine.stop();
if (_root.level == 3) {
_root.gameComplete = true;
_parent.gotoAndStop("gameOver");
} else {
_parent.gotoAndStop("levelover");
}
} else if (state == "CRASH") {
engine.stop();
_parent.gameState = "OVER";
_parent.speed = _parent.speed * 0.9;
_parent.explosion1._x = _x;
_parent.explosion1._y = _y;
_parent.explosion1.gotoAndPlay(2);
if (_y >= maxY) {
_visible = false;
state = "DEAD";
} else {
this.gotoAndPlay("spin");
dY = 0;
state = "SPIN";
}
} else if (state == "SPIN") {
_parent.speed = _parent.speed * 0.9;
dY = dY + 2;
_y = (_y + dY);
if (_y > 500) {
state = "DEAD";
}
} else if (state == "DEAD") {
if (_parent.speed > 1) {
_parent.speed = _parent.speed * 0.9;
} else {
state = "OVER";
_parent.gotoAndStop("gameover");
_parent.speed = 0;
}
} else if (state == "OVERSHOT") {
if (_parent.speed > 1) {
_parent.speed = _parent.speed * 0.97;
} else {
_parent.ol.gotoAndStop(1);
state = "OVER";
_parent.gotoAndStop("gameover");
_parent.speed = 0;
}
}
if (bombWait > 0) {
bombWait--;
}
if (bulletWait > 0) {
bulletWait--;
}
if ((mouseIsDown && (state == "FLY")) && (bulletWait == 0)) {
shoot();
}
} else {
_parent.speed = 0;
}
}
}
onClipEvent (mouseDown) {
if (_root.amitavaplay == true) {
if ((state == "FLY") && (!_parent.gPause)) {
shoot();
mouseIsDown = true;
}
}
}
onClipEvent (mouseUp) {
if (_root.amitavaplay == true) {
mouseIsDown = false;
}
}
onClipEvent (keyDown) {
if (_root.amitavaplay == true) {
if ((((Key.getCode() == 32) && (state == "FLY")) && (bombWait == 0)) && (!_parent.gPause)) {
mn++;
_parent.m.duplicateMovieClip("m" + mn, mn + 999);
_parent["m" + mn].sx = _x + 20;
_parent["m" + mn].sy = _y + 20;
_parent["m" + mn]._x = _x + 20;
_parent["m" + mn]._y = _y + 20;
_parent["m" + mn].i = 0;
_parent["m" + mn].active = true;
if (mn > 50) {
mn = 0;
}
bombWait = 15;
}
}
}
Instance of Symbol 220 MovieClip "eb" in Frame 15
onClipEvent (load) {
if (this._name != "eb") {
_parent.sfx.playSound("bullet");
}
}
onClipEvent (enterFrame) {
if (active && (!_parent.gPause)) {
_x = (_x + (Math.cos((_rotation * Math.PI) / 180) * 20));
_y = (_y + (Math.sin((_rotation * Math.PI) / 180) * 20));
i = 1;
while (i <= 3) {
dx = Math.abs(_x - _parent["p" + i]._x);
dy = Math.abs(_y - _parent["p" + i]._y);
if ((dx < 40) && (dy < 20)) {
_parent["p" + i].power--;
_root.amitavalaser = false;
_root.amitavagun = true;
this.play();
active = false;
}
i++;
}
if (_x > 620) {
if (ally && (_parent.score > 50)) {
_parent.wastedShots++;
setScore(_parent.score - 50);
}
this.play();
active = false;
}
}
}
Instance of Symbol 225 MovieClip "b" in Frame 15
onClipEvent (load) {
if (this._name != "b") {
_parent.sfx.playSound("bullet");
pl = 1;
}
}
onClipEvent (enterFrame) {
if (active && (!_parent.gPause)) {
_x = (_x - (Math.cos((_rotation * Math.PI) / 180) * 20));
_y = (_y - (Math.sin((_rotation * Math.PI) / 180) * 20));
i = 1;
while (i <= 5) {
dx = Math.abs(_x - _parent["p" + i]._x);
dy = Math.abs(_y - _parent["p" + i]._y);
if (((dx < 40) && (dy < 20)) && (_parent["p" + i].die == false)) {
_parent["p" + i].power--;
this.play();
active = false;
}
i++;
}
if (this.hitTest(_root.rm1)) {
if (pl == 1) {
this.play();
_root.rm1.die = true;
_root.rm1.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.rm2)) {
if (pl == 1) {
this.play();
_root.rm2.die = true;
_root.rm2.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.rm3)) {
if (pl == 1) {
this.play();
_root.rm3.die = true;
_root.rm3.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.scrollers.br)) {
if (_root.scrollers.life > 0) {
this.play();
active = false;
_root.scrollers.life = _root.scrollers.life - 1;
} else {
_parent.scrollers.alive = false;
}
}
if (_x < -30) {
if (ally && (_parent.score > 50)) {
_parent.wastedShots++;
setScore(_parent.score - 50);
}
this.play();
active = false;
}
}
}
Instance of Symbol 229 MovieClip "lb" in Frame 15
onClipEvent (load) {
if (this._name != "lb") {
_parent.sfx.playSound("bullet");
pl = 1;
}
}
onClipEvent (enterFrame) {
if (active && (!_parent.gPause)) {
_x = (_x - (Math.cos((_rotation * Math.PI) / 180) * 20));
_y = (_y - (Math.sin((_rotation * Math.PI) / 180) * 20));
i = 1;
while (i <= 3) {
dx = Math.abs(_x - _parent["p" + i]._x);
dy = Math.abs(_y - _parent["p" + i]._y);
if (((dx < 40) && (dy < 20)) && (_parent["p" + i].die == false)) {
_parent["p" + i].power = 0;
this.play();
_parent["p" + i].play();
active = false;
}
i++;
}
if (this.hitTest(_root.rm1)) {
if (pl == 1) {
this.play();
_root.rm1.die = true;
_root.rm1.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.rm2)) {
if (pl == 1) {
this.play();
_root.rm2.die = true;
_root.rm2.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.rm3)) {
if (pl == 1) {
this.play();
_root.rm3.die = true;
_root.rm3.play();
active = false;
pl = 0;
}
}
if (this.hitTest(_root.scrollers.br)) {
if (_root.scrollers.life > 0) {
this.play();
active = false;
_root.scrollers.life = _root.scrollers.life - 1;
} else {
_parent.scrollers.alive = false;
}
}
if (_x < -30) {
if (ally && (_parent.score > 50)) {
_parent.wastedShots++;
setScore(_parent.score - 50);
}
this.play();
active = false;
}
}
}
Instance of Symbol 233 MovieClip in Frame 15
onClipEvent (load) {
this._x = 50 + random(300);
sn = 1;
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if ((st == true) && (_root.p1.power < 10)) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 3);
st = false;
}
if (_y > 500) {
_y = -200;
_x = (50 + random(300));
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
this.gotoAndStop(1);
}
if (this.hitTest(_root.p1.br)) {
if (hit == 1) {
this.play();
hit = 0;
}
}
} else {
_y = -300;
}
}
Instance of Symbol 242 MovieClip in Frame 15
onClipEvent (load) {
this._x = 50 + random(300);
sn = 1;
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
att = true;
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_y = (_y + 3);
st = false;
}
if (_y > 500) {
_y = -200;
_x = (50 + random(300));
att = false;
count = 0;
st = true;
rad = random(1000);
hit = 1;
sn = 1;
this.gotoAndStop(1);
}
if (this.hitTest(_root.p1.br)) {
if (hit == 1) {
this.play();
hit = 0;
}
}
} else {
_y = -300;
}
}
Instance of Symbol 271 MovieClip "p3" in Frame 15
onClipEvent (load) {
function shoot() {
sc = 0;
shootNum--;
bx = _x - _parent.p1._x;
by = _y - _parent.p1._y;
angle = Math.tan(by / bx) * 57.2957795130823;
angle = angle + (20 - random(40));
xOffset = 50;
if (bx > 0) {
xOffset = -50;
angle = angle + 180;
}
if (((Math.abs(by) < (Math.abs(bx) * 0.6)) && (_parent.gameState == "FLY")) && (_root.generat == true)) {
bn++;
_parent.eb.duplicateMovieClip("eb" + bn, bn + 99);
_parent["eb" + bn]._x = _x + xOffset;
_parent["eb" + bn]._y = _y;
_parent["eb" + bn]._rotation = angle;
_parent["eb" + bn].ally = false;
_parent["eb" + bn].active = true;
if (bn > 190) {
bn = 100;
}
}
}
die = false;
power = 5;
bn = 200;
yMid = 200;
shootNum = 0;
_x = -100;
_parent.level = 3;
_parent.gameState = "FLY";
if (_parent.level == 3) {
state = "DEAD";
}
}
onClipEvent (enterFrame) {
if (!_parent.gPause) {
if (((_parent.gameState == "FLY") && (state == "DEAD")) && (random(100) == 0)) {
_y = ((yMid + 50) - random(100));
_x = -100;
dX = 12 + random(11);
dY = 0;
dT = (10 + random(11)) / 200;
sY = _y;
yMove = 20 + random(80);
power = 5;
t = 0;
state = "REAR";
} else if (state == "CRASH") {
_root.sco = _root.sco + 100;
_parent.explosion2._x = _x;
_parent.explosion2._y = _y;
_parent.explosion2.gotoAndPlay(2);
_parent.planekills++;
setScore(_parent.score + 1000);
this.gotoAndPlay("spin");
dY = 0;
state = "SPIN";
} else if (state == "SPIN") {
dY = dY + 2;
_y = (_y + dY);
if (_y > 500) {
_x = -100;
state = "DEAD";
}
} else if (state == "REAR") {
t = t + dT;
dY = _y;
_x = (_x + (dX - _parent.speed));
_y = (sY + (Math.sin(t) * yMove));
dY = _y - dY;
if ((_x > 650) && (_root.generat == true)) {
_x = -100;
state = "DEAD";
}
if ((shootNum == 0) && (random(50) == 0)) {
shootNum = 1 + random(4);
sc = 0;
} else if (shootNum > 0) {
if (sc == 10) {
shoot();
}
sc++;
}
yFrame = dY / 4;
this._rotation = yFrame * 2;
if (yFrame > 5) {
yFrame = 5;
}
if (yFrame < -5) {
yFrame = -5;
}
yFrame = Math.floor(yFrame) + 6;
this.gotoAndStop(yFrame);
if ((power <= 0) && (_parent.gameState == "FLY")) {
state = "CRASH";
}
}
}
}
Instance of Symbol 288 MovieClip "pm" in Frame 15
onClipEvent (load) {
function reset() {
_x = xpos;
pl = 1;
}
xpos = _x;
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - (_parent.speed / 35));
if (_x < 120) {
_root.generat = false;
}
if (_x < 132) {
if (_root.amitavalevel != 5) {
if (pl == 1) {
_root.lev.play();
pl = 0;
}
} else if (pl == 1) {
_root.wel.play();
pl = 0;
}
}
}
Frame 16
fscommand ("allowscale", false);
frame = "3rd";
Instance of Symbol 271 MovieClip "p3" in Frame 16
onClipEvent (load) {
function shoot() {
sc = 0;
shootNum--;
bx = _x - _parent.p1._x;
by = _y - _parent.p1._y;
angle = Math.tan(by / bx) * 57.2957795130823;
angle = angle + (20 - random(40));
xOffset = 50;
if (bx > 0) {
xOffset = -50;
angle = angle + 180;
}
if (((Math.abs(by) < (Math.abs(bx) * 0.6)) && (_parent.gameState == "FLY")) && (_root.generat == true)) {
bn++;
_parent.eb.duplicateMovieClip("eb" + bn, bn + 99);
_parent["eb" + bn]._x = _x + xOffset;
_parent["eb" + bn]._y = _y;
_parent["eb" + bn]._rotation = angle;
_parent["eb" + bn].ally = false;
_parent["eb" + bn].active = true;
if (bn > 190) {
bn = 100;
}
}
}
die = false;
power = 5;
bn = 200;
yMid = 200;
shootNum = 0;
_x = -100;
_parent.level = 3;
_parent.gameState = "FLY";
if (_parent.level == 3) {
state = "DEAD";
}
}
onClipEvent (enterFrame) {
if (!_parent.gPause) {
if (((_parent.gameState == "FLY") && (state == "DEAD")) && (random(100) == 0)) {
_y = ((yMid + 50) - random(100));
_x = -100;
dX = 12 + random(11);
dY = 0;
dT = (10 + random(11)) / 200;
sY = _y;
yMove = 20 + random(80);
power = 5;
t = 0;
state = "REAR";
} else if (state == "CRASH") {
_parent.explosion2._x = _x;
_parent.explosion2._y = _y;
_parent.explosion2.gotoAndPlay(2);
_parent.planekills++;
setScore(_parent.score + 1000);
this.gotoAndPlay("spin");
dY = 0;
state = "SPIN";
} else if (state == "SPIN") {
dY = dY + 2;
_y = (_y + dY);
if (_y > 500) {
_x = -100;
state = "DEAD";
}
} else if (state == "REAR") {
t = t + dT;
dY = _y;
_x = (_x + (dX - _parent.speed));
_y = (sY + (Math.sin(t) * yMove));
dY = _y - dY;
if ((_x > 650) && (_root.generat == true)) {
_x = -100;
state = "DEAD";
}
if ((shootNum == 0) && (random(50) == 0)) {
shootNum = 1 + random(4);
sc = 0;
} else if (shootNum > 0) {
if (sc == 5) {
shoot();
}
sc++;
}
yFrame = dY / 4;
this._rotation = yFrame * 2;
if (yFrame > 5) {
yFrame = 5;
}
if (yFrame < -5) {
yFrame = -5;
}
yFrame = Math.floor(yFrame) + 6;
this.gotoAndStop(yFrame);
if ((power <= 0) && (_parent.gameState == "FLY")) {
state = "CRASH";
}
}
}
}
Frame 17
fscommand ("allowscale", false);
frame = "4th";
Instance of Symbol 271 MovieClip "p3" in Frame 17
onClipEvent (load) {
function shoot() {
sc = 0;
shootNum--;
bx = _x - _parent.p1._x;
by = _y - _parent.p1._y;
angle = Math.tan(by / bx) * 57.2957795130823;
angle = angle + (20 - random(40));
xOffset = 50;
if (bx > 0) {
xOffset = -50;
angle = angle + 180;
}
if ((Math.abs(by) < (Math.abs(bx) * 0.6)) && (_parent.gameState == "FLY")) {
bn++;
_parent.eb.duplicateMovieClip("eb" + bn, bn + 99);
_parent["eb" + bn]._x = _x + xOffset;
_parent["eb" + bn]._y = _y;
_parent["eb" + bn]._rotation = angle;
_parent["eb" + bn].ally = false;
_parent["eb" + bn].active = true;
if (bn > 190) {
bn = 100;
}
}
}
die = false;
power = 5;
bn = 200;
yMid = 200;
shootNum = 0;
_x = -100;
_parent.level = 3;
_parent.gameState = "FLY";
if (_parent.level == 3) {
state = "DEAD";
}
}
onClipEvent (enterFrame) {
if (!_parent.gPause) {
if (((_parent.gameState == "FLY") && (state == "DEAD")) && (random(100) == 0)) {
_y = ((yMid + 50) - random(100));
_x = -100;
dX = 12 + random(11);
dY = 0;
dT = (10 + random(11)) / 200;
sY = _y;
yMove = 20 + random(80);
power = 5;
t = 0;
state = "REAR";
} else if (state == "CRASH") {
_parent.explosion2._x = _x;
_parent.explosion2._y = _y;
_parent.explosion2.gotoAndPlay(2);
_parent.planekills++;
setScore(_parent.score + 1000);
this.gotoAndPlay("spin");
dY = 0;
state = "SPIN";
} else if (state == "SPIN") {
dY = dY + 2;
_y = (_y + dY);
if (_y > 500) {
_x = -100;
state = "DEAD";
}
} else if (state == "REAR") {
t = t + dT;
dY = _y;
_x = (_x + (dX - _parent.speed));
_y = (sY + (Math.sin(t) * yMove));
dY = _y - dY;
if (_x > 650) {
state = "DEAD";
}
if ((shootNum == 0) && (random(50) == 0)) {
shootNum = 1 + random(4);
sc = 0;
} else if (shootNum > 0) {
if (sc == 20) {
shoot();
}
sc++;
}
yFrame = dY / 4;
this._rotation = yFrame * 2;
if (yFrame > 5) {
yFrame = 5;
}
if (yFrame < -5) {
yFrame = -5;
}
yFrame = Math.floor(yFrame) + 6;
this.gotoAndStop(yFrame);
if ((power <= 0) && (_parent.gameState == "FLY")) {
state = "CRASH";
}
}
}
}
Instance of Symbol 355 MovieClip "p2" in Frame 17
onClipEvent (load) {
function shoot() {
sc = 0;
shootNum--;
bx = _x - _parent.p1._x;
by = _y - _parent.p1._y;
angle = Math.tan(by / bx) * 57.2957795130823;
angle = angle + (20 - random(40));
xOffset = 50;
if (bx > 0) {
xOffset = -50;
angle = angle + 180;
}
if ((Math.abs(by) < (Math.abs(bx) * 0.6)) && (_parent.gameState == "FLY")) {
bn++;
_parent.eb.duplicateMovieClip("eb" + bn, bn + 99);
_parent["eb" + bn]._x = _x + xOffset;
_parent["eb" + bn]._y = _y;
_parent["eb" + bn]._rotation = angle;
_parent["eb" + bn].ally = false;
_parent["eb" + bn].active = true;
if (bn > 190) {
bn = 100;
}
}
}
die = false;
wait = 30;
a = 80;
aMin = 15;
b = 1.1;
yMin = 75;
yMax = 300;
yMid = 200;
xMax = 150;
power = 5;
bn = 100;
shootNum = 0;
state = "DEAD";
_parent.gameState = "FLY";
}
onClipEvent (enterFrame) {
trace(state);
if (!_parent.gPause) {
if (wait > 0) {
wait--;
}
if (((wait == 0) && (_parent.gameState == "FLY")) && (state == "DEAD")) {
r = random(_parent.level * 10);
_y = (yMin + random(yMax - yMin));
if (r < 15) {
state = "FRONT";
_xscale = -100;
_x = -200;
} else {
state = "FACE";
_xscale = 100;
_x = 650;
}
dX = 0;
dY = 0;
power = 5;
t = 0;
} else if (state == "CRASH") {
_parent.explosion2._x = _x;
_parent.explosion2._y = _y;
_parent.explosion2.gotoAndPlay(2);
_parent.planekills++;
setScore(_parent.score + 1000);
this.gotoAndPlay("spin");
dY = 0;
state = "SPIN";
} else if (state == "SPIN") {
dY = dY + 2;
_y = (_y + dY);
if (_y > 500) {
state = "DEAD";
}
} else {
if (state == "FRONT") {
if (t == 0) {
if (_parent.gameState == "FLY") {
targetY = yMin + random(yMax - yMin);
targetX = xMax + (50 - random(100));
} else {
targetY = -50;
}
tMax = 10 + random(100);
t++;
} else if (t < tMax) {
t++;
dX = (dX + (((targetX - _x) * 1) / a)) / b;
dY = (dY + (((targetY - _y) * 1) / a)) / b;
_x = (_x + dX);
_y = (_y + dY);
if (_y > 600) {
state = "DEAD";
}
} else {
t = 0;
}
if ((shootNum == 0) && (random(50) == 0)) {
shootNum = 1 + random(4);
sc = 0;
} else if (shootNum > 0) {
if (sc == 20) {
shoot();
}
sc++;
}
} else if (state == "FACE") {
if (t == 0) {
_y = (yMid + (25 - random(50)));
dY = (50 - random(101)) / 25;
dX = -3 - random(5);
t++;
} else {
_x = (_x + (dX - _parent.speed));
_y = (_y + dY);
if ((_y < -40) || (_x < -100)) {
state = "DEAD";
}
}
if ((shootNum == 0) && (random(50) == 0)) {
shootNum = 1 + random(4);
sc = 0;
} else if (shootNum > 0) {
if (sc == 20) {
shoot();
}
sc++;
}
}
yFrame = dY / 4;
this._rotation = yFrame * 2;
if (yFrame > 5) {
yFrame = 5;
}
if (yFrame < -5) {
yFrame = -5;
}
yFrame = Math.floor(yFrame) + 6;
this.gotoAndStop(yFrame);
if ((power <= 0) && (_parent.gameState == "FLY")) {
state = "CRASH";
}
}
}
}
Frame 18
fscommand ("allowscale", false);
frame = "5th";
Instance of Symbol 367 MovieClip "rm1" in Frame 18
onClipEvent (load) {
function reset() {
this.gotoAndStop(1);
die = false;
_x = -200;
_y = (50 + random(150));
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
gl = 1;
}
die = false;
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
gl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
if (gl == 1) {
att = true;
gl = 0;
}
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_x = (_x + 10);
st = false;
}
if (_x > 700) {
_x = -200;
_y = (50 + random(150));
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
gl = 1;
}
if (this.br.hitTest(_root.bubMC.br) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.b.start();
_root.bubMC.gotoAndStop(6);
_root.bubMC.die = true;
hit = 0;
}
}
}
}
Frame 19
fscommand ("allowscale", false);
Instance of Symbol 368 MovieClip "rm3" in Frame 19
onClipEvent (load) {
function reset() {
this.gotoAndStop(1);
die = false;
_x = 700;
_y = (50 + random(150));
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
gl = 1;
}
die = false;
sn = 1;
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
gl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (st == true) {
count = count + 1;
}
if (count > rad) {
if (gl == 1) {
att = true;
gl = 0;
}
}
if (att == true) {
if (sn == 1) {
_root.s.start();
sn = 0;
}
_x = (_x - 10);
st = false;
}
if (_x < -200) {
_x = 700;
_y = (50 + random(150));
att = false;
count = 0;
st = true;
rad = random(100);
hit = 1;
sn = 1;
gl = 1;
}
if (this.br.hitTest(_root.bubMC.br) && (_root.bubMC.die == false)) {
if (hit == 1) {
_root.b.start();
_root.bubMC.gotoAndStop(6);
_root.bubMC.die = true;
hit = 0;
}
}
}
}
Instance of Symbol 355 MovieClip "p2" in Frame 19
onClipEvent (load) {
function shoot() {
sc = 0;
shootNum--;
bx = _x - _parent.p1._x;
by = _y - _parent.p1._y;
angle = Math.tan(by / bx) * 57.2957795130823;
angle = angle + (20 - random(40));
xOffset = 50;
if (bx > 0) {
xOffset = -50;
angle = angle + 180;
}
if ((Math.abs(by) < (Math.abs(bx) * 0.6)) && (_parent.gameState == "FLY")) {
bn++;
_parent.eb.duplicateMovieClip("eb" + bn, bn + 99);
_parent["eb" + bn]._x = _x + xOffset;
_parent["eb" + bn]._y = _y;
_parent["eb" + bn]._rotation = angle;
_parent["eb" + bn].ally = false;
_parent["eb" + bn].active = true;
if (bn > 190) {
bn = 100;
}
}
}
die = false;
wait = 30;
a = 80;
aMin = 15;
b = 1.1;
yMin = 75;
yMax = 300;
yMid = 200;
xMax = 150;
power = 5;
bn = 100;
shootNum = 0;
state = "DEAD";
_parent.gameState = "FLY";
}
onClipEvent (enterFrame) {
trace(state);
if (!_parent.gPause) {
if (wait > 0) {
wait--;
}
if (((wait == 0) && (_parent.gameState == "FLY")) && (state == "DEAD")) {
r = random(_parent.level * 10);
_y = (yMin + random(yMax - yMin));
if (r < 15) {
state = "FRONT";
_xscale = -100;
_x = -200;
} else {
state = "FACE";
_xscale = 100;
_x = 650;
}
dX = 0;
dY = 0;
power = 5;
t = 0;
} else if (state == "CRASH") {
_parent.explosion2._x = _x;
_parent.explosion2._y = _y;
_parent.explosion2.gotoAndPlay(2);
_parent.planekills++;
setScore(_parent.score + 1000);
this.gotoAndPlay("spin");
dY = 0;
state = "SPIN";
} else if (state == "SPIN") {
dY = dY + 2;
_y = (_y + dY);
if (_y > 500) {
state = "DEAD";
}
} else {
if (state == "FRONT") {
if (t == 0) {
if (_parent.gameState == "FLY") {
targetY = yMin + random(yMax - yMin);
targetX = xMax + (50 - random(100));
} else {
targetY = -50;
}
tMax = 10 + random(100);
t++;
} else if (t < tMax) {
t++;
dX = (dX + (((targetX - _x) * 1) / a)) / b;
dY = (dY + (((targetY - _y) * 1) / a)) / b;
_x = (_x + dX);
_y = (_y + dY);
if (_y > 600) {
state = "DEAD";
}
} else {
t = 0;
}
if ((shootNum == 0) && (random(50) == 0)) {
shootNum = 1 + random(4);
sc = 0;
} else if (shootNum > 0) {
if (sc == 20) {
shoot();
}
sc++;
}
} else if (state == "FACE") {
if (t == 0) {
_y = (yMid + (25 - random(50)));
dY = (50 - random(101)) / 25;
dX = -3 - random(5);
t++;
} else {
_x = (_x + (dX - _parent.speed));
_y = (_y + dY);
if ((_y < -40) || (_x < -100)) {
state = "DEAD";
}
}
if ((shootNum == 0) && (random(50) == 0)) {
shootNum = 1 + random(4);
sc = 0;
} else if (shootNum > 0) {
if (sc == 20) {
shoot();
}
sc++;
}
}
yFrame = dY / 4;
this._rotation = yFrame * 2;
if (yFrame > 5) {
yFrame = 5;
}
if (yFrame < -5) {
yFrame = -5;
}
yFrame = Math.floor(yFrame) + 6;
this.gotoAndStop(yFrame);
if ((power <= 0) && (_parent.gameState == "FLY")) {
state = "CRASH";
}
}
}
}
Symbol 19 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 20 MovieClip Frame 22
stop();
Symbol 30 Button
on (press) {
_root.gotoAndStop(6);
}
Symbol 33 MovieClip Frame 12
stop();
Symbol 34 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 36 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 44 Button
on (press) {
_root.gotoAndStop(15);
_root.gPause = false;
}
Symbol 52 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 66 MovieClip Frame 1
function playSound(sfxName) {
if (!_parent.mute) {
gotoAndStop(sfxName);
}
}
function startSounds() {
if ((!_parent.p1.engine.position) == 0) {
_parent.p1.startSound();
}
if (_parent.musicOn) {
gotoAndStop ("music");
}
}
function stopSounds() {
stopAllSounds();
mute.gotoAndStop(2);
}
stop();
Symbol 66 MovieClip Frame 5
gotoAndStop (1);
Symbol 66 MovieClip Frame 10
gotoAndStop (1);
Symbol 66 MovieClip Frame 15
gotoAndStop (1);
Symbol 66 MovieClip Frame 20
play();
Symbol 66 MovieClip Frame 21
gotoAndStop (1);
Symbol 66 MovieClip Frame 25
play();
Symbol 66 MovieClip Frame 26
gotoAndStop (1);
Symbol 95 MovieClip Frame 25
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 10
_root.sco = _root.sco + 50;
Symbol 101 MovieClip Frame 20
stop();
Symbol 112 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 113 MovieClip Frame 1
stop();
Instance of Symbol 112 MovieClip in Symbol 113 MovieClip Frame 2
/* no clip actions */
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 14
_root.sco = _root.sco + 100;
Symbol 116 MovieClip Frame 23
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 6
_root.scrollers["shot" + _root.scrollers.t2.shotCount].removeMovieClip();
Symbol 122 MovieClip Frame 9
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 12
_root.sco = _root.sco + 50;
Symbol 125 MovieClip Frame 20
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 12
_root.sco = _root.sco + 50;
Symbol 128 MovieClip Frame 20
stop();
Symbol 136 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 137 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 13
_root.sco = _root.sco + 100;
Symbol 140 MovieClip Frame 23
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 5
_root.scrollers["shot" + _root.scrollers.t5.shotCount].removeMovieClip();
Symbol 141 MovieClip Frame 8
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 9
_root.sco = _root.sco + 50;
Symbol 144 MovieClip Frame 20
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 9
_root.sco = _root.sco + 50;
Symbol 148 MovieClip Frame 20
stop();
Symbol 149 MovieClip Frame 1
var frm = "1st";
stop();
Instance of Symbol 101 MovieClip "t1" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.scrollers.frm = "1st";
}
Instance of Symbol 102 MovieClip "br" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 149 MovieClip Frame 2
var frm = "2nd";
Instance of Symbol 116 MovieClip "t2" in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
shotTimer = 50;
}
onClipEvent (enterFrame) {
_root.scrollers.frm = "2nd";
if (shotTimer <= 0) {
bumSound.start();
this.gun.gotoAndStop(2);
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 420) + 2300);
shotTimer = 100;
}
shotTimer--;
}
Instance of Symbol 122 MovieClip "shot" in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
po = 1;
if (String(_name) != "shot") {
cannonLength = 30;
turretpoint = (_parent.t2._rotation + _parent.t2.gun._rotation) - 180;
angle = ((turretpoint / 360) * 2) * Math.PI;
xcomponent = cannonLength * Math.sin(angle);
ycomponent = (-cannonLength) * Math.cos(angle);
_x = (xcomponent + _parent.t2._x);
_y = (ycomponent + _parent.t2._y);
xmove = (xcomponent / cannonLength) * 20;
ymove = (ycomponent / cannonLength) * 20;
this._rotation = turretpoint + 90;
active = true;
po = 1;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "shot") {
if (active == true) {
_x = (_x + xmove);
_y = (_y + ymove);
}
}
timer++;
if (timer > 30) {
this.play();
}
if (this.hitTest(_root.p1.br)) {
if (po == 1) {
this.play();
_root.p1.power = _root.p1.power - 1;
active = false;
_root.amitavalaser = false;
_root.amitavagun = true;
po = 0;
}
}
}
Symbol 149 MovieClip Frame 3
var frm = "3rd";
Instance of Symbol 125 MovieClip "t3" in Symbol 149 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.scrollers.frm = "3rd";
}
Symbol 149 MovieClip Frame 4
var frm = "4th";
Instance of Symbol 128 MovieClip "t4" in Symbol 149 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.scrollers.frm = "4th";
}
Symbol 149 MovieClip Frame 5
var frm = "5th";
Instance of Symbol 140 MovieClip "t5" in Symbol 149 MovieClip Frame 5
onClipEvent (load) {
shotTimer = 50;
}
onClipEvent (enterFrame) {
_root.scrollers.frm = "5th";
if (shotTimer <= 0) {
bumSound.start();
this.gun.gotoAndStop(2);
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 420) + 2300);
shotTimer = 100;
}
shotTimer--;
}
Instance of Symbol 141 MovieClip "shot" in Symbol 149 MovieClip Frame 5
onClipEvent (load) {
po = 1;
if (String(_name) != "shot") {
cannonLength = 50;
turretpoint = (_parent.t5._rotation + _parent.t5.gun._rotation) - 180;
angle = ((turretpoint / 360) * 2) * Math.PI;
xcomponent = cannonLength * Math.sin(angle);
ycomponent = (-cannonLength) * Math.cos(angle);
_x = (xcomponent + _parent.t5._x);
_y = (ycomponent + _parent.t5._y);
xmove = (xcomponent / cannonLength) * 20;
ymove = (ycomponent / cannonLength) * 20;
this._rotation = turretpoint + 90;
active = true;
po = 1;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "shot") {
if (active == true) {
_x = (_x + xmove);
_y = (_y + ymove);
}
}
timer++;
if (timer > 30) {
this.play();
}
if (this.hitTest(_root.p1.br)) {
if (po == 1) {
this.play();
_root.p1.power = _root.p1.power - 1;
active = false;
_root.amitavalaser = false;
_root.amitavagun = true;
po = 0;
}
}
}
Symbol 149 MovieClip Frame 6
var frm = "6th";
Instance of Symbol 140 MovieClip "t6" in Symbol 149 MovieClip Frame 6
onClipEvent (load) {
shotTimer = 50;
}
onClipEvent (enterFrame) {
_root.scrollers.frm = "6th";
if (shotTimer <= 0) {
bumSound.start();
this.gun.gotoAndStop(2);
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, (shotCount % 420) + 2300);
shotTimer = 100;
}
shotTimer--;
}
Instance of Symbol 141 MovieClip "shot" in Symbol 149 MovieClip Frame 6
onClipEvent (load) {
po = 1;
if (String(_name) != "shot") {
cannonLength = 50;
turretpoint = (_parent.t6._rotation + _parent.t6.gun._rotation) - 180;
angle = ((turretpoint / 360) * 2) * Math.PI;
xcomponent = cannonLength * Math.sin(angle);
ycomponent = (-cannonLength) * Math.cos(angle);
_x = (xcomponent + _parent.t6._x);
_y = (ycomponent + _parent.t6._y);
xmove = (xcomponent / cannonLength) * 20;
ymove = (ycomponent / cannonLength) * 20;
this._rotation = turretpoint + 90;
active = true;
po = 1;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "shot") {
if (active == true) {
_x = (_x + xmove);
_y = (_y + ymove);
}
}
timer++;
if (timer > 30) {
this.play();
}
if (this.hitTest(_root.p1.br)) {
if (po == 1) {
this.play();
_root.p1.power = _root.p1.power - 1;
active = false;
_root.amitavalaser = false;
_root.amitavagun = true;
po = 0;
}
}
}
Symbol 149 MovieClip Frame 7
var frm = "7th";
Instance of Symbol 144 MovieClip "t7" in Symbol 149 MovieClip Frame 7
onClipEvent (enterFrame) {
_root.scrollers.frm = "7th";
}
Symbol 149 MovieClip Frame 8
var frm = "8th";
Instance of Symbol 148 MovieClip "t8" in Symbol 149 MovieClip Frame 8
onClipEvent (enterFrame) {
_root.scrollers.frm = "8th";
}
Symbol 171 MovieClip Frame 1
play();
Symbol 171 MovieClip Frame 10
stop();
Symbol 171 MovieClip Frame 11
_parent.sfx.playSound("boom");
play();
Symbol 171 MovieClip Frame 26
this.removeMovieClip();
Symbol 174 MovieClip Frame 6
stop();
Symbol 214 MovieClip Frame 1
stop();
Instance of Symbol 175 MovieClip "br" in Symbol 214 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 214 MovieClip Frame 15
play();
Symbol 214 MovieClip Frame 38
_root.gov.play();
Symbol 219 MovieClip Frame 6
this.removeMovieClip();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 6
this.removeMovieClip();
Symbol 224 MovieClip Frame 6
this.removeMovieClip();
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 6
this.removeMovieClip();
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 8
this.removeMovieClip();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 6
this.removeMovieClip();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 4
_root.p1.power = _root.p1.power + 5;
Symbol 233 MovieClip Frame 11
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 4
_root.amitavalaser = true;
_root.amitavagun = false;
Symbol 242 MovieClip Frame 7
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 15
play();
Symbol 271 MovieClip Frame 31
gotoAndPlay ("spin");
Symbol 295 Button
on (press) {
_root.amitavaplay = true;
_root.p1.res();
_root.gotoAndStop(_root.frame);
_root.pm.reset();
_root.p2._x = -100;
_root.p3._x = -100;
_root.p4._x = -100;
_root.scrollers._x = -200;
_root.rot._x = -200;
_root.scrollers.gotoAndStop("7th");
_root.scrollers.frm = "7th";
_root.generat = true;
_root.scrter = true;
_root.scrollers.pl = 1;
_root.scrollers.alive = true;
_root.amitavalevel = _root.amitavalevel + 1;
_root.gPause = false;
i = 0;
while (i < 9) {
_root.scrollers["t" + i].gotoAndStop(1);
i++;
}
gotoAndStop (1);
}
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
_root.amitavaplay = false;
_root.p2.removeMovieClip();
_root.p3.removeMovieClip();
_root.p4.removeMovieClip();
_root.rm1.removeMovieClip();
_root.rm2.removeMovieClip();
_root.rm3.removeMovieClip();
_root.gPause = true;
i = 0;
while (i < 10000) {
_root["b" + i].removeMovieClip();
_root["eb" + i].removeMovieClip();
_root["lb" + i].removeMovieClip();
i++;
}
Symbol 296 MovieClip Frame 5
stop();
Symbol 305 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
_root.amitavaplay = false;
_root.gPause = true;
var ssc = _root.sco;
Symbol 311 MovieClip Frame 25
stop();
Symbol 320 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
_root.amitavaplay = false;
_root.gPause = true;
var ssc = _root.sco;
Symbol 326 MovieClip Frame 25
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 15
play();
Symbol 355 MovieClip Frame 31
gotoAndPlay ("spin");
Symbol 367 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 2
_root.rm1.att = false;
Symbol 367 MovieClip Frame 22
_root.sco = _root.sco + 100;
Symbol 367 MovieClip Frame 24
_root.rm1.reset();
Symbol 367 MovieClip Frame 25
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
_root.rm3.att = false;
Symbol 368 MovieClip Frame 22
_root.sco = _root.sco + 100;
Symbol 368 MovieClip Frame 25
_root.rm3.reset();
Symbol 368 MovieClip Frame 26
stop();