Frame 1
stop();
Frame 2
stop();
_root._quality = "low";
frame_counter = 0;
timer = 0;
score = 0;
lifes = 4;
Frame 3
stop();
_root._quality = "low";
Frame 4
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 4;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 5
_root._quality = "low";
stop();
Frame 6
play();
Frame 7
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 6;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 7
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 8
play();
Frame 9
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 8;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 9
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 10
play();
Frame 11
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 10;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 11
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 12
play();
Frame 13
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 12;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 13
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 14
play();
Frame 15
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 14;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 15
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 16
play();
Frame 17
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 16;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 17
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 18
play();
Frame 19
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 18;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 19
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 20
play();
Frame 21
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 20;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 21
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Frame 22
play();
Frame 23
function heroMovement() {
if (Key.isDown(37)) {
_root.hero._xscale = -100;
_root.hero.gotoAndStop(2);
dir = "left";
h._x = h._x - xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
}
}
if (Key.isDown(39)) {
_root.hero.gotoAndStop(2);
_root.hero._xscale = 100;
dir = "right";
h._x = h._x + xSpeed;
if (jumping == true) {
_root.hero.gotoAndStop(3);
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
}
}
}
function sideTopHitTest() {
i = 0;
while (i < 1) {
if ((((ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmin, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x + xSpeed;
}
if ((((ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + hb.ymin, true) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 10, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 20, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) - 30, true))) || (ps.hitTest((h._x + x) + hb.xmax, (h._y + y) + (hb.ymax - buffer), true))) {
h._x = h._x - xSpeed;
}
if (ps.hitTest((h._x + x) + (hb.xmin + 1), (h._y + y) + (hb.ymin - 2), true) || (ps.hitTest((h._x + x) + (hb.xmax - 1), (h._y + y) + (hb.ymin - 2), true))) {
velY = 4;
xSpeed = -0.2;
}
if ((h._x - (h._width / 2)) <= 0) {
h._x = h._width / 2;
} else if ((h._x + (h._width / 2)) >= 450) {
h._x = 450 - (h._width / 2);
}
i++;
}
}
function jump() {
i = 0;
while (i < 1) {
if ((ps.hitTest((h._x + x) + hb.xmin, h._y + 1.5, true) || (ps.hitTest(h._x, h._y + 1.5, true))) || (ps.hitTest((h._x + x) + hb.xmax, h._y + 1.5, true))) {
velY = 0;
jumping = false;
} else {
jumping = true;
}
if (Key.isDown(38) && (jumping == false)) {
velY = jumpingAmount;
jumping = true;
}
if (jumping == true) {
_root.hero.gotoAndStop(3);
h._y = h._y + (velY++);
}
if (velY > maxVelY) {
velY = maxVelY;
}
i++;
}
}
_root._quality = "low";
frame_counter = 22;
stageWidth = 100;
xSpeed = 23.7;
dir = "still";
maxVelY = 11;
buffer = 15;
jumpingAmount = -16;
velY = jumpingAmount;
jumping = false;
h = _root.hero;
hb = h.getBounds();
ySpeed = 1;
scrollSpeed = 3;
psvMin = 80;
psvMax = 160;
psv1Min = 134;
psv1Max = 200;
p = _root.platform;
ps = _root.platform.solid;
psv = _root.platform.solid.vPlatform;
psv1 = _root.platform.solid.vPlatform1;
bScrollSpeed = xSpeed / 3.75;
b = _root.backdrop;
this.onEnterFrame = function () {
h.gotoAndStop("still");
while (ps.hitTest(h._x + hb.xmin, h._y - 2, true) || (ps.hitTest(h._x + hb.xmax, h._y - 2, true))) {
h._y--;
}
if (ps.hitTest((h._x + x) + hb.xmin, h._y + buffer, true) && (ps.hitTest((h._x + x) + hb.xmax, h._y + buffer, true))) {
h._y++;
}
if (Key.isDown(40) && (jumping == false)) {
dir = "duck";
h.gotoAndStop("duck");
jumping = false;
xSpeed = 0;
} else if (Key.isDown(16)) {
xSpeed = 8;
} else {
xSpeed = 6;
}
heroMovement();
jump();
sideTopHitTest();
i = 0;
while (i < 2) {
if (h.hitTest(p["gold" + i])) {
score = score + 10;
p["gold" + i].gotoAndStop(2);
}
i++;
}
if ((h._x >= 300) && (p._x >= (-(p._width - stageWidth)))) {
h._x = 299;
p._x = p._x - xSpeed;
b._x = b._x - bScrollSpeed;
}
if ((h._x <= 150) && (p._x <= 0)) {
h._x = 151;
p._x = p._x + xSpeed;
b._x = b._x + bScrollSpeed;
}
psv._y = psv._y + ySpeed;
psv1._y = psv1._y + ySpeed;
if ((psv._y <= psvMin) || (psv1._y <= psv1Min)) {
ySpeed = ySpeed * -1;
}
if ((psv._y >= psvMax) || (psv1._y >= psv1Max)) {
ySpeed = ySpeed * -1;
}
};
stop();
Instance of Symbol 89 MovieClip "mariodie" in Frame 23
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.hero._x;
this._y = _root.hero._y;
}
Instance of Symbol 180 MovieClip "finished" in Frame 23
onClipEvent (enterFrame) {
if (_root.coins >= 56) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 24
stopAllSounds();
stop();
score = 0;
Symbol 7 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 7 MovieClip Frame 2
gotoAndPlay (1);
Symbol 7 MovieClip Frame 3
_root.play();
Symbol 24 Button
on (keyPress "<Space>") {
nextFrame();
}
Instance of Symbol 37 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 42 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
play();
_root.score = _root.score + 1;
Symbol 48 MovieClip Frame 3
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 426
_root.gotoAndPlay(6);
Instance of Symbol 48 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 59 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 58 MovieClip "mariowin" in Symbol 59 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Symbol 61 MovieClip Frame 50
_root.watch.nextFrame();
Symbol 63 MovieClip Frame 12
if (!Key.isDown(_root.RIGHT)) {
_parent.gotoAndStop(1);
} else if (!Key.isDown(_root.LEFT)) {
_parent.gotoAndStop(1);
}
Symbol 66 MovieClip Frame 2
_root.hero.gotoAndStop(1);
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 3
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Symbol 80 MovieClip Frame 3
stop();
Symbol 80 MovieClip Frame 4
stop();
Symbol 80 MovieClip Frame 5
stop();
Symbol 80 MovieClip Frame 6
stop();
Symbol 80 MovieClip Frame 7
stop();
Symbol 80 MovieClip Frame 8
stop();
Symbol 80 MovieClip Frame 9
stop();
Symbol 80 MovieClip Frame 10
stop();
Symbol 80 MovieClip Frame 11
stopAllSounds();
_root.mariodie.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 192
_root.lifes = _root.lifes - 1;
_root.gotoAndPlay(24);
Symbol 96 MovieClip Frame 805
_root.gotoAndPlay(1);
Instance of Symbol 37 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 101 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 425
_root.nextFrame();
Instance of Symbol 48 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "mariowin" in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 37 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 114 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Instance of Symbol 48 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "mariowin" in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 37 MovieClip in Symbol 121 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 121 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "mariowin" in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 37 MovieClip in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 128 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Instance of Symbol 107 MovieClip "mariowin" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Instance of Symbol 37 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Instance of Symbol 137 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "mariowin" in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 37 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Instance of Symbol 137 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "mariowin" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 37 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 158 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "mariowin" in Symbol 158 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 37 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 40 MovieClip "peach" in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.platform.peachwin._visible = true;
_root.clocktimer.stop();
_root.hero._visible = false;
_root.platform.mariowin._visible = true;
_root.platform.mariowin.gotoAndPlay(2);
_root.heroMovement = false;
_root.jump = false;
this._alpha = 0;
this._x = 1500;
}
}
onClipEvent (load) {
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 137 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
stopAllSounds();
this.gotoAndPlay(2);
_root.mariodie._visible = true;
_root.heroMovement = false;
_root.jump = false;
_root.hero._visible = false;
_root.clocktimer.stop();
_root.mariodie.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip "peachwin" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "mariowin" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 48 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Instance of Symbol 48 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.nextFrame();
}
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 191 MovieClip Frame 154
stop();
Instance of Symbol 190 MovieClip in Symbol 191 MovieClip Frame 154
onClipEvent (enterFrame) {
if (_root.lifes <= 0) {
_root.gotoAndPlay(5);
} else {
_root.score = 0;
_root.gotoAndStop(_root.frame_counter);
}
}