Frame 1
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();
mySound = new Sound();
mySound.attachSound("allsounds");
mySound.start("", 999);
Instance of Symbol 59 MovieClip "hero" in Frame 2
onClipEvent (load) {
this.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 = 5;
level = 1;
score = 0;
playGame = true;
setTiles();
stop();
Instance of Symbol 85 MovieClip "volSlider" in Frame 3
onClipEvent (load) {
_parent.volSlider.drag._x = _parent.volSlider.drag._x + 50;
}
onClipEvent (enterFrame) {
vol = _parent.volSlider.drag._x + 50;
_parent.mySound.setVolume(vol);
_parent.volAt = Math.round(vol);
}
Instance of Symbol 85 MovieClip "panSlider" in Frame 3
onClipEvent (enterFrame) {
pan = 2 * _parent.panSlider.drag._x;
_parent.mySound.setPan(pan);
_parent.panAt = Math.round(pan);
}
Instance of Symbol 95 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 103 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 59 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);
scrollx = _root.mainGround.ground._width / 3;
scrollStart = false;
}
onClipEvent (enterFrame) {
if (_root.playGame) {
_root.falling = move(0, s);
if ((Key.isDown(32) && (!_root.falling)) && (!_root.jumping)) {
_root.score = _root.score + 10;
vel = -15;
_root.jumping = true;
_root.bounceSnd.gotoAndPlay(2);
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_mariojump", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.mariojump = new Sound(this._parent.BS_mariojump);
} else {
this.createEmptyMovieClip("_mariojump_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.mariojump = new Sound(this.BS_mariojump);
}
_global.Behaviors.Sound.mariojump.attachSound("mariojumps");
_global.Behaviors.Sound.mariojump.start(0, 1);
}
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();
} else {
scrollStart = true;
}
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);
}
if (this.hitTest(_root["1up" + i])) {
_root.lives = _root.lives + 1;
_bonus.removeMovieClip();
}
}
onClipEvent (keyUp) {
this.heroClip.stop();
r = 0;
}
Frame 4
setTiles();
stop();
Instance of Symbol 95 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 119 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 95 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 128 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 95 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 131 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 131 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 139 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);
}
}
Instance of Symbol 103 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 7
setTiles();
stop();
Instance of Symbol 95 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 131 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 131 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 168 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 189 MovieClip "c1" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c1.gotoAndStop(18);
}
}
Frame 8
setTiles();
stop();
Instance of Symbol 95 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 168 MovieClip in Frame 8
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 300) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 131 MovieClip in Frame 8
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.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 168 MovieClip in Frame 8
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 300) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 9
setTiles();
stop();
Instance of Symbol 95 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 201 MovieClip "l2" in Frame 9
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l2.gotoAndStop(14);
}
}
Instance of Symbol 103 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 139 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 128 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 189 MovieClip "c2" in Frame 9
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c2.gotoAndStop(18);
}
}
Instance of Symbol 103 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 10
setTiles();
stop();
Instance of Symbol 95 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 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 11
setTiles();
stop();
Instance of Symbol 95 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 128 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 139 MovieClip in Frame 11
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 100) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 217 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 189 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 95 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 189 MovieClip "c4" in Frame 12
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c4.gotoAndStop(18);
}
}
Instance of Symbol 217 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 201 MovieClip "l4" in Frame 12
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l4.gotoAndStop(14);
}
}
Instance of Symbol 217 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 103 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 217 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;
}
}
Frame 13
setTiles();
stop();
Instance of Symbol 95 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 189 MovieClip "c5" in Frame 13
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c5.gotoAndStop(18);
}
}
Instance of Symbol 217 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 131 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 139 MovieClip in Frame 13
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 50) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 189 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 95 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 189 MovieClip "c7" in Frame 14
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c7.gotoAndStop(18);
}
}
Instance of Symbol 103 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 168 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 201 MovieClip "l5" in Frame 14
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l5.gotoAndStop(14);
}
}
Instance of Symbol 217 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;
}
}
Instance of Symbol 236 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 15
setTiles();
stop();
Instance of Symbol 95 MovieClip in Frame 15
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 189 MovieClip "c8" 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.c8.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 236 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 131 MovieClip 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.007;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 128 MovieClip in Frame 15
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 189 MovieClip "c9" 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.c9.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 189 MovieClip "c10" 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.c10.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 189 MovieClip "c11" 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.c11.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 201 MovieClip "l6" 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.l6.gotoAndStop(14);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 131 MovieClip 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.007;
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
rePos();
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 103 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 16
setTiles();
stop();
Instance of Symbol 252 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 252 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 95 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1400;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 189 MovieClip "c12" in Frame 16
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c12.gotoAndStop(18);
}
}
Instance of Symbol 201 MovieClip "l7" in Frame 16
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.l7.gotoAndStop(14);
}
}
Instance of Symbol 189 MovieClip "c13" 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.c13.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Frame 17
setTiles();
stop();
Instance of Symbol 95 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1500;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 189 MovieClip "c14" in Frame 17
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c14.gotoAndStop(18);
}
}
Instance of Symbol 103 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 131 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 201 MovieClip "l8" 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.l8.gotoAndStop(14);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 262 MovieClip in Frame 17
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();
}
}
Instance of Symbol 103 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 103 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Frame 18
setTiles();
stop();
Instance of Symbol 95 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(10);
_root.level++;
_root.score = _root.score + 1600;
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 189 MovieClip "c15" in Frame 18
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c15.gotoAndStop(18);
}
}
Instance of Symbol 252 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 131 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 262 MovieClip in Frame 18
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();
}
}
Instance of Symbol 236 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 131 MovieClip in Frame 18
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 201 MovieClip "l9" 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.l9.gotoAndStop(14);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 139 MovieClip in Frame 18
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 201 MovieClip "l10" 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.l10.gotoAndStop(14);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 189 MovieClip "c16" 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.c16.gotoAndStop(18);
}
if (this._y > 300) {
rePos();
}
}
Instance of Symbol 103 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 189 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 189 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 189 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 189 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 189 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 35 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 40 Button
on (release) {
_root.play();
}
Symbol 41 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 41 MovieClip Frame 2
gotoAndPlay (1);
Symbol 46 MovieClip Frame 24
stop();
Symbol 55 MovieClip Frame 5
if ((_parent.jumping != true) and (!_root.falling)) {
_root.tik.gotoAndPlay(2);
_root.score++;
}
Symbol 55 MovieClip Frame 11
gotoAndPlay (1);
Symbol 58 MovieClip Frame 50
_root.lives--;
if (_root.lives < 1) {
_root.playGame = false;
_root.gotoAndStop(20);
} else {
_root.restart();
}
Symbol 59 MovieClip Frame 1
stop();
Symbol 62 Button
on (release) {
gotoAndPlay (3);
}
Symbol 74 MovieClip Frame 2
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 77 Button
on (press) {
stopAllSounds();
}
on (release) {
gotoAndPlay (2);
}
Symbol 83 Button
on (press) {
startDrag ("", false, -50, 0, 50, 0);
}
on (release, dragOut) {
stopDrag();
}
Symbol 95 MovieClip Frame 9
stop();
Symbol 106 MovieClip Frame 51
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 51
stop();
Symbol 124 MovieClip Frame 51
stop();
Symbol 128 MovieClip Frame 10
stop();
Symbol 134 MovieClip Frame 51
stop();
Symbol 143 MovieClip Frame 51
stop();
Symbol 187 MovieClip Frame 50
stop();
Symbol 189 MovieClip Frame 17
gotoAndPlay (1);
Symbol 189 MovieClip Frame 18
_root.score = _root.score + 1000;
Symbol 193 MovieClip Frame 50
stop();
Symbol 199 MovieClip Frame 51
stop();
Symbol 201 MovieClip Frame 13
gotoAndPlay (1);
Symbol 201 MovieClip Frame 14
_root.lives++;
Symbol 204 MovieClip Frame 51
stop();
Symbol 212 MovieClip Frame 51
stop();
Symbol 214 MovieClip Frame 2
stop();
Instance of Symbol 214 MovieClip in Symbol 215 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 214 MovieClip in Symbol 215 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 220 MovieClip Frame 51
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 51
stop();
Symbol 231 MovieClip Frame 51
stop();
Symbol 236 MovieClip Frame 1
max = 20;
r = random(20);
if (r == 1) {
xs = random(max) - (max / 2);
}
if (r == 2) {
ys = random(max) - (max / 2);
}
if (this._x >= 480) {
xs = -Math.abs(xs);
}
if (this._x <= 100) {
xs = Math.abs(xs);
}
if (this._y >= 200) {
ys = -Math.abs(ys);
}
if (this._y <= 50) {
ys = Math.abs(ys);
}
xs = xs * 0.7;
ys = ys * 0.7;
this._x = this._x + xs;
this._y = this._y + ys;
Symbol 236 MovieClip Frame 4
gotoAndPlay (1);
Symbol 239 MovieClip Frame 51
stop();
Symbol 244 MovieClip Frame 51
stop();
Symbol 252 MovieClip Frame 15
if (random(5) != 1) {
gotoAndPlay (1);
}
Symbol 256 MovieClip Frame 50
stop();
Instance of Symbol 214 MovieClip in Symbol 258 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 262 MovieClip Frame 11
gotoAndPlay (1);
Symbol 262 MovieClip Frame 12
stop();
Symbol 265 MovieClip Frame 51
stop();
Symbol 271 MovieClip Frame 60
stop();
Symbol 276 MovieClip Frame 20
stop();
Symbol 279 MovieClip Frame 15
stop();