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 ("check");
}
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 ("good");
} else {
gotoAndStop ("good");
}
Frame 10
stop();
Instance of Symbol 124 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 182 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 200 MovieClip in Frame 11
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L1 part 2");
}
}
Instance of Symbol 124 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 213 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 213 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 213 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 215 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 246 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 287 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 289 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 292 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 200 MovieClip in Frame 20
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L1 part 3");
}
}
Instance of Symbol 124 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 213 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 213 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 213 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 200 MovieClip in Frame 30
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L1 part 4");
}
}
Instance of Symbol 148 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 154 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 213 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 213 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 213 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 200 MovieClip in Frame 40
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L1 part 5");
}
}
Instance of Symbol 124 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 154 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 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 213 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 213 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 213 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 200 MovieClip in Frame 50
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 1");
}
}
Instance of Symbol 213 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 330 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 333 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 200 MovieClip in Frame 71
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L2 part 2");
}
}
Instance of Symbol 154 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 213 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 213 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 213 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 215 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 246 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 287 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 289 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 292 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 200 MovieClip in Frame 80
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L2 part 3");
}
}
Instance of Symbol 124 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 154 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 213 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 213 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 213 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 200 MovieClip in Frame 90
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L2 part 4");
}
}
Instance of Symbol 213 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 213 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 213 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 200 MovieClip in Frame 100
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L2 part 5");
}
}
Instance of Symbol 124 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 154 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 213 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 213 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 213 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 200 MovieClip in Frame 110
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 2");
}
}
Instance of Symbol 148 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 148 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 154 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 148 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 154 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 213 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 213 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 213 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 330 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 333 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 200 MovieClip in Frame 131
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L3 part 2");
}
}
Instance of Symbol 213 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 213 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 213 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 215 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 246 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 287 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 289 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 292 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 200 MovieClip in Frame 140
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L3 part 3");
}
}
Instance of Symbol 199 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 154 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 140 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 213 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 200 MovieClip in Frame 150
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L3 part 4");
}
}
Instance of Symbol 124 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 213 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 213 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 200 MovieClip in Frame 160
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L3 part 5");
}
}
Instance of Symbol 148 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 213 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 213 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 213 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 200 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 330 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 333 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 200 MovieClip in Frame 191
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L4 part 2");
}
}
Instance of Symbol 154 MovieClip in Frame 191
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 MovieClip in Frame 191
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 213 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 213 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 213 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 215 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 246 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 287 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 289 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 292 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 200 MovieClip in Frame 200
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L4 part 3");
}
}
Instance of Symbol 154 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 124 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 213 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 213 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 213 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 200 MovieClip in Frame 210
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L4 part 4");
}
}
Instance of Symbol 124 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 213 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 213 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 213 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 200 MovieClip in Frame 220
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L4 part 5");
}
}
Instance of Symbol 213 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 213 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 213 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 200 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 199 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 199 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 140 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 140 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 213 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 213 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 330 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 333 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 200 MovieClip in Frame 251
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L5 part 2");
}
}
Instance of Symbol 148 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 148 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 154 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 154 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 148 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 154 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 213 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 213 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 215 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 246 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 287 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 289 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 292 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 200 MovieClip in Frame 260
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L5 part 3");
}
}
Instance of Symbol 213 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 213 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 213 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 213 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 200 MovieClip in Frame 270
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L5 part 4");
}
}
Instance of Symbol 199 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 140 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 154 MovieClip in Frame 270
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this.blood)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 213 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 213 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 213 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 200 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 199 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 124 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 213 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 213 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 200 MovieClip in Frame 290
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("End Level 5");
}
}
Instance of Symbol 213 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 213 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 213 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 213 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 213 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 213 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 213 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 330 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 333 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 200 MovieClip in Frame 311
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L6 part 2");
}
}
Instance of Symbol 215 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 246 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 287 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 289 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 292 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 200 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 200 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 200 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 200 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 330 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 333 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 200 MovieClip in Frame 371
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L7 part 2");
}
}
Instance of Symbol 215 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 246 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 287 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 289 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 292 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 200 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 200 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 200 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 200 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 330 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 333 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 200 MovieClip in Frame 431
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L8 part 2");
}
}
Instance of Symbol 215 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 246 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 287 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 289 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 292 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 200 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 200 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 200 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 200 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 330 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 333 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 200 MovieClip in Frame 491
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L9 part 2");
}
}
Instance of Symbol 215 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 246 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 287 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 289 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 292 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 200 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 200 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 200 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 200 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 330 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 333 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 200 MovieClip in Frame 551
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop("L10 part 2");
}
}
Instance of Symbol 215 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 246 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 287 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 289 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 292 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 200 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 200 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 200 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 200 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 330 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 333 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 31 MovieClip Frame 112
_root.gotoAndPlay("loader");
Symbol 36 Button
on (release) {
_root.gotoAndStop("win");
}
Symbol 42 Button
on (release) {
getURL ("http://www.ultimatearcade.com/", "_blank");
}
Symbol 49 MovieClip Frame 9
gotoAndPlay (1);
Symbol 67 MovieClip Frame 1
rnd = Math.floor(Math.random() * 12);
gotoAndStop(rnd);
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 2
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 3
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 4
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 5
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 6
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 7
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 8
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 9
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 10
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 11
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 67 MovieClip Frame 12
stop();
_parent.partmovie.partmovie2.partvalue = "cheese";
Symbol 73 MovieClip Frame 1
rnd = Math.floor(Math.random() * 90);
gotoAndPlay(rnd);
play();
Symbol 73 MovieClip Frame 2
play();
Symbol 73 MovieClip Frame 3
play();
Symbol 73 MovieClip Frame 4
play();
Symbol 73 MovieClip Frame 5
play();
Symbol 73 MovieClip Frame 6
play();
Symbol 73 MovieClip Frame 7
play();
Symbol 73 MovieClip Frame 8
play();
Symbol 73 MovieClip Frame 9
play();
Symbol 73 MovieClip Frame 10
play();
Symbol 73 MovieClip Frame 11
play();
Symbol 73 MovieClip Frame 12
play();
Symbol 73 MovieClip Frame 13
play();
Symbol 73 MovieClip Frame 14
play();
Symbol 73 MovieClip Frame 15
play();
Symbol 73 MovieClip Frame 16
play();
Symbol 73 MovieClip Frame 17
play();
Symbol 73 MovieClip Frame 18
play();
Symbol 73 MovieClip Frame 19
play();
Symbol 73 MovieClip Frame 20
play();
Symbol 73 MovieClip Frame 21
play();
Symbol 73 MovieClip Frame 22
play();
Symbol 73 MovieClip Frame 23
play();
Symbol 73 MovieClip Frame 24
play();
Symbol 73 MovieClip Frame 25
play();
Symbol 73 MovieClip Frame 26
play();
Symbol 73 MovieClip Frame 27
play();
Symbol 73 MovieClip Frame 28
play();
Symbol 73 MovieClip Frame 29
play();
Symbol 73 MovieClip Frame 30
play();
Symbol 73 MovieClip Frame 31
play();
Symbol 73 MovieClip Frame 32
play();
Symbol 73 MovieClip Frame 33
play();
Symbol 73 MovieClip Frame 34
play();
Symbol 73 MovieClip Frame 35
play();
Symbol 73 MovieClip Frame 36
play();
Symbol 73 MovieClip Frame 37
play();
Symbol 73 MovieClip Frame 38
play();
Symbol 73 MovieClip Frame 39
play();
Symbol 73 MovieClip Frame 40
play();
Symbol 73 MovieClip Frame 41
play();
Symbol 73 MovieClip Frame 42
play();
Symbol 73 MovieClip Frame 43
play();
Symbol 73 MovieClip Frame 44
play();
Symbol 73 MovieClip Frame 45
play();
Symbol 73 MovieClip Frame 46
play();
Symbol 73 MovieClip Frame 47
play();
Symbol 73 MovieClip Frame 48
play();
Symbol 73 MovieClip Frame 49
play();
Symbol 73 MovieClip Frame 50
play();
Symbol 73 MovieClip Frame 51
play();
Symbol 73 MovieClip Frame 52
play();
Symbol 73 MovieClip Frame 53
play();
Symbol 73 MovieClip Frame 54
play();
Symbol 73 MovieClip Frame 55
play();
Symbol 73 MovieClip Frame 56
play();
Symbol 73 MovieClip Frame 57
play();
Symbol 73 MovieClip Frame 58
play();
Symbol 73 MovieClip Frame 59
play();
Symbol 73 MovieClip Frame 60
play();
Symbol 73 MovieClip Frame 61
play();
Symbol 73 MovieClip Frame 62
play();
Symbol 73 MovieClip Frame 63
play();
Symbol 73 MovieClip Frame 64
play();
Symbol 73 MovieClip Frame 65
play();
Symbol 73 MovieClip Frame 66
play();
Symbol 73 MovieClip Frame 67
play();
Symbol 73 MovieClip Frame 68
play();
Symbol 73 MovieClip Frame 69
play();
Symbol 73 MovieClip Frame 70
play();
Symbol 73 MovieClip Frame 71
play();
Symbol 73 MovieClip Frame 72
play();
Symbol 73 MovieClip Frame 73
play();
Symbol 73 MovieClip Frame 74
play();
Symbol 73 MovieClip Frame 75
play();
Symbol 73 MovieClip Frame 76
play();
Symbol 73 MovieClip Frame 77
play();
Symbol 73 MovieClip Frame 78
play();
Symbol 73 MovieClip Frame 79
play();
Symbol 83 MovieClip Frame 1
stop();
Instance of Symbol 73 MovieClip in Symbol 83 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 83 MovieClip Frame 2
play();
Symbol 83 MovieClip Frame 17
_root.eat = 1;
gotoAndStop (1);
Symbol 83 MovieClip Frame 18
play();
if (_root.alive == "no") {
_root.hero.gotoAndStop("dead");
}
Symbol 83 MovieClip Frame 25
_root.pain = 1;
gotoAndStop (1);
Symbol 91 Button
on (release) {
_root.gotoAndStop("level1");
}
on (rollOver) {
one.gotoAndPlay(2);
}
on (rollOut) {
one.gotoAndStop(1);
}
Symbol 97 Button
on (release) {
_root.rules._visible = 1;
}
on (rollOver) {
two.gotoAndPlay(2);
}
on (rollOut) {
two.gotoAndStop(1);
}
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 10
gotoAndPlay (2);
Symbol 102 MovieClip Frame 1
stop();
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 123 MovieClip Frame 1
rnd = Math.floor(Math.random() * 12);
gotoAndStop(rnd);
stop();
stop();
Symbol 123 MovieClip Frame 2
stop();
Symbol 123 MovieClip Frame 3
stop();
Symbol 123 MovieClip Frame 4
stop();
Symbol 123 MovieClip Frame 5
stop();
Symbol 123 MovieClip Frame 6
stop();
Symbol 123 MovieClip Frame 7
stop();
Symbol 123 MovieClip Frame 8
stop();
Symbol 123 MovieClip Frame 9
stop();
Symbol 123 MovieClip Frame 10
stop();
Symbol 123 MovieClip Frame 11
stop();
Symbol 123 MovieClip Frame 12
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 2
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 2
stop();
Instance of Symbol 153 MovieClip "blood" in Symbol 154 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Instance of Symbol 165 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.health.nextFrame();
_root.pain = 2;
}
}
Symbol 168 MovieClip Frame 1
stop();
Symbol 175 Button
on (release) {
_root.rules._visible = 0;
_root.menu._visible = 1;
}
Symbol 178 Button
on (press) {
gotoAndPlay (2);
}
on (release) {
gotoAndStop (1);
}
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 2
_root.rules.how.prevFrame();
play();
Symbol 179 MovieClip Frame 3
gotoAndPlay (2);
Symbol 180 Button
on (press) {
gotoAndPlay (2);
}
on (release) {
gotoAndStop (1);
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
_root.rules.how.nextFrame();
play();
Symbol 181 MovieClip Frame 3
gotoAndPlay (2);
Symbol 188 Button
on (release) {
getURL ("http://www.ultimatearcade.com/", "_blank");
}
Symbol 192 Button
on (release) {
getURL ("http://www.ultimatearcade.com/downloads/", "_blank");
}
Symbol 196 Button
on (release) {
getURL ("http://www.ultimatearcade.com/maillist/signup.html", "_blank");
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 51
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 2
_root.eat = 2;
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 29
gotoAndPlay ("go");
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 10
play();
Symbol 245 MovieClip Frame 31
stop();
Symbol 246 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 _local1 = _root;
var _local2;
var y;
_local2 = (y = 0);
if (Math.abs(horizontal) < Math.abs(_local2)) {
horizontal = _local2;
} else {
horizontal = horizontal * friction;
if (Math.abs(horizontal) < 1) {
horizontal = 0;
}
}
if (((((vertical == 0) && (_local1.hero.hitTest(_local1.mushroom))) && (_local1.hero._y == 285.25)) || (((vertical == 0) && (_local1.hero.hitTest(_local1.mushroom2))) && (_local1.hero._y == 285.25))) || (((vertical == 0) && (_local1.hero.hitTest(_local1.mushroom3))) && (_local1.hero._y == 285.25))) {
_local1.hero._y = _local1.hero._y - 100;
vertical = vforce * -1;
horizontal = horizontal + platform.velocity;
platform = null;
rising = true;
if (_local1.direction == 0) {
gotoAndStop ("jumpleft");
} else {
gotoAndStop ("jumpright");
}
}
if ((((vertical == 0) && (Key.isDown(38) == true)) and (_local1.alive == "yes")) || (((vertical == 0) && (Key.isDown(32) == true)) and (_local1.alive == "yes"))) {
vertical = vforce * -1;
horizontal = horizontal + platform.velocity;
platform = null;
rising = true;
if (_local1.direction == 0) {
gotoAndStop ("jumpleft");
} else {
gotoAndStop ("jumpright");
}
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 (_local1.direction == 0) {
gotoAndStop ("left");
} else {
gotoAndStop ("right");
}
}
}
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 246 MovieClip Frame 2
_root.direction = 1;
stop();
Symbol 246 MovieClip Frame 3
_root.direction = 0;
stop();
Symbol 246 MovieClip Frame 4
stop();
Symbol 246 MovieClip Frame 5
stop();
Symbol 246 MovieClip Frame 6
stop();
Symbol 246 MovieClip Frame 7
stop();
Symbol 246 MovieClip Frame 8
_root.shadow.gotoAndStop(2);
stop();
Symbol 250 MovieClip Frame 10
stop();
Symbol 259 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 261 MovieClip Frame 15
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
play();
Symbol 262 MovieClip Frame 10
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 4
stop();
Symbol 287 MovieClip Frame 7
stop();
Symbol 287 MovieClip Frame 10
stop();
Symbol 287 MovieClip Frame 13
stop();
Symbol 287 MovieClip Frame 16
stop();
Symbol 287 MovieClip Frame 19
stop();
Symbol 287 MovieClip Frame 22
stop();
Symbol 287 MovieClip Frame 25
stop();
Symbol 287 MovieClip Frame 28
stop();
Symbol 287 MovieClip Frame 31
stop();
Symbol 287 MovieClip Frame 34
stop();
Symbol 287 MovieClip Frame 37
stop();
Symbol 287 MovieClip Frame 40
stop();
Symbol 287 MovieClip Frame 43
stop();
Symbol 287 MovieClip Frame 46
stop();
Symbol 287 MovieClip Frame 49
_root.hero.gotoAndStop("dead");
_root.hero.fall.gotoAndPlay(10);
_root.alive = "no";
_root.gameover.gotoAndPlay(2);
_root.stop = "yes";
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 338 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 399 Button
on (release) {
_root.gotoAndStop("win");
}
Symbol 466 Button
on (release) {
_root.gotoAndStop("good");
}