Frame 1
Stage.showMenu = false;
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Instance of Symbol 58 MovieClip "platform" in Frame 5
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 67 MovieClip "bad1" in Frame 5
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Instance of Symbol 71 MovieClip "platform1" in Frame 5
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 71 MovieClip "platform2" in Frame 5
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 71 MovieClip "platform3" in Frame 5
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 78 MovieClip "chart" in Frame 5
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 15;
maxfall = -10;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(32) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
}
onClipEvent (load) {
var rebound = 6;
}
onClipEvent (enterFrame) {
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
}
onClipEvent (load) {
speed = 3;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else if (Key.isDown(40)) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.leftwall)) {
_x = 690;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rightwall)) {
_x = 5;
}
}
Frame 6
stop();
Instance of Symbol 67 MovieClip "bad2" in Frame 6
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 7
stop();
Instance of Symbol 67 MovieClip "bad3" in Frame 7
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 8
stop();
Instance of Symbol 67 MovieClip "bad4" in Frame 8
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 9
stop();
Instance of Symbol 67 MovieClip "bad5" in Frame 9
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 10
stop();
Instance of Symbol 67 MovieClip "bad6" in Frame 10
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 11
stop();
Instance of Symbol 67 MovieClip "bad7" in Frame 11
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 12
stop();
Instance of Symbol 67 MovieClip "bad8" in Frame 12
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 13
stop();
Instance of Symbol 67 MovieClip "bad9" in Frame 13
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 14
stop();
Instance of Symbol 67 MovieClip "bad10" in Frame 14
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 15
stop();
_root.level = 10;
Frame 16
stop();
Symbol 12 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 17 Button
on (release) {
_root.play();
}
Symbol 18 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 22 MovieClip Frame 90
_root.play();
Symbol 39 Button
on (release) {
gotoAndStop (5);
}
Symbol 43 Button
on (release) {
gotoAndStop (4);
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 1
play();
Symbol 78 MovieClip Frame 1
stop();
Instance of Symbol 74 MovieClip "hit1" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1)) {
_root.health.nextFrame();
_root.bad1.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2)) {
_root.health.nextFrame();
_root.bad2.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad3)) {
_root.health.nextFrame();
_root.bad3.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad4)) {
_root.health.nextFrame();
_root.bad4.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad5)) {
_root.health.nextFrame();
_root.bad5.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad6)) {
_root.health.nextFrame();
_root.bad6.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad7)) {
_root.health.nextFrame();
_root.bad7.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad8)) {
_root.health.nextFrame();
_root.bad8.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad9)) {
_root.health.nextFrame();
_root.bad9.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad10)) {
_root.health.nextFrame();
_root.bad10.bad.nextFrame();
}
}
Symbol 78 MovieClip Frame 2
stop();
Instance of Symbol 74 MovieClip "hit2" in Symbol 78 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1)) {
_root.health.nextFrame();
_root.bad1.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2)) {
_root.health.nextFrame();
_root.bad2.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad3)) {
_root.health.nextFrame();
_root.bad3.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad4)) {
_root.health.nextFrame();
_root.bad4.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad5)) {
_root.health.nextFrame();
_root.bad5.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad6)) {
_root.health.nextFrame();
_root.bad6.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad7)) {
_root.health.nextFrame();
_root.bad7.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad8)) {
_root.health.nextFrame();
_root.bad8.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad9)) {
_root.health.nextFrame();
_root.bad9.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad10)) {
_root.health.nextFrame();
_root.bad10.bad.nextFrame();
}
}
Symbol 78 MovieClip Frame 3
stop();
Instance of Symbol 74 MovieClip "hit3" in Symbol 78 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1)) {
_root.health.nextFrame();
_root.bad1.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2)) {
_root.health.nextFrame();
_root.bad2.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad3)) {
_root.health.nextFrame();
_root.bad3.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad4)) {
_root.health.nextFrame();
_root.bad4.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad5)) {
_root.health.nextFrame();
_root.bad5.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad6)) {
_root.health.nextFrame();
_root.bad6.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad7)) {
_root.health.nextFrame();
_root.bad7.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad8)) {
_root.health.nextFrame();
_root.bad8.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad9)) {
_root.health.nextFrame();
_root.bad9.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad10)) {
_root.health.nextFrame();
_root.bad10.bad.nextFrame();
}
}
Instance of Symbol 74 MovieClip "hit4" in Symbol 78 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1)) {
_root.health.nextFrame();
_root.bad1.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2)) {
_root.health.nextFrame();
_root.bad2.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad3)) {
_root.health.nextFrame();
_root.bad3.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad4)) {
_root.health.nextFrame();
_root.bad4.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad5)) {
_root.health.nextFrame();
_root.bad5.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad6)) {
_root.health.nextFrame();
_root.bad6.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad7)) {
_root.health.nextFrame();
_root.bad7.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad8)) {
_root.health.nextFrame();
_root.bad8.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad9)) {
_root.health.nextFrame();
_root.bad9.bad.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad10)) {
_root.health.nextFrame();
_root.bad10.bad.nextFrame();
}
}
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 6
_root.gotoAndStop(16);
Symbol 89 MovieClip Frame 240
_root.nextFrame();
Symbol 91 Button
on (release) {
gotoAndStop (5674);
}
Symbol 93 Button
on (release) {
gotoAndPlay (1);
}
Symbol 94 MovieClip Frame 5673
gotoAndPlay (1);
Symbol 94 MovieClip Frame 5674
stop();
Symbol 105 MovieClip Frame 240
_root.level = _root.level + 1;