Frame 1
space = 12;
MUTE = false;
stop();
Instance of Symbol 30 MovieClip in Frame 1
onClipEvent (enterFrame) {
LOAD = _root.getBytesLoaded() / _root.getBytesTotal();
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
}
}
Instance of Symbol 35 MovieClip "part8" in Frame 23
onClipEvent (enterFrame) {
_x = (_root.part7._x + (Math.cos(_root.part7.angle) * _root.space));
_y = (_root.part7._y + (Math.sin(_root.part7.angle) * _root.space));
delta_x = _x - _root.part7._x;
delta_y = _y - _root.part7._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part8._x - _x;
yDist = _root.part8._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part7" in Frame 23
onClipEvent (enterFrame) {
_x = (_root.part6._x + (Math.cos(_root.part6.angle) * _root.space));
_y = (_root.part6._y + (Math.sin(_root.part6.angle) * _root.space));
delta_x = _x - _root.part6._x;
delta_y = _y - _root.part6._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part8._x - _x;
yDist = _root.part8._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part6" in Frame 23
onClipEvent (enterFrame) {
_x = (_root.part5._x + (Math.cos(_root.part5.angle) * _root.space));
_y = (_root.part5._y + (Math.sin(_root.part5.angle) * _root.space));
delta_x = _x - _root.part5._x;
delta_y = _y - _root.part5._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part7._x - _x;
yDist = _root.part7._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part5" in Frame 23
onClipEvent (enterFrame) {
_x = (_root.part4._x + (Math.cos(_root.part4.angle) * _root.space));
_y = (_root.part4._y + (Math.sin(_root.part4.angle) * _root.space));
delta_x = _x - _root.part4._x;
delta_y = _y - _root.part4._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part6._x - _x;
yDist = _root.part6._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part4" in Frame 23
onClipEvent (enterFrame) {
_x = (_root.part3._x + (Math.cos(_root.part3.angle) * _root.space));
_y = (_root.part3._y + (Math.sin(_root.part3.angle) * _root.space));
delta_x = _x - _root.part3._x;
delta_y = _y - _root.part3._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part5._x - _x;
yDist = _root.part5._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part3" in Frame 23
onClipEvent (enterFrame) {
_x = (_root.part2._x + (Math.cos(_root.part2.angle) * _root.space));
_y = (_root.part2._y + (Math.sin(_root.part2.angle) * _root.space));
delta_x = _x - _root.part2._x;
delta_y = _y - _root.part2._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part4._x - _x;
yDist = _root.part4._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part2" in Frame 23
onClipEvent (enterFrame) {
_x = (_root.part1._x + (Math.cos(_root.part1.angle) * _root.space));
_y = (_root.part1._y + (Math.sin(_root.part1.angle) * _root.space));
delta_x = _x - _root.part1._x;
delta_y = _y - _root.part1._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part3._x - _x;
yDist = _root.part3._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part1" in Frame 23
onClipEvent (enterFrame) {
_x = (_root.part0._x + (Math.cos(_root.part0.angle) * _root.space));
_y = (_root.part0._y + (Math.sin(_root.part0.angle) * _root.space));
delta_x = _x - _root.part0._x;
delta_y = _y - _root.part0._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part2._x - _x;
yDist = _root.part2._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 43 MovieClip "part0" in Frame 23
onClipEvent (load) {
speed = 4;
fallspeed = -15;
}
onClipEvent (enterFrame) {
_rotation = (((Math.atan2(oldY - _y, oldX - _x) * 180) / Math.PI) - 90);
oldX = _x;
oldY = _y;
_x = (_x + speed);
_y = (_y + fallspeed);
fallspeed++;
var hypotenuse = 170;
xDist = _root.part1._x - _x;
yDist = _root.part1._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 103 MovieClip in Frame 86
onClipEvent (load) {
speed = 3;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
}
}
}
Instance of Symbol 116 MovieClip in Frame 95
onClipEvent (mouseDown) {
getURL ("http://www.maxgames.com", _blank);
}
Instance of Symbol 35 MovieClip "part8" in Frame 105
onClipEvent (enterFrame) {
_x = (_root.part7._x + (Math.cos(_root.part7.angle) * _root.space));
_y = (_root.part7._y + (Math.sin(_root.part7.angle) * _root.space));
delta_x = _x - _root.part7._x;
delta_y = _y - _root.part7._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part8._x - _x;
yDist = _root.part8._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part7" in Frame 105
onClipEvent (enterFrame) {
_x = (_root.part6._x + (Math.cos(_root.part6.angle) * _root.space));
_y = (_root.part6._y + (Math.sin(_root.part6.angle) * _root.space));
delta_x = _x - _root.part6._x;
delta_y = _y - _root.part6._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part8._x - _x;
yDist = _root.part8._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part6" in Frame 105
onClipEvent (enterFrame) {
_x = (_root.part5._x + (Math.cos(_root.part5.angle) * _root.space));
_y = (_root.part5._y + (Math.sin(_root.part5.angle) * _root.space));
delta_x = _x - _root.part5._x;
delta_y = _y - _root.part5._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part7._x - _x;
yDist = _root.part7._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part5" in Frame 105
onClipEvent (enterFrame) {
_x = (_root.part4._x + (Math.cos(_root.part4.angle) * _root.space));
_y = (_root.part4._y + (Math.sin(_root.part4.angle) * _root.space));
delta_x = _x - _root.part4._x;
delta_y = _y - _root.part4._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part6._x - _x;
yDist = _root.part6._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part4" in Frame 105
onClipEvent (enterFrame) {
_x = (_root.part3._x + (Math.cos(_root.part3.angle) * _root.space));
_y = (_root.part3._y + (Math.sin(_root.part3.angle) * _root.space));
delta_x = _x - _root.part3._x;
delta_y = _y - _root.part3._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part5._x - _x;
yDist = _root.part5._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part3" in Frame 105
onClipEvent (enterFrame) {
_x = (_root.part2._x + (Math.cos(_root.part2.angle) * _root.space));
_y = (_root.part2._y + (Math.sin(_root.part2.angle) * _root.space));
delta_x = _x - _root.part2._x;
delta_y = _y - _root.part2._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part4._x - _x;
yDist = _root.part4._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part2" in Frame 105
onClipEvent (enterFrame) {
_x = (_root.part1._x + (Math.cos(_root.part1.angle) * _root.space));
_y = (_root.part1._y + (Math.sin(_root.part1.angle) * _root.space));
delta_x = _x - _root.part1._x;
delta_y = _y - _root.part1._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part3._x - _x;
yDist = _root.part3._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part1" in Frame 105
onClipEvent (enterFrame) {
_x = (_root.part0._x + (Math.cos(_root.part0.angle) * _root.space));
_y = (_root.part0._y + (Math.sin(_root.part0.angle) * _root.space));
delta_x = _x - _root.part0._x;
delta_y = _y - _root.part0._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part2._x - _x;
yDist = _root.part2._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 43 MovieClip "part0" in Frame 105
onClipEvent (load) {
speed = -6.7;
fallspeed = -17;
}
onClipEvent (enterFrame) {
_rotation = (((Math.atan2(oldY - _y, oldX - _x) * 180) / Math.PI) - 90);
oldX = _x;
oldY = _y;
_x = (_x + speed);
_y = (_y + fallspeed);
fallspeed++;
var hypotenuse = 170;
xDist = _root.part1._x - _x;
yDist = _root.part1._y - _y;
angle = Math.atan2(yDist, xDist);
}
Frame 178
MUSIC = new Sound(this);
MUSIC.attachSound("speed metal 3 154[1][1].512 E");
if (!MUTE) {
MUSIC.start(0, 99);
}
Frame 185
stop();
FASTRACK = new Sound(this);
FASTRACK.attachSound("FASTRACK");
FASTRACK.start(0, 99);
onEnterFrame = function () {
if (!MUTE) {
MUSIC.setVolume(100);
} else {
MUSIC.setVolume(0);
}
};
_root.GAMING = false;
Frame 186
stop();
onEnterFrame = function () {
if (!MUTE) {
MUSIC.setVolume(100);
} else {
MUSIC.setVolume(0);
}
};
Instance of Symbol 46 MovieClip in Frame 186
onClipEvent (load) {
_visible = false;
if (_root.MUTE) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 149 MovieClip in Frame 186
on (release) {
_root.gotoAndStop("GAME");
}
Frame 187
MUSIC.stop();
stop();
_root.GAMING = true;
_root.cam.NNN.T = 60;
parts = 8;
space = 25;
Mouse.hide();
_quality = "MEDIUM";
Ecount = 0;
carcount = 10;
combo = 0;
R = Math.random() * 3;
RR = Math.round(R);
i = 56;
while (i <= (66 + R)) {
duplicateMovieClip (_root.house, "house" + i, i);
with (_root["house" + i]) {
_x = -1300 + (Math.random() * 3200);
_y = _root.water._y;
}
i++;
}
i = 86;
while (i <= 91) {
duplicateMovieClip (_root.tree, "tree" + i, i);
with (_root["tree" + i]) {
_x = -1350 + (Math.random() * 3200);
_y = _root.water._y;
}
i++;
}
MENTAL = new Sound(this);
MENTAL.attachSound("MENTAL");
if (!MUTE) {
MENTAL.start(0, 1);
}
onEnterFrame = function () {
if (GAMING) {
if (MUTE) {
MENTAL.setVolume(0);
} else {
MENTAL.setVolume(100);
}
if (_root.cam.NNN.T <= 0) {
_root.play();
}
if (!_root.part0.PAUSE) {
if (Ecount >= 10) {
Ecount = 0;
}
if (carcount >= 20) {
carcount = 10;
}
}
}
};
Instance of Symbol 165 MovieClip "house" in Frame 187
onClipEvent (load) {
i = 56;
while (i <= 69) {
if (this.hitTest(_root["house" + i]._x - 30, _root["house" + i]._y, true)) {
_x = (_x-1);
}
if (this.hitTest(_root["house" + i]._x + 30, _root["house" + i]._y, true)) {
_x = (_x+1);
}
i++;
}
dead = false;
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y-1);
}
r = _width / 2;
i = 0;
while (i <= 360) {
XC = r * Math.sin(i * (Math.PI/180));
YC = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC, (_y + 10) - YC, true)) {
RX1 = _x + XC;
RY1 = _y - YC;
}
i++;
}
i = 360;
while (i >= 0) {
XC2 = r * Math.sin(i * (Math.PI/180));
YC2 = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC2, (_y + 10) - YC2, true)) {
RX2 = _x + XC2;
RY2 = _y - YC2;
}
i--;
}
X = RX2 + ((RX1 - RX2) / 2);
Y = RY2 + ((RY1 - RY2) / 2);
_rotation = ((-Math.atan2(_x - X, _y - Y)) / (Math.PI/180));
RRRRR = Math.sin(_rotation * (Math.PI/180));
if ((RRRRR >= 0.75) || (RRRRR <= -0.75)) {
_rotation + 180;
}
}
onClipEvent (enterFrame) {
if (!_root.GAMING) {
this.removeMovieClip();
}
if (!_root.part0.PAUSE) {
if (!dead) {
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
}
}
}
Instance of Symbol 167 MovieClip in Frame 187
onClipEvent (load) {
speed = 5 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 100;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 167 MovieClip in Frame 187
onClipEvent (load) {
speed = 5 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 100;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 167 MovieClip in Frame 187
onClipEvent (load) {
speed = 5 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 100;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
Instance of Symbol 172 MovieClip in Frame 187
onClipEvent (load) {
speed = 6 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 40;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 172 MovieClip in Frame 187
onClipEvent (load) {
speed = 6 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 40;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 172 MovieClip in Frame 187
onClipEvent (load) {
speed = 6 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 40;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 187 MovieClip in Frame 187
onClipEvent (load) {
speed = 1 + (Math.random() * 2);
R = Math.random();
if (R >= 0.5) {
Z = -100;
} else {
Z = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (Z / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 60;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 200 MovieClip "light house" in Frame 187
onClipEvent (load) {
dead = false;
X = _x;
while (_root.ground.hitTest(_x, _y - 3, true)) {
_y = (_y-1);
}
_x = ((X + 20) - (Math.random() * 40));
r = _width / 2;
i = 0;
while (i <= 360) {
XC = r * Math.sin(i * (Math.PI/180));
YC = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC, (_y + 10) - YC, true)) {
RX1 = _x + XC;
RY1 = _y - YC;
}
i++;
}
i = 180;
while (i >= 0) {
XC2 = r * Math.sin(i * (Math.PI/180));
YC2 = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC2, (_y + 10) - YC2, true)) {
RX2 = _x + XC2;
RY2 = _y - YC2;
}
i--;
}
X = RX2 + ((RX1 - RX2) / 2);
Y = RY2 + ((RY1 - RY2) / 2);
_rotation = ((-Math.atan2(_x - X, _y - Y)) / (Math.PI/180));
RRRRR = Math.sin(_rotation * (Math.PI/180));
if ((RRRRR >= 0.75) || (RRRRR <= -0.75)) {
_rotation + 180;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
if (!dead) {
if (this.HIT.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 172 MovieClip in Frame 187
onClipEvent (load) {
speed = 6 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 40;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 187 MovieClip in Frame 187
onClipEvent (load) {
speed = 1 + (Math.random() * 2);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 60;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 209 MovieClip "tree" in Frame 187
onClipEvent (load) {
dead = false;
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y-1);
}
r = _width / 2;
i = 0;
while (i <= 360) {
XC = r * Math.sin(i * (Math.PI/180));
YC = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC, (_y + 10) - YC, true)) {
RX1 = _x + XC;
RY1 = _y - YC;
}
i++;
}
i = 360;
while (i >= 0) {
XC2 = r * Math.sin(i * (Math.PI/180));
YC2 = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC2, (_y + 10) - YC2, true)) {
RX2 = _x + XC2;
RY2 = _y - YC2;
}
i--;
}
X = RX2 + ((RX1 - RX2) / 2);
Y = RY2 + ((RY1 - RY2) / 2);
_rotation = ((-Math.atan2(_x - X, _y - Y)) / (Math.PI/180));
RRRRR = Math.sin(_rotation * (Math.PI/180));
if ((RRRRR >= 0.75) || (RRRRR <= -0.75)) {
_rotation + 180;
}
}
onClipEvent (enterFrame) {
if (!_root.GAMING) {
this.removeMovieClip();
}
if (!_root.part0.PAUSE) {
if (!dead) {
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 103 MovieClip in Frame 187
onClipEvent (load) {
Y = _y;
_y = ((Y + 30) - (Math.random() * 60));
speed = 2 + (Math.random() * 5);
R = Math.random();
if (R >= 0.5) {
_xscale = -100;
} else {
_xscale = 100;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_x = (_x + (speed * (_xscale / 100)));
if (_x <= -2000) {
_x = 2600;
}
if (_x >= 2601) {
_x = -1999;
}
if (!dead) {
if (_root.part0.hitTest(this)) {
dead = true;
gotoAndPlay ("dead");
_root.score = _root.score + 20;
_root.combo++;
}
}
}
}
Instance of Symbol 218 MovieClip in Frame 187
onClipEvent (load) {
r = Math.random() * 29;
RR = Math.round(r);
gotoAndPlay(RR);
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_y = (_y + 10);
while (_root.water2.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 20;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 218 MovieClip in Frame 187
onClipEvent (load) {
r = Math.random() * 29;
RR = Math.round(r);
gotoAndPlay(RR);
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_y = (_y + 10);
while (_root.water2.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 20;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 218 MovieClip in Frame 187
onClipEvent (load) {
r = Math.random() * 29;
RR = Math.round(r);
gotoAndPlay(RR);
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_y = (_y + 10);
while (_root.water2.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 20;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 218 MovieClip in Frame 187
onClipEvent (load) {
r = Math.random() * 29;
RR = Math.round(r);
gotoAndPlay(RR);
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_y = (_y + 10);
while (_root.water.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 20;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 218 MovieClip in Frame 187
onClipEvent (load) {
r = Math.random() * 29;
RR = Math.round(r);
gotoAndPlay(RR);
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
_y = (_y + 10);
while (_root.water.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 20;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 222 MovieClip in Frame 187
onClipEvent (load) {
r = _width;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
while (_root.water.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (!_root.water.hitTest(_x, _y, true)) {
_y = (_y+1);
}
if (this.hitTest(_root.part0._x, _root.part0._y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root.score = _root.score + 50;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
}
}
Instance of Symbol 229 MovieClip "water2" in Frame 187
onClipEvent (load) {
this.swapDepths(71);
}
Instance of Symbol 229 MovieClip "water" in Frame 187
onClipEvent (load) {
this.swapDepths(70);
}
Instance of Symbol 231 MovieClip "ground" in Frame 187
onClipEvent (load) {
this.swapDepths(500);
}
onClipEvent (enterFrame) {
if (!_root.GAMING) {
_visible = false;
}
}
Instance of Symbol 116 MovieClip in Frame 187
onClipEvent (load) {
s = 0;
i = 25;
}
onClipEvent (enterFrame) {
if (!_root.part1.PAUSE) {
s--;
if ((_root.part1._x >= -1900) && (_root.part1._x <= 1650)) {
if (s <= 0) {
s = 50;
if (i >= 55) {
i = 25;
}
i++;
duplicateMovieClip (_root.man, "man" + i, i);
with (_root["man" + i]) {
_y = _root.water._y - 10;
_yscale = _root.man._xscale;
}
}
}
}
}
Instance of Symbol 233 MovieClip "marker" in Frame 187
onClipEvent (load) {
this.swapDepths(800);
}
onClipEvent (enterFrame) {
_y = 0;
if (_root.GAMING) {
while (!_root.ground.hitTest(_x, _y, true)) {
_y = (_y+1);
}
} else {
this.swapDepths(999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_root.part0._x, _root.part0._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 35 MovieClip "part8" in Frame 187
onClipEvent (enterFrame) {
_x = (_root.part7._x + (Math.cos(_root.part7.angle) * _root.space));
_y = (_root.part7._y + (Math.sin(_root.part7.angle) * _root.space));
delta_x = _x - _root.part7._x;
delta_y = _y - _root.part7._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part8._x - _x;
yDist = _root.part8._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part7" in Frame 187
onClipEvent (enterFrame) {
_x = (_root.part6._x + (Math.cos(_root.part6.angle) * _root.space));
_y = (_root.part6._y + (Math.sin(_root.part6.angle) * _root.space));
delta_x = _x - _root.part6._x;
delta_y = _y - _root.part6._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part8._x - _x;
yDist = _root.part8._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part6" in Frame 187
onClipEvent (enterFrame) {
_x = (_root.part5._x + (Math.cos(_root.part5.angle) * _root.space));
_y = (_root.part5._y + (Math.sin(_root.part5.angle) * _root.space));
delta_x = _x - _root.part5._x;
delta_y = _y - _root.part5._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part7._x - _x;
yDist = _root.part7._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part5" in Frame 187
onClipEvent (enterFrame) {
_x = (_root.part4._x + (Math.cos(_root.part4.angle) * _root.space));
_y = (_root.part4._y + (Math.sin(_root.part4.angle) * _root.space));
delta_x = _x - _root.part4._x;
delta_y = _y - _root.part4._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part6._x - _x;
yDist = _root.part6._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part4" in Frame 187
onClipEvent (enterFrame) {
_x = (_root.part3._x + (Math.cos(_root.part3.angle) * _root.space));
_y = (_root.part3._y + (Math.sin(_root.part3.angle) * _root.space));
delta_x = _x - _root.part3._x;
delta_y = _y - _root.part3._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part5._x - _x;
yDist = _root.part5._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part3" in Frame 187
onClipEvent (enterFrame) {
_x = (_root.part2._x + (Math.cos(_root.part2.angle) * _root.space));
_y = (_root.part2._y + (Math.sin(_root.part2.angle) * _root.space));
delta_x = _x - _root.part2._x;
delta_y = _y - _root.part2._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part4._x - _x;
yDist = _root.part4._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part2" in Frame 187
onClipEvent (enterFrame) {
_x = (_root.part1._x + (Math.cos(_root.part1.angle) * _root.space));
_y = (_root.part1._y + (Math.sin(_root.part1.angle) * _root.space));
delta_x = _x - _root.part1._x;
delta_y = _y - _root.part1._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part3._x - _x;
yDist = _root.part3._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 35 MovieClip "part1" in Frame 187
onClipEvent (enterFrame) {
_x = (_root.part0._x + (Math.cos(_root.part0.angle) * _root.space));
_y = (_root.part0._y + (Math.sin(_root.part0.angle) * _root.space));
delta_x = _x - _root.part0._x;
delta_y = _y - _root.part0._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part2._x - _x;
yDist = _root.part2._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 43 MovieClip "part0" in Frame 187
onClipEvent (load) {
this.swapDepths(_root.part1.getDepth() + 1);
speed = 0;
fallspeed = 0;
s = 0;
stopped = true;
UG = true;
RED = 0;
S = 0;
FFF = 0;
SPACEDOWN = false;
_root.score = 0;
PAUSE = false;
}
onClipEvent (enterFrame) {
if (!_root.GAMING) {
PAUSE = true;
_visible = false;
} else {
_visible = true;
}
if (!PAUSE) {
if (!stopped) {
if (Key.isDown(39) || (Key.isDown(68))) {
S = S - ((S - speed) / 10);
} else if (Key.isDown(37) || (Key.isDown(65))) {
S = S - ((S + speed) / 10);
} else {
S = S - (S / 10);
}
var REDNESS = (new flash.filters.GlowFilter(16711680, 100, 100, 100, RED, 1, true, false));
var filterArray = new Array();
filterArray.push(REDNESS);
this.filters = [REDNESS];
if (_root.shot.hitTest(_x, _y, true)) {
RED = 3;
_root.bosshealth = _root.bosshealth - 1;
}
if (!_root.ground.hitTest(_x, _y, true)) {
if (UG) {
_root.cam._y = _root.cam._y + 5;
_root.sandblast._x = _x;
_root.sandblast._y = _y + 10;
_root.sandblast._rotation = _rotation;
_root.sandblast.gotoAndPlay(1);
}
}
if (_root.ground.hitTest(_x, _y, true)) {
if (_root.combo >= 2) {
_root.score = _root.score + 20;
if (_root.combo >= 3) {
_root.score = _root.score + 20;
if (_root.combo >= 5) {
_root.score = _root.score + 20;
}
}
}
_root.combo = 0;
UG = true;
speed = 5;
if (Key.isDown(32)) {
if (!SPACEDOWN) {
FFF = FFF + 1.1;
}
SPACEDOWN = true;
}
if (!Key.isDown(32)) {
SPACEDOWN = false;
}
} else {
speed = 15;
UG = false;
fallspeed++;
FFF = 0;
}
_y = (_y + fallspeed);
_x = (_x + S);
RED = RED - (RED / 3);
_rotation = (((Math.atan2(oldY - _y, oldX - _x) * 180) / Math.PI) - 90);
oldX = _x;
oldY = _y;
}
if (_root.ground.hitTest(_x, _y, true)) {
s--;
if (s <= 0) {
stopped = false;
s = 20;
fallspeed = -15 - FFF;
}
} else {
s = 20;
}
var hypotenuse = 170;
xDist = _root.part1._x - _x;
yDist = _root.part1._y - _y;
angle = Math.atan2(yDist, xDist);
_root.marker._x = _x;
while (_x <= -1900) {
_x = (_x+1);
}
while (_x >= 2400) {
_x = (_x-1);
}
if (_y <= -100) {
if (!SUPERMAN) {
_root.score = _root.score + 30;
SUPERMAN = true;
}
} else {
SUPERMAN = false;
}
if (_y <= -150) {
if (!SUPERMAN2) {
_root.score = _root.score + 50;
SUPERMAN2 = true;
}
} else {
SUPERMAN2 = false;
}
}
}
Instance of Symbol 237 MovieClip "explosion" in Frame 187
onClipEvent (load) {
if (_name == "explosion") {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (!_root.GAMING) {
this.removeMovieClip();
}
}
Instance of Symbol 239 MovieClip "car" in Frame 187
onClipEvent (load) {
dead = false;
while (_root.ground.hitTest(_x, _y - 3, true)) {
_y = (_y-1);
}
r = _width / 2;
i = 0;
while (i <= 360) {
XC = r * Math.sin(i * (Math.PI/180));
YC = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC, (_y + 10) - YC, true)) {
RX1 = _x + XC;
RY1 = _y - YC;
}
i++;
}
i = 360;
while (i >= 0) {
XC2 = r * Math.sin(i * (Math.PI/180));
YC2 = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC2, (_y + 10) - YC2, true)) {
RX2 = _x + XC2;
RY2 = _y - YC2;
}
i--;
}
X = RX2 + ((RX1 - RX2) / 2);
Y = RY2 + ((RY1 - RY2) / 2);
_rotation = ((-Math.atan2(_x - X, _y - Y)) / (Math.PI/180));
RRRRR = Math.sin(_rotation * (Math.PI/180));
if ((RRRRR >= 0.75) || (RRRRR <= -0.75)) {
_rotation + 180;
}
}
onClipEvent (enterFrame) {
if (!_root.GAMING) {
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
}
if (!_root.part0.PAUSE) {
while (_root.ground.hitTest(_x, _y - 1, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y, true)) {
_y = (_y+1);
}
if (_root.part0.hitTest(_x, _y, true)) {
dead = true;
}
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root._root.carcount++;
duplicateMovieClip (_root.car, "car" + _root.carcount, _root.carcount);
with (_root["car" + _root.carcount]) {
_y = _root.water._y - 10;
VARIABLE = Math.random() * 10;
if (VARIABLE >= 5) {
_x = _root.cam._x - 300;
} else {
_x = _root.cam._x + 300;
}
}
_root.score = _root.score + 10;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
} else if (_root.part0.hitTest(_x, _y, true)) {
dead = true;
}
}
}
Instance of Symbol 239 MovieClip in Frame 187
onClipEvent (load) {
dead = false;
while (_root.ground.hitTest(_x, _y - 3, true)) {
_y = (_y-1);
}
r = _width / 2;
i = 0;
while (i <= 360) {
XC = r * Math.sin(i * (Math.PI/180));
YC = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC, (_y + 10) - YC, true)) {
RX1 = _x + XC;
RY1 = _y - YC;
}
i++;
}
i = 360;
while (i >= 0) {
XC2 = r * Math.sin(i * (Math.PI/180));
YC2 = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC2, (_y + 10) - YC2, true)) {
RX2 = _x + XC2;
RY2 = _y - YC2;
}
i--;
}
X = RX2 + ((RX1 - RX2) / 2);
Y = RY2 + ((RY1 - RY2) / 2);
_rotation = ((-Math.atan2(_x - X, _y - Y)) / (Math.PI/180));
RRRRR = Math.sin(_rotation * (Math.PI/180));
if ((RRRRR >= 0.75) || (RRRRR <= -0.75)) {
_rotation + 180;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root._root.carcount++;
duplicateMovieClip (_root.car, "car" + _root.carcount, _root.carcount);
with (_root["car" + _root.carcount]) {
_y = _root.water._y - 10;
VARIABLE = Math.random() * 10;
if (VARIABLE >= 5) {
_x = _root.cam._x - 300;
} else {
_x = _root.cam._x + 300;
}
}
_root.score = _root.score + 10;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
} else if (_root.part0.hitTest(_x, _y, true)) {
dead = true;
}
}
}
Instance of Symbol 255 MovieClip "man" in Frame 187
onClipEvent (load) {
speed = 3 + (Math.random() * 2);
dead = false;
R = 5;
RANDOM = Math.round(Math.random());
if (RANDOM == 0) {
_xscale = -100;
_x = (_root.cam._x + 300);
} else {
_xscale = 100;
_x = (_root.cam._x - 300);
}
r = _width / 2;
_rotation = 0;
fallspeed = 0;
}
onClipEvent (enterFrame) {
if (!_root.GAMING) {
this.removeMovieClip();
}
if (!_root.part0.PAUSE) {
if (_y >= 700) {
this.removeMovieClip();
}
if (_y >= 600) {
this.swapDepths(999);
removeMovieClip(this);
}
if (_name != "man") {
_x = (_x + ((speed * _xscale) / 100));
_y = (_y + fallspeed);
}
fallspeed++;
if (_root.ground.hitTest(_x, _y + 1, true)) {
fallspeed = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (!dead) {
if (this.hitTest(_root["explosion" + _root.Ecount].HIT)) {
dead = true;
}
if (_root.part0.hitTest(this)) {
dead = true;
}
}
}
}
Instance of Symbol 239 MovieClip in Frame 187
onClipEvent (load) {
dead = false;
while (_root.ground.hitTest(_x, _y - 3, true)) {
_y = (_y-1);
}
r = _width / 2;
i = 0;
while (i <= 360) {
XC = r * Math.sin(i * (Math.PI/180));
YC = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC, (_y + 10) - YC, true)) {
RX1 = _x + XC;
RY1 = _y - YC;
}
i++;
}
i = 360;
while (i >= 0) {
XC2 = r * Math.sin(i * (Math.PI/180));
YC2 = r * Math.cos(i * (Math.PI/180));
if (_root.ground.hitTest(_x + XC2, (_y + 10) - YC2, true)) {
RX2 = _x + XC2;
RY2 = _y - YC2;
}
i--;
}
X = RX2 + ((RX1 - RX2) / 2);
Y = RY2 + ((RY1 - RY2) / 2);
_rotation = ((-Math.atan2(_x - X, _y - Y)) / (Math.PI/180));
RRRRR = Math.sin(_rotation * (Math.PI/180));
if ((RRRRR >= 0.75) || (RRRRR <= -0.75)) {
_rotation + 180;
}
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
if (dead) {
_root.Ecount++;
duplicateMovieClip (_root.explosion, "explosion" + _root.Ecount, _root.Ecount);
_root["explosion" + _root.Ecount]._x = _x;
_root["explosion" + _root.Ecount]._y = _y + 10;
_root._root.carcount++;
duplicateMovieClip (_root.car, "car" + _root.carcount, _root.carcount);
with (_root["car" + _root.carcount]) {
_y = _root.water._y - 10;
VARIABLE = Math.random() * 10;
if (VARIABLE >= 5) {
_x = _root.cam._x - 300;
} else {
_x = _root.cam._x + 300;
}
}
_root.score = _root.score + 10;
_root.combo++;
this.swapDepths(999 + _root.Ecount);
this.removeMovieClip();
} else if (_root.part0.hitTest(_x, _y, true)) {
dead = true;
}
}
}
Instance of Symbol 272 MovieClip "cam" in Frame 187
onClipEvent (load) {
Y = _y;
speed = 10;
G = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (!_root.GAMING) {
_visible = false;
_x = X;
_y = Y;
} else {
_visible = true;
}
if (!_root.part0.PAUSE) {
_y = (_y - ((_y - Y) / 5));
if (_x <= 2020) {
while (_root.part0._x >= (_x + 100)) {
_x = (_x+1);
}
}
while (_root.part0._y <= (_y - 200)) {
_y = (_y-1);
}
if (_x >= -1500) {
while (_root.part0._x <= (_x - 100)) {
_x = (_x-1);
}
}
}
}
Frame 188
Mouse.show();
_root.GAMING = false;
Instance of Symbol 285 MovieClip in Frame 236
onClipEvent (load) {
judge = "LEGEND.";
if (_root.score <= 1100) {
judge = "MASTER";
if (_root.score <= 1050) {
judge = "SPECTACULAR!!!";
if (_root.score <= 1000) {
judge = "DEATH MACHINE!!";
if (_root.score <= 950) {
judge = "EXPERT";
if (_root.score <= 850) {
judge = "AWESOME!";
if (_root.score <= 800) {
judge = "YOU ROCK!";
if (_root.score <= 750) {
judge = "EXCELLENT!";
if (_root.score < 700) {
judge = "[ EXCELLENT ]";
if (_root.score <= 650) {
judge = "[ GREAT ]";
if (_root.score <= 600) {
judge = "[ GOOD JOB! ]";
if (_root.score <= 550) {
judge = "[ I LIKE IT ]";
if (_root.score <= 500) {
judge = "[ GET SERIOUS ]";
if (_root.score <= 450) {
judge = "[ SUB PAR ]";
if (_root.score <= 400) {
judge = "[ PATHETIC ]";
if (_root.score <= 300) {
judge = "COMPLETE JOKE";
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Frame 267
stop();
_root.HPScoreService.postScore(_root.score);
Symbol 27 Button
on (release) {
getURL ("http://www.maxgames.com", _blank);
}
Instance of Symbol 11 MovieClip in Symbol 30 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = (_parent.LOAD * 100);
}
Symbol 30 MovieClip Frame 2
if (LOAD != 1) {
gotoAndPlay (1);
}
Symbol 30 MovieClip Frame 21
_root.play();
Symbol 32 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (Key.isDown(77)) {
_root.MUTE = true;
play();
}
};
Symbol 32 MovieClip Frame 2
if (!_root.MUTE) {
gotoAndPlay (1);
}
Symbol 32 MovieClip Frame 3
_root.MUTE = true;
stop();
onEnterFrame = function () {
if (Key.isDown(77)) {
_root.MUTE = false;
play();
}
};
Symbol 32 MovieClip Frame 4
if (_root.MUTE) {
gotoAndPlay (3);
}
Symbol 46 MovieClip Frame 2
stop();
Instance of Symbol 46 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_root.MUTE) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Symbol 56 MovieClip Frame 10
stop();
Symbol 72 MovieClip Frame 2
stop();
Symbol 103 MovieClip Frame 11
if (!dead) {
gotoAndPlay (1);
}
Symbol 103 MovieClip Frame 32
stop();
this.swapDepths(999);
this.removeMovieClip();
Symbol 116 MovieClip Frame 1
_visible = false;
Symbol 131 Button
on (release) {
_root.gotoAndStop("GAME");
}
Symbol 134 Button
on (release) {
_root.gotoAndStop("HOWTO");
}
Symbol 137 Button
on (release) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 153 MovieClip Frame 2
stop();
Symbol 165 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 165 MovieClip Frame 3
_root.score = _root.score + 20;
_root.combo++;
Instance of Symbol 153 MovieClip in Symbol 165 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
if (_root.MUTE) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Symbol 165 MovieClip Frame 10
stop();
Instance of Symbol 185 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (load) {
R = Math.random() * 10;
MR = Math.round(R);
gotoAndPlay(MR);
}
Instance of Symbol 185 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (load) {
R = Math.random() * 10;
MR = Math.round(R);
gotoAndPlay(MR);
}
Instance of Symbol 185 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (load) {
R = Math.random() * 10;
MR = Math.round(R);
gotoAndPlay(MR);
}
Symbol 192 MovieClip Frame 2
stop();
Symbol 200 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 200 MovieClip Frame 3
_root.score = _root.score + 40;
_root.combo++;
Instance of Symbol 192 MovieClip in Symbol 200 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
if (_root.MUTE) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Symbol 200 MovieClip Frame 10
stop();
Symbol 209 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 209 MovieClip Frame 3
_root.score = _root.score + 20;
_root.combo++;
Instance of Symbol 153 MovieClip in Symbol 209 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
if (_root.MUTE) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Symbol 209 MovieClip Frame 10
stop();
Symbol 222 MovieClip Frame 1
onEnterFrame = function () {
i = 0;
while (i <= 360) {
XC = r * Math.sin(i * (Math.PI/180));
YC = r * Math.cos(i * (Math.PI/180));
if (_root.water.hitTest(_x + XC, (_y + 10) - YC, true)) {
RX1 = _x + XC;
RY1 = _y - YC;
}
i = i + 5;
}
i = 180;
while (i >= 0) {
XC2 = r * Math.sin(i * (Math.PI/180));
YC2 = r * Math.cos(i * (Math.PI/180));
if (_root.water.hitTest(_x + XC2, (_y + 10) - YC2, true)) {
RX2 = _x + XC2;
RY2 = _y - YC2;
}
i = i - 5;
}
X = RX2 + ((RX1 - RX2) / 2);
Y = RY2 + ((RY1 - RY2) / 2);
RRR = (-Math.atan2(_x - X, _y - Y)) / (Math.PI/180);
if ((RRR <= 90) && (RRR >= -90)) {
_rotation = RRR;
}
};
Instance of Symbol 43 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
SIZE = _xscale;
}
onClipEvent (enterFrame) {
_rotation = _root.part0._rotation;
_xscale = (SIZE + ((_parent._y - _root.part0._y) / 15));
_yscale = _xscale;
}
Symbol 234 MovieClip Frame 1
_root.part0.PAUSE = false;
_root.MENTAL.setVolume(100);
stop();
onEnterFrame = function () {
if (Key.isDown(13)) {
_root.part0.PAUSE = true;
play();
}
};
Symbol 234 MovieClip Frame 5
_root.part0.PAUSE = true;
_root.MENTAL.setVolume(0);
stop();
onEnterFrame = function () {
if (Key.isDown(13)) {
_root.part0.PAUSE = false;
play();
}
};
Symbol 237 MovieClip Frame 1
i = 10;
while (i <= 20) {
o = i - 10;
u = o + 10;
duplicateMovieClip (blast, ["blast" + i], i + 100);
this["blast" + i]._y = this.blast._y;
this["blast" + i]._x = 25 - (Math.random() * 50);
duplicateMovieClip (this.smoke, ["smoke" + o], o);
this["smoke" + o]._y = this.smoke._y;
this["smoke" + o]._x = 25 - (Math.random() * 50);
duplicateMovieClip (this.rock, ["rock" + u], u);
this["rock" + o]._y = this.rock._y;
this["rock" + o]._x = 25 - (Math.random() * 50);
this["rock" + o]._xscale = 20 - (Math.random() * 10);
i++;
}
a = 0;
R = 70 - (Math.random() * 140);
R2 = 70 - (Math.random() * 140);
R3 = 70 - (Math.random() * 140);
onEnterFrame = function () {
if (!_root.part1.PAUSE) {
if (a <= 10) {
a++;
Xposisch = 10 * Math.sin(R * (Math.PI/180));
Yposisch = -10 * Math.cos(R * (Math.PI/180));
duplicateMovieClip (this.starblast, ["starblast" + a], a + 20);
this["starblast" + a]._y = starblast._y + ((Yposisch * a) * 3);
this["starblast" + a]._x = starblast._x + ((Xposisch * a) * 3);
this["starblast" + a]._xscale = 150 - (a * 10);
a2 = a + 40;
Xposisch2 = 10 * Math.sin(R2 * (Math.PI/180));
Yposisch2 = -10 * Math.cos(R2 * (Math.PI/180));
duplicateMovieClip (this.starblast, ["starblast" + a2], a2);
this["starblast" + a2]._y = starblast._y + ((Yposisch2 * a) * 3);
this["starblast" + a2]._x = starblast._x + ((Xposisch2 * a) * 3);
this["starblast" + a2]._xscale = 150 - (a * 10);
a3 = a + 50;
Xposisch3 = 10 * Math.sin(R3 * (Math.PI/180));
Yposisch3 = -10 * Math.cos(R3 * (Math.PI/180));
duplicateMovieClip (this.starblast, ["starblast" + a3], a3);
this["starblast" + a3]._y = starblast._y + ((Yposisch3 * a) * 3);
this["starblast" + a3]._x = starblast._x + ((Xposisch3 * a) * 3);
this["starblast" + a3]._xscale = 150 - (a * 10);
}
}
};
Instance of Symbol 116 MovieClip "HIT" in Symbol 237 MovieClip Frame 1
onClipEvent (load) {
s = 20;
}
onClipEvent (enterFrame) {
s--;
if (s <= 0) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 236 MovieClip "smoke" in Symbol 237 MovieClip Frame 1
onClipEvent (load) {
float = 10 + (Math.random() * 3);
speed = 10 - (Math.random() * 20);
size = 10 + (Math.random() * 3);
_xscale = (300 + (Math.random() * 100));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_y = (_y - float);
_x = (_x + speed);
speed = speed - (speed / 20);
_xscale = (_xscale - size);
_yscale = _xscale;
if (_xscale <= 0) {
this.removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 236 MovieClip "blast" in Symbol 237 MovieClip Frame 1
onClipEvent (load) {
float = 10 + (Math.random() * 3);
speed = 10 - (Math.random() * 20);
size = 20 + (Math.random() * 2);
_xscale = (200 + (Math.random() * 50));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name != "blast") {
_y = (_y - float);
_x = (_x + speed);
speed = speed - (speed / 20);
_xscale = (_xscale - size);
_yscale = _xscale;
if (_xscale <= 0) {
this.removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 236 MovieClip "starblast" in Symbol 237 MovieClip Frame 1
onClipEvent (load) {
float = 4 + (Math.random() * 3);
speed = 5 - (Math.random() * 10);
size = 5 + (Math.random() * 3);
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name != "starblast") {
_y = (_y - float);
_x = (_x + speed);
speed = speed - (speed / 20);
_xscale = (_xscale - size);
_yscale = _xscale;
if (_xscale <= 0) {
this.removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 236 MovieClip "rock" in Symbol 237 MovieClip Frame 1
onClipEvent (load) {
fallspeed = -20 - (Math.random() * 10);
speed = 20 - (Math.random() * 40);
_yscale = _xscale;
s = 100;
}
onClipEvent (enterFrame) {
if (_name != "rock") {
_x = (_x + speed);
_y = (_y + fallspeed);
fallspeed++;
if (fallspeed >= 50) {
removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 192 MovieClip in Symbol 237 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_root.MUTE) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Symbol 239 MovieClip Frame 1
Symbol 251 MovieClip Frame 1
_visible = false;
Symbol 251 MovieClip Frame 3
stop();
Symbol 251 MovieClip Frame 5
stop();
Symbol 253 MovieClip Frame 9
_parent.removeMovieClip();
Symbol 255 MovieClip Frame 1
if (!_root.part1.UG) {
if ((_xscale >= -100) && ((_x - _root.part1._x) >= 1)) {
_xscale = 100;
}
if ((_xscale <= 100) && ((_x - _root.part1._x) <= -1)) {
_xscale = -100;
}
}
Symbol 255 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 255 MovieClip Frame 3
_rotation = 0;
fallspeed = 0;
speed = 0;
Instance of Symbol 251 MovieClip in Symbol 255 MovieClip Frame 3
onClipEvent (load) {
if (_root.MUTE) {
this.swapDepths(999);
this.removeMovieClip();
}
R = Math.random();
if (R >= 0.5) {
gotoAndPlay (4);
}
}
Symbol 255 MovieClip Frame 4
stop();
_root.score = _root.score + 20;
_root.combo++;
Symbol 272 MovieClip Frame 1
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 _local2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
_local2.invert();
_local2.translate(w * 0.5, h * 0.5);
camera.matrix = _local2;
};
Instance of Symbol 258 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
GLOW = 0;
Y = _y;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
var GLOWFILTER = (new flash.filters.GlowFilter(16776960, 100, 100, 100, GLOW, 1, true, false));
var filterArray = new Array();
filterArray.push(GLOWFILTER);
this.filters = [GLOWFILTER];
GLOW = GLOW - (GLOW / 3);
if (_root.score >= (Oldscore + 1)) {
GLOW = 10;
_y = (Y - 10);
}
Oldscore = _root.score;
_y = (_y - ((_y - Y) / 5));
}
}
Instance of Symbol 262 MovieClip "NNN" in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
GLOW = 0;
N = 0;
s = 3;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
s--;
if (s <= 0) {
T--;
s = 19;
}
SSS = s * 3;
var GLOWFILTER = (new flash.filters.GlowFilter(16711680, 100, 100, 100, GLOW, 1, true, false));
var filterArray = new Array();
filterArray.push(GLOWFILTER);
this.filters = [GLOWFILTER];
GLOW = Math.sin(N) * 10;
if (T <= 10) {
N++;
} else {
N = 0;
}
}
}
Instance of Symbol 264 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
SIZE = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.part0.PAUSE) {
if (!_root.part0.UG) {
T = _root.combo;
} else if (_root.part0.s <= 1) {
T = _root.combo;
}
COMBO = _root.combo - oldCOMBO;
if (COMBO >= 1) {
_xscale = (SIZE * 1.5);
}
oldCOMBO = _root.combo;
_xscale = (_xscale - ((_xscale - SIZE) / 10));
}
_yscale = _xscale;
}
Instance of Symbol 271 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.part0.PAUSE) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 285 MovieClip Frame 6
stop();
Symbol 287 Button
on (release) {
_root.gotoAndPlay("MENU");
}