Frame 1
stop();
CHECK = -1;
MUTE = false;
pop = new Sound(this);
pop.attachSound("pop");
swish = new Sound(this);
swish.attachSound("swish");
thump = new Sound(this);
thump.attachSound("thump");
thump2 = new Sound(this);
thump2.attachSound("thump2");
explosion1 = new Sound(this);
explosion1.attachSound("explosion1");
explosion2 = new Sound(this);
explosion2.attachSound("explosion2");
explosion3 = new Sound(this);
explosion3.attachSound("explosion3");
woof1 = new Sound(this);
woof1.attachSound("woof1");
woof2 = new Sound(this);
woof2.attachSound("woof2");
woof3 = new Sound(this);
woof3.attachSound("woof3");
woof4 = new Sound(this);
woof4.attachSound("woof4");
woof5 = new Sound(this);
woof5.attachSound("woof5");
woof6 = new Sound(this);
woof6.attachSound("woof6");
metal = new Sound(this);
metal.attachSound("metal");
gunshot = new Sound(this);
gunshot.attachSound("gunshot");
gunshotbig = new Sound(this);
gunshotbig.attachSound("gunshotbig");
gunshotHUGE = new Sound(this);
gunshotHUGE.attachSound("gunshotHUGE");
lasershot2 = new Sound(this);
lasershot2.attachSound("lasershot2");
gunlaser = new Sound(this);
gunlaser.attachSound("gunlaser");
gunlaser2 = new Sound(this);
gunlaser2.attachSound("gunlaser2");
boowup = new Sound(this);
boowup.attachSound("boowup");
mechswitch = new Sound(this);
mechswitch.attachSound("mechswitch");
horse = new Sound(this);
horse.attachSound("horse");
gulp = new Sound(this);
gulp.attachSound("gulp");
lightning = new Sound(this);
lightning.attachSound("lightning");
steam = new Sound(this);
steam.attachSound("steam");
bird_eaten = new Sound(this);
bird_eaten.attachSound("bird_eaten");
bell_loop = new Sound(this);
bell_loop.attachSound("bell_loop");
burp = new Sound(this);
burp.attachSound("burp");
R1 = new Sound(this);
R1.attachSound("R1");
R2 = new Sound(this);
R2.attachSound("R2");
R3 = new Sound(this);
R3.attachSound("R3");
R4 = new Sound(this);
R4.attachSound("R4");
R5 = new Sound(this);
R5.attachSound("R5");
Frame 2
stop();
Instance of Symbol 451 MovieClip "FLASH" in Frame 2
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha <= 0) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Frame 3
stop();
Frame 25
Mouse.hide();
stop();
camspeed = 0.2;
SIN = 0;
A = 0;
o = 0;
bodycount = 0;
shotcount = 10;
shotmax = 19;
enemycount = 30;
enemymax = 49;
birdenemycount = 50;
birdenemymax = 54;
smokecount = 55;
smokemax = 80;
birdcount = 80;
birdmax = 90;
seconds = -100;
SLOT = 1;
STOP = false;
colors = [16777215, 16777215];
fillType = "linear";
ratios = [0, 255];
spreadMethod = "pad";
interpolationMethod = "linear";
matrix = new flash.geom.Matrix();
i = 1;
while (i < 9) {
_root["Wx" + i] = _root._xmouse;
_root["Wy" + i] = _root._ymouse;
i++;
}
if (_root.QUALITY == "LOW") {
_root._quality = "LOW";
}
onMouseDown = function () {
CLICKING = true;
if (!_root.MUTE) {
_root.SUCKS.suck.start(0, 1);
}
};
onMouseUp = function () {
CLICKING = false;
_root.SUCKS.suck.stop();
_root.SUCKS.suckloop.stop();
};
onEnterFrame = function () {
if (MOUSEout) {
MOUSEcount++;
}
if (MOUSEcount > 10) {
PAUSE = true;
_root.SUCKS.suck.stop();
}
if ((Key.isDown(80) || (Key.isDown(13))) || (Key.isDown(27))) {
if (!PDOWN) {
if (!_root.PAUSE) {
_root.PAUSE = true;
_root.SUCKS.suck.stop();
} else {
_root.PAUSE = false;
}
}
PDOWN = true;
} else {
PDOWN = false;
}
if (!_root.PAUSE) {
if (Key.isDown(46)) {
if (!DELDOWN) {
CHECK++;
FRAME = _currentframe - 1;
gotoAndPlay(FRAME);
}
DELDOWN = true;
} else {
DELDOWN = false;
}
if (Key.isDown(77)) {
if (!MDOWN) {
if (!MUTE) {
MUTE = true;
} else {
MUTE = false;
}
}
MDOWN = true;
} else {
MDOWN = false;
}
if (shotcount >= shotmax) {
shotcount = 10;
}
if (enemycount >= enemymax) {
enemycount = 31;
}
if (birdenemycount >= birdenemymax) {
birdenemycount = 50;
}
if (smokecount >= smokemax) {
smokecount = 50;
}
if (birdcount >= birdmax) {
birdcount = 80;
}
seconds++;
if (seconds >= 50) {
birdcount++;
seconds = 0;
if (Math.random() > 0.9) {
duplicateMovieClip (_root.super, "bird" + birdcount, birdcount);
_root["bird" + birdcount]._x = _root.cam._x + (_root.cam._width * 0.5);
_root["bird" + birdcount]._y = (_root.cam._y + 80) - (Math.random() * 160);
} else {
if (CHECK == 3) {
duplicateMovieClip (PAWN, "PAWN" + birdcount, birdcount);
_root["PAWN" + birdcount]._x = _root.cam._x + (_root.cam._width * 0.5);
_root["PAWN" + birdcount]._y = (_root.cam._y + 80) - (Math.random() * 160);
_root["PAWN" + birdcount].SINE = Math.random();
}
if (CHECK == 2) {
duplicateMovieClip (car, "car" + birdcount, birdcount);
_root["car" + birdcount]._x = _root.cam._x + (_root.cam._width * 0.5);
_root["car" + birdcount]._y = (_root.car.originY + 5) - (Math.random() * 15);
}
if (CHECK <= 1) {
duplicateMovieClip (bird, "bird" + birdcount, birdcount);
_root["bird" + birdcount]._x = _root.cam._x + (_root.cam._width * 0.5);
_root["bird" + birdcount]._y = (_root.cam._y + 80) - (Math.random() * 160);
}
}
}
if (CLICKING) {
if ((_root.SUCKS.suck.position < _root.SUCKS.suck.duration) && (_root.SUCKS.suck.position > (_root.SUCKS.suck.duration * 0.98))) {
_root.SUCKS.suckloop.start(0, 99);
}
clicktime++;
if (clicktime > 3) {
if (SLOT < 5) {
SUCKING = true;
}
}
} else {
clicktime = 0;
SUCKING = false;
}
_root.createEmptyMovieClip("wind", 1);
_root.wind.moveTo(_root._xmouse, _root._ymouse);
if (SUCKING) {
if (SLOT >= 5) {
SLOT = 5;
SUCKING = false;
}
A = A - ((A - 50) * 0.3);
alphas = [A, 0];
} else {
A = A - ((A - 0) * 0.3);
alphas = [A, 0];
}
matrix.createGradientBox((_root.TOPX8 - _root._xmouse) * 0.85, 100, 0, _root._xmouse, _root._ymouse);
_root.wind.beginGradientFill(fillType, colors, alphas, ratios, matrix, spreadMethod, interpolationMethod);
i = 1;
while (i < 9) {
SIN = SIN + 0.05;
SINE = Math.sin(SIN + (i * 100)) * (3 * i);
_root.Wx0 = _root._xmouse;
_root.Wy0 = _root._ymouse;
_root["Wx" + i] = _root["Wx" + i] - (((_root["Wx" + i] - _root["Wx" + (i - 1)]) - 10) * 0.5);
if (_root["Wx" + i] < (_root["Wx" + (i - 1)] + 2)) {
_root["Wx" + i] = _root["Wx" + (i - 1)] + 2;
}
_root["Wy" + i] = _root["Wy" + i] - ((_root["Wy" + i] - _root["Wy" + (i - 1)]) * 0.5);
_root["TOPX" + i] = _root["Wx" + i];
_root["TOPY" + i] = (_root["Wy" + i] + (i * 2)) + SINE;
_root["BOTX" + i] = _root["Wx" + i];
_root["BOTY" + i] = (_root["Wy" + i] - (i * 2)) + SINE;
_root.wind.lineTo(_root["TOPX" + i], _root["TOPY" + i]);
i++;
}
i = 8;
while (i > 0) {
_root.wind.lineTo(_root["BOTX" + i], _root["BOTY" + i]);
i--;
}
_root.wind.lineTo(_root._xmouse, _root._ymouse);
_root.wind.endFill();
}
};
SLOT1 = "NOTHING";
SLOT2 = "NOTHING";
SLOT3 = "NOTHING";
SLOT4 = "NOTHING";
SLOT5 = "NOTHING";
function checkPosition(Void) {
if (_root.READY) {
if ((((_xmouse < ((_root.cam._x - (_root.cam._width / 2)) + mouseSpeed)) || (_xmouse > ((_root.cam._x + (_root.cam._width / 2)) - mouseSpeed))) || (_ymouse < ((_root.cam._y - (_root.cam._height / 2)) + mouseSpeed))) || (_ymouse > ((_root.cam._y + (_root.cam._height / 2)) - mouseSpeed))) {
MOUSEout = true;
} else {
MOUSEout = false;
MOUSEcount = 0;
}
}
}
var mouse_dx = _xmouse;
var mouse_dy = _ymouse;
var mouseSpeed = 1;
checkPosition(Void);
var mouseListener = new Object();
mouseListener.onMouseMove = function () {
mouse_dx = Math.abs(mouse_dx - _xmouse);
mouse_dy = Math.abs(mouse_dy - _ymouse);
mouseSpeed = ((mouse_dx > mouse_dy) ? (mouse_dx) : (mouse_dy));
mouseSpeed = mouseSpeed + 1;
checkPosition(Void);
mouse_dx = _xmouse;
mouse_dy = _ymouse;
};
Mouse.addListener(mouseListener);
Instance of Symbol 511 MovieClip in Frame 25
onClipEvent (enterFrame) {
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.STOP || (_root.PAUSE)) {
stop();
} else {
play();
}
}
Instance of Symbol 602 MovieClip in Frame 25
onClipEvent (load) {
onscreen = false;
seconds = 0;
if (_root.CHECK >= 4) {
this.swapDepths(999);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
play();
if (!onscreen) {
if ((_x - (_width * 0.55)) < (_root.cam._x - (_width / 2))) {
_root._quality = "LOW";
_root["beast bg"].foreground = true;
onscreen = true;
}
if (this.hitTest(_root.cam)) {
_x = (_x - 5);
}
} else {
if (_root.CHECK >= 4) {
_root["beast bg"].swapDepths(999);
_root["beast bg"].removeMovieClip();
seconds++;
if (seconds > 100) {
if (_root.QUALITY == "FINE") {
_root._quality = "MEDIUM";
}
this.swapDepths(999);
this.removeMovieClip();
}
}
_x = (_x - 0.5);
}
} else {
stop();
}
}
Instance of Symbol 607 MovieClip in Frame 25
onClipEvent (load) {
Y = _y - _root.cam._y;
onscreen = false;
if (_root.CHECK >= 3) {
this.swapDepths(999);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cam) && (onscreen == false)) {
onscreen = true;
}
if (onscreen) {
_x = (_x - 0.5);
_y = (_root.cam._y + Y);
}
}
Instance of Symbol 725 MovieClip in Frame 25
onClipEvent (load) {
Y = _y - _root.cam._y;
onscreen = false;
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (_root.CHECK == 2) {
_x = (_x - 800);
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (this.hitTest(_root.cam) && (onscreen == false)) {
onscreen = true;
}
if (onscreen) {
_x = (_x-1);
_y = (_root.cam._y + Y);
}
}
}
Instance of Symbol 451 MovieClip "checkpoint1" in Frame 25
onClipEvent (load) {
if (_root.CHECK == 1) {
_root.cam._x = _x - (_root.cam._width / 2);
_root.head._x = _x;
}
}
onClipEvent (enterFrame) {
if ((_root.CHECK == 0) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
_root.CHECK++;
}
if ((_root.CHECK == 1) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 730 MovieClip "BG2" in Frame 25
onClipEvent (load) {
Y = _y - _root.cam._y;
onscreen = false;
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (this.hitTest(_root.cam) && (onscreen == false)) {
onscreen = true;
}
if (onscreen) {
_x = (_x-1);
_y = (_root.cam._y + Y);
}
}
}
Instance of Symbol 743 MovieClip in Frame 25
onClipEvent (load) {
Y = _y - _root.cam._y;
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
_x = (_x-1);
_y = (_root.cam._y + Y);
}
}
Instance of Symbol 745 MovieClip in Frame 25
onClipEvent (load) {
Y = _y - _root.cam._y;
onscreen = false;
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (this.hitTest(_root.cam) && (onscreen == false)) {
onscreen = true;
}
if (onscreen) {
_x = (_x - 5);
_y = (_root.cam._y + Y);
if (((_x + _width) + 100) < _root.cam._x) {
this.swapDepths(999);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 451 MovieClip "checkpoint2" in Frame 25
onClipEvent (load) {
if (_root.CHECK == 2) {
_root.cam._x = _x - (_root.cam._width / 2);
_root.head._x = _x;
}
}
onClipEvent (enterFrame) {
if ((_root.CHECK == 1) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
_root.CHECK++;
}
if ((_root.CHECK == 2) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 764 MovieClip "buildings" in Frame 25
onClipEvent (load) {
Y = _y - _root.cam._y;
onscreen = false;
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
seconds = 0;
}
onClipEvent (enterFrame) {
if ((_root.CHECK == 2) && (onscreen == false)) {
seconds++;
}
if (seconds > 200) {
onscreen = true;
_root._quality = "MEDIUM";
}
if (onscreen) {
_x = _root.cam._x;
_y = (_root.cam._y + Y);
}
}
Instance of Symbol 768 MovieClip "beast bg" in Frame 25
onClipEvent (load) {
Y = _y - _root.cam._y;
onscreen = false;
seconds = 0;
foreground = false;
}
onClipEvent (enterFrame) {
if ((_root.GATE._x < _root.cam._x) && (onscreen == false)) {
onscreen = true;
}
if (onscreen) {
_x = _root.cam._x;
_y = (_root.cam._y + Y);
}
}
Instance of Symbol 451 MovieClip "checkpoint3" in Frame 25
onClipEvent (load) {
if (_root.CHECK == 3) {
_root.cam._x = _x - (_root.cam._width / 2);
_root.head._x = _x;
}
}
onClipEvent (enterFrame) {
if ((_root.CHECK == 2) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
_root.CHECK++;
}
if ((_root.CHECK == 3) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 788 MovieClip "final bg" in Frame 25
onClipEvent (load) {
onscreen = false;
SINE = 0;
}
onClipEvent (enterFrame) {
if (_root.cam.hitTest(this)) {
onscreen = true;
gotoAndStop (1);
}
if (onscreen) {
_root.seconds = 0;
_root.shell.play();
_x = _root.cam._x;
if (_root.enemy30.health < (_root.enemy30.MAXhealth / 2)) {
_y = (_root.cam._y + (Math.sin(SINE) * 3));
SINE = SINE + 90;
} else {
_y = _root.cam._y;
}
_root.shell._x = _x;
_root.shell._y = _y;
if (_root.cam._xscale < 100) {
_root.cam._xscale = _root.cam._xscale + 12;
_root.cam._yscale = _root.cam._xscale;
if (_root.cam._xscale > 100) {
_root.cam._xscale = 110;
_root.cam._yscale = _root.cam._xscale;
}
}
if (_root.cam._xscale > 100) {
_root.cam._xscale = _root.cam._xscale - 1;
_root.cam._yscale = _root.cam._xscale;
}
}
}
Instance of Symbol 451 MovieClip "checkpoint4" in Frame 25
onClipEvent (load) {
if (_root.CHECK == 4) {
_root.cam._x = _x - (_root.cam._width / 2);
_root.head._x = _x;
}
}
onClipEvent (enterFrame) {
if ((_root.CHECK == 3) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
_root.CHECK++;
}
if ((_root.CHECK == 4) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 834 MovieClip "boss" in Frame 25
onClipEvent (load) {
seconds = 0;
shellseconds = 0;
Rspeed = 0;
mcount = 0;
impact = 0;
MAXhealth = 700;
health = MAXhealth;
DISTANCE = 0;
rotation = 0;
fcount = 0;
SINE = 0;
FRAME = _root._currentframe;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
play();
if (_root._currentframe != FRAME) {
_root.shell.removeMovieClip();
this.removeMovieClip();
}
if (health > 0) {
if (_root["final bg"].onscreen) {
if (_name != "enemy30") {
_name = "enemy30";
}
if (impact > 0) {
impact--;
}
if (health <= (MAXhealth / 2)) {
_root._quality = "MEDIUM";
if (_currentframe <= 10) {
shellseconds = 501;
seconds = 0;
gotoAndPlay (11);
}
if (seconds == 50) {
fcount++;
duplicateMovieClip (_root["final debris"], "debris" + fcount, fcount + 110);
_root["debris" + fcount]._x = (_root.cam._x - 20) - (Math.random() * 200);
_root["debris" + fcount]._y = _root.cam._y - (_root.cam._height * 0.6);
}
}
if (getDepth() < 0) {
this.swapDepths(100);
_root.shell.swapDepths(101);
}
i = 0;
while (i < 19) {
if (_root.shell.body.hitTest(_root["shot" + i]._x, _root["shot" + i]._y, true) && (_root.shell.CLOSED)) {
_root["shot" + i].swapDepths(101 + i);
_root["shot" + i].play();
}
i++;
}
_x = (_root.cam._x + ((Math.sin(rotation * (Math.PI/180)) * DISTANCE) * 2));
_y = (_root.cam._y - (Math.cos(rotation * (Math.PI/180)) * DISTANCE));
_rotation = ((Math.sin(rotation * (Math.PI/180)) * DISTANCE) * -0.4);
if (!_root.shell.CLOSED) {
seconds++;
}
shellseconds++;
if ((seconds > 60) && ((seconds / 2) == Math.round(seconds / 2))) {
shellseconds--;
if (_root.enemycount == 30) {
_root.enemycount++;
}
if (R > 0.6) {
mcount++;
duplicateMovieClip (_root.missile, "missile" + mcount, mcount);
_root["missile" + mcount]._x = _x + (50 * Math.cos((mcount * 60) * (Math.PI/180)));
_root["missile" + mcount]._y = _y + (50 * Math.sin((mcount * 60) * (Math.PI/180)));
_root["missile" + mcount].R = mcount * 60;
} else {
duplicateMovieClip (_root.PAWN, "PAWN" + _root.enemycount, _root.enemycount);
_root["PAWN" + _root.enemycount]._x = _x;
_root["PAWN" + _root.enemycount]._y = (_y - 50) + (Math.random() * 100);
_root["PAWN" + _root.enemycount].SINE = seconds / 3;
}
}
if (R > 0.6) {
if (seconds > 73) {
seconds = -30;
mcount = 0;
R = Math.random();
}
} else if (seconds > 90) {
seconds = -30;
R = Math.random();
}
if (shellseconds > 200) {
if (health <= (MAXhealth / 2)) {
if (shellseconds < 440) {
if (DISTANCE < 100) {
DISTANCE++;
}
} else if (DISTANCE > 0) {
DISTANCE = DISTANCE - 5;
}
rotation = rotation + 5;
} else {
_root.shell.CLOSED = true;
if (shellseconds < 440) {
if (shellseconds > 210) {
Rspeed++;
_root.shell.detail._rotation = _root.shell.detail._rotation + Rspeed;
_root.shell.wind._rotation = _root.shell.wind._rotation - Rspeed;
_root.shell.wind._alpha = Rspeed - 50;
}
} else {
_root.shell.detail._rotation = _root.shell.detail._rotation + Rspeed;
_root.shell.wind._rotation = _root.shell.wind._rotation - Rspeed;
_root.shell.wind._alpha = Rspeed / 2;
if (Rspeed > 0) {
Rspeed = Rspeed - 5;
}
}
}
}
if (shellseconds > 500) {
Rspeed = 0;
shellseconds = 0;
_root.shell.CLOSED = false;
}
}
} else {
SINE = SINE + 90;
_x = (_x + (Math.sin(SINE) * 3));
_y = (_y + fallspeed);
if (fallspeed > 0) {
fallspeed = fallspeed - 0.1;
}
seconds++;
if ((seconds / 10) == Math.round(seconds / 10)) {
mcount++;
duplicateMovieClip (_root.mine, "mine" + mcount, this.getDepth() + mcount);
_root["mine" + mcount]._x = (_x + 50) - (Math.random() * 100);
_root["mine" + mcount]._y = (_y + 50) - (Math.random() * 100);
_root["mine" + mcount].health = 0;
_root["mine" + mcount].gotoAndPlay(3);
}
if (_currentframe < 15) {
fallspeed = 3;
gotoAndPlay ("dead");
}
}
} else {
stop();
}
}
Instance of Symbol 451 MovieClip "checkpoint0" in Frame 25
onClipEvent (load) {
if (_root.CHECK == 0) {
_root.cam._x = _x - (_root.cam._width / 2);
_root.head._x = _x;
}
}
onClipEvent (enterFrame) {
if ((_root.CHECK == -1) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
_root.CHECK++;
}
if ((_root.CHECK == 0) && (_root.cam._x > (_x - (_root.cam._width / 2)))) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 854 MovieClip "shell" in Frame 25
onClipEvent (load) {
FRAME = _root._currentframe;
}
onClipEvent (enterFrame) {
if (_root._currentframe != FRAME) {
this.removeMovieClip();
}
}
Instance of Symbol 865 MovieClip "motorway" in Frame 25
onClipEvent (load) {
seconds = 0;
if (_root.CHECK >= 2) {
_y = (_root.cam._y + (_root.cam._height / 2));
}
if (_root.CHECK >= 4) {
this.swapDepths(999);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_root.CHECK <= 0) {
mc.gotoAndStop(1);
}
if (_root.CHECK >= 1) {
if (_y > (_root.cam._y + (_root.cam._height / 2))) {
_y = (_y - 0.3);
}
if (seconds > 300) {
_y = (_root.cam._y + (_root.cam._height / 2));
} else {
seconds++;
}
_root.seconds = _root.seconds - 0.5;
}
if (_root.CHECK == 2) {
_root.seconds = _root.seconds + 0.5;
mc.gotoAndStop(11);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 25
onClipEvent (load) {
originY = _y;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_root.cam.hitTest(this)) {
_x = (_x - 1.1);
if (_x < (_root.cam._x - _root.cam._width)) {
this.swapDepths(999);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 1112 MovieClip "cam" in Frame 25
onClipEvent (load) {
SINE = 0;
SHAKE = 0.5;
Y = _y;
if (_root.CHECK >= 4) {
_rotation = 15;
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (!_root.STOP) {
_x = (_x + _root.camspeed);
}
SINE = SINE + 5;
_y = (Y + (Math.sin(SINE) * SHAKE));
if (SHAKE > 1) {
SHAKE--;
}
}
}
Instance of Symbol 1156 MovieClip "tail" in Frame 25
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
_rotation = (_y - _root.DICK._y);
}
}
Instance of Symbol 1156 MovieClip "DICK" in Frame 25
onClipEvent (load) {
elasticness = 0.8;
quickness = 0.2;
OLDYSPEED = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
YDISTANCE = _root.head._y - _y;
YSPEED = (OLDYSPEED * elasticness) + (YDISTANCE * quickness);
_y = (_y + YSPEED);
OLDYSPEED = YSPEED;
_rotation = YDISTANCE;
}
}
Instance of Symbol 1191 MovieClip "head" in Frame 25
onClipEvent (load) {
MAXhealth = 100;
health = MAXhealth;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
_x = _root._xmouse;
_y = _root._ymouse;
if (health < MAXhealth) {
health = health + 0.1;
}
if (health <= 1) {
health = 0;
}
if (_y > (_root.cam._y + (_root.cam._height * 0.43))) {
_y = (_root.cam._y + (_root.cam._height * 0.43));
}
if (_y < (_root.cam._y - (_root.cam._height * 0.47))) {
_y = (_root.cam._y - (_root.cam._height * 0.47));
}
if (_x < (_root.cam._x - (_root.cam._width * 0.47))) {
_x = (_root.cam._x - (_root.cam._width * 0.47));
}
_root.tail._x = _x;
_root.tail._y = _y;
oldY = _root._ymouse;
Y = _y - oldY;
}
}
Instance of Symbol 1241 MovieClip in Frame 25
onClipEvent (load) {
onscreen = false;
health = 10;
ROT = 45 - (Math.random() * 90);
speed = -3;
SUCKSPEED = 0;
impact = 0;
TYPE = "bird";
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = -50;
onscreen = false;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 50;
onscreen = false;
}
Instance of Symbol 1334 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
}
Instance of Symbol 1241 MovieClip "bird" in Frame 25
onClipEvent (load) {
onscreen = false;
health = 10;
ROT = 45 - (Math.random() * 90);
speed = -3;
SUCKSPEED = 0;
impact = 0;
TYPE = "bird";
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = -50;
onscreen = false;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 50;
onscreen = false;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
onscreen = false;
}
Instance of Symbol 1334 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 50;
}
Instance of Symbol 1334 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = -50;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
onscreen = false;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = -50;
onscreen = false;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 50;
onscreen = false;
}
Instance of Symbol 1353 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_x < (_root.cam._x + (_root.cam._width / 2))) {
_x = (_x - 20);
if ((_x + _width) < (_root.cam._x - (_root.cam._width / 2))) {
this.swapDepths(999);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 1356 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_x < (_root.cam._x + (_root.cam._width / 2))) {
_x = (_x - 10);
if ((_x + _width) < (_root.cam._x - (_root.cam._width / 2))) {
this.swapDepths(999);
this.removeMovieClip();
}
}
}
Instance of Symbol 1103 MovieClip in Frame 25
onClipEvent (load) {
mc.gotoAndPlay(10);
originY = _y;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_root.cam.hitTest(this)) {
_x = (_x - 2);
if (_x < (_root.cam._x - _root.cam._width)) {
this.swapDepths(999);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 1367 MovieClip in Frame 25
onClipEvent (load) {
speed = -3;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (onscreen) {
_x = (_x + speed);
if (_x < (_root.cam._x - _root.cam._width)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 50)) {
onscreen = true;
}
}
}
Instance of Symbol 1429 MovieClip in Frame 25
onClipEvent (load) {
XPOSITION = 50;
}
Instance of Symbol 1429 MovieClip in Frame 25
onClipEvent (load) {
XPOSITION = 150;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = -50;
onscreen = false;
}
Instance of Symbol 1367 MovieClip in Frame 25
onClipEvent (load) {
speed = -3;
}
onClipEvent (enterFrame) {
if (onscreen) {
_x = (_x + speed);
if (_x < (_root.cam._x - _root.cam._width)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 50)) {
onscreen = true;
}
}
Instance of Symbol 1334 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1448 MovieClip "battery" in Frame 25
onClipEvent (load) {
XSCALE = _xscale;
fallspeed = -5 - (Math.random() * 5);
speed = -6 - (Math.random() * 3);
Rspeed = -5 - (Math.random() * 10);
FRAME = Math.round(Math.random() * 8);
gotoAndPlay(FRAME);
onscreen = true;
SUCKSPEED = 0;
TYPE = "battery";
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_name != "battery") {
if (_root.SUCKING) {
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
_xscale = (XSCALE - SUCKSPEED);
_yscale = _xscale;
if ((((_x < _root.head._x) && (_x > (_root.head._x - 20))) && (_y > (_root.head._y - 10))) && (_y < (_root.head._y + 10))) {
if (_root["SLOT" + _root.SLOT] == "NOTHING") {
_root["SLOT" + _root.SLOT] = TYPE;
}
if (!_root.MUTE) {
_root.gulp.start();
}
_root.SLOT++;
this.swapDepths(999);
this.removeMovieClip();
}
} else {
SUCKSPEED = 0;
}
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
if (SUCKSPEED < 3) {
_y = (_y + fallspeed);
fallspeed++;
_x = (_x + speed);
_rotation = (_rotation + Rspeed);
if ((_y > (_root.cam._y + 80)) && (fallspeed > 0)) {
fallspeed = fallspeed * -0.8;
}
} else {
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
}
}
}
}
Instance of Symbol 195 MovieClip "grass" in Frame 25
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_root.CHECK == 1) {
_y = (_y + 0.1);
if (_y > (_root.cam._y + 130)) {
this.swapDepths(999);
this.removeMovieClip();
}
}
if (_root.CHECK >= 2) {
this.swapDepths(999);
this.removeMovieClip();
}
}
}
Instance of Symbol 1367 MovieClip in Frame 25
onClipEvent (load) {
speed = -3;
}
onClipEvent (enterFrame) {
if (onscreen) {
_x = (_x + speed);
if (_x < (_root.cam._x - _root.cam._width)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 50)) {
onscreen = true;
}
}
Instance of Symbol 1429 MovieClip in Frame 25
onClipEvent (load) {
XPOSITION = 50;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1469 MovieClip in Frame 25
onClipEvent (load) {
onscreen = false;
health = 30;
impact = 0;
fallspeed = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1469 MovieClip in Frame 25
onClipEvent (load) {
onscreen = false;
health = 30;
impact = 0;
fallspeed = 0;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
onscreen = false;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 50;
onscreen = false;
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 0;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 90;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 180;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 270;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 315;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 45;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 225;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 135;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
onscreen = false;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 0;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = -50;
onscreen = false;
}
Instance of Symbol 1506 MovieClip "car" in Frame 25
onClipEvent (load) {
originY = _y;
onscreen = false;
health = 10;
ROT = 10 - (Math.random() * 20);
SUCKSPEED = 0;
impact = 0;
TYPE = "car";
FRAME = Math.round(Math.random() * 5) + 1;
body.gotoAndStop(FRAME);
}
Instance of Symbol 1579 MovieClip "platform" in Frame 25
onClipEvent (load) {
if (_root.CHECK >= 3) {
_root.SPIDERBOTlegsback.swapDepths(999);
_root.SPIDERBOTlegsback.removeMovieClip();
_root.SPIDERBOTlegs.swapDepths(999);
_root.SPIDERBOTlegs.removeMovieClip();
this.swapDepths(999);
this.removeMovieClip();
}
MAXhealth = 400;
health = MAXhealth;
elasticness = 0.95;
quickness = 0.01;
OLDYSPEED = 0;
seconds = 1;
YPOINT = _root._ymouse;
AMMO = 0;
TYPE = "missile";
onscreen = false;
impact = 0;
myColor = new Color(this);
myColorTransform = new Object();
FRAME = _currentframe;
}
onClipEvent (enterFrame) {
if (_root._currentframe != FRAME) {
_root.SPIDERBOTlegsback.swapDepths(999);
_root.SPIDERBOTlegsback.removeMovieClip();
_root.SPIDERBOTlegs.swapDepths(999);
_root.SPIDERBOTlegs.removeMovieClip();
this.swapDepths(999);
this.removeMovieClip();
}
if (!_root.PAUSE) {
if (impact > 0) {
impact--;
}
myColorTransform = {rb:impact * 100, gb:0, bb:0};
myColor.setTransform(myColorTransform);
if (onscreen) {
_root.STOP = true;
_x = (_x - ((_x - (_root.cam._x + 100)) / 10));
_root.SPIDERBOTlegs._x = _x;
_root.SPIDERBOTlegsback._x = _x;
YDISTANCE = YPOINT - _y;
YSPEED = (OLDYSPEED * elasticness) + (YDISTANCE * quickness);
if (health > 0) {
_y = (_y + YSPEED);
}
OLDYSPEED = YSPEED;
if (_y < (_root.cam._y - 60)) {
_y = (_root.cam._y - 60);
}
if (_y > (_root.cam._y + 70)) {
_y = (_root.cam._y + 70);
}
YPOINT = _root._ymouse;
if (TYPE == "missile") {
seconds++;
if (seconds == 100) {
if (!_root.MUTE) {
_root.lasershot2.start();
}
}
if (seconds > 100) {
if ((seconds / 2) == Math.round(seconds / 2)) {
if (seconds < 105) {
_root.enemycount++;
duplicateMovieClip (_root.missile, "missile" + _root.enemycount, _root.enemycount);
_root["missile" + _root.enemycount]._x = _x;
_root["missile" + _root.enemycount]._y = _y - 20;
_root["missile" + _root.enemycount].R = 180 + (Math.random() * 80);
} else {
_root.enemycount++;
duplicateMovieClip (_root.missile, "missile" + _root.enemycount, _root.enemycount);
_root["missile" + _root.enemycount]._x = _x + 15;
_root["missile" + _root.enemycount]._y = _y - 25;
_root["missile" + _root.enemycount].R = 220 + (Math.random() * 80);
}
}
}
if (seconds >= 109) {
seconds = 0;
if (AMMO >= 3) {
TYPE = "car shot";
seconds = 0;
}
}
}
if (TYPE == "car shot") {
if (AMMO == 0) {
TYPE = "missile";
seconds = 0;
}
seconds++;
if (seconds == 50) {
_root.enemycount++;
duplicateMovieClip (_root["evil car shot"], "missile" + _root.enemycount, _root.enemycount);
_root["missile" + _root.enemycount]._x = _x;
_root["missile" + _root.enemycount]._y = _y - 15;
_root["missile" + _root.enemycount].R = 220 + (Math.random() * 80);
AMMO--;
if (!_root.MUTE) {
_root.gunshotbig.start();
}
}
if (seconds >= 60) {
seconds = 0;
}
}
} else if (_root.cam.hitTest(_root.SPIDERBOTlegs)) {
_root.enemycount = 30;
_name = ("enemy" + _root.enemycount);
_root.SPIDERBOTlegs.swapDepths(100);
this.swapDepths(101);
_root.SPIDERBOTlegs.gotoAndStop(2);
_root.SPIDERBOTlegsback.gotoAndStop(2);
onscreen = true;
}
}
}
Instance of Symbol 1585 MovieClip "evil car shot" in Frame 25
onClipEvent (load) {
speed = -15;
fallspeed = -5;
hit = false;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_name != "evil car shot") {
if (!hit) {
piece._rotation = piece._rotation - 10;
_x = (_x + speed);
_y = (_y + fallspeed);
fallspeed++;
if (_root.head.hitTest(this.fire)) {
play();
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
hit = true;
}
if (!this.hitTest(_root.cam)) {
this.removeMovieClip();
}
}
}
}
}
Instance of Symbol 1602 MovieClip "super" in Frame 25
onClipEvent (load) {
onscreen = false;
health = 1000;
ROT = 45 - (Math.random() * 90);
SUCKSPEED = 0;
TYPE = "super";
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1432 MovieClip in Frame 25
onClipEvent (load) {
SINE = 180;
}
Instance of Symbol 1334 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
}
Instance of Symbol 1606 MovieClip in Frame 25
onClipEvent (load) {
onscreen = false;
health = 30;
impact = 0;
fallspeed = 0;
}
Instance of Symbol 1469 MovieClip in Frame 25
onClipEvent (load) {
onscreen = false;
health = 30;
impact = 0;
fallspeed = 0;
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 0;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 90;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 180;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 270;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 315;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 45;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 225;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1351 MovieClip in Frame 25
onClipEvent (load) {
ROTATION = 135;
}
onClipEvent (enterFrame) {
if (((SUCKSPEED < 1) && (health > 0)) && (onscreen)) {
ROTATION = ROTATION + 3;
_x = (_root.enemy30._x + (Math.cos(ROTATION * (Math.PI/180)) * 30));
_y = (_root.enemy30._y + (Math.sin(ROTATION * (Math.PI/180)) * 30));
}
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = -50;
onscreen = false;
}
Instance of Symbol 1300 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 50;
onscreen = false;
}
Instance of Symbol 1334 MovieClip in Frame 25
onClipEvent (load) {
YPOSITION = 0;
}
Instance of Symbol 1607 MovieClip "final debris" in Frame 25
onClipEvent (load) {
fallspeed = 10;
speed = (_x - _root.cam._x) / 50;
hit = false;
}
onClipEvent (enterFrame) {
if (_name != "final debris") {
if (!hit) {
piece._rotation = piece._rotation - 10;
_x = (_x + speed);
_y = (_y + fallspeed);
fallspeed = fallspeed + 0.1;
if (_root.head.hitTest(this.fire)) {
play();
_root.head.impact = 20;
hit = true;
}
}
}
}
Instance of Symbol 1614 MovieClip "APRIL" in Frame 25
onClipEvent (load) {
fallspeed = 0;
speed = 0;
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
play();
if (_y > (_root.cam._y - 100)) {
_x = (_x - speed);
_y = (_y + fallspeed);
fallspeed = fallspeed + 0.2;
_rotation = (_rotation - 4);
}
if (_y > (_root.cam._y + 100)) {
_root.gotoAndStop("GAME OVER");
}
} else {
stop();
}
}
Instance of Symbol 1632 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.PAUSE) {
this.swapDepths(500);
gotoAndStop (2);
_visible = true;
} else {
gotoAndStop (1);
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
_rotation = _root.cam._rotation;
_xscale = _root.cam._xscale;
_yscale = _root.cam._yscale;
}
Frame 27
stop();
Mouse.show();
PAUSE = false;
Instance of Symbol 451 MovieClip "FLASH" in Frame 27
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
if (_alpha <= 0) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 1112 MovieClip in Frame 27
onClipEvent (load) {
_visible = false;
}
Frame 29
stop();
Mouse.show();
Instance of Symbol 1112 MovieClip in Frame 29
onClipEvent (load) {
_visible = false;
}
Symbol 43 MovieClip [feathers] Frame 1
_rotation = (Math.random() * 360);
Symbol 43 MovieClip [feathers] Frame 19
stop();
this.swapDepths(999);
this.removeMovieClip();
Symbol 53 Button
on (release) {
play();
}
Symbol 67 MovieClip Frame 1
stop();
Instance of Symbol 47 MovieClip in Symbol 67 MovieClip Frame 1
onClipEvent (load) {
XSCALE = _xscale;
_xscale = 0;
}
onClipEvent (enterFrame) {
_xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * XSCALE);
if ((_xscale >= XSCALE) && (_parent._currentframe == 1)) {
_parent.play();
}
}
Symbol 67 MovieClip Frame 10
stop();
Symbol 67 MovieClip Frame 29
_parent.play();
stop();
Symbol 74 Button
on (release) {
getURL ("http://www.Arcadebomb.com", _blank);
}
Symbol 79 Button
on (release) {
_root.play();
}
Symbol 194 MovieClip Frame 1
X = _x;
if (_parent._x < _root["checkpoint" + _root.CHECK]._x) {
gotoAndStop (300);
}
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
_x = (_x - 20);
if (_x <= (X - _width)) {
_x = X;
}
if (_root.BG2.onscreen && (_currentframe == 1)) {
play();
}
_parent._x = _root.cam._x + (_root.cam._width / 2);
}
};
Symbol 194 MovieClip Frame 300
stop();
Symbol 277 MovieClip Frame 1
_x = ((_root.cam._x + 300) - (Math.random() * 500));
onEnterFrame = function () {
_x = (_x - 10);
if (_root.CHECK >= 2) {
this.swapDepths(999);
this.removeMovieClip();
}
};
Symbol 277 MovieClip Frame 29
if (Math.random() > 0.5) {
gotoAndPlay (50);
if (Math.random() < 0.3) {
gotoAndPlay (100);
}
}
if (Math.random() > 0.8) {
gotoAndPlay (40);
}
Symbol 277 MovieClip Frame 51
_x = ((_root.cam._x + 300) - (Math.random() * 500));
Symbol 277 MovieClip Frame 79
if (Math.random() > 0.7) {
gotoAndPlay (90);
}
if (Math.random() < 0.2) {
gotoAndPlay (1);
}
Symbol 277 MovieClip Frame 100
_x = ((_root.cam._x + 300) - (Math.random() * 500));
Symbol 447 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip "grass" in Symbol 447 MovieClip Frame 335
/* no clip actions */
Symbol 447 MovieClip Frame 589
_root.play();
Symbol 450 Button
on (release) {
play();
}
Symbol 451 MovieClip Frame 1
_visible = false;
if (_name == "FLASH") {
_visible = true;
}
Symbol 473 Button
on (release) {
getURL ("http://www.Arcadebomb.com", _blank);
}
Symbol 475 Button
on (release) {
getURL ("http://www.Tombrien.co.uk", _blank);
}
Symbol 489 MovieClip Frame 54
stop();
Symbol 491 Button
on (release) {
_root.MUTE = true;
}
Symbol 493 Button
on (release) {
_root.MUTE = false;
_root.boowup.start();
}
Symbol 495 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.MUTE) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 501 Button
on (release) {
_root.QUALITY = "LOW";
play();
}
Symbol 502 Button
on (release) {
_root.QUALITY = "FINE";
play();
}
Symbol 511 MovieClip Frame 1
if ((_root.CHECK == 1) || (_root.CHECK == 0)) {
gotoAndPlay (3000);
}
if (_root.CHECK == 2) {
gotoAndPlay (4500);
}
Symbol 515 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 517 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 520 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 542 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 546 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 585 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 602 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.cam.hitTest(this)) {
play();
}
};
Instance of Symbol 542 MovieClip in Symbol 602 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (90);
}
Instance of Symbol 546 MovieClip in Symbol 602 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (30);
}
Symbol 602 MovieClip Frame 31
gotoAndPlay (2);
Symbol 658 MovieClip Frame 1
_rotation = (Math.random() * 360);
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 658 MovieClip Frame 21
gotoAndPlay (20);
this.removeMovieClip();
Symbol 671 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 674 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent._parent.health <= 30) {
gotoAndStop (2);
}
};
Symbol 690 MovieClip Frame 1
onEnterFrame = function () {
FRAME = _parent.cannon._currentframe;
gotoAndStop(FRAME);
_rotation = ((-_parent.OLDXSPEED) * 5);
};
Instance of Symbol 671 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
}
Symbol 714 MovieClip Frame 1
if (!_root.PAUSE) {
play();
} else {
stop();
}
Symbol 714 MovieClip Frame 25
if (_name != "fire") {
this.swapDepths(999);
}
this.removeMovieClip();
Symbol 715 MovieClip Frame 1
F = 30;
SINE = 0;
onEnterFrame = function () {
if (!_root.PAUSE) {
SINE = SINE + 0.5;
F--;
if (F < 0) {
F = 30;
}
duplicateMovieClip (fire, "fire" + F, F);
this["fire" + F].SINE = Math.sin(SINE) * 3;
this["fire" + F]._rotation = Math.random() * 360;
}
};
Instance of Symbol 714 MovieClip "fire" in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "fire") {
_x = (_x - 10);
_y = (_y + SINE);
} else {
_visible = false;
}
}
Symbol 723 MovieClip Frame 2
if ((_root.cam._x + 50) < (_parent._x + _x)) {
gotoAndPlay (1);
}
Instance of Symbol 617 MovieClip in Symbol 723 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Symbol 723 MovieClip Frame 171
stop();
Instance of Symbol 728 MovieClip in Symbol 730 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Symbol 735 MovieClip Frame 1
_visible = false;
if (_root.CHECK > -1) {
this.swapDepths(999);
this.removeMovieClip();
}
onEnterFrame = function () {
_x = _root.cam._x;
_y = _root.cam._y;
};
Symbol 735 MovieClip Frame 10
_root.READY = true;
Symbol 735 MovieClip Frame 55
_visible = true;
Symbol 735 MovieClip Frame 405
this.swapDepths(300);
Symbol 735 MovieClip Frame 515
this.swapDepths(999);
this.removeMovieClip();
stop();
Symbol 756 MovieClip Frame 1
FRAME = 1 + Math.round(Math.random() * 9);
gotoAndStop(FRAME);
if (Math.random() > 0.5) {
_xscale = -100;
}
Symbol 759 MovieClip Frame 1
stop();
if (Math.random() > 0.5) {
_visible = false;
}
if (Math.random() > 0.5) {
gotoAndStop (2);
}
Symbol 763 MovieClip Frame 1
stop();
FRAME = Math.round(Math.random() * 4);
gotoAndStop(FRAME);
onEnterFrame = function () {
if (_name != "building") {
_x = (_x - 15);
if (_x < -300) {
this.removeMovieClip();
}
}
};
Symbol 764 MovieClip Frame 1
seconds = 0;
S = 0;
onEnterFrame = function () {
if (onscreen) {
seconds++;
if (seconds > 9) {
S++;
duplicateMovieClip (building, "b" + S, S);
this["b" + S]._x = building._x;
this["b" + S]._y = building._y;
seconds = 0;
}
}
};
Symbol 767 MovieClip Frame 1
stop();
if (_parent.foreground) {
gotoAndStop (2);
}
onEnterFrame = function () {
if (_name != "building") {
_x = (_x - 20);
if (_x < -350) {
this.removeMovieClip();
}
} else {
_visible = false;
}
};
Symbol 768 MovieClip Frame 1
seconds = 0;
S = 0;
onEnterFrame = function () {
if (onscreen) {
seconds++;
if (seconds > 9) {
S++;
duplicateMovieClip (building, "b" + S, S);
this["b" + S]._x = building._x;
this["b" + S]._y = building._y;
seconds = 0;
}
}
};
Symbol 784 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 784 MovieClip Frame 28
if (_root.boss.Rspeed > 0) {
gotoAndPlay (25);
}
Symbol 784 MovieClip Frame 29
if (Math.random() > 0.5) {
gotoAndPlay (1);
}
if (Math.random() > 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
if (Math.random() > 0.5) {
_yscale = (_yscale * -1);
}
Symbol 784 MovieClip Frame 69
if (_root.boss.Rspeed > 0) {
gotoAndPlay (65);
}
Symbol 784 MovieClip Frame 70
if (Math.random() > 0.5) {
gotoAndPlay (30);
}
if (Math.random() > 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
if (Math.random() > 0.5) {
_yscale = (_yscale * -1);
}
Instance of Symbol 786 MovieClip in Symbol 788 MovieClip Frame 1
onClipEvent (load) {
seconds = 0;
}
onClipEvent (enterFrame) {
if (_root.enemy30.health <= (_root.enemy30.MAXhealth / 2)) {
seconds++;
if ((((((seconds == 15) || (seconds == 16)) || (seconds == 18)) || (seconds == 19)) || (seconds == 50)) || (seconds == 51)) {
_visible = true;
} else {
_visible = false;
}
if (seconds >= 90) {
seconds = Math.round(Math.random() * -10);
_y = (50 - (Math.random() * 100));
if (Math.random() > 0.5) {
_xscale = (_xscale * -1);
}
}
if ((seconds == 10) && (Math.random() > 0.5)) {
seconds = 20;
}
} else {
_visible = false;
}
}
Symbol 788 MovieClip Frame 2
stop();
Symbol 790 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation - 20);
if (_parent.health <= (_parent.MAXhealth / 2)) {
_visible = false;
}
};
Symbol 810 MovieClip Frame 1
if (Math.random() < 0.3) {
_root.lightning.start();
gotoAndPlay (35);
}
if (Math.random() < 0.3) {
_root.lightning.start();
gotoAndPlay (75);
}
onEnterFrame = function () {
_rotation = (_rotation-1);
};
Symbol 810 MovieClip Frame 35
if (Math.random() < 0.3) {
_root.lightning.start();
gotoAndPlay (1);
}
if (Math.random() < 0.3) {
_root.lightning.start();
gotoAndPlay (75);
}
Symbol 810 MovieClip Frame 70
if (Math.random() < 0.3) {
_root.lightning.start();
gotoAndPlay (35);
}
if (Math.random() < 0.3) {
_root.lightning.start();
gotoAndPlay (1);
}
Instance of Symbol 793 MovieClip in Symbol 834 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_alpha = (_parent.impact * 20);
if (_parent.health <= (_parent.MAXhealth / 2)) {
_alpha = (50 + (_parent.impact * 20));
}
if (this.hitTest(_root.head._x, _root.head._y, true)) {
_root.head.impact = 50;
_root.head.health = _root.head.health - 5;
}
}
Symbol 834 MovieClip Frame 10
gotoAndPlay (1);
Symbol 834 MovieClip Frame 15
gotoAndPlay (11);
Symbol 834 MovieClip Frame 16
if (!_root.MUTE) {
_root.gunshotHUGE.start();
}
Instance of Symbol 793 MovieClip "body" in Symbol 834 MovieClip Frame 16
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_alpha = (_parent.impact * 20);
if (_parent.health <= (_parent.MAXhealth / 2)) {
_alpha = (50 + (_parent.impact * 20));
}
}
Symbol 834 MovieClip Frame 160
_root.gotoAndStop("END");
Symbol 843 MovieClip Frame 1
_alpha = 0;
Symbol 853 MovieClip Frame 1
if (!_root.MUTE) {
_root.lightning.start();
}
Symbol 853 MovieClip Frame 35
if (Math.random() > 0.5) {
_rotation = (Math.random() * 360);
_xscale = (100 - (Math.random() * 20));
_yscale = _xscale;
gotoAndPlay (1);
}
Symbol 853 MovieClip Frame 55
_rotation = (Math.random() * 360);
_xscale = (100 - (Math.random() * 20));
_yscale = _xscale;
Symbol 854 MovieClip Frame 2
if (_root.cam._x < (_x - 100)) {
gotoAndPlay (1);
}
Instance of Symbol 793 MovieClip "body" in Symbol 854 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_alpha = (_parent.impact * 20);
if (_parent.health <= (_parent.MAXhealth / 2)) {
_alpha = (50 + (_parent.impact * 20));
}
}
Symbol 854 MovieClip Frame 20
if (!_root.MUTE) {
_root.steam.start();
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 20
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 20
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 20
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 20
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 20
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 21
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 21
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 21
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 21
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 22
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 22
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 22
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 22
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 23
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 23
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 23
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 23
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 24
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 24
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 24
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Instance of Symbol 658 MovieClip in Symbol 854 MovieClip Frame 24
onClipEvent (load) {
X = _x;
Y = _y;
speed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin((X * Math.PI) / 180) * speed));
_y = (_y - (Math.cos((Y * Math.PI) / 180) * speed));
speed = speed * 0.9;
}
Symbol 854 MovieClip Frame 26
if (!CLOSED) {
gotoAndPlay ("OPEN");
}
Instance of Symbol 793 MovieClip in Symbol 854 MovieClip Frame 32
onClipEvent (load) {
XSCALE = _xscale;
_xscale = 10;
_yscale = 10;
seconds = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
seconds++;
if (seconds < 250) {
_xscale = (_xscale - ((_xscale - XSCALE) / 30));
} else {
_xscale = (_xscale * 0.9);
}
_yscale = _xscale;
if (this.hitTest(_root.head._x, _root.head._y, true)) {
_root.head.impact = 50;
_root.head.health = _root.head.health - 5;
}
}
}
Instance of Symbol 853 MovieClip in Symbol 854 MovieClip Frame 32
onClipEvent (load) {
gotoAndPlay (20);
}
Symbol 854 MovieClip Frame 34
if (CLOSED) {
gotoAndPlay ("CLOSED");
} else {
gotoAndPlay (1);
}
Symbol 864 MovieClip Frame 1
X = _x;
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
_x = (_x - 20);
if (_x <= (X - (_width * 0.6))) {
_x = X;
if (_root.cam._x < _root.point2._x) {
FRAME = Math.round(Math.random() * 10);
gotoAndStop(FRAME);
} else {
gotoAndStop (11);
}
}
_parent._x = _root.cam._x + (_root.cam._width / 2);
}
};
Symbol 867 MovieClip Frame 1
if (_root["checkpoint" + _root.CHECK]._x > (_x + 100)) {
this.swapDepths(999);
this.removeMovieClip();
}
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_root.cam.hitTest(this)) {
_x = (_x - 20);
}
}
};
Symbol 875 MovieClip Frame 1
Symbol 883 MovieClip Frame 1
stop();
Instance of Symbol 879 MovieClip "back" in Symbol 883 MovieClip Frame 2
onClipEvent (enterFrame) {
_x = (_parent.front2._x - 50);
_y = ((_root.enemy30._y - _parent._y) / (_parent._yscale / 100));
X = _parent.front._x - _x;
Y = _parent.front._y - _y;
_rotation = (((-Math.atan2(X, Y)) / (Math.PI/180)) - 45);
}
Instance of Symbol 880 MovieClip "middle" in Symbol 883 MovieClip Frame 2
onClipEvent (enterFrame) {
X = _parent.front._x - _x;
Y = _parent.front._y - _y;
mc._y = Math.sqrt((X * X) + (Y * Y));
mc._height = Math.sqrt((X * X) + (Y * Y)) * 0.7;
_rotation = ((-Math.atan2(X, Y)) / (Math.PI/180));
}
Instance of Symbol 882 MovieClip "front" in Symbol 883 MovieClip Frame 2
onClipEvent (load) {
X = _x;
Y = _y;
SINE = 90;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
SINE = SINE - 0.5;
_x = (X + (Math.sin(SINE) * 70));
_y = (Y + (Math.cos(SINE) * 40));
if (_y > Y) {
_y = Y;
}
backX = _x - _parent.back._x;
backY = _y - _parent.back._y;
_parent.back._rotation = ((-Math.atan2(backX, backY)) / (Math.PI/180)) - 45;
_parent.middle._x = _parent.back._x - (Math.sin(_parent.back._rotation * (Math.PI/180)) * 70);
_parent.middle._y = _parent.back._y + (Math.cos(_parent.back._rotation * (Math.PI/180)) * 70);
}
}
Instance of Symbol 879 MovieClip "back1" in Symbol 883 MovieClip Frame 2
onClipEvent (enterFrame) {
_x = (_parent.front2._x + 10);
_y = ((_root.enemy30._y - _parent._y) / (_parent._yscale / 100));
X = _parent.front1._x - _x;
Y = _parent.front1._y - _y;
_rotation = (((-Math.atan2(X, Y)) / (Math.PI/180)) + 45);
}
Instance of Symbol 880 MovieClip "middle1" in Symbol 883 MovieClip Frame 2
onClipEvent (enterFrame) {
X = _parent.front1._x - _x;
Y = _parent.front1._y - _y;
mc._y = Math.sqrt((X * X) + (Y * Y));
mc._height = Math.sqrt((X * X) + (Y * Y)) * 0.7;
_rotation = ((-Math.atan2(X, Y)) / (Math.PI/180));
}
Instance of Symbol 882 MovieClip "front1" in Symbol 883 MovieClip Frame 2
onClipEvent (load) {
X = _x;
Y = _y;
SINE = 270;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
SINE = SINE - 0.5;
_x = (X + (Math.sin(SINE) * 70));
_y = (Y + (Math.cos(SINE) * 40));
if (_y > Y) {
_y = Y;
}
backX = _x - _parent.back1._x;
backY = _y - _parent.back1._y;
_parent.back1._rotation = ((-Math.atan2(backX, backY)) / (Math.PI/180)) + 45;
_parent.middle1._x = _parent.back1._x - (Math.sin(_parent.back1._rotation * (Math.PI/180)) * 70);
_parent.middle1._y = _parent.back1._y + (Math.cos(_parent.back1._rotation * (Math.PI/180)) * 70);
}
}
Symbol 883 MovieClip Frame 35
this.swapDepths(999);
this.removeMovieClip();
Symbol 963 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
if (_parent.onscreen && (_parent.health > 0)) {
if (_currentframe < 60) {
XMOUSE = _root._xmouse;
YMOUSE = _root._ymouse;
}
X = XMOUSE - _parent._x;
Y = YMOUSE - _parent._y;
R = ((-Math.atan2(X, Y)) / (Math.PI/180)) - 90;
_rotation = (_rotation - ((_rotation - R) / 3));
if (_rotation < -45) {
_rotation = -45;
}
if (_rotation > 40) {
_rotation = 40;
}
} else {
gotoAndPlay (1);
}
} else {
stop();
}
};
Symbol 963 MovieClip Frame 85
if (!_root.MUTE) {
_root.gunlaser2.start();
}
Instance of Symbol 923 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 963 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Symbol 985 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 985 MovieClip Frame 2
if (!_parent.onscreen) {
gotoAndPlay (1);
}
Symbol 985 MovieClip Frame 100
duplicateMovieClip (_root.battery, "battery81", 101);
_root.battery81._x = _parent._x + _x;
_root.battery81._y = _parent._y + _y;
if (!_root.MUTE) {
_root.mechswitch.start();
if (Math.random() > 0.5) {
_root.R1.start(0, 1);
} else {
_root.R3.start(0, 1);
}
}
Symbol 1019 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
if (_parent.onscreen && (_parent.health > 0)) {
if (_currentframe < 60) {
XMOUSE = _root._xmouse;
YMOUSE = _root._ymouse;
}
X = XMOUSE - _parent._x;
Y = YMOUSE - _parent._y;
R = ((-Math.atan2(X, Y)) / (Math.PI/180)) - 90;
_rotation = (_rotation - ((_rotation - R) / 3));
if (_rotation < -45) {
_rotation = -45;
}
if (_rotation > 40) {
_rotation = 40;
}
}
} else {
stop();
}
};
Symbol 1019 MovieClip Frame 85
if (!_root.MUTE) {
_root.gunlaser2.start();
}
Instance of Symbol 923 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Instance of Symbol 451 MovieClip in Symbol 1019 MovieClip Frame 85
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this)) {
_root.head.health = _root.head.health - 5;
_root.head.impact = 20;
}
}
Symbol 1036 MovieClip Frame 1
this.swapDepths(103);
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 1036 MovieClip Frame 36
gotoAndPlay (35);
this.swapDepths(999);
this.removeMovieClip();
Symbol 1048 MovieClip Frame 1
stop();
FRAME = _root._currentframe;
onscreen = false;
health = 700;
TYPE = "guard";
impact = 0;
seconds = 0;
PAWNSPAWN = "BOTTOM";
S = 0;
speed = 0;
onEnterFrame = function () {
if (_root._currentframe != FRAME) {
this.swapDepths(999);
this.removeMovieClip();
}
if (!_root.PAUSE) {
if (_currentframe > 150) {
_root.cam._x = _root.cam._x + _root.camspeed;
}
if (_x < (_root["checkpoint" + _root.CHECK]._x + 50)) {
this.swapDepths(999);
this.removeMovieClip();
}
if (onscreen) {
_root.seconds = 0;
if (health > 0) {
if (impact > 0) {
impact--;
}
if ((health < 500) && (_currentframe == 1)) {
gotoAndPlay (3);
}
seconds++;
S++;
duplicateMovieClip (smoke, "smoke" + S, S);
this["smoke" + S]._x = smoke._x;
this["smoke" + S]._y = (smoke._y + 5) - (Math.random() * 2);
this["smoke" + S]._xscale = smoke._xscale;
this["smoke" + S]._yscale = smoke._yscale;
S++;
duplicateMovieClip (smoke, "smoke" + S, S);
this["smoke" + S]._x = smoke._x;
this["smoke" + S]._y = (smoke._y + 5) - (Math.random() * 2);
this["smoke" + S]._xscale = smoke._xscale;
this["smoke" + S]._yscale = smoke._yscale;
if (S > 30) {
S = 0;
}
if ((TURRET._currentframe > 85) && (TURRET._currentframe < 107)) {
_root.cam.SHAKE = 5.5;
}
if (seconds > 63) {
if (_root.enemycount == 30) {
_root.enemycount++;
}
if (PAWNSPAWN == "BOTTOM") {
duplicateMovieClip (_root.PAWN, "PAWN" + _root.enemycount, _root.enemycount);
_root["PAWN" + _root.enemycount]._x = _x - 30;
_root["PAWN" + _root.enemycount]._y = _y + 60;
_root["PAWN" + _root.enemycount].SINE = 0.5 + Math.random();
} else {
duplicateMovieClip (_root.PAWN, "PAWN" + _root.enemycount, _root.enemycount);
_root["PAWN" + _root.enemycount]._x = _x - 30;
_root["PAWN" + _root.enemycount]._y = _y - 30;
_root["PAWN" + _root.enemycount].SINE = 8.5 + Math.random();
}
}
if (seconds > 65) {
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.R4.start(0, 1);
} else {
_root.R5.start(0, 1);
}
}
seconds = 0;
if (PAWNSPAWN == "BOTTOM") {
PAWNSPAWN = "TOP";
} else {
PAWNSPAWN = "BOTTOM";
}
}
_root.STOP = true;
} else {
play();
_x = (_x + speed);
speed = speed - 0.05;
if (_x < (_root.cam._x - 600)) {
_root.STOP = false;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else {
if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 200)) {
_x = (_x-1);
}
if (_x < (_root.cam._x + (_root.cam._width / 2))) {
_root.enemycount = 30;
this.swapDepths(100);
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
}
};
Instance of Symbol 963 MovieClip "TURRET" in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
myColor = new Color(this);
myColorTransform = new Object();
}
onClipEvent (enterFrame) {
myColorTransform = {rb:_parent.impact * 40, gb:0, bb:0};
myColor.setTransform(myColorTransform);
}
Instance of Symbol 658 MovieClip "smoke" in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speed = -5 - (Math.random() * 3);
fallspeed = 1 - (Math.random() * 2);
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_x = (_x + speed);
_y = (_y - fallspeed);
}
}
Instance of Symbol 966 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_parent._currentframe != 1) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 968 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Y = _y;
X = _x;
}
onClipEvent (enterFrame) {
_y = (Y + (Math.sin(_parent.TURRET._rotation / 20) * 60));
_x = (X - (Math.sin(_parent.TURRET._rotation / 20) * 10));
}
Instance of Symbol 968 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Y = _y;
X = _x;
}
onClipEvent (enterFrame) {
_y = (Y + (Math.sin((_parent.TURRET._rotation + 30) / 20) * 60));
_x = (X - (Math.sin((_parent.TURRET._rotation + 30) / 20) * 10));
}
Instance of Symbol 968 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Y = _y;
X = _x;
}
onClipEvent (enterFrame) {
_y = (Y + (Math.sin((_parent.TURRET._rotation + 60) / 20) * 60));
_x = (X - (Math.sin((_parent.TURRET._rotation + 60) / 20) * 10));
}
Symbol 1048 MovieClip Frame 3
if (!_root.MUTE) {
_root.explosion1.start();
_root.R2.start(0, 1);
}
Instance of Symbol 1019 MovieClip "TURRET" in Symbol 1048 MovieClip Frame 3
onClipEvent (load) {
myColor = new Color(this);
myColorTransform = new Object();
}
onClipEvent (enterFrame) {
myColorTransform = {rb:_parent.impact * 40, gb:0, bb:0};
myColor.setTransform(myColorTransform);
}
Instance of Symbol 658 MovieClip "smoke" in Symbol 1048 MovieClip Frame 3
onClipEvent (load) {
speed = -5 - (Math.random() * 3);
fallspeed = 1 - (Math.random() * 2);
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_x = (_x + speed);
_y = (_y - fallspeed);
}
}
Instance of Symbol 1023 MovieClip in Symbol 1048 MovieClip Frame 3
onClipEvent (load) {
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_parent._currentframe > 40) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 968 MovieClip in Symbol 1048 MovieClip Frame 3
onClipEvent (load) {
Y = _y;
X = _x;
}
onClipEvent (enterFrame) {
_y = (Y + (Math.sin(_parent.TURRET._rotation / 20) * 60));
_x = (X - (Math.sin(_parent.TURRET._rotation / 20) * 10));
}
Instance of Symbol 968 MovieClip in Symbol 1048 MovieClip Frame 3
onClipEvent (load) {
Y = _y;
X = _x;
}
onClipEvent (enterFrame) {
_y = (Y + (Math.sin((_parent.TURRET._rotation + 30) / 20) * 60));
_x = (X - (Math.sin((_parent.TURRET._rotation + 30) / 20) * 10));
}
Instance of Symbol 968 MovieClip in Symbol 1048 MovieClip Frame 3
onClipEvent (load) {
Y = _y;
X = _x;
}
onClipEvent (enterFrame) {
_y = (Y + (Math.sin((_parent.TURRET._rotation + 60) / 20) * 60));
_x = (X - (Math.sin((_parent.TURRET._rotation + 60) / 20) * 10));
}
Instance of Symbol 1036 MovieClip in Symbol 1048 MovieClip Frame 3
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Symbol 1048 MovieClip Frame 20
if (!_root.MUTE) {
_root.explosion2.start();
}
Instance of Symbol 1036 MovieClip in Symbol 1048 MovieClip Frame 20
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Symbol 1048 MovieClip Frame 40
stop();
if (!_root.MUTE) {
_root.explosion2.start();
}
Instance of Symbol 1036 MovieClip in Symbol 1048 MovieClip Frame 40
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Symbol 1048 MovieClip Frame 41
if (!_root.MUTE) {
_root.explosion1.start();
}
Symbol 1048 MovieClip Frame 65
if (!_root.MUTE) {
_root.explosion2.start();
}
Instance of Symbol 1036 MovieClip in Symbol 1048 MovieClip Frame 65
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Symbol 1048 MovieClip Frame 100
if (!_root.MUTE) {
_root.explosion1.start();
}
Instance of Symbol 1036 MovieClip in Symbol 1048 MovieClip Frame 100
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Symbol 1048 MovieClip Frame 175
if (!_root.MUTE) {
_root.mechswitch.start();
_root.explosion3.start();
_root.gunshotHUGE.start();
}
Symbol 1048 MovieClip Frame 240
this.swapDepths(999);
this.removeMovieClip();
Symbol 1103 MovieClip Frame 1
stop();
onscreen = false;
health = 1000;
ROT = 10 - (Math.random() * 20);
SUCKSPEED = 0;
impact = 0;
TYPE = "horse";
onEnterFrame = function () {
if (!_root.PAUSE) {
if (onscreen) {
if (SUCKSPEED < 1) {
if (_y < originY) {
_y = (_y + 2);
}
}
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (_root.SUCKING) {
if (health > 0) {
if ((R > (70 - (SUCKSPEED * 2))) && (R < (110 + (SUCKSPEED * 2)))) {
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
gotoAndStop (2);
_rotation = ROT;
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
} else {
_rotation = 0;
gotoAndStop (1);
}
if ((((_x < _root.head._x) && (_x > (_root.head._x - 20))) && (_y > (_root.head._y - 10))) && (_y < (_root.head._y + 10))) {
if (_root["SLOT" + _root.SLOT] == "NOTHING") {
_root["SLOT" + _root.SLOT] = TYPE;
}
if (!_root.MUTE) {
_root.horse.start();
_root.gulp.start();
}
_root.SLOT++;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else {
SUCKSPEED = 0;
if (health > 0) {
_rotation = 0;
gotoAndStop (1);
} else {
gotoAndStop (3);
}
}
if (_x < (_root.cam._x - 200)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 10)) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
};
Symbol 1105 MovieClip Frame 1
Y = _y - _root.cam._y;
onEnterFrame = function () {
_y = (Y + _root.cam._Y);
_alpha = (_alpha - 0.05);
if (_alpha <= 0) {
this.swapDepths(999);
this.removeMovieClip();
}
};
Symbol 1111 MovieClip Frame 1
_visible = false;
Symbol 1112 MovieClip Frame 1
stop();
var copyrightNotice = "Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net";
var reanimator = (new flash.geom.Transform(this));
var camera = (new flash.geom.Transform(this._parent));
var w = Stage.width;
var h = Stage.height;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var _local3 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
_local3.invert();
_local3.translate(w * 0.5, h * 0.5);
camera.matrix = _local3;
if (!_root.PAUSE) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
};
Instance of Symbol 1107 MovieClip in Symbol 1112 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = (_xscale - ((_xscale - _parent.BAR._xscale) / 10));
}
Instance of Symbol 1107 MovieClip "BAR" in Symbol 1112 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = _root.head.health;
}
Instance of Symbol 1111 MovieClip in Symbol 1112 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.MUTE) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 1134 MovieClip Frame 1
stop();
Symbol 1134 MovieClip Frame 25
gotoAndStop (1);
Symbol 1134 MovieClip Frame 50
gotoAndStop (1);
Symbol 1134 MovieClip Frame 71
gotoAndStop (1);
Instance of Symbol 1134 MovieClip in Symbol 1136 MovieClip Frame 1
onClipEvent (load) {
dead = false;
if (_root.APRIL._y > (_root.cam._y - 100)) {
_visible = false;
dead = true;
}
}
onClipEvent (enterFrame) {
if (_root.head.health > 1) {
_rotation = (-_parent._rotation);
if ((_root.head._y - oldY) < -25) {
play();
}
if ((_root.head._y - oldY) > 25) {
gotoAndPlay ("SWING");
}
if ((_root.head._x - oldX) > 25) {
gotoAndPlay ("HANG");
}
oldY = _root.head._y;
oldX = _root.head._x;
} else {
_visible = false;
if (!dead) {
_root.APRIL._x = _root.head._x;
_root.APRIL._y = _root.head._y;
_root.APRIL.fallspeed = -2;
_root.APRIL.speed = 1 + (Math.random() * 2);
dead = true;
}
}
}
Instance of Symbol 1134 MovieClip in Symbol 1143 MovieClip Frame 1
onClipEvent (load) {
dead = false;
if (_root.APRIL._y > (_root.cam._y - 100)) {
_visible = false;
dead = true;
}
}
onClipEvent (enterFrame) {
if (_root.head.health > 1) {
_rotation = (-_parent._rotation);
if ((_root.head._y - oldY) < -25) {
play();
}
if ((_root.head._y - oldY) > 25) {
gotoAndPlay ("SWING");
}
if ((_root.head._x - oldX) > 25) {
gotoAndPlay ("HANG");
}
oldY = _root.head._y;
oldX = _root.head._x;
} else {
_visible = false;
if (!dead) {
_root.APRIL._x = _root.head._x;
_root.APRIL._y = _root.head._y;
_root.APRIL.fallspeed = -2;
_root.APRIL.speed = 1 + (Math.random() * 2);
dead = true;
}
}
}
Instance of Symbol 1134 MovieClip in Symbol 1146 MovieClip Frame 1
onClipEvent (load) {
dead = false;
if (_root.APRIL._y > (_root.cam._y - 100)) {
_visible = false;
dead = true;
}
}
onClipEvent (enterFrame) {
if (_root.head.health > 1) {
_rotation = (-_parent._rotation);
if ((_root.head._y - oldY) < -25) {
play();
}
if ((_root.head._y - oldY) > 25) {
gotoAndPlay ("SWING");
}
if ((_root.head._x - oldX) > 25) {
gotoAndPlay ("HANG");
}
oldY = _root.head._y;
oldX = _root.head._x;
} else {
_visible = false;
if (!dead) {
_root.APRIL._x = _root.head._x;
_root.APRIL._y = _root.head._y;
_root.APRIL.fallspeed = -2;
_root.APRIL.speed = 1 + (Math.random() * 2);
dead = true;
}
}
}
Instance of Symbol 1134 MovieClip in Symbol 1149 MovieClip Frame 1
onClipEvent (load) {
dead = false;
if (_root.APRIL._y > (_root.cam._y - 100)) {
_visible = false;
dead = true;
}
}
onClipEvent (enterFrame) {
if (_root.head.health > 1) {
_rotation = (-_parent._rotation);
if ((_root.head._y - oldY) < -25) {
play();
}
if ((_root.head._y - oldY) > 25) {
gotoAndPlay ("SWING");
}
if ((_root.head._x - oldX) > 25) {
gotoAndPlay ("HANG");
}
oldY = _root.head._y;
oldX = _root.head._x;
} else {
_visible = false;
if (!dead) {
_root.APRIL._x = _root.head._x;
_root.APRIL._y = _root.head._y;
_root.APRIL.fallspeed = -2;
_root.APRIL.speed = 1 + (Math.random() * 2);
dead = true;
}
}
}
Instance of Symbol 1134 MovieClip in Symbol 1152 MovieClip Frame 1
onClipEvent (load) {
dead = false;
if (_root.APRIL._y > (_root.cam._y - 100)) {
_visible = false;
dead = true;
}
}
onClipEvent (enterFrame) {
if (_root.head.health > 1) {
_rotation = (-_parent._rotation);
if ((_root.head._y - oldY) < -25) {
play();
}
if ((_root.head._y - oldY) > 25) {
gotoAndPlay ("SWING");
}
if ((_root.head._x - oldX) > 25) {
gotoAndPlay ("HANG");
}
oldY = _root.head._y;
oldX = _root.head._x;
} else {
_visible = false;
if (!dead) {
_root.APRIL._x = _root.head._x;
_root.APRIL._y = _root.head._y;
_root.APRIL.fallspeed = -2;
_root.APRIL.speed = 1 + (Math.random() * 2);
dead = true;
}
}
}
Instance of Symbol 923 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation+1);
}
Instance of Symbol 1134 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (load) {
dead = false;
if (_root.APRIL._y > (_root.cam._y - 100)) {
_visible = false;
dead = true;
}
}
onClipEvent (enterFrame) {
if (_root.head.health > 1) {
_rotation = (-_parent._rotation);
if ((_root.head._y - oldY) < -25) {
play();
}
if ((_root.head._y - oldY) > 25) {
gotoAndPlay ("SWING");
}
if ((_root.head._x - oldX) > 25) {
gotoAndPlay ("HANG");
}
oldY = _root.head._y;
oldX = _root.head._x;
} else {
_visible = false;
if (!dead) {
_root.APRIL._x = _root.head._x;
_root.APRIL._y = _root.head._y;
_root.APRIL.fallspeed = -2;
_root.APRIL.speed = 1 + (Math.random() * 2);
dead = true;
}
}
}
Symbol 1156 MovieClip Frame 1
impact = 0;
myColor = new Color(this);
myColorTransform = new Object();
onEnterFrame = function () {
myColorTransform = {rb:_root.head.impact * 20, gb:0, bb:0};
myColor.setTransform(myColorTransform);
if (_root["SLOT" + (_root.SLOT - 1)] == "super") {
gotoAndStop (6);
} else {
gotoAndStop(_root.SLOT);
}
if (_root.SLOT == 5) {
_root.SUCKS.suck.stop();
_root.SUCKS.suckloop.stop();
}
};
Symbol 1190 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
if (_root["SLOT" + (_root.SLOT - 1)] == "super") {
gotoAndPlay (15);
}
Symbol 1190 MovieClip Frame 5
if (_root.clicktime < 5) {
if (!_root.MUTE) {
if (_root.SLOT > 1) {
_root.pop.start();
}
R = Math.round(Math.random() * 5) + 1;
_root["woof" + R].start();
}
if (_root.SLOT > 1) {
if (_root["SLOT" + (_root.SLOT - 1)] == "super") {
_root.shotcount++;
duplicateMovieClip (_root["big shot"], "big shot" + _root.shotcount, _root.shotcount);
_root["big shot" + _root.shotcount]._x = _parent._x;
_root["big shot" + _root.shotcount]._y = _parent._y;
if (!_root.MUTE) {
_root.gunlaser.start();
}
i = 0;
while (i < 5) {
_root["SLOT" + i] = "NOTHING";
i++;
}
_root.SLOT = 1;
} else {
if (!_root.MUTE) {
_root.swish.start();
}
_root.shotcount++;
TYPE = _root["SLOT" + (_root.SLOT - 1)];
duplicateMovieClip (_root[TYPE + " shot"], "shot" + _root.shotcount, _root.shotcount);
_root.SLOT--;
_root["shot" + _root.shotcount]._x = _root.head._x + 10;
_root["shot" + _root.shotcount]._y = _root.head._y;
if (_root["SLOT" + _root.SLOT] != "NOTHING") {
_root["SLOT" + _root.SLOT] = "NOTHING";
}
}
}
}
Symbol 1190 MovieClip Frame 15
if (!_root.MUTE) {
_root.burp.start(0, 1);
}
Symbol 1190 MovieClip Frame 29
if (_root.clicktime < 5) {
if (!_root.MUTE) {
if (_root.SLOT > 1) {
_root.pop.start();
}
}
if (_root.SLOT > 1) {
if (_root["SLOT" + (_root.SLOT - 1)] == "super") {
_root.shotcount++;
duplicateMovieClip (_root["big shot"], "big shot" + _root.shotcount, _root.shotcount);
_root["big shot" + _root.shotcount]._x = _parent._x;
_root["big shot" + _root.shotcount]._y = _parent._y;
if (!_root.MUTE) {
_root.gunlaser.start();
}
i = 0;
while (i < 5) {
_root["SLOT" + i] = "NOTHING";
i++;
}
_root.SLOT = 1;
} else {
_root.shotcount++;
TYPE = _root["SLOT" + (_root.SLOT - 1)];
duplicateMovieClip (_root[TYPE + " shot"], "shot" + _root.shotcount, _root.shotcount);
_root.SLOT--;
_root["shot" + _root.shotcount]._x = _root.head._x + 10;
_root["shot" + _root.shotcount]._y = _root.head._y;
if (_root["SLOT" + _root.SLOT] != "NOTHING") {
_root["SLOT" + _root.SLOT] = "NOTHING";
}
}
}
}
Symbol 1191 MovieClip Frame 1
impact = 0;
eyes._visible = false;
myColor = new Color(this);
myColorTransform = new Object();
onEnterFrame = function () {
if (!_root.PAUSE) {
if (Key.isDown(32)) {
if (!SPACEdown) {
if (_root.SLOT < 5) {
if (_currentframe == 3) {
mc.gotoAndPlay(1);
}
gotoAndStop (3);
}
if (_root.SLOT == 5) {
if (_currentframe == 3) {
mc.gotoAndPlay(1);
}
gotoAndStop (3);
}
}
SPACEdown = true;
} else {
SPACEdown = false;
}
if (_root["SLOT" + (_root.SLOT - 1)] == "super") {
eyes._visible = true;
} else {
eyes._visible = false;
}
if (impact > 0) {
impact--;
}
myColorTransform = {rb:impact * 20, gb:0, bb:0};
myColor.setTransform(myColorTransform);
if (_root.SUCKING) {
gotoAndStop (2);
} else if (_currentframe == 2) {
gotoAndStop (1);
}
if (_currentframe == 3) {
if (_root["SLOT" + (_root.SLOT - 1)] == "super") {
if (mc._currentframe > 35) {
gotoAndStop (1);
}
} else if (mc._currentframe > 12) {
gotoAndStop (1);
}
}
}
};
onMouseUp = function () {
if (!_root.PAUSE) {
if (_root.SLOT < 5) {
if (_currentframe == 3) {
mc.gotoAndPlay(1);
}
gotoAndStop (3);
}
}
};
onMouseDown = function () {
if (_root.SLOT == 5) {
if (_currentframe == 3) {
mc.gotoAndPlay(1);
}
gotoAndStop (3);
}
};
Symbol 1193 MovieClip Frame 1
i = 0;
SINE = 0;
this.createEmptyMovieClip("trail", 1);
onEnterFrame = function () {
trail.clear();
SINE = SINE + 0.5;
i++;
this["X" + i] = _root.head._x - 10;
this["Y" + i] = (_root.head._y - 4) + (Math.sin(SINE) * 2);
trail.moveTo(_root.head._x - 10, _root.head._y + 3);
ALPHA = _root.CHECK + 1;
if (_root.CHECK == 4) {
ALPHA = 0;
}
if (i > 20) {
o = 0;
while (o < 20) {
this["X" + (i - o)] = this["X" + (i - o)] - 5;
trail.lineStyle((20 - o) / 2, 16777215, ALPHA);
if (_root.CHECK >= 3) {
trail.lineStyle((20 - o) / 2, 16777215, 2);
}
trail.lineTo(this["X" + (i - o)], this["Y" + (i - o)]);
o++;
}
}
};
Symbol 1219 MovieClip Frame 1
sine = 0;
onEnterFrame = function () {
if (!_root.PAUSE) {
sine = sine + 0.25;
_y = (_y + Math.sin(sine));
}
};
Symbol 1240 MovieClip Frame 6
_rotation = (Math.random() * 360);
Symbol 1240 MovieClip Frame 17
_parent.swapDepths(999);
_parent.removeMovieClip();
Symbol 1241 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_name != "bird") {
if (onscreen) {
if (health > 0) {
_x = (_x - 3);
}
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (_root.SUCKING) {
if (health > 0) {
if ((R > (70 - (SUCKSPEED * 2))) && (R < (110 + (SUCKSPEED * 2)))) {
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
gotoAndStop (2);
_rotation = ROT;
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
} else {
_rotation = 0;
gotoAndStop (1);
}
if ((((_x < _root.head._x) && (_x > (_root.head._x - 20))) && (_y > (_root.head._y - 10))) && (_y < (_root.head._y + 10))) {
if (_root["SLOT" + _root.SLOT] == "NOTHING") {
_root["SLOT" + _root.SLOT] = TYPE;
}
_root.attachMovie("feathers", "feathers", 200);
_root.feathers._x = _x + 5;
_root.feathers._y = _y;
if (!_root.MUTE) {
_root.gulp.start();
_root.bird_eaten.start(0, 1);
}
_root.SLOT++;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else {
SUCKSPEED = 0;
if (Math.sqrt((X * X) + (Y * Y)) < 100) {
if (_y < _root.head._y) {
_y = (_y - Math.sin(R * (Math.PI/180)));
} else {
_y = (_y + Math.sin(R * (Math.PI/180)));
}
}
if (health > 0) {
_rotation = 0;
gotoAndStop (1);
} else {
gotoAndStop (3);
}
}
if (_x < (_root.cam._x - 200)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 10)) {
_root.birdenemycount++;
_name = ("enemy" + _root.birdenemycount);
onscreen = true;
}
}
}
};
Symbol 1256 MovieClip Frame 1
speed = 5;
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if ((_name != "bird shot") && (_currentframe == 1)) {
_root.smokecount++;
duplicateMovieClip (_root.smoke, "smoke" + _root.smokecount, _root.smokecount);
_root["smoke" + _root.smokecount]._x = _x;
_root["smoke" + _root.smokecount]._y = _y;
i = 0;
while (i < 5) {
_x = (_x + speed);
o = 30;
while (o < 55) {
if (this.body.hitTest(_root["enemy" + o].body) && (_root["enemy" + o].impact == 0)) {
_rotation = (Math.random() * 360);
play();
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.thump.start();
} else {
_root.thump2.start();
}
}
_root["enemy" + o].health = _root["enemy" + o].health - 10;
_root["enemy" + o].impact = 5;
}
o++;
}
i++;
}
if (_x > (_root.cam._x + (_root.cam._width / 2))) {
this.removeMovieClip();
}
}
}
};
Symbol 1256 MovieClip Frame 14
this.removeMovieClip();
Symbol 1265 MovieClip Frame 1
if (_name != "big shot") {
if (Math.random() > 0.5) {
_yscale = -100;
}
_root.cam.SHAKE = _root.cam.SHAKE + 10;
o = 30;
while (o < 55) {
if (_root["enemy" + o].onscreen) {
_root["enemy" + o].impact = 20;
_root["enemy" + o].health = _root["enemy" + o].health - 80;
}
o++;
}
} else {
stop();
}
Symbol 1265 MovieClip Frame 15
this.removeMovieClip();
Symbol 1268 MovieClip Frame 1
Y = _parent._y - oldY;
_rotation = ((-Y) * 3);
oldY = _parent._y;
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 1271 MovieClip Frame 1
_alpha = (_parent.impact * 10);
onEnterFrame = function () {
_alpha = (_parent.impact * 10);
};
Symbol 1287 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 1287 MovieClip Frame 2
if (!_parent.onscreen) {
gotoAndPlay (1);
}
Symbol 1287 MovieClip Frame 82
_parent._x = _parent._x + 20;
_parent.OLDXSPEED = 10;
if (Math.random() > 0.5) {
_parent._y = _parent._y - 5;
_parent.OLDYSPEED = 5;
} else {
_parent._y = _parent._y + 5;
_parent.OLDYSPEED = -5;
}
if (((_root.head._y > ((_parent._y - 10) - (_root.SLOT * 1.5))) && (_root.head._y < (_parent._y + 10))) && (_root.head._x < _x)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 20;
}
if (!_root.MUTE) {
_root.lasershot2.start();
}
Symbol 1299 MovieClip Frame 1
_rotation = (Math.random() * 360);
i = 0;
while (i < 10) {
if (!_root.PAUSE) {
duplicateMovieClip (smoke, "smoke" + i, i);
this["smoke" + i]._x = 10 - (Math.random() * 20);
this["smoke" + i]._y = 10 - (Math.random() * 20);
}
i++;
}
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Instance of Symbol 658 MovieClip "smoke" in Symbol 1299 MovieClip Frame 1
onClipEvent (load) {
X = _x;
Y = _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
SPEED = 3;
}
onClipEvent (enterFrame) {
_x = (_x - (Math.sin(R * (Math.PI/180)) * SPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SPEED));
SPEED = SPEED * 0.9;
}
Symbol 1299 MovieClip Frame 27
gotoAndPlay (25);
this.swapDepths(999);
this.removeMovieClip();
Symbol 1300 MovieClip Frame 1
stop();
health = 20;
ROT = 45 - (Math.random() * 90);
SUCKSPEED = 0;
TYPE = "guard";
elasticness = 0.8;
quickness = 0.1;
OLDXSPEED = 0;
OLDYSPEED = 20;
impact = 0;
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (onscreen) {
if (health > 0) {
if (SUCKSPEED < 3) {
XDISTANCE = (_root.cam._x + 100) - _x;
YDISTANCE = (_root.cam._y + YPOSITION) - _y;
XSPEED = (OLDXSPEED * elasticness) + (XDISTANCE * quickness);
YSPEED = (OLDYSPEED * elasticness) + (YDISTANCE * quickness);
_x = (_x + XSPEED);
_y = (_y + YSPEED);
OLDXSPEED = XSPEED;
OLDYSPEED = YSPEED;
_rotation = 0;
} else {
_rotation = ROT;
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
}
if (impact > 0) {
impact--;
}
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (_root.SUCKING) {
if (health > 0) {
if ((R > (70 - (SUCKSPEED * 2))) && (R < (110 + (SUCKSPEED * 2)))) {
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
} else {
_rotation = 0;
gotoAndStop (1);
}
if ((((_x < _root.head._x) && (_x > (_root.head._x - 20))) && (_y > (_root.head._y - 10))) && (_y < (_root.head._y + 10))) {
if (_root["SLOT" + _root.SLOT] == "NOTHING") {
_root["SLOT" + _root.SLOT] = TYPE;
}
if (!_root.MUTE) {
_root.gulp.start();
}
_root.SLOT++;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else {
SUCKSPEED = 0;
}
} else if (health > 0) {
SUCKSPEED = 0;
_rotation = 0;
gotoAndStop (1);
} else {
if (_currentframe < 3) {
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
_root.bodycount++;
gotoAndStop (3);
}
if (mc._currentframe > 21) {
this.swapDepths(999);
this.removeMovieClip();
}
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 20)) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
};
Symbol 1304 MovieClip Frame 1
speed = 5;
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if ((_name != "guard shot") && (_currentframe == 1)) {
_root.smokecount++;
duplicateMovieClip (_root.smoke, "smoke" + _root.smokecount, _root.smokecount);
_root["smoke" + _root.smokecount]._x = _x;
_root["smoke" + _root.smokecount]._y = _y;
if (_root.CHECK >= 4) {
if (_root.shell.detail.hitTest(_x, _y, true) && (_root.shell.CLOSED)) {
_rotation = (Math.random() * 360);
play();
}
}
i = 0;
while (i < 5) {
_x = (_x + speed);
o = 30;
while (o < 55) {
if (this.body.hitTest(_root["enemy" + o].body) && (_root["enemy" + o].impact == 0)) {
_rotation = (Math.random() * 360);
play();
if (!_root.MUTE) {
_root.metal.start();
}
_root["enemy" + o].health = _root["enemy" + o].health - 20;
_root["enemy" + o].impact = 5;
}
o++;
}
i++;
}
if (_x > (_root.cam._x + (_root.cam._width / 2))) {
this.removeMovieClip();
}
}
}
};
Symbol 1304 MovieClip Frame 14
this.removeMovieClip();
Symbol 1307 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent.health <= 30) {
gotoAndStop (2);
}
};
Symbol 1328 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
if (_parent.onscreen && (_parent.health > 0)) {
if (_currentframe < 60) {
XMOUSE = _root._xmouse;
YMOUSE = _root._ymouse;
}
X = XMOUSE - _parent._x;
Y = YMOUSE - _parent._y;
R = ((-Math.atan2(X, Y)) / (Math.PI/180)) - 90;
_rotation = (_rotation - ((_rotation - R) / 3));
if (_rotation < -45) {
_rotation = -45;
}
if (_rotation > 40) {
_rotation = 40;
}
}
if (_parent._currentframe == 3) {
this.swapDepths(101);
}
} else {
stop();
}
};
Symbol 1328 MovieClip Frame 2
if ((_parent.onscreen == false) || (_parent.health < 0)) {
gotoAndPlay (1);
}
Symbol 1328 MovieClip Frame 76
_root.cam.SHAKE = _root.cam.SHAKE + 10;
_parent.OLDXSPEED = Math.cos(R * (Math.PI/180)) * 10;
_parent.OLDYSPEED = Math.sin(R * (Math.PI/180)) * 10;
if (!_root.MUTE) {
_root.gunshotbig.start();
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 1328 MovieClip Frame 76
onClipEvent (load) {
_rotation = (-_parent._rotation);
if (_root.head.hitTest(this) && (_root.head.impact <= 1)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Symbol 1332 MovieClip Frame 1
this.swapDepths(100);
FRAME = _parent._currentframe;
onEnterFrame = function () {
_rotation = (_rotation + 1.5);
if (FRAME != _parent._currentframe) {
this.removeMovieClip();
}
};
Instance of Symbol 1331 MovieClip in Symbol 1332 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
}
Symbol 1334 MovieClip Frame 1
stop();
onscreen = false;
health = 50;
ROT = 45 - (Math.random() * 90);
SUCKSPEED = 0;
TYPE = "guard";
elasticness = 0.9;
quickness = 0.03;
OLDXSPEED = 0;
OLDYSPEED = 20;
impact = 0;
SIN = 0;
fallspeed = 0;
speed = 0;
S = 0;
myColor = new Color(this);
myColorTransform = new Object();
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (onscreen) {
if (health > 0) {
if (impact > 0) {
impact--;
}
if (body.hitTest(_root.head)) {
_root.head.impact = 50;
_root.head.health = _root.head.health - 5;
}
_root.STOP = true;
myColorTransform = {rb:impact * 40, gb:0, bb:0};
myColor.setTransform(myColorTransform);
if (SUCKSPEED < 1) {
SIN = SIN + 0.1;
SINE = Math.cos(SIN) * 10;
XDISTANCE = (_root.cam._x + 150) - _x;
YDISTANCE = ((_root.cam._y + YPOSITION) - _y) + SINE;
XSPEED = (OLDXSPEED * elasticness) + (XDISTANCE * quickness);
YSPEED = (OLDYSPEED * elasticness) + (YDISTANCE * quickness);
_x = (_x + XSPEED);
_y = (_y + YSPEED);
OLDXSPEED = XSPEED;
OLDYSPEED = YSPEED;
}
gotoAndStop (1);
back._rotation = OLDXSPEED * 3;
} else {
_x = (_x + speed);
speed = speed - 0.3;
if (_y < (_root.cam._y + 70)) {
_y = (_y + 3);
if (_currentframe < 3) {
if (!_root.MUTE) {
_root.gunshotHUGE.start();
}
_root.bodycount++;
_root.STOP = false;
gotoAndStop (3);
}
} else {
if (_currentframe == 3) {
_root.cam.SHAKE = _root.cam.SHAKE + 15;
if (!_root.MUTE) {
_root.explosion2.start();
}
}
gotoAndStop (4);
cannon.gotoAndStop(1);
}
if (_currentframe > 2) {
S++;
duplicateMovieClip (smoke, "smoke" + S, S);
this["smoke" + S]._x = 20 - (Math.random() * 40);
this["smoke" + S]._y = -20;
S++;
duplicateMovieClip (smoke, "smoke" + S, S);
this["smoke" + S]._x = 20 - (Math.random() * 40);
this["smoke" + S]._y = -20;
}
}
if (_x < (_root.cam._x - 500)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 40)) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
};
Instance of Symbol 1036 MovieClip in Symbol 1334 MovieClip Frame 3
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Instance of Symbol 658 MovieClip "smoke" in Symbol 1334 MovieClip Frame 3
onClipEvent (load) {
speed = 0;
fallspeed = 3;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_x = (_x + speed);
_y = (_y - fallspeed);
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
}
Instance of Symbol 1331 MovieClip in Symbol 1334 MovieClip Frame 4
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
}
Symbol 1350 MovieClip Frame 1
if (Math.random() < 0.3) {
gotoAndPlay (35);
}
if (Math.random() < 0.3) {
gotoAndPlay (75);
}
onEnterFrame = function () {
_rotation = (_rotation-1);
};
Instance of Symbol 485 MovieClip in Symbol 1350 MovieClip Frame 1
onClipEvent (load) {
_parent._rotation = Math.random() * 360;
_rotation = (-_parent._rotation);
}
Symbol 1350 MovieClip Frame 35
if (Math.random() < 0.3) {
gotoAndPlay (1);
}
if (Math.random() < 0.3) {
gotoAndPlay (75);
}
Symbol 1350 MovieClip Frame 70
if (Math.random() < 0.3) {
gotoAndPlay (35);
}
if (Math.random() < 0.3) {
gotoAndPlay (1);
}
Symbol 1350 MovieClip Frame 100
gotoAndPlay (1);
Symbol 1350 MovieClip Frame 101
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
Symbol 1350 MovieClip Frame 105
_parent.gotoAndStop(3);
Symbol 1351 MovieClip Frame 1
stop();
onscreen = false;
health = 10;
ROT = 45 - (Math.random() * 90);
speed = -3;
SUCKSPEED = 0;
impact = 0;
TYPE = "mine";
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (_name != "bird") {
if (onscreen) {
if (health > 0) {
_x = (_x-1);
}
if (_root.head.hitTest(body)) {
if (MINE._currentframe < 100) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 20;
health = 0;
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
MINE.gotoAndPlay("boom");
}
}
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
if (_root.SUCKING) {
if (health > 0) {
if (SUCKSPEED > 1) {
gotoAndStop (2);
_rotation = ROT;
} else {
_rotation = 0;
gotoAndStop (1);
}
if ((R > (70 - (SUCKSPEED * 2))) && (R < (110 + (SUCKSPEED * 2)))) {
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
}
if (_root.head.hitTest(this.body)) {
if (MINE._currentframe < 100) {
_root.head.health = _root.head.health - 30;
_root.head.impact = 20;
health = 0;
MINE.gotoAndPlay("boom");
}
}
}
} else if (health > 0) {
_rotation = 0;
gotoAndStop (1);
} else {
if (MINE._currentframe < 100) {
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
MINE.gotoAndPlay("boom");
}
if (mc._currentframe > 21) {
this.swapDepths(999);
this.removeMovieClip();
}
}
if (_x < (_root.cam._x - 200)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 10)) {
_root.enemycount++;
if (_root.enemycount > _root.enemymax) {
_root.enemycount = 31;
}
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
}
};
Symbol 1353 MovieClip Frame 1
onEnterFrame = function () {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
};
Symbol 1355 MovieClip Frame 1
stop();
onscreen = false;
health = 1000;
ROT = 10 - (Math.random() * 20);
SUCKSPEED = 0;
impact = 0;
TYPE = "post";
onEnterFrame = function () {
if (this.hitTest(_root.cam)) {
if (!_root.PAUSE) {
if (SUCKSPEED < 1) {
if (_y < originY) {
_y = (_y + 2);
}
}
X = (_root.head._x - _x) + _parent._x;
Y = (_root.head._y - _y) + _parent._y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (_root.SUCKING) {
if (health > 0) {
if ((R > (70 - (SUCKSPEED * 2))) && (R < (110 + (SUCKSPEED * 2)))) {
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
gotoAndStop (2);
_rotation = ROT;
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
} else {
_rotation = 0;
gotoAndStop (1);
}
if (this.hitTest(_root.head)) {
if (_root["SLOT" + _root.SLOT] == "NOTHING") {
_root["SLOT" + _root.SLOT] = TYPE;
}
if (!_root.MUTE) {
_root.gulp.start();
}
_root.SLOT++;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else {
SUCKSPEED = 0;
}
}
}
};
Symbol 1356 MovieClip Frame 1
onEnterFrame = function () {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
};
Symbol 1360 MovieClip Frame 1
speed = 5;
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if ((_name != "horse shot") && (_currentframe == 1)) {
_root.smokecount++;
duplicateMovieClip (_root.smoke, "smoke" + _root.smokecount, _root.smokecount);
_root["smoke" + _root.smokecount]._x = _x;
_root["smoke" + _root.smokecount]._y = _y;
i = 0;
while (i < 5) {
_x = (_x + speed);
o = 30;
while (o < 55) {
if (this.hitTest(_root["enemy" + o].body) && (_root["enemy" + o].impact == 0)) {
_rotation = (Math.random() * 360);
play();
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.thump.start();
} else {
_root.thump2.start();
}
}
_root["enemy" + o].health = _root["enemy" + o].health - 20;
_root["enemy" + o].impact = 5;
}
o++;
}
i++;
}
if (_x > (_root.cam._x + (_root.cam._width / 2))) {
this.removeMovieClip();
}
}
}
};
Symbol 1360 MovieClip Frame 14
this.removeMovieClip();
Symbol 1367 MovieClip Frame 2
if (!onscreen) {
gotoAndPlay (1);
} else if (_x < (_root.cam._x - 400)) {
this.swapDepths(999);
this.removeMovieClip();
}
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
Symbol 1367 MovieClip Frame 6
if (onscreen) {
duplicateMovieClip (_root.mine, "mine" + _root.birdcount, _root.enemycount);
_root["mine" + _root.birdcount]._x = _x;
_root["mine" + _root.birdcount]._y = _y + 10;
}
Symbol 1368 MovieClip Frame 1
stop();
onscreen = false;
if (health != 0) {
health = 10;
}
ROT = 45 - (Math.random() * 90);
speed = -3;
SUCKSPEED = 0;
impact = 0;
TYPE = "mine";
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_name != "mine") {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (onscreen) {
if (health > 0) {
_y = (_y + 2);
}
if (_root.head.hitTest(body)) {
_root.head.health = _root.head.health - 30;
_root.head.impact = 20;
health = 0;
if (_currentframe < 3) {
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
}
if (_currentframe < 3) {
gotoAndPlay (3);
}
}
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
if (_root.SUCKING) {
if (health > 0) {
if (SUCKSPEED > 1) {
_rotation = ROT;
} else {
_rotation = 0;
}
if ((R > (70 - (SUCKSPEED * 2))) && (R < (110 + (SUCKSPEED * 2)))) {
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
}
if ((((_x < _root.head._x) && (_x > (_root.head._x - 20))) && (_y > (_root.head._y - 10))) && (_y < (_root.head._y + 10))) {
_root.head.impact = 20;
health = 0;
if (_currentframe < 3) {
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
}
gotoAndPlay (3);
}
}
}
if (health > 0) {
_rotation = 0;
} else {
if (_currentframe < 3) {
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
}
if (_currentframe < 3) {
gotoAndPlay (3);
}
}
if (_y > (_root.cam._y + (_root.cam._height * 0.4))) {
health = 0;
}
} else if (this.hitTest(_root.cam)) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
}
};
Symbol 1368 MovieClip Frame 37
this.removeMovieClip();
Symbol 1402 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
}
};
Symbol 1402 MovieClip Frame 2
if (_parent._parent.onscreen == false) {
gotoAndPlay (1);
}
Symbol 1402 MovieClip Frame 100
if (!_root.MUTE) {
_root.gunshotbig.start();
}
_root.cam.SHAKE = _root.cam.SHAKE + 10;
_parent._parent.OLDXSPEED = 10;
Instance of Symbol 1397 MovieClip in Symbol 1402 MovieClip Frame 100
onClipEvent (enterFrame) {
_x = (_x - ((_parent._parent._parent._x - oldX) * 6));
_y = (_y + ((_parent._parent._parent._x - oldX) * 3));
oldX = _parent._parent._parent._x;
}
Instance of Symbol 451 MovieClip in Symbol 1402 MovieClip Frame 100
onClipEvent (load) {
if (this.hitTest((_root.head._x + _parent._x) + _parent._parent._x, (_root.head._y + _parent._y) + _parent._parent._y, true)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 50;
}
}
Symbol 1428 MovieClip Frame 1
this.swapDepths(101);
Symbol 1428 MovieClip Frame 8
gotoAndPlay (6);
Symbol 1429 MovieClip Frame 1
stop();
onscreen = false;
health = 40;
elasticness = 0.9;
quickness = 0.03;
OLDXSPEED = 0;
SUCKSPEED = 0;
impact = 0;
SIN = 0;
speed = 5;
Y = _y;
S = 0;
myColor = new Color(this);
myColorTransform = new Object();
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (health <= 0) {
if (_currentframe < 3) {
_root.bodycount++;
_root.cam.SHAKE = _root.cam.SHAKE + 15;
gotoAndStop (3);
if (!_root.MUTE) {
_root.explosion1.start();
}
}
}
if (onscreen) {
if (health > 0) {
if (impact > 0) {
impact--;
}
myColorTransform = {rb:impact * 40, gb:0, bb:0};
myColor.setTransform(myColorTransform);
if (SUCKSPEED < 1) {
SIN = SIN + 0.1;
SINE = Math.cos(SIN) * 10;
XDISTANCE = ((_root.cam._x + (_root.cam._width / 2)) - XPOSITION) - _x;
XSPEED = (OLDXSPEED * elasticness) + (XDISTANCE * quickness);
_x = (_x + XSPEED);
OLDXSPEED = XSPEED;
_y = Y;
}
if (impact > 0) {
impact--;
}
gotoAndStop (1);
back._rotation = OLDXSPEED * 3;
} else {
_x = (_x + speed);
speed = speed - 0.5;
if (_currentframe < 3) {
_root.bodycount++;
_root.cam.SHAKE = _root.cam.SHAKE + 15;
gotoAndStop (3);
if (!_root.MUTE) {
_root.explosion1.start();
}
}
if (_currentframe == 3) {
cannon.gotoAndStop(1);
S++;
duplicateMovieClip (smoke, "smoke" + S, S);
this["smoke" + S]._x = 10 - (Math.random() * 20);
this["smoke" + S]._y = 0;
S++;
duplicateMovieClip (smoke, "smoke" + S, S);
this["smoke" + S]._x = 10 - (Math.random() * 20);
if (_x < (_root.cam._x - 500)) {
this.swapDepths(999);
this.removeMovieClip();
}
}
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 40)) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
FRAME = Math.round(Math.random() * 30);
mc.gotoAndPlay(FRAME);
onscreen = true;
}
}
};
Instance of Symbol 1036 MovieClip in Symbol 1429 MovieClip Frame 3
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Instance of Symbol 658 MovieClip "smoke" in Symbol 1429 MovieClip Frame 3
onClipEvent (load) {
speed = 0;
fallspeed = 3;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_x = (_x + speed);
_y = (_y - fallspeed);
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
}
Symbol 1432 MovieClip Frame 1
stop();
onscreen = false;
health = 30;
ROT = 45 - (Math.random() * 90);
SUCKSPEED = 0;
TYPE = "guard";
elasticness = 0.8;
quickness = 0.1;
OLDXSPEED = 0;
OLDYSPEED = 20;
impact = 0;
SUCKSPEED = 0;
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_name != "PAWN") {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (_x < (_root.cam._x - (_root.cam._width / 2))) {
this.swapDepths(999);
this.removeMovieClip();
}
if (onscreen) {
if (health > 0) {
if (SUCKSPEED < 3) {
_x = (_x - 8);
_y = (_y + (Math.cos(SINE) * 3));
SINE = SINE + 0.1;
ROTY = _y - oldY;
_rotation = ((-ROTY) * 5);
oldY = _y;
if (_root.head.hitTest(body)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 20;
health = 0;
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
gotoAndStop (3);
}
} else {
_rotation = ROT;
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
}
if (impact > 0) {
impact--;
}
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (_root.SUCKING) {
if (health > 0) {
if ((R > (70 - (SUCKSPEED * 2))) && (R < (110 + (SUCKSPEED * 2)))) {
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
} else {
_rotation = 0;
gotoAndStop (1);
}
if ((((_x < _root.head._x) && (_x > (_root.head._x - 20))) && (_y > (_root.head._y - 10))) && (_y < (_root.head._y + 10))) {
if (_root["SLOT" + _root.SLOT] == "NOTHING") {
_root["SLOT" + _root.SLOT] = TYPE;
}
if (!_root.MUTE) {
_root.gulp.start();
}
_root.SLOT++;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else {
SUCKSPEED = 0;
}
} else if (health > 0) {
SUCKSPEED = 0;
_rotation = 0;
gotoAndStop (1);
} else {
if (_currentframe < 3) {
_root.bodycount++;
gotoAndStop (3);
if (Math.random() > 0.5) {
_root.explosion1.start();
} else {
_root.explosion2.start();
}
}
if (mc._currentframe > 21) {
this.swapDepths(999);
this.removeMovieClip();
}
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 20)) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
}
};
Symbol 1452 MovieClip Frame 1
speed = 5;
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if ((_name != "battery shot") && (_currentframe == 1)) {
_root.smokecount++;
duplicateMovieClip (_root.smoke, "smoke" + _root.smokecount, _root.smokecount);
_root["smoke" + _root.smokecount]._x = _x;
_root["smoke" + _root.smokecount]._y = _y;
i = 0;
while (i < 5) {
_x = (_x + speed);
o = 30;
while (o < 55) {
if (this.hitTest(_root["enemy" + o].body) && (_root["enemy" + o].impact == 0)) {
_rotation = (Math.random() * 360);
play();
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.thump.start();
} else {
_root.thump2.start();
}
}
_root["enemy" + o].health = _root["enemy" + o].health - 20;
_root["enemy" + o].impact = 5;
}
o++;
}
i++;
}
if (_x > (_root.cam._x + (_root.cam._width / 2))) {
this.removeMovieClip();
}
}
}
};
Symbol 1452 MovieClip Frame 14
this.removeMovieClip();
Instance of Symbol 617 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Symbol 1464 MovieClip Frame 1
if (Math.random() > 0.5) {
_yscale = -100;
}
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
} else {
stop();
}
};
Symbol 1464 MovieClip Frame 40
_parent._x = _root.cam._x - (_parent._xscale * 2.5);
_parent._y = _parent._y - ((_parent._y - _root.cam._y) * 2);
_parent._xscale = _parent._xscale * -1;
_parent.gotoAndStop(1);
_parent.speed = 3;
_parent.SINE = 0;
Symbol 1469 MovieClip Frame 1
stop();
SINE = 0;
speed = 3;
myColor = new Color(this);
myColorTransform = new Object();
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (impact > 0) {
impact--;
}
myColorTransform = {rb:impact * 100, gb:0, bb:0};
myColor.setTransform(myColorTransform);
if (onscreen) {
if (health > 0) {
if (body.hitTest(_root.head) && (_root.head.impact <= 1)) {
_root.head.impact = _root.head.impact + 10;
_root.head.health = _root.head.health - 40;
}
if (_xscale == 100) {
if ((_x > (_root.cam._x - 300)) && (_currentframe == 1)) {
SINE = SINE + 0.2;
_x = (_x - speed);
_x = (_x - (Math.cos(SINE) * 5));
if (SINE > 5) {
speed = speed + 3;
}
if (impact > 0) {
impact--;
}
} else {
_x = (_root.cam._x - (_root.cam._width / 2));
gotoAndStop (2);
}
} else if ((_x < (_root.cam._x + 300)) && (_currentframe == 1)) {
SINE = SINE + 0.2;
_x = (_x + speed);
_x = (_x + (Math.cos(SINE) * 5));
if (SINE > 5) {
speed = speed + 3;
}
if (impact > 0) {
impact--;
}
} else {
_x = (_root.cam._x + (_root.cam._width / 2));
gotoAndStop (2);
}
} else {
if (_currentframe == 1) {
_root.cam.SHAKE = _root.cam.SHAKE + 5;
if (!_root.MUTE) {
_root.gunshotHUGE.start();
}
}
gotoAndStop (3);
_x = (_x + (fallspeed * ((-_xscale) / 100)));
_y = (_y + fallspeed);
fallspeed = fallspeed + 0.1;
if (_y > (_root.cam._y + 300)) {
impact = 0;
_root.STOP = false;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 20)) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
onscreen = true;
_root.STOP = true;
}
}
};
Instance of Symbol 1467 MovieClip in Symbol 1469 MovieClip Frame 3
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
speed = speed + 0.1;
}
Symbol 1478 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_currentframe > 1) {
play();
}
} else {
stop();
}
};
Symbol 1478 MovieClip Frame 2
_visible = true;
if (!_parent.onscreen) {
gotoAndPlay (1);
}
Symbol 1478 MovieClip Frame 11
if (!_root.MUTE) {
_root.lasershot2.start();
}
onEnterFrame = function () {
if ((_currentframe > 10) && (_currentframe < 42)) {
if (_rotation <= 0) {
if (((_root.head._x > (_parent._x - 20)) && (_root.head._x < (_parent._x + 20))) && (_root.head._y < _parent._y)) {
_root.head.impact = 10;
_root.head.health = _root.head.health - 10;
}
} else if (((_root.head._x > (_parent._x - 20)) && (_root.head._x < (_parent._x + 20))) && (_root.head._y > _parent._y)) {
_root.head.impact = 10;
_root.head.health = _root.head.health - 10;
}
}
};
Symbol 1491 MovieClip Frame 1
stop();
onscreen = false;
health = 50;
ROT = 45 - (Math.random() * 90);
SUCKSPEED = 0;
TYPE = "guard";
elasticness = 0.1;
quickness = 0.03;
OLDXSPEED = 0;
OLDYSPEED = 20;
impact = 0;
SIN = 0;
fallspeed = 0;
speed = 0;
SECONDS = 0;
SIN = 0;
S = 0;
myColor = new Color(this);
myColorTransform = new Object();
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (onscreen) {
if (health > 0) {
if (impact > 0) {
impact--;
}
_root.STOP = true;
myColorTransform = {rb:impact * 40, gb:0, bb:0};
myColor.setTransform(myColorTransform);
SIN = SIN + 0.05;
XDISTANCE = (_root.cam._x + (Math.cos(SIN) * 200)) - _x;
YDISTANCE = (_root.cam._y + (Math.sin(SIN) * 100)) - _y;
mc._rotation = Math.cos(SIN) * 10;
XSPEED = (OLDXSPEED * elasticness) + (XDISTANCE * quickness);
YSPEED = (OLDYSPEED * elasticness) + (YDISTANCE * quickness);
_x = (_x + XSPEED);
_y = (_y + YSPEED);
OLDXSPEED = XSPEED;
OLDYSPEED = YSPEED;
gotoAndStop (1);
if ((_y > _root.cam._y) && (_x > (_root.cam._x + 100))) {
this.laser.play();
}
if ((_y < _root.cam._y) && (_x < (_root.cam._x - 100))) {
this.blaser.play();
}
} else if (_currentframe < 3) {
i = 30;
while (i < 50) {
_root["enemy" + i].health = 0;
i++;
}
_root.cam.SHAKE = _root.cam.SHAKE + 5;
_root.bodycount++;
_root.STOP = false;
gotoAndPlay (3);
}
if (_y > (_root.cam._y + 200)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 40)) {
if (!_root.MUTE) {
_root.bell_loop.start(0, 99);
}
_root.enemycount = 30;
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
};
Symbol 1491 MovieClip Frame 3
if (!_root.MUTE) {
_root.gunshotHUGE.start();
_root.bell_loop.stop();
}
Instance of Symbol 1036 MovieClip in Symbol 1491 MovieClip Frame 3
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Symbol 1491 MovieClip Frame 35
this.swapDepths(999);
this.removeMovieClip();
Symbol 1505 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = -100;
}
gotoAndStop(_parent.FRAME);
Symbol 1506 MovieClip Frame 1
stop();
camY = _y - _root.cam._y;
speed = 5;
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_name != "car") {
if (onscreen) {
_x = (_x - speed);
if (SUCKSPEED < 1) {
if (_y < originY) {
_y = (_y + 2);
}
}
if (_currentframe == 3) {
speed++;
}
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (_root.SUCKING) {
if ((R > (70 - (SUCKSPEED * 2))) && (R < (170 + (SUCKSPEED * 2)))) {
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
_rotation = (_rotation - SUCKSPEED);
_xscale = (_xscale - SUCKSPEED);
_yscale = _xscale;
if (_currentframe == 1) {
gotoAndStop (2);
}
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * (SUCKSPEED * 1.5)));
} else {
_rotation = 0;
_xscale = 100;
_yscale = _xscale;
if (_currentframe == 2) {
gotoAndStop (1);
}
}
if ((((_x < _root.head._x) && (_x > (_root.head._x - 30))) && (_y > (_root.head._y - 15))) && (_y < (_root.head._y + 15))) {
if (_root["SLOT" + _root.SLOT] == "NOTHING") {
_root["SLOT" + _root.SLOT] = TYPE;
}
if (!_root.MUTE) {
_root.gulp.start();
}
_root.SLOT++;
this.swapDepths(999);
this.removeMovieClip();
}
} else {
SUCKSPEED = 0;
if (health > 0) {
_rotation = 0;
gotoAndStop (1);
} else {
gotoAndStop (3);
}
}
if (_x < (_root.cam._x - _root.cam._width)) {
this.swapDepths(999);
this.removeMovieClip();
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 10)) {
_root.birdenemycount++;
_name = ("enemy" + _root.birdenemycount);
onscreen = true;
}
}
}
};
Symbol 1514 MovieClip Frame 1
FRAME = 1 + Math.round(Math.random() * 5);
gotoAndStop(FRAME);
_rotation = (Math.random() * 360);
Symbol 1517 MovieClip Frame 1
speed = 5;
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if ((_name != "car shot") && (_currentframe == 1)) {
_root.smokecount++;
duplicateMovieClip (_root.smoke, "smoke" + _root.smokecount, _root.smokecount);
_root["smoke" + _root.smokecount]._x = _x;
_root["smoke" + _root.smokecount]._y = _y;
i = 0;
while (i < 5) {
_x = (_x + speed);
o = 30;
while (o < 55) {
if (this.hitTest(_root["enemy" + o].body) && (_root["enemy" + o].impact == 0)) {
_rotation = (Math.random() * 360);
if (!_root.MUTE) {
_root.metal.start();
}
play();
_root["enemy" + o].health = _root["enemy" + o].health - 20;
_root["enemy" + o].impact = 5;
}
o++;
}
i++;
}
if (_x > (_root.cam._x + (_root.cam._width / 2))) {
this.removeMovieClip();
}
}
}
};
Symbol 1517 MovieClip Frame 14
this.removeMovieClip();
Symbol 1521 MovieClip Frame 1
stop();
Instance of Symbol 879 MovieClip "back" in Symbol 1521 MovieClip Frame 2
onClipEvent (enterFrame) {
_x = (_parent.front2._x - 50);
_y = ((_root.enemy30._y - _parent._y) / (_parent._yscale / 100));
X = _parent.front._x - _x;
Y = _parent.front._y - _y;
_rotation = (((-Math.atan2(X, Y)) / (Math.PI/180)) - 45);
}
Instance of Symbol 880 MovieClip "middle" in Symbol 1521 MovieClip Frame 2
onClipEvent (enterFrame) {
X = _parent.front._x - _x;
Y = _parent.front._y - _y;
mc._y = Math.sqrt((X * X) + (Y * Y));
mc._height = Math.sqrt((X * X) + (Y * Y)) * 0.7;
_rotation = ((-Math.atan2(X, Y)) / (Math.PI/180));
}
Instance of Symbol 882 MovieClip "front" in Symbol 1521 MovieClip Frame 2
onClipEvent (load) {
X = _x;
Y = _y;
SINE = 0;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
SINE = SINE - 0.5;
_x = (X + (Math.sin(SINE) * 60));
_y = (Y + (Math.cos(SINE) * 40));
if (_y > Y) {
_y = Y;
}
backX = _x - _parent.back._x;
backY = _y - _parent.back._y;
_parent.back._rotation = ((-Math.atan2(backX, backY)) / (Math.PI/180)) - 45;
_parent.middle._x = _parent.back._x - (Math.sin(_parent.back._rotation * (Math.PI/180)) * 70);
_parent.middle._y = _parent.back._y + (Math.cos(_parent.back._rotation * (Math.PI/180)) * 70);
}
}
Instance of Symbol 879 MovieClip "back1" in Symbol 1521 MovieClip Frame 2
onClipEvent (enterFrame) {
_x = (_parent.front2._x + 10);
_y = ((_root.enemy30._y - _parent._y) / (_parent._yscale / 100));
X = _parent.front1._x - _x;
Y = _parent.front1._y - _y;
_rotation = (((-Math.atan2(X, Y)) / (Math.PI/180)) + 45);
}
Instance of Symbol 880 MovieClip "middle1" in Symbol 1521 MovieClip Frame 2
onClipEvent (enterFrame) {
X = _parent.front1._x - _x;
Y = _parent.front1._y - _y;
mc._y = Math.sqrt((X * X) + (Y * Y));
mc._height = Math.sqrt((X * X) + (Y * Y)) * 0.7;
_rotation = ((-Math.atan2(X, Y)) / (Math.PI/180));
}
Instance of Symbol 882 MovieClip "front1" in Symbol 1521 MovieClip Frame 2
onClipEvent (load) {
X = _x;
Y = _y;
SINE = 180;
}
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
SINE = SINE - 0.5;
_x = (X + (Math.sin(SINE) * 60));
_y = (Y + (Math.cos(SINE) * 40));
if (_y > Y) {
_y = Y;
}
backX = _x - _parent.back1._x;
backY = _y - _parent.back1._y;
_parent.back1._rotation = ((-Math.atan2(backX, backY)) / (Math.PI/180)) + 45;
_parent.middle1._x = _parent.back1._x - (Math.sin(_parent.back1._rotation * (Math.PI/180)) * 70);
_parent.middle1._y = _parent.back1._y + (Math.cos(_parent.back1._rotation * (Math.PI/180)) * 70);
}
}
Symbol 1521 MovieClip Frame 26
this.swapDepths(999);
this.removeMovieClip();
Symbol 1568 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.PAUSE) {
play();
if (_parent.onscreen == false) {
gotoAndPlay (1);
}
if (_parent.TYPE == "car shot") {
gotoAndPlay (1);
}
if (_currentframe > 105) {
_parent.YPOINT = _root.cam._y + 40;
if ((_currentframe > 120) && (_currentframe < 130)) {
i = 50;
while (i < 55) {
if (((_root["enemy" + i]._x - _parent._x) > -50) && ((_root["enemy" + i]._x - _parent._x) < 50)) {
_root["enemy" + i]._y = _root["enemy" + i]._y - 5;
_root["enemy" + i]._rotation = _root["enemy" + i]._rotation - 5;
_root["enemy" + i]._xscale = _root["enemy" + i]._xscale - 5;
_root["enemy" + i]._yscale = _root["enemy" + i]._xscale;
_root["enemy" + i]._x = _root["enemy" + i]._x + ((_parent._x - _root["enemy" + i]._x) / 5);
_root["enemy" + i]._y = _root["enemy" + i]._y + ((_parent._y - _root["enemy" + i]._y) / 20);
if (_root["enemy" + i]._y < (_parent._y + _y)) {
if (!_root.MUTE) {
_root.mechswitch.start();
}
_parent.AMMO++;
_root["enemy" + i].removeMovieClip();
gotoAndPlay (131);
}
}
i++;
}
}
if (_currentframe > 105) {
_parent.quickness = 0.1;
_parent.elasticness = 0.5;
} else {
_parent.quickness = 0.01;
_parent.elasticness = 0.95;
}
}
} else {
stop();
}
};
Symbol 1568 MovieClip Frame 130
gotoAndPlay (121);
Symbol 1569 MovieClip Frame 1
S = 0;
onEnterFrame = function () {
S++;
duplicateMovieClip (smoke, "smoke" + S, S);
};
Instance of Symbol 658 MovieClip "smoke" in Symbol 1569 MovieClip Frame 1
onClipEvent (load) {
speed = -5;
fallspeed = -3;
SINE = 0;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
SINE = SINE + 0.1;
_x = (_x + speed);
_y = (_y + fallspeed);
fallspeed = fallspeed + Math.sin(SINE);
_x = (_x - (_parent._parent._x - OLDX));
_y = (_y - (_parent._parent._y - OLDY));
OLDX = _parent._parent._x;
OLDY = _parent._parent._y;
}
}
Instance of Symbol 1558 MovieClip in Symbol 1577 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.TYPE == "car shot") {
gotoAndPlay (1);
}
}
Symbol 1578 MovieClip Frame 1
F = 10;
onEnterFrame = function () {
F--;
if (F > 0) {
duplicateMovieClip (fire, "fire" + F, F);
this["fire" + F]._y = (F * 10) - 100;
this["fire" + F]._rotation = Math.random() * 360;
}
};
Instance of Symbol 714 MovieClip "fire" in Symbol 1578 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "fire") {
} else {
_visible = false;
}
}
Symbol 1579 MovieClip Frame 1
stop();
FRAME = _root._currentframe;
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_root._currentframe != FRAME) {
this.swapDepths(999);
this.removeMovieClip();
}
if ((health < (MAXhealth / 2)) && (health > 0)) {
gotoAndStop (2);
}
if ((health <= 0) && (_currentframe < 4)) {
_root.SPIDERBOTlegsback.gotoAndPlay(3);
_root.SPIDERBOTlegs.gotoAndPlay(3);
gotoAndPlay (4);
if (!_root.MUTE) {
_root.gunshotHUGE.start();
}
}
}
};
Instance of Symbol 1548 MovieClip in Symbol 1579 MovieClip Frame 1
onClipEvent (load) {
elasticness = 0.7;
quickness = 0.1;
OLDRSPEED = 0;
}
onClipEvent (enterFrame) {
if (_parent.TYPE == "missile") {
RPOINT = -60;
gotoAndStop(_parent.seconds);
}
if (_parent.TYPE == "car shot") {
RPOINT = 120;
gotoAndStop(_parent.seconds + 110);
}
RDISTANCE = RPOINT - _rotation;
RSPEED = (OLDRSPEED * elasticness) + (RDISTANCE * quickness);
_rotation = (_rotation + RSPEED);
OLDRSPEED = RSPEED;
}
Instance of Symbol 1551 MovieClip in Symbol 1579 MovieClip Frame 1
onClipEvent (load) {
elasticness = 0.7;
quickness = 0.1;
OLDXSPEED = 0;
OLDYSPEED = 0;
}
onClipEvent (enterFrame) {
XPOINT = Math.sin(_rotation * (Math.PI/180)) * (20 + (_parent.AMMO * 10));
YPOINT = (-Math.cos(_rotation * (Math.PI/180))) * (20 + (_parent.AMMO * 10));
XDISTANCE = XPOINT - _x;
YDISTANCE = YPOINT - _y;
XSPEED = (OLDXSPEED * elasticness) + (XDISTANCE * quickness);
YSPEED = (OLDYSPEED * elasticness) + (YDISTANCE * quickness);
_x = (_x + XSPEED);
_y = (_y + YSPEED);
OLDXSPEED = XSPEED;
OLDYSPEED = YSPEED;
if (_parent.AMMO <= 0) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 1558 MovieClip in Symbol 1579 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.TYPE == "car shot") {
gotoAndPlay (1);
}
}
Instance of Symbol 1551 MovieClip in Symbol 1579 MovieClip Frame 2
onClipEvent (load) {
elasticness = 0.7;
quickness = 0.1;
OLDXSPEED = 0;
OLDYSPEED = 0;
}
onClipEvent (enterFrame) {
XPOINT = Math.sin(_rotation * (Math.PI/180)) * (20 + (_parent.AMMO * 10));
YPOINT = (-Math.cos(_rotation * (Math.PI/180))) * (20 + (_parent.AMMO * 10));
XDISTANCE = XPOINT - _x;
YDISTANCE = YPOINT - _y;
XSPEED = (OLDXSPEED * elasticness) + (XDISTANCE * quickness);
YSPEED = (OLDYSPEED * elasticness) + (YDISTANCE * quickness);
_x = (_x + XSPEED);
_y = (_y + YSPEED);
OLDXSPEED = XSPEED;
OLDYSPEED = YSPEED;
if (_parent.AMMO <= 0) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 1036 MovieClip in Symbol 1579 MovieClip Frame 2
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Instance of Symbol 1036 MovieClip in Symbol 1579 MovieClip Frame 4
onClipEvent (enterFrame) {
_x = (_x - (_parent._x - OLDX));
_y = (_y - (_parent._y - OLDY));
OLDX = _parent._x;
OLDY = _parent._y;
}
Symbol 1579 MovieClip Frame 32
stop();
_root.STOP = false;
this.swapDepths(999);
this.removeMovieClip();
Symbol 1583 MovieClip Frame 1
stop();
Symbol 1583 MovieClip Frame 20
_parent.removeMovieClip();
Symbol 1584 MovieClip Frame 1
stop();
xspeed = 10 * Math.cos(R * (Math.PI/180));
yspeed = 10 * Math.sin(R * (Math.PI/180));
circle._rotation = R + 90;
shotcount = 0;
hit = false;
R = 0;
onscreen = false;
onEnterFrame = function () {
if (!_root.PAUSE) {
if (onscreen) {
if (!hit) {
if (_root.head.hitTest(this.circle)) {
_root.head.impact = 20;
_root.head.health = _root.head.health - 20;
circle.play();
hit = true;
}
if (((circle._y + _y) > (_root.cam._y + 90)) && (_root.CHECK < 4)) {
circle.play();
hit = true;
}
xspeed = xspeed - 0.5;
if ((_y + circle._y) <= _root.head._y) {
if (yspeed <= 10) {
yspeed = yspeed + 1;
}
} else if (yspeed >= -10) {
yspeed = yspeed - 1;
}
circle._x = circle._x + xspeed;
circle._y = circle._y + yspeed;
X = circle._x - oldx;
Y = circle._y - oldy;
oldy = circle._y;
oldx = circle._x;
circle._rotation = (Math.atan2(Y, X) / (Math.PI/180)) + 90;
}
}
shotcount++;
this["X" + shotcount] = circle._x;
this["Y" + shotcount] = circle._y;
this.createEmptyMovieClip("line", -1);
line.moveTo(circle._x, circle._y);
i = shotcount;
while (i >= (shotcount - 20)) {
ALPHA = 100;
COLOUR = 16777215 /* 0xFFFFFF */;
THICKNESS = 2.5 - ((shotcount - i) / 5);
if ((i <= (shotcount - 20)) || (i <= 0)) {
ALPHA = 0;
}
line.lineStyle(THICKNESS, COLOUR, ALPHA);
line.lineTo(this["X" + i], this["Y" + i]);
i--;
}
if (circle._x < -800) {
this.swapDepths(999);
this.removeMovieClip();
}
if (_root.cam.hitTest(this)) {
onscreen = true;
}
}
};
Instance of Symbol 1583 MovieClip "circle" in Symbol 1584 MovieClip Frame 1
onClipEvent (load) {
seconds = 0;
}
onClipEvent (enterFrame) {
if (!_parent.hit) {
if (_name != "circle") {
seconds++;
if (seconds >= 10) {
this.removeMovieClip();
}
_visible = false;
}
}
}
Symbol 1585 MovieClip Frame 1
stop();
F = 0;
onEnterFrame = function () {
if (_currentframe == 1) {
F++;
if (F > 30) {
F = 0;
}
duplicateMovieClip (fire, "fire" + F, F);
this["fire" + F]._rotation = Math.random() * 360;
this["fire" + F]._xscale = 50;
this["fire" + F]._yscale = 50;
}
};
Instance of Symbol 1514 MovieClip "piece" in Symbol 1585 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(101);
}
onClipEvent (enterFrame) {
if (_parent._currentframe != 1) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 714 MovieClip "fire" in Symbol 1585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "fire") {
_x = (_x - (_parent._x - oldX));
_y = (_y - (_parent._y - oldY));
oldX = _parent._x;
oldY = _parent._y;
} else {
stop();
_visible = false;
}
}
Symbol 1585 MovieClip Frame 20
this.swapDepths(999);
this.removeMovieClip();
Symbol 1602 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_name != "super") {
if ((_x < (_root.cam._x - 200)) && (_name != "PAWN")) {
this.swapDepths(999);
this.removeMovieClip();
}
if (onscreen) {
if (health > 0) {
if (SUCKSPEED < 3) {
_x = (_x - 12);
_y = (_y + (Math.cos(SINE) * 7));
SINE = SINE + 0.2;
ROTY = _y - oldY;
_rotation = ((-ROTY) * 5);
oldY = _y;
} else {
_rotation = ROT;
_x = (_x - (Math.sin(R * (Math.PI/180)) * SUCKSPEED));
_y = (_y + (Math.cos(R * (Math.PI/180)) * SUCKSPEED));
}
if (impact > 0) {
impact--;
}
X = _root.head._x - _x;
Y = _root.head._y - _y;
R = (-Math.atan2(X, Y)) / (Math.PI/180);
DISTANCE = Math.sqrt((X * X) + (Y * Y));
SUCKSPEED = (70 - DISTANCE) / 5;
if (_root.SUCKING) {
if (health > 0) {
if ((R > (70 - (SUCKSPEED * 2))) && (R < (110 + (SUCKSPEED * 2)))) {
if (SUCKSPEED < 0) {
SUCKSPEED = 0;
}
} else {
_rotation = 0;
gotoAndStop (1);
}
if ((((_x < _root.head._x) && (_x > (_root.head._x - 20))) && (_y > (_root.head._y - 10))) && (_y < (_root.head._y + 10))) {
if (_root["SLOT" + _root.SLOT] == "NOTHING") {
_root.sucking.stop();
_root.SLOT = 4;
_root["SLOT" + _root.SLOT] = TYPE;
}
if (!_root.MUTE) {
_root.boowup.start();
}
_root.SLOT++;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else {
SUCKSPEED = 0;
}
} else if (health > 0) {
SUCKSPEED = 0;
_rotation = 0;
gotoAndStop (1);
} else {
if (_currentframe < 3) {
_root.bodycount++;
gotoAndStop (3);
}
if (mc._currentframe > 21) {
this.swapDepths(999);
this.removeMovieClip();
}
}
} else if ((_x < ((_root.cam._x + (_root.cam._width / 2)) + 20)) && (_name != "PAWN")) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
}
}
};
Instance of Symbol 923 MovieClip in Symbol 1602 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation+1);
}
Symbol 1604 MovieClip Frame 1
if (_root["checkpoint" + _root.CHECK]._x > (_x + 100)) {
this.swapDepths(999);
this.removeMovieClip();
}
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_root.cam.hitTest(_root.GATE) || (_root.cam.hitTest(this))) {
_x = (_x - 20);
if (this.getDepth() < 0) {
this.swapDepths(101);
}
}
if (_x < (_root.cam._x - 200)) {
_root.buildings.swapDepths(999);
_root.buildings.removeMovieClip();
_root.motorway.swapDepths(999);
_root.motorway.removeMovieClip();
_root.cam._rotation = _root.cam._rotation + 0.5;
if (_x < (_root.cam._x - 900)) {
_root.GATE.swapDepths(999);
_root.GATE.removeMovieClip();
this.swapDepths(999);
this.removeMovieClip();
}
}
}
};
Symbol 1606 MovieClip Frame 1
stop();
SINE = 0;
speed = 3;
myColor = new Color(this);
myColorTransform = new Object();
onEnterFrame = function () {
if (_x < _root["checkpoint" + _root.CHECK]._x) {
this.swapDepths(999);
this.removeMovieClip();
}
if (impact > 0) {
impact--;
}
myColorTransform = {rb:impact * 100, gb:0, bb:0};
myColor.setTransform(myColorTransform);
if (onscreen) {
if (health > 0) {
if (body.hitTest(_root.head) && (_root.head.impact <= 1)) {
_root.head.impact = _root.head.impact + 10;
_root.head.health = _root.head.health - 40;
}
if (_xscale == 100) {
if ((_x > (_root.cam._x - 300)) && (_currentframe == 1)) {
SINE = SINE + 0.2;
_x = (_x - speed);
_x = (_x - (Math.cos(SINE) * 5));
if (SINE > 5) {
speed = speed + 3;
}
if (impact > 0) {
impact--;
}
} else {
_x = (_root.cam._x - (_root.cam._width / 2));
gotoAndStop (2);
}
} else if ((_x < (_root.cam._x + 300)) && (_currentframe == 1)) {
SINE = SINE + 0.2;
_x = (_x + speed);
_x = (_x + (Math.cos(SINE) * 5));
if (SINE > 5) {
speed = speed + 3;
}
if (impact > 0) {
impact--;
}
} else {
_x = (_root.cam._x + (_root.cam._width / 2));
gotoAndStop (2);
}
} else {
if (_currentframe == 1) {
_root.cam.SHAKE = _root.cam.SHAKE + 5;
if (!_root.MUTE) {
_root.gunshotHUGE.start();
}
}
gotoAndStop (3);
_x = (_x + (fallspeed * ((-_xscale) / 100)));
_y = (_y + fallspeed);
fallspeed = fallspeed + 0.1;
if (_y > (_root.cam._y + 300)) {
impact = 0;
_root.STOP = false;
this.swapDepths(999);
this.removeMovieClip();
}
}
} else if (_x < ((_root.cam._x + (_root.cam._width / 2)) + 20)) {
_root.enemycount++;
_name = ("enemy" + _root.enemycount);
onscreen = true;
}
};
Instance of Symbol 1467 MovieClip in Symbol 1606 MovieClip Frame 3
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
speed = speed + 0.1;
}
Symbol 1607 MovieClip Frame 1
stop();
F = 0;
onEnterFrame = function () {
if (!_root.PAUSE) {
if (_currentframe == 1) {
F++;
if (F > 30) {
F = 0;
}
duplicateMovieClip (fire, "fire" + F, F);
this["fire" + F]._rotation = Math.random() * 360;
this["fire" + F]._xscale = 50;
this["fire" + F]._yscale = 50;
}
}
};
Instance of Symbol 714 MovieClip "fire" in Symbol 1607 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.PAUSE) {
if (_name != "fire") {
play();
_x = (_x - (_parent._x - oldX));
_y = (_y - (_parent._y - oldY));
oldX = _parent._x;
oldY = _parent._y;
} else {
stop();
_visible = false;
}
} else {
stop();
}
}
Symbol 1607 MovieClip Frame 20
this.swapDepths(999);
this.removeMovieClip();
Symbol 1617 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.CHECK < 3) {
if ((_currentframe == 1) && (_root.MUTE == false)) {
gotoAndStop (2);
}
if (_root.MUTE || (_root.PAUSE)) {
gotoAndStop (1);
}
} else {
if ((_currentframe < 4) && (_root.MUTE == false)) {
gotoAndStop (4);
}
if (_root.MUTE || (_root.PAUSE)) {
gotoAndStop (3);
}
}
};
Symbol 1625 Button
on (release) {
if (_root.MUTE) {
_root.MUTE = false;
} else {
_root.MUTE = true;
}
}
Symbol 1631 Button
on (release) {
_root.PAUSE = false;
}
Symbol 1632 MovieClip Frame 1
Mouse.hide();
Symbol 1632 MovieClip Frame 2
Mouse.show();
Instance of Symbol 1626 MovieClip in Symbol 1632 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.MUTE) {
_xscale = 100;
} else {
_xscale = -100;
}
}
Symbol 1636 MovieClip Frame 1
speed = 5;
stop();
onEnterFrame = function () {
if (!_root.PAUSE) {
if ((_name != "post shot") && (_currentframe == 1)) {
_root.smokecount++;
duplicateMovieClip (_root.smoke, "smoke" + _root.smokecount, _root.smokecount);
_root["smoke" + _root.smokecount]._x = _x;
_root["smoke" + _root.smokecount]._y = _y;
i = 0;
while (i < 5) {
_x = (_x + speed);
o = 30;
while (o < 55) {
if (this.hitTest(_root["enemy" + o].body) && (_root["enemy" + o].impact == 0)) {
_rotation = (Math.random() * 360);
play();
if (!_root.MUTE) {
if (Math.random() > 0.5) {
_root.thump.start();
} else {
_root.thump2.start();
}
}
_root["enemy" + o].health = _root["enemy" + o].health - 20;
_root["enemy" + o].impact = 5;
}
o++;
}
i++;
}
if (_x > (_root.cam._x + (_root.cam._width / 2))) {
this.removeMovieClip();
}
}
}
};
Symbol 1636 MovieClip Frame 14
this.removeMovieClip();
Symbol 1638 MovieClip Frame 1
suck = new Sound(this);
suck.attachSound("suck");
suckloop = new Sound(this);
suckloop.attachSound("suckloop");
Symbol 1659 MovieClip Frame 17
stop();
Symbol 1660 Button
on (release) {
_root.gotoAndStop("GAME");
}
Symbol 1662 Button
on (release) {
getURL ("http://www.Arcadebomb.com", _blank);
}
Symbol 1665 MovieClip Frame 1
stop();
if (Math.random() < 0.3) {
gotoAndStop (2);
}
if (Math.random() > 0.7) {
gotoAndStop (3);
}
Symbol 1706 MovieClip Frame 400
stop();