Frame 1
stopAllSounds();
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
stop();
Frame 2
setTiles = function () {
var _local1 = _root;
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 112) {
name = "mc" + i;
_local1.t.attachMovie("background", name, 1000 + i);
_local1.t[name]._x = left;
_local1.t[name]._y = top;
_local1.t[name].gotoAndStop(random(13) + 1);
left = left + 36;
if (step == 13) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
_local1.t._alpha = 30;
};
setTiles();
stop();
Frame 3
restart = function () {
hero._rotation = 0;
hero.gotoAndStop(1);
hero.heroClip.stop();
jumping = false;
playGame = true;
hero._x = 48;
hero._y = 90;
};
lives = 20;
level = 1;
score = 0;
playGame = true;
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 100;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 66 MovieClip "hero" in Frame 3
onClipEvent (load) {
function move(x, y) {
var _local1 = y;
var _local2 = x;
var _local3 = _root;
h = false;
if (!_local3.map.hitTest((_x + _local2) + b.xmin, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmax, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmin, (_y + _local1) + b.ymax, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmax, (_y + _local1) + b.ymax, true)) {
_x = (_x + _local2);
_y = (_y + _local1);
h = true;
}
}
}
}
return(h);
}
_root.restart();
s = 3;
b = this.getBounds(this);
}
onClipEvent (enterFrame) {
if (_root.playGame) {
_root.falling = move(0, s);
if ((Key.isDown(32) && (!_root.falling)) && (!_root.jumping)) {
_root.score = _root.score + 10;
vel = -12;
_root.jumping = true;
_root.bounceSnd.gotoAndPlay(2);
}
if (Key.isDown(37) and (_x > 20)) {
move(-s, 0);
r = -10;
this.gotoAndStop(2);
this.heroClip.nextFrame();
}
if (Key.isDown(39) and (_x < 480)) {
move(s, 0);
r = 10;
this.gotoAndStop(1);
this.heroClip.nextFrame();
}
if (_root.jumping) {
this._rotation = r;
if (vel <= 12) {
h = move(0, vel - s);
if ((h == false) && (vel < 0)) {
vel = vel * -1;
}
vel++;
} else {
_root.jumping = false;
this._rotation = 0;
}
}
}
if (this._y > 320) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
onClipEvent (keyUp) {
this.heroClip.stop();
r = 0;
}
Frame 4
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 200;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 76 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 5
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 300;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 82 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
this._x = 377;
}
if (this._x < -100) {
this.gotoAndPlay(1);
this._x = 377;
}
}
Frame 6
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 400;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 91 MovieClip in Frame 6
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 91 MovieClip in Frame 6
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 101 MovieClip in Frame 6
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 70) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 7
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 500;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 91 MovieClip in Frame 7
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.01;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 91 MovieClip in Frame 7
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.001;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 108 MovieClip in Frame 7
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 90) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 114 MovieClip "c1" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c1.gotoAndStop(18);
}
}
Frame 8
setTiles();
stop();
Instance of Symbol 121 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 121 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 48 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 600;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 130 MovieClip "l1" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l1.gotoAndStop(14);
}
}
Frame 9
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 700;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 130 MovieClip "l2" in Frame 9
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l2.gotoAndStop(14);
}
}
Instance of Symbol 50 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 101 MovieClip in Frame 9
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 130) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 82 MovieClip in Frame 9
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
this._x = 320;
}
if (this._x < -50) {
this.gotoAndPlay(1);
this._x = 320;
}
}
Instance of Symbol 114 MovieClip "c2" in Frame 9
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c2.gotoAndStop(18);
}
}
Frame 10
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 800;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 130 MovieClip "l3" in Frame 10
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l3.gotoAndStop(14);
}
}
Instance of Symbol 114 MovieClip "c5" in Frame 10
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c5.gotoAndStop(18);
}
}
Frame 11
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 900;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 82 MovieClip in Frame 11
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
this._x = 377;
}
if (this._x < -100) {
this.gotoAndPlay(1);
this._x = 377;
}
}
Instance of Symbol 50 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 141 MovieClip in Frame 11
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 114 MovieClip "c3" in Frame 11
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c3.gotoAndStop(18);
}
}
Frame 12
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1000;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 130 MovieClip "l4" in Frame 12
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l4.gotoAndStop(14);
}
}
Instance of Symbol 50 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 141 MovieClip in Frame 12
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 141 MovieClip in Frame 12
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 50 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 141 MovieClip in Frame 12
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 141 MovieClip in Frame 12
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 114 MovieClip "c5" in Frame 12
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c5.gotoAndStop(18);
}
}
Frame 13
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1100;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 114 MovieClip "c5" in Frame 13
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c5.gotoAndStop(18);
}
}
Instance of Symbol 141 MovieClip in Frame 13
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 91 MovieClip in Frame 13
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 114 MovieClip "c6" in Frame 13
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c6.gotoAndStop(18);
}
}
Frame 14
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1200;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 114 MovieClip "c7" in Frame 14
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c7.gotoAndStop(18);
}
}
Instance of Symbol 108 MovieClip in Frame 14
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 130 MovieClip "l5" in Frame 14
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l5.gotoAndStop(14);
}
}
Instance of Symbol 141 MovieClip in Frame 14
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Frame 15
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1400;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 114 MovieClip "c12" in Frame 15
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c12.gotoAndStop(18);
}
}
Instance of Symbol 121 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 121 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 130 MovieClip "l7" in Frame 15
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l7.gotoAndStop(14);
}
}
Instance of Symbol 50 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 114 MovieClip "c13" in Frame 15
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c13.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Frame 16
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1500;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 114 MovieClip "c14" in Frame 16
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c14.gotoAndStop(18);
}
}
Instance of Symbol 50 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 50 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 50 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 50 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 91 MovieClip in Frame 16
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.007;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 130 MovieClip "l8" in Frame 16
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.l8.gotoAndStop(14);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 163 MovieClip in Frame 16
onClipEvent (load) {
rePos = function () {
x = random(100) + 500;
this._x = x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._x = this._x - x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._x < -30) {
rePos();
}
}
Frame 17
setTiles();
stop();
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1600;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 114 MovieClip "c15" in Frame 17
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c15.gotoAndStop(18);
}
}
Instance of Symbol 91 MovieClip in Frame 17
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.007;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 91 MovieClip in Frame 17
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 130 MovieClip "l9" in Frame 17
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.l9.gotoAndStop(14);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 101 MovieClip in Frame 17
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 65) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 130 MovieClip "l10" in Frame 17
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.l10.gotoAndStop(14);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c16" in Frame 17
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c16.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Frame 18
setTiles();
stop();
Instance of Symbol 82 MovieClip in Frame 18
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
this._x = 320;
}
if (this._x < -100) {
this.gotoAndPlay(1);
this._x = 320;
}
}
Instance of Symbol 48 MovieClip in Frame 18
onClipEvent (load) {
rePos = function () {
x = random(100) + 350;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1300;
_root.restart();
_root.nextFrame();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c8" in Frame 18
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c8.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 91 MovieClip in Frame 18
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.007;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c9" in Frame 18
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c9.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c10" in Frame 18
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c10.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c11" in Frame 18
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c11.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 130 MovieClip "l6" in Frame 18
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.l6.gotoAndStop(14);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 50 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 50 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 50 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 19
setTiles();
stop();
Instance of Symbol 114 MovieClip "c17" in Frame 19
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c17.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c18" in Frame 19
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c18.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c19" in Frame 19
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c19.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c20" in Frame 19
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c20.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 114 MovieClip "c21" in Frame 19
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -x;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this.hitTest(_root.hero)) {
_root.c21.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Frame 20
stopAllSounds();
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 112) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(14);
left = left + 36;
if (step == 13) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
_root.t._alpha = 30;
stop();
Symbol 9 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 14 Button
on (release) {
_root.play();
}
Symbol 15 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 23 Button
on (press) {
nextFrame();
}
Symbol 48 MovieClip Frame 43
gotoAndPlay (1);
Symbol 62 MovieClip Frame 1
if ((_parent.jumping != true) and (!_root.falling)) {
_root.tik.gotoAndPlay(2);
_root.score++;
}
Symbol 62 MovieClip Frame 14
if ((_parent.jumping != true) and (!_root.falling)) {
_root.tik.gotoAndPlay(2);
_root.score++;
}
Symbol 62 MovieClip Frame 23
gotoAndPlay (1);
Symbol 65 MovieClip Frame 29
_root.lives--;
if (_root.lives < 1) {
_root.playGame = false;
_root.gotoAndStop(20);
} else {
_root.restart();
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 10
stop();
Symbol 112 MovieClip Frame 50
stop();
Symbol 114 MovieClip Frame 17
gotoAndPlay (1);
Symbol 114 MovieClip Frame 18
_root.score = _root.score + 1000;
Symbol 121 MovieClip Frame 15
if (random(5) != 1) {
gotoAndPlay (1);
}
Symbol 128 MovieClip Frame 51
stop();
Symbol 130 MovieClip Frame 13
gotoAndPlay (1);
Symbol 130 MovieClip Frame 14
_root.lives++;
Symbol 136 MovieClip Frame 2
stop();
Instance of Symbol 136 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(200);
if (x == 20) {
this.gotoAndStop(2);
} else if ((x == 10) or (x == 30)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 136 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(200);
if (x == 20) {
this.gotoAndStop(2);
} else if ((x == 10) or (x == 30)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 136 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(200);
if (x == 20) {
this.gotoAndStop(2);
} else if ((x == 10) or (x == 30)) {
this.gotoAndStop(1);
}
}
Symbol 163 MovieClip Frame 10
gotoAndPlay (1);
Symbol 163 MovieClip Frame 11
stop();
Instance of Symbol 136 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(300);
if (x == 20) {
this.gotoAndStop(2);
} else if ((x == 10) or (x == 30)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 136 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(300);
if (x == 20) {
this.gotoAndStop(2);
} else if ((x == 10) or (x == 30)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 136 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(300);
if (x == 20) {
this.gotoAndStop(2);
} else if ((x == 10) or (x == 30)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 136 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(300);
if (x == 20) {
this.gotoAndStop(2);
} else if ((x == 10) or (x == 30)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 136 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(300);
if (x == 20) {
this.gotoAndStop(2);
} else if ((x == 10) or (x == 30)) {
this.gotoAndStop(1);
}
}
Symbol 173 MovieClip Frame 20
stop();
Symbol 178 Button
on (release) {
this.gotoAndPlay("1");
}
Symbol 181 MovieClip Frame 15
stop();