Frame 1
stop();
Frame 2
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
current_bytes = this.getBytesLoaded();
tot_bytes = this.getBytesTotal();
percent = int((current_bytes / tot_bytes) * 100) + "% ";
if (current_bytes >= tot_bytes) {
gotoAndStop (5);
}
Frame 3
this.gotoAndPlay("loader");
Frame 4
stop();
Frame 5
c1 = _url.indexOf("://") + 3;
c2 = _url.indexOf("/", c1);
domain = _url.substring(c1, c2);
if (((domain == "www.dreamarcade.com") || (domain == "216.55.181.4")) || (domain == "www.ultimatearcade.com")) {
gotoAndStop (10);
} else {
gotoAndStop (10);
}
Frame 10
stop();
Instance of Symbol 117 MovieClip "mushroom" in Frame 10
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
fx2.setVolume(100);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 175 MovieClip "rules" in Frame 10
onClipEvent (load) {
this._visible = 0;
}
Frame 11
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
score = 0;
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
level = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 11
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L1 part 2");
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 11
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
fx2.setVolume(100);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 206 MovieClip in Frame 11
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 11
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y == 127.45)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 11
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y == 124.95)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 11
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 11
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 11
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 11
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 11
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 20
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 20
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L1 part 3");
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 20
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 206 MovieClip in Frame 20
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y < 127)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 20
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y == 154.25)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 20
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 30
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 30
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L1 part 4");
}
}
Instance of Symbol 141 MovieClip "mushroom" in Frame 30
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 147 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 30
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 30
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 30
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 222.95)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 40
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 40
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L1 part 5");
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 40
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 147 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood) and (_root.hero._y < 150)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 40
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 40
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 40
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y == 124.95)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 50
_root.hero.falling = true;
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 50
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 1");
}
}
Instance of Symbol 206 MovieClip in Frame 50
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 60
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 60
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 70
gotoAndStop (11);
Frame 71
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 71
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L2 part 2");
}
}
Instance of Symbol 147 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 71
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 71
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y == 181.3)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 71
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 150.7)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 71
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 71
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 71
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 71
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 71
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 80
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 80
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L2 part 3");
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 80
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 147 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 80
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 80
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 80
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 90
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 90
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L2 part 4");
}
}
Instance of Symbol 206 MovieClip in Frame 90
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 90
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 90
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 100
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 100
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L2 part 5");
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 100
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 147 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 100
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 124.95)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 100
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 100
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 231.45)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 110
_root.hero.falling = true;
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 110
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 2");
}
}
Instance of Symbol 141 MovieClip "mushroom" in Frame 110
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 141 MovieClip "mushroom2" in Frame 110
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 147 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 141 MovieClip "mushroom3" in Frame 110
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 147 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 110
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 110
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 110
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 120
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 120
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 130
gotoAndStop (71);
Frame 131
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 131
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L3 part 2");
}
}
Instance of Symbol 206 MovieClip in Frame 131
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 131
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 131
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y >= 124.3)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 131
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 131
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 131
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 131
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 131
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 140
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
_root.hero._y = 370;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 140
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L3 part 3");
}
}
Instance of Symbol 192 MovieClip "platform5" in Frame 140
onClipEvent (enterFrame) {
this._x = _root.bird._x - 25;
if (_root.hero.hitTest(this) && (_root.hero._y < 228)) {
_root.hero._x = this._x + 35;
}
}
Instance of Symbol 147 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 133 MovieClip "bird" in Frame 140
onClipEvent (load) {
speed = 7;
done = "";
stop = "";
xhome = this._x;
distance = 400;
rand = random(2);
if (rand == 1) {
xmov = speed;
} else {
xmov = -speed;
}
}
onClipEvent (enterFrame) {
if (stop != "yes") {
if (xmov > 0) {
if (this._x < (xhome + distance)) {
this._x = this._x + xmov;
} else {
xmov = -xmov;
}
} else if (xmov < 0) {
if (this._x > (xhome - distance)) {
this._x = this._x + xmov;
} else {
xmov = -xmov;
}
}
}
}
onClipEvent (enterFrame) {
if (this._x < _root.lastXPosition) {
this._xscale = -50;
} else if (this._x > _root.lastXPosition) {
this._xscale = 50;
}
_root.lastXPosition = this._x;
}
Instance of Symbol 206 MovieClip in Frame 140
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y == 305.25)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 150
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 150
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L3 part 4");
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 150
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
fx2.setVolume(100);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 206 MovieClip in Frame 150
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y == 127.45)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 150
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y == 124.95)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 160
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 160
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L3 part 5");
}
}
Instance of Symbol 141 MovieClip "mushroom" in Frame 160
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 206 MovieClip in Frame 160
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 160
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 160
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 222.95)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 170
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 170
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 3");
}
}
Frame 180
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 180
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 180
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 190
gotoAndStop (131);
Frame 191
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 191
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L4 part 2");
}
}
Instance of Symbol 147 MovieClip in Frame 191
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 191
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 191
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 228.45)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 191
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 55.5)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 191
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 128.45)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 191
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 191
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 191
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 191
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 191
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 200
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 200
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L4 part 3");
}
}
Instance of Symbol 147 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 200
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
fx2.setVolume(100);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 206 MovieClip in Frame 200
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 92.2)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 200
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 29.15)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 200
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 188)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 210
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 210
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L4 part 4");
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 210
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
fx2.setVolume(100);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 206 MovieClip in Frame 210
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 127.45)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 210
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 17.1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 210
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 17.1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 220
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 220
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L4 part 5");
}
}
Instance of Symbol 206 MovieClip in Frame 220
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 17.1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 220
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 218.45)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 220
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 230
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
_root.hero._y = 370;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 230
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (_root.hero._y < 74)) {
_root.gotoAndStop("End Level 4");
}
}
Instance of Symbol 192 MovieClip "platform2" in Frame 230
onClipEvent (enterFrame) {
this._x = _root.bird._x - 25;
if (_root.hero.hitTest(this) && (_root.hero._y < 268)) {
_root.hero._x = this._x + 35;
}
}
Instance of Symbol 192 MovieClip "platform3" in Frame 230
onClipEvent (enterFrame) {
this._x = _root.bird2._x - 25;
if (_root.hero.hitTest(this) && (_root.hero._y < 164)) {
_root.hero._x = this._x + 35;
}
}
Instance of Symbol 133 MovieClip "bird" in Frame 230
onClipEvent (load) {
speed = 9;
done = "";
stop = "";
xhome = this._x;
distance = 700;
rand = 2;
if (rand == 1) {
xmov = speed;
} else {
xmov = -speed;
}
}
onClipEvent (enterFrame) {
if (stop != "yes") {
if (xmov > 0) {
if (this._x < (xhome + distance)) {
this._x = this._x + xmov;
} else {
xmov = -xmov;
}
} else if (xmov < 0) {
if (this._x > (xhome - distance)) {
this._x = this._x + xmov;
} else {
xmov = -xmov;
}
}
}
}
onClipEvent (enterFrame) {
if (this._x < _root.lastXPosition1) {
this._xscale = -50;
} else if (this._x > _root.lastXPosition1) {
this._xscale = 50;
}
_root.lastXPosition1 = this._x;
}
Instance of Symbol 133 MovieClip "bird2" in Frame 230
onClipEvent (load) {
speed = 5;
done = "";
stop = "";
xhome = this._x;
distance = 700;
rand = 1;
if (rand == 1) {
xmov = speed;
} else {
xmov = -speed;
}
}
onClipEvent (enterFrame) {
if (stop != "yes") {
if (xmov > 0) {
if (this._x < (xhome + distance)) {
this._x = this._x + xmov;
} else {
xmov = -xmov;
}
} else if (xmov < 0) {
if (this._x > (xhome - distance)) {
this._x = this._x + xmov;
} else {
xmov = -xmov;
}
}
}
}
onClipEvent (enterFrame) {
if (this._x < _root.lastXPosition) {
this._xscale = -50;
} else if (this._x > _root.lastXPosition) {
this._xscale = 50;
}
_root.lastXPosition = this._x;
}
Instance of Symbol 206 MovieClip in Frame 230
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 230
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 74)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 240
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 240
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 240
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 250
gotoAndStop (191);
Frame 251
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 251
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L5 part 2");
}
}
Instance of Symbol 141 MovieClip "mushroom" in Frame 251
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 141 MovieClip "mushroom2" in Frame 251
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 147 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 147 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 141 MovieClip "mushroom3" in Frame 251
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 147 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 251
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 251
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 116)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 251
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 251
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 251
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 251
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 251
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 260
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 260
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L5 part 3");
}
}
Instance of Symbol 206 MovieClip in Frame 260
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 55.5)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 260
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 55.5)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 260
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 55.5)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 260
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 222.4)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 270
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 270
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L5 part 4");
}
}
Instance of Symbol 192 MovieClip "platform1" in Frame 270
onClipEvent (enterFrame) {
this._x = _root.bird._x - 25;
if (_root.hero.hitTest(this) && (_root.hero._y < 268)) {
_root.hero._x = this._x + 35;
}
}
Instance of Symbol 133 MovieClip "bird" in Frame 270
onClipEvent (load) {
speed = 9;
done = "";
stop = "";
xhome = this._x;
distance = 370;
rand = 2;
if (rand == 1) {
xmov = speed;
} else {
xmov = -speed;
}
}
onClipEvent (enterFrame) {
if (stop != "yes") {
if (xmov > 0) {
if (this._x < (xhome + distance)) {
this._x = this._x + xmov;
} else {
xmov = -xmov;
}
} else if (xmov < 0) {
if (this._x > (xhome - distance)) {
this._x = this._x + xmov;
} else {
xmov = -xmov;
}
}
}
}
onClipEvent (enterFrame) {
if (this._x < _root.lastXPosition1) {
this._xscale = -50;
} else if (this._x > _root.lastXPosition1) {
this._xscale = 50;
}
_root.lastXPosition1 = this._x;
}
Instance of Symbol 147 MovieClip in Frame 270
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 206 MovieClip in Frame 270
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 41.85)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 270
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 235.95)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 270
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 131.4)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 280
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 280
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (_root.hero._y <= 125)) {
_root.gotoAndStop("L5 part 5");
}
}
Instance of Symbol 192 MovieClip "platform3" in Frame 280
onClipEvent (enterFrame) {
this._x = _root.bird._x - 25;
if (_root.hero.hitTest(this) && (_root.hero._y < 268)) {
_root.hero._x = this._x + 35;
}
}
Instance of Symbol 117 MovieClip "mushroom" in Frame 280
onClipEvent (load) {
fx2 = new sound();
fx2.attachSound("fx2");
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero._y == 285.25)) {
this.gotoAndStop(2);
fx2.start();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 206 MovieClip in Frame 280
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 125)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 280
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if ((this._parent.hero.hitTest(this) && (this._currentFrame == 1)) && (_root.hero._y <= 125)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 290
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
_root.hero._y = 360;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 290
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 5");
}
}
Instance of Symbol 206 MovieClip in Frame 290
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 290
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 290
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 290
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 290
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 290
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Instance of Symbol 206 MovieClip in Frame 290
onClipEvent (load) {
this.gotoAndStop(1);
fx1 = new sound();
fx1.attachSound("fx1");
}
onClipEvent (enterFrame) {
if (this._parent.hero.hitTest(this) && (this._currentFrame == 1)) {
_root.score = _root.score + 100;
fx1.start();
this.gotoAndStop(2);
this.partmovie.gotoAndPlay(2);
}
}
Frame 300
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 300
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 300
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 310
gotoAndStop (251);
Frame 311
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 311
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L6 part 2");
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 311
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 311
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 311
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 311
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 311
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 320
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 320
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L6 part 3");
}
}
Frame 330
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 330
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L6 part 4");
}
}
Frame 340
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 340
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L6 part 5");
}
}
Frame 350
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 350
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 6");
}
}
Frame 360
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 360
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 360
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 370
gotoAndStop (311);
Frame 371
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 371
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L7 part 2");
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 371
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 371
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 371
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 371
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 371
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 380
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 380
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L7 part 3");
}
}
Frame 390
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 390
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L7 part 4");
}
}
Frame 400
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 400
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L7 part 5");
}
}
Frame 410
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 410
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 7");
}
}
Frame 420
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 420
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 420
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 430
gotoAndStop (371);
Frame 431
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 431
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L8 part 2");
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 431
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 431
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 431
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 431
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 431
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 440
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 440
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L8 part 3");
}
}
Frame 450
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 450
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L8 part 4");
}
}
Frame 460
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 460
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L8 part 5");
}
}
Frame 470
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 470
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 8");
}
}
Frame 480
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 480
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 480
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 490
gotoAndStop (431);
Frame 491
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 491
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L9 part 2");
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 491
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 491
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 491
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 491
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 491
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 500
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 500
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L9 part 3");
}
}
Frame 510
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 510
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L9 part 4");
}
}
Frame 520
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 520
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L9 part 5");
}
}
Frame 530
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 530
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 9");
}
}
Frame 540
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 540
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 540
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 550
gotoAndStop (491);
Frame 551
_root.score = _root.total_score;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.timer.timer = 0;
stop = "no";
eat = 1;
pain = 1;
alive = "yes";
_root.fade.gotoAndPlay(1);
Instance of Symbol 193 MovieClip in Frame 551
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L10 part 2");
}
}
Instance of Symbol 208 MovieClip "shadow" in Frame 551
onClipEvent (enterFrame) {
this._x = _root.hero._x;
if ((_root.hero._y < 376.25) || (_root.hero._y > 376.25)) {
this.gotoAndStop(2);
} else if ((_root.hero._y == 376.25) and (_root.hero._currentFrame != 8)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 239 MovieClip "hero" in Frame 551
onClipEvent (load) {
move = 0;
lock = true;
this.mario.gotoAndStop(1);
}
onClipEvent (keyDown) {
this.mario.play();
}
onClipEvent (keyUp) {
this.mario.play();
}
onClipEvent (enterFrame) {
if (move == 0) {
if (lock) {
this._x = this._x + Xstep;
Ystep = 0;
Xstep = 0;
if (Key.isDown(37) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = -15;
} else {
Xstep = -8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("left");
this.mario.play();
}
} else if (Key.isDown(39) and (_root.alive == "yes")) {
if (this.rising == true) {
Xstep = 15;
} else {
Xstep = 8;
}
Ystep = 0;
if (this.rising == false) {
this.gotoAndStop("right");
this.mario.play();
}
} else if (Key.isDown(40) and (_root.alive == "yes")) {
if (_root.direction == 0) {
this.gotoAndStop("sitleft");
} else {
this.gotoAndStop("sitright");
}
} else {
this.mario.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 790) {
this._x = 790;
}
}
Instance of Symbol 280 MovieClip "health" in Frame 551
onClipEvent (enterFrame) {
if (_root.hero._y > 376.25) {
this.gotoAndStop("dead");
_root.fall._x = _root.hero._x;
}
}
Instance of Symbol 282 MovieClip "timer" in Frame 551
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = 120 - int((time.getTime() - master) / 1000);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.stop = "yes";
}
}
Instance of Symbol 285 MovieClip "heroy" in Frame 551
onClipEvent (enterFrame) {
this.heroy = _root.hero._y;
}
Frame 560
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 560
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L10 part 3");
}
}
Frame 570
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 570
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L10 part 4");
}
}
Frame 580
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 580
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L10 part 5");
}
}
Frame 590
stop();
_root.fade.gotoAndPlay(1);
_root.hero._x = 35;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
Instance of Symbol 193 MovieClip in Frame 590
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 10");
}
}
Frame 600
stop();
stop = "yes";
stopAllSounds();
_root.total_score = _root.score;
_root.next._visible = 0;
Instance of Symbol 323 MovieClip in Frame 600
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(2);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 4) {
this.gotoAndStop(4);
}
if (_root.level == 5) {
this.gotoAndStop(5);
}
if (_root.level == 6) {
this.gotoAndStop(6);
}
if (_root.level == 7) {
this.gotoAndStop(7);
}
if (_root.level == 8) {
this.gotoAndStop(8);
}
if (_root.level == 9) {
this.gotoAndStop(9);
}
if (_root.level == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 326 MovieClip in Frame 600
onClipEvent (load) {
points = new sound();
points.attachSound("points");
bonus = new sound();
bonus.attachSound("bonus");
}
onClipEvent (enterFrame) {
if (_root.timer.timer > 0) {
_root.timer.timer = _root.timer.timer - 1;
_root.total_score = _root.total_score + 15;
bonus.start();
bonus.setVolume(30);
}
}
onClipEvent (enterFrame) {
if (_root.timer.timer == 0) {
_root.next._visible = 1;
}
}
Frame 610
gotoAndStop (551);
Frame 611
stop();
Symbol 14 Button
on (release) {
getURL ("http://www.addictinggames.com/", "_blank");
}
Symbol 23 MovieClip Frame 120
_root.gotoAndStop("loader");
Symbol 28 Button
on (release) {
_root.gotoAndStop("win");
}
Symbol 35 Button
on (release) {
getURL ("http://www.ultimatearcade.com/", "_blank");
}
Symbol 42 MovieClip Frame 9
gotoAndPlay (1);
Symbol 60 MovieClip Frame 1
rnd = Math.floor(Math.random() * 12);
gotoAndStop(rnd);
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 2
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 3
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 4
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 5
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 6
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 7
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 8
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 9
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 10
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 11
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 60 MovieClip Frame 12
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 66 MovieClip Frame 1
rnd = Math.floor(Math.random() * 90);
gotoAndPlay(rnd);
play();
Symbol 66 MovieClip Frame 2
play();
Symbol 66 MovieClip Frame 3
play();
Symbol 66 MovieClip Frame 4
play();
Symbol 66 MovieClip Frame 5
play();
Symbol 66 MovieClip Frame 6
play();
Symbol 66 MovieClip Frame 7
play();
Symbol 66 MovieClip Frame 8
play();
Symbol 66 MovieClip Frame 9
play();
Symbol 66 MovieClip Frame 10
play();
Symbol 66 MovieClip Frame 11
play();
Symbol 66 MovieClip Frame 12
play();
Symbol 66 MovieClip Frame 13
play();
Symbol 66 MovieClip Frame 14
play();
Symbol 66 MovieClip Frame 15
play();
Symbol 66 MovieClip Frame 16
play();
Symbol 66 MovieClip Frame 17
play();
Symbol 66 MovieClip Frame 18
play();
Symbol 66 MovieClip Frame 19
play();
Symbol 66 MovieClip Frame 20
play();
Symbol 66 MovieClip Frame 21
play();
Symbol 66 MovieClip Frame 22
play();
Symbol 66 MovieClip Frame 23
play();
Symbol 66 MovieClip Frame 24
play();
Symbol 66 MovieClip Frame 25
play();
Symbol 66 MovieClip Frame 26
play();
Symbol 66 MovieClip Frame 27
play();
Symbol 66 MovieClip Frame 28
play();
Symbol 66 MovieClip Frame 29
play();
Symbol 66 MovieClip Frame 30
play();
Symbol 66 MovieClip Frame 31
play();
Symbol 66 MovieClip Frame 32
play();
Symbol 66 MovieClip Frame 33
play();
Symbol 66 MovieClip Frame 34
play();
Symbol 66 MovieClip Frame 35
play();
Symbol 66 MovieClip Frame 36
play();
Symbol 66 MovieClip Frame 37
play();
Symbol 66 MovieClip Frame 38
play();
Symbol 66 MovieClip Frame 39
play();
Symbol 66 MovieClip Frame 40
play();
Symbol 66 MovieClip Frame 41
play();
Symbol 66 MovieClip Frame 42
play();
Symbol 66 MovieClip Frame 43
play();
Symbol 66 MovieClip Frame 44
play();
Symbol 66 MovieClip Frame 45
play();
Symbol 66 MovieClip Frame 46
play();
Symbol 66 MovieClip Frame 47
play();
Symbol 66 MovieClip Frame 48
play();
Symbol 66 MovieClip Frame 49
play();
Symbol 66 MovieClip Frame 50
play();
Symbol 66 MovieClip Frame 51
play();
Symbol 66 MovieClip Frame 52
play();
Symbol 66 MovieClip Frame 53
play();
Symbol 66 MovieClip Frame 54
play();
Symbol 66 MovieClip Frame 55
play();
Symbol 66 MovieClip Frame 56
play();
Symbol 66 MovieClip Frame 57
play();
Symbol 66 MovieClip Frame 58
play();
Symbol 66 MovieClip Frame 59
play();
Symbol 66 MovieClip Frame 60
play();
Symbol 66 MovieClip Frame 61
play();
Symbol 66 MovieClip Frame 62
play();
Symbol 66 MovieClip Frame 63
play();
Symbol 66 MovieClip Frame 64
play();
Symbol 66 MovieClip Frame 65
play();
Symbol 66 MovieClip Frame 66
play();
Symbol 66 MovieClip Frame 67
play();
Symbol 66 MovieClip Frame 68
play();
Symbol 66 MovieClip Frame 69
play();
Symbol 66 MovieClip Frame 70
play();
Symbol 66 MovieClip Frame 71
play();
Symbol 66 MovieClip Frame 72
play();
Symbol 66 MovieClip Frame 73
play();
Symbol 66 MovieClip Frame 74
play();
Symbol 66 MovieClip Frame 75
play();
Symbol 66 MovieClip Frame 76
play();
Symbol 66 MovieClip Frame 77
play();
Symbol 66 MovieClip Frame 78
play();
Symbol 66 MovieClip Frame 79
play();
Symbol 76 MovieClip Frame 1
stop();
Instance of Symbol 66 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eat == 2) {
_parent.gotoAndPlay(2);
_root.eat++;
} else {
stop();
}
if (_root.pain == 2) {
_parent.gotoAndPlay("pain");
_root.pain++;
} else {
stop();
}
}
Symbol 76 MovieClip Frame 2
play();
Symbol 76 MovieClip Frame 17
_root.eat = 1;
gotoAndStop (1);
Symbol 76 MovieClip Frame 18
play();
if (_root.alive == "no") {
_root.hero.gotoAndStop("dead");
}
Symbol 76 MovieClip Frame 25
_root.pain = 1;
gotoAndStop (1);
Symbol 84 Button
on (release) {
_root.gotoAndStop("level1");
}
on (rollOver) {
one.gotoAndPlay(2);
}
on (rollOut) {
one.gotoAndStop(1);
}
Symbol 90 Button
on (release) {
_root.rules._visible = 1;
}
on (rollOver) {
two.gotoAndPlay(2);
}
on (rollOut) {
two.gotoAndStop(1);
}
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 10
gotoAndPlay (2);
Symbol 95 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 116 MovieClip Frame 1
rnd = Math.floor(Math.random() * 12);
gotoAndStop(rnd);
stop();
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 3
stop();
Symbol 116 MovieClip Frame 4
stop();
Symbol 116 MovieClip Frame 5
stop();
Symbol 116 MovieClip Frame 6
stop();
Symbol 116 MovieClip Frame 7
stop();
Symbol 116 MovieClip Frame 8
stop();
Symbol 116 MovieClip Frame 9
stop();
Symbol 116 MovieClip Frame 10
stop();
Symbol 116 MovieClip Frame 11
stop();
Symbol 116 MovieClip Frame 12
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
stop();
Instance of Symbol 146 MovieClip "blood" in Symbol 147 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 158 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Symbol 161 MovieClip Frame 1
stop();
Symbol 168 Button
on (release) {
_root.rules._visible = 0;
_root.menu._visible = 1;
}
Symbol 171 Button
on (press) {
gotoAndPlay (2);
}
on (release) {
gotoAndStop (1);
}
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
_root.rules.how.prevFrame();
play();
Symbol 172 MovieClip Frame 3
gotoAndPlay (2);
Symbol 173 Button
on (press) {
gotoAndPlay (2);
}
on (release) {
gotoAndStop (1);
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
_root.rules.how.nextFrame();
play();
Symbol 174 MovieClip Frame 3
gotoAndPlay (2);
Symbol 181 Button
on (release) {
getURL ("http://www.ultimatearcade.com/", "_blank");
}
Symbol 185 Button
on (release) {
getURL ("http://www.ultimatearcade.com/downloads/", "_blank");
}
Symbol 189 Button
on (release) {
getURL ("http://www.ultimatearcade.com/maillist/signup.html", "_blank");
}
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 51
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
_root.eat = 2;
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
stop();
Symbol 226 MovieClip Frame 29
gotoAndPlay (2);
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 10
play();
Symbol 238 MovieClip Frame 31
stop();
Symbol 239 MovieClip Frame 1
function hitPlatforms() {
var i;
var y;
var x;
i = 0;
while (i < _root.maxPlatforms) {
platform = eval ("_root.platform" + i);
y = _y + vertical;
x = _x + horizontal;
if (((_y < platform._y) && (y >= platform._y)) && (platform.hitTest(x, platform._y) == true)) {
_y = platform._y;
falling = false;
vertical = 0;
return(undefined);
}
i++;
}
platform = null;
return(undefined);
}
function render() {
var x;
var y;
x = (y = 0);
if (Math.abs(horizontal) < Math.abs(x)) {
horizontal = x;
} else {
horizontal = horizontal * friction;
if (Math.abs(horizontal) < 1) {
horizontal = 0;
}
}
if (((((vertical == 0) && (_root.hero.hitTest(_root.mushroom))) && (_root.hero._y == 285.25)) || (((vertical == 0) && (_root.hero.hitTest(_root.mushroom2))) && (_root.hero._y == 285.25))) || (((vertical == 0) && (_root.hero.hitTest(_root.mushroom3))) && (_root.hero._y == 285.25))) {
_root.hero._y = _root.hero._y - 100;
vertical = vforce * -1;
horizontal = horizontal + platform.velocity;
platform = null;
rising = true;
if (_root.direction == 0) {
gotoAndStop (4);
} else {
gotoAndStop (5);
}
}
if ((((vertical == 0) && (Key.isDown(38) == true)) and (_root.alive == "yes")) || (((vertical == 0) && (Key.isDown(32) == true)) and (_root.alive == "yes"))) {
vertical = vforce * -1;
horizontal = horizontal + platform.velocity;
platform = null;
rising = true;
if (_root.direction == 0) {
gotoAndStop (4);
} else {
gotoAndStop (5);
}
jump.start();
jump.setVolume(100);
}
if (rising == true) {
vertical = vertical * gravity;
if (Math.abs(vertical) < 1) {
vertical = Math.abs(vertical);
falling = true;
rising = false;
if (_root.direction == 0) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
}
if (falling == true) {
vertical = vertical + accel;
hitPlatforms();
}
lastX = _x;
lastY = _y;
_y = (_y + vertical);
_x = ((_x + horizontal) + platform.velocity);
if ((platform != null) && (platform.hitTest(_x, platform._y, true) == false)) {
vertical = 2;
falling = true;
}
}
vforce = 120;
hforce = 10;
horizontal = 0;
vertical = 5;
friction = 0.8;
gravity = 0.5;
accel = 1.5;
rising = false;
falling = true;
lastX = _x;
lastY = _y;
platform = null;
jump = new sound();
jump.attachSound("jump");
stop();
stop();
Symbol 239 MovieClip Frame 2
_root.direction = 1;
stop();
Symbol 239 MovieClip Frame 3
_root.direction = 0;
stop();
Symbol 239 MovieClip Frame 4
stop();
Symbol 239 MovieClip Frame 5
stop();
Symbol 239 MovieClip Frame 6
stop();
Symbol 239 MovieClip Frame 7
stop();
Symbol 239 MovieClip Frame 8
_root.shadow.gotoAndStop(2);
stop();
Symbol 243 MovieClip Frame 10
stop();
Symbol 252 Button
on (release) {
if (_root.level == 1) {
_root.gotoAndStop("level1reset");
}
if (_root.level == 2) {
_root.gotoAndStop("level2reset");
}
if (_root.level == 3) {
_root.gotoAndStop("level3reset");
}
if (_root.level == 4) {
_root.gotoAndStop("level4reset");
}
if (_root.level == 5) {
_root.gotoAndStop("level5reset");
}
if (_root.level == 6) {
_root.gotoAndStop("level6reset");
}
if (_root.level == 7) {
_root.gotoAndStop("level7reset");
}
if (_root.level == 8) {
_root.gotoAndStop("level8reset");
}
if (_root.level == 9) {
_root.gotoAndStop("level9reset");
}
if (_root.level == 10) {
_root.gotoAndStop("level10reset");
}
}
Symbol 254 MovieClip Frame 15
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 2
play();
Symbol 255 MovieClip Frame 10
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 4
stop();
Symbol 280 MovieClip Frame 7
stop();
Symbol 280 MovieClip Frame 10
stop();
Symbol 280 MovieClip Frame 13
stop();
Symbol 280 MovieClip Frame 16
stop();
Symbol 280 MovieClip Frame 19
stop();
Symbol 280 MovieClip Frame 22
stop();
Symbol 280 MovieClip Frame 25
stop();
Symbol 280 MovieClip Frame 28
stop();
Symbol 280 MovieClip Frame 31
stop();
Symbol 280 MovieClip Frame 34
stop();
Symbol 280 MovieClip Frame 37
stop();
Symbol 280 MovieClip Frame 40
stop();
Symbol 280 MovieClip Frame 43
stop();
Symbol 280 MovieClip Frame 46
stop();
Symbol 280 MovieClip Frame 49
_root.hero.gotoAndStop("dead");
_root.hero.fall.gotoAndPlay(10);
_root.alive = "no";
_root.gameover.gotoAndPlay(2);
_root.stop = "yes";
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 331 Button
on (release) {
_root.level++;
if (_root.level == 2) {
_root.gotoAndStop("level2");
} else if (_root.level == 3) {
_root.gotoAndStop("level3");
} else if (_root.level == 4) {
_root.gotoAndStop("level4");
} else if (_root.level == 5) {
_root.gotoAndStop("level5");
} else if (_root.level == 6) {
_root.gotoAndStop("win");
} else if (_root.level == 7) {
_root.gotoAndStop("level7");
} else if (_root.level == 8) {
_root.gotoAndStop("level8");
} else if (_root.level == 9) {
_root.gotoAndStop("level9");
} else if (_root.level == 10) {
_root.gotoAndStop("level10");
} else if (_root.level == 11) {
_root.gotoAndStop("win");
}
}
Symbol 392 Button
on (release) {
_root.gotoAndStop("win");
}
Symbol 459 Button
on (release) {
_root.gotoAndStop("good");
}