Frame 1
music = true;
Frame 2
stop();
Instance of Symbol 40 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.music) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Frame 5
gotoAndStop (3);
Symbol 26 MovieClip Frame 1
_root.stop();
loadedbytes = _root.getBytesLoaded();
totalbytes = _root.getBytesTotal();
percentbytes = int(loadedbytes / (totalbytes / 100));
loader.gotoAndStop(percentbytes + 1);
display = percentbytes + "% loaded";
if (time == undefined) {
time = 0;
}
framerate = 24;
clock = Math.floor(time / framerate);
left = Math.floor((totalbytes - loadedbytes) / (loadedbytes / (time / framerate)));
display2 = left + " sec remaining";
display3 = clock + " sec elapsed";
Symbol 26 MovieClip Frame 2
if (loadedbytes == totalbytes) {
_root.play();
} else {
time = time + 1;
_root.stop();
gotoAndPlay (1);
}
Symbol 33 Button
on (press) {
stopAllSounds();
wipe.play();
}
Symbol 34 Button
on (press) {
if (music) {
music = false;
} else {
music = true;
}
}
Symbol 35 Button
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 40 MovieClip Frame 1
stopAllSounds();
Symbol 45 Button
on (release) {
_root.getURL("http://www.mcsmstudios.com", "_blank", "GET");
}
Symbol 48 MovieClip Frame 61
gotoAndPlay (1);
Symbol 50 Button
on (release) {
_root.getURL("http://www.mcsmstudios.com", "_blank", "GET");
}
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 23
_parent.nextFrame();
Symbol 61 MovieClip Frame 1
stop();
Instance of Symbol 58 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
mario = _parent._parent.player;
mushroom = _parent._parent.mushroom;
}
onClipEvent (enterFrame) {
if (mario.spot.hitTest(this)) {
if (mario._y < (_parent._y + 20)) {
if (Key.isDown(83)) {
if (skey) {
_parent.gotoAndPlay(2);
if (mario.speed < ((-mario.maxspeed) / 1.5)) {
mario.gravity = mario.jump * 1.2;
mario.wing = "yes";
} else if (mario.speed > (mario.maxspeed / 1.5)) {
mario.gravity = mario.jump * 1.2;
mario.wing = "yes";
} else {
mario.gravity = mario.jump;
mario.wing = false;
}
mario.air = true;
skey = false;
mario.spin = false;
if (Key.isDown(40)) {
mario.wing = "duck";
}
}
} else {
skey = true;
}
if (Key.isDown(68)) {
if (dkey) {
_parent.gotoAndPlay(4);
mario.gravity = mario.jump;
mario.spin = true;
mario.air = true;
dkey = false;
}
} else {
dkey = true;
}
if (mario.gravity >= 0) {
mario.gravity = 0;
mario._y = _parent._y;
mario.spin = false;
mario.air = false;
}
}
}
if (mushroom.hitTest(this)) {
mushroom.gravity = 0;
mushroom._y = _parent._y;
}
}
Symbol 61 MovieClip Frame 3
stop();
Symbol 68 MovieClip Frame 2
stop();
Symbol 70 MovieClip Frame 73
if (_root.game.player._x > _parent._x) {
_parent.direction = "right";
} else if (_root.game.player._x < _parent._x) {
_parent.direction = "left";
}
_parent.cond = "alive";
Symbol 77 MovieClip Frame 11
stop();
_parent.cond = "gone";
Symbol 79 MovieClip Frame 1
mario.hold = false;
Symbol 79 MovieClip Frame 3
stop();
Symbol 79 MovieClip Frame 6
gravity = -30;
Symbol 83 MovieClip Frame 1
stop();
Instance of Symbol 58 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
mario = _parent._parent.player;
}
onClipEvent (enterFrame) {
if (mario.spot.hitTest(this)) {
mario.help();
_parent.nextFrame();
}
}
Symbol 87 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
stop();
Instance of Symbol 58 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (enterFrame) {
mario = _parent._parent.player;
}
onClipEvent (enterFrame) {
if (mario.spot.hitTest(this)) {
if ((mario._y < (_parent._y + 16)) && (mario.spin)) {
if (Key.isDown(68)) {
mario.gravity = mario.jump;
} else {
mario.gravity = -18;
}
_parent.tup.play();
} else {
_parent._parent.player.hurt();
}
}
}
Symbol 96 MovieClip Frame 33
gotoAndPlay (17);
Symbol 111 MovieClip Frame 165
_parent.nextFrame();
Symbol 140 MovieClip Frame 5
_parent._parent._parent.player.kick = false;
Symbol 143 MovieClip Frame 3
stop();
Symbol 179 MovieClip Frame 5
_parent._parent._parent.player.kick = false;
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 3
_parent.deadmario._x = _x;
_parent.deadmario._y = _y;
_parent.deadmario.play();
Instance of Symbol 58 MovieClip in Symbol 190 MovieClip Frame 3
onClipEvent (load) {
timer = 120;
}
onClipEvent (enterFrame) {
timer = timer - 1;
if (timer == 0) {
stopAllSounds();
_root.wipe.play();
}
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 2
go = true;
Symbol 199 MovieClip Frame 12
gotoAndPlay (2);
Instance of Symbol 58 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
mario = _parent._parent.player;
}
onClipEvent (enterFrame) {
if (mario.spot.hitTest(this)) {
mario.help();
_parent.gotoAndStop("gone");
}
}
Symbol 200 MovieClip Frame 9
gotoAndPlay (1);
Symbol 206 MovieClip Frame 1
stop();
Instance of Symbol 58 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
mario = _parent._parent._parent.player;
}
onClipEvent (enterFrame) {
if (mario.hitTest(this)) {
if (_parent._parent.cond == "fly") {
if (mario._x < _parent._parent._x) {
if (_parent._parent.speed > 0) {
mario.speed = _parent._parent.speed * -1.3;
} else {
mario.speed = _parent._parent.speed * 1.3;
}
} else if (_parent._parent.speed < 0) {
mario.speed = _parent._parent.speed * -1.3;
} else {
mario.speed = _parent._parent.speed * 1.3;
}
} else if (mario._x < _parent._parent._x) {
mario.speed = -8;
} else {
mario.speed = 8;
}
}
}
Instance of Symbol 58 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
mario = _parent._parent._parent.player;
mecha1 = _parent._parent._parent.mecha1;
mecha2 = _parent._parent._parent.mecha2;
}
onClipEvent (enterFrame) {
if (mario.spot.hitTest(this)) {
mario.hurt();
mario.gravity = 0;
}
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Instance of Symbol 58 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
mecha1 = _parent._parent._parent.mecha1;
mecha2 = _parent._parent._parent.mecha2;
mario = _parent._parent._parent.player;
}
onClipEvent (enterFrame) {
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Symbol 209 MovieClip Frame 21
_parent.toss();
Symbol 209 MovieClip Frame 41
_parent.cond = "fly";
Symbol 216 MovieClip Frame 41
_parent.hp = _parent.hp - 1;
if (_parent.hp <= 0) {
_parent.cond = "flee";
} else {
_parent.cond = "fly";
}
Symbol 218 MovieClip Frame 102
_parent._parent.nextFrame();
Symbol 219 MovieClip Frame 1
stop();
Instance of Symbol 109 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
mario = _parent._parent.player;
mecha1 = _parent._parent.mecha1;
mecha2 = _parent._parent.mecha2;
}
onClipEvent (enterFrame) {
if (mario._x < _parent._x) {
_xscale = 100;
} else {
_xscale = -100;
}
_parent.car._xscale = _xscale;
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
_parent.cond = "hit";
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
_parent.cond = "hit";
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Instance of Symbol 209 MovieClip in Symbol 219 MovieClip Frame 2
onClipEvent (load) {
mario = _parent._parent.player;
mecha1 = _parent._parent.mecha1;
mecha2 = _parent._parent.mecha2;
}
onClipEvent (enterFrame) {
if (mario._x < _parent._x) {
_xscale = 100;
} else {
_xscale = -100;
}
_parent.car._xscale = _xscale;
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
_parent.cond = "hit";
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
_parent.cond = "hit";
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Instance of Symbol 58 MovieClip in Symbol 219 MovieClip Frame 3
onClipEvent (load) {
mario = _parent._parent.player;
}
onClipEvent (enterFrame) {
if (mario.hitTest(this)) {
if (_parent.cond == "fly") {
if (mario._x < _parent._x) {
if (_parent.speed > 0) {
mario.speed = _parent.speed * -1.3;
} else {
mario.speed = _parent.speed * 1.3;
}
} else if (_parent.speed < 0) {
mario.speed = _parent.speed * -1.3;
} else {
mario.speed = _parent.speed * 1.3;
}
} else if (mario._x < _parent._x) {
mario.speed = -8;
} else {
mario.speed = 8;
}
}
}
Instance of Symbol 58 MovieClip in Symbol 219 MovieClip Frame 3
onClipEvent (load) {
mecha1 = _parent._parent.mecha1;
mecha2 = _parent._parent.mecha2;
mario = _parent._parent.player;
}
onClipEvent (enterFrame) {
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Symbol 221 MovieClip Frame 42
_parent.frontcar._alpha = 100;
_alpha = 0;
Symbol 221 MovieClip Frame 62
fire();
stop();
Symbol 228 MovieClip Frame 9
stop();
Symbol 229 MovieClip Frame 1
stop();
Instance of Symbol 226 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
mario = _parent._parent.player;
}
onClipEvent (enterFrame) {
if (mario.spot.hitTest(this)) {
if (((mario.gravity > -2) && (mario._y < (_parent._y + 8))) && (mario.spin)) {
if (Key.isDown(68)) {
mario.gravity = mario.jump;
} else {
mario.gravity = -12;
}
_parent.tup.play();
} else {
_parent._parent.player.hurt();
}
}
}
Instance of Symbol 226 MovieClip in Symbol 229 MovieClip Frame 3
onClipEvent (enterFrame) {
mario = _parent._parent.player;
}
onClipEvent (enterFrame) {
if (mario.spot.hitTest(this)) {
if ((mario._y < (_parent._y + 8)) && (mario.spin)) {
if (Key.isDown(68)) {
mario.gravity = mario.jump;
} else {
mario.gravity = -14;
}
_parent.tup.play();
} else {
_parent._parent.player.hurt();
}
}
}
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 181
_parent.mushroom.gone = false;
_parent.mushroom.rite = false;
_parent.mushroom.gravity = -24;
_parent.mushroom._x = _x;
_parent.mushroom._y = _y;
_parent.mushroom.gotoAndStop(1);
Symbol 236 MovieClip Frame 256
_parent.nextFrame();
Symbol 237 MovieClip Frame 33
_parent.ball();
Symbol 237 MovieClip Frame 105
_parent.cond = "fly";
Symbol 238 MovieClip Frame 1
stop();
Instance of Symbol 109 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
mario = _parent._parent.player;
mecha1 = _parent._parent.mecha1;
mecha2 = _parent._parent.mecha2;
}
onClipEvent (enterFrame) {
if (mario._x < _parent._x) {
_xscale = 100;
} else {
_xscale = -100;
}
_parent.car._xscale = _xscale;
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
_parent.cond = "hit";
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
_parent.cond = "hit";
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Instance of Symbol 209 MovieClip in Symbol 238 MovieClip Frame 2
onClipEvent (load) {
mario = _parent._parent.player;
mecha1 = _parent._parent.mecha1;
mecha2 = _parent._parent.mecha2;
}
onClipEvent (enterFrame) {
if (mario._x < _parent._x) {
_xscale = 100;
} else {
_xscale = -100;
}
_parent.car._xscale = _xscale;
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
_parent.cond = "hit";
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
_parent.cond = "hit";
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Symbol 238 MovieClip Frame 3
speed = 0;
Symbol 243 MovieClip Frame 2
stopAllSounds();
Symbol 243 MovieClip Frame 21
_parent.princess();
Symbol 243 MovieClip Frame 38
flee = true;
Symbol 243 MovieClip Frame 62
gotoAndPlay (50);
Symbol 244 MovieClip Frame 1
stop();
Instance of Symbol 109 MovieClip in Symbol 244 MovieClip Frame 1
onClipEvent (load) {
mario = _parent._parent.player;
mecha1 = _parent._parent.mecha1;
mecha2 = _parent._parent.mecha2;
}
onClipEvent (enterFrame) {
if (mario._x < _parent._x) {
_xscale = 100;
} else {
_xscale = -100;
}
_parent.car._xscale = _xscale;
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
_parent.cond = "hit";
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
_parent.cond = "hit";
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Instance of Symbol 209 MovieClip in Symbol 244 MovieClip Frame 2
onClipEvent (load) {
mario = _parent._parent.player;
mecha1 = _parent._parent.mecha1;
mecha2 = _parent._parent.mecha2;
}
onClipEvent (enterFrame) {
if (mario._x < _parent._x) {
_xscale = 100;
} else {
_xscale = -100;
}
_parent.car._xscale = _xscale;
if (mecha1.hitTest(this) && (mecha1.cond == "hurt")) {
_parent.cond = "hit";
mecha1.cond = "flydeath";
mario.hold = false;
}
if (mecha2.hitTest(this) && (mecha2.cond == "hurt")) {
_parent.cond = "hit";
mecha2.cond = "flydeath";
mario.hold = false;
}
}
Instance of Symbol 243 MovieClip in Symbol 244 MovieClip Frame 4
onClipEvent (enterFrame) {
if (flee) {
_alpha = (_alpha - 0.5);
_xscale = (_xscale * 0.99);
_yscale = (_yscale * 0.99);
if (_alpha == 0) {
_parent._parent.nextFrame();
gotoAndStop (51);
}
}
}
Symbol 245 MovieClip Frame 1
stop();
Instance of Symbol 79 MovieClip "mecha2" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
function kick() {
if (Key.isDown(65) && (!mario.spin)) {
if (mario.direction == "left") {
_xscale = 100;
_x = (mario._x - 32);
} else {
_xscale = -100;
_x = (mario._x + 32);
}
gravity = 0;
_y = (mario._y - 8);
xspeed = 0;
mario.hold = true;
} else if (mario.hold && (Key.isDown(38))) {
gravity = -30;
xspeed = Math.round(mario.speed / 2) * 2;
timer = 150;
cond = "hit";
mario.kick = true;
mario.hold = false;
} else {
if (mario._x > _x) {
xspeed = -4;
} else {
xspeed = 4;
}
if (_y == 336) {
mario.kick = true;
_y = (_y - 2);
gravity = -8;
timer = 150;
cond = "hit";
}
mario.hold = false;
}
}
function look() {
if ((mario.condition != "dead") && (looktimer <= 0)) {
if ((mario._x > _x) && (mario._x < (_x + 192))) {
direction = "right";
} else if ((mario._x < _x) && (mario._x > (_x - 192))) {
direction = "left";
}
looktimer = 10;
}
}
speed = 1;
cond = "gone";
direction = "left";
gravplus = 1.8;
gravity = 0;
gravmax = 20;
mario = _parent.player;
looktimer = 0;
}
onClipEvent (enterFrame) {
if (cond == "alive") {
if (direction == "left") {
_x = (_x - speed);
_xscale = 100;
} else {
_x = (_x + speed);
_xscale = -100;
}
if ((!mario.air) && (_y == 336)) {
look();
}
looktimer = looktimer - 1;
if (mario.spot.hitTest(this)) {
if (mario.gravity > 2) {
if (mario._y < (_y - 16)) {
if (!mario.spin) {
cond = "hit";
if (Key.isDown(83)) {
mario.gravity = mario.jump;
} else {
mario.gravity = -10;
}
timer = 150;
} else {
cond = "poof";
mario.gravity = -10;
}
}
} else {
mario.hurt();
}
}
} else if (cond == "hurt") {
if (mario.spot.hitTest(this)) {
if ((mario.gravity > 0) && (mario.spin)) {
cond = "poof";
mario.gravity = -10;
} else {
kick();
}
}
} else if (cond == "flydeath") {
gotoAndStop ("flydeath");
}
gravity = gravity + gravplus;
if (gravity > gravmax) {
gravity = gravmax;
}
if (_y < 336) {
_y = (_y + gravity);
} else if ((cond != "flydeath") && (cond != "gone")) {
_y = 336;
} else {
_y = (_y + gravity);
}
if (_y == 336) {
if (xspeed > 0) {
xspeed = xspeed - 2;
} else if (xspeed < 0) {
xspeed = xspeed + 2;
}
}
_x = (_x + xspeed);
if (cond == "alive") {
gotoAndStop ("walk");
} else if (cond == "hurt") {
timer = timer - 1;
if (timer < 0) {
gotoAndStop ("revive");
} else {
gotoAndStop ("hurt");
}
} else if (cond == "hit") {
gotoAndPlay ("hit");
cond = "hurt";
} else if (cond == "poof") {
gotoAndStop ("poof");
}
if (_x > 832) {
cond = "gone";
}
if (_x < -64) {
cond = "gone";
}
if (_y > 500) {
cond = "gone";
}
}
Instance of Symbol 79 MovieClip "mecha1" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
function kick() {
if (Key.isDown(65) && (!mario.spin)) {
if (mario.direction == "left") {
_xscale = 100;
_x = (mario._x - 32);
} else {
_xscale = -100;
_x = (mario._x + 32);
}
gravity = 0;
_y = (mario._y - 8);
xspeed = 0;
mario.hold = true;
} else if (mario.hold && (Key.isDown(38))) {
gravity = -30;
xspeed = Math.round(mario.speed / 2) * 2;
timer = 150;
cond = "hit";
mario.kick = true;
mario.hold = false;
} else {
if (mario._x > _x) {
xspeed = -4;
} else {
xspeed = 4;
}
if (_y == 336) {
mario.kick = true;
_y = (_y - 2);
gravity = -8;
timer = 150;
cond = "hit";
}
mario.hold = false;
}
}
function look() {
if ((mario.condition != "dead") && (looktimer <= 0)) {
if ((mario._x > _x) && (mario._x < (_x + 192))) {
direction = "right";
} else if ((mario._x < _x) && (mario._x > (_x - 192))) {
direction = "left";
}
looktimer = 10;
}
}
speed = 1;
cond = "gone";
direction = "left";
gravplus = 1.8;
gravity = 0;
gravmax = 20;
mario = _parent.player;
looktimer = 0;
}
onClipEvent (enterFrame) {
if (_parent.mecha2.hitTest(this)) {
if ((mario.hold && (cond != "flydeath")) && (_parent.mecha2.cond != "flydeath")) {
cond = "flydeath";
_parent.mecha2.cond = "flydeath";
mario.hold = false;
}
if ((xspeed != 0) && (cond == "hurt")) {
_parent.mecha2.cond = "flydeath";
} else if ((_y < 336) && (cond == "hurt")) {
_parent.mecha2.cond = "flydeath";
}
if ((_parent.mecha2.xspeed != 0) && (_parent.mecha2.cond == "hurt")) {
cond = "flydeath";
} else if ((_parent.mecha2._y < 336) && (_parent.mecha2.cond == "hurt")) {
cond = "flydeath";
}
}
if (cond == "alive") {
if (direction == "left") {
_x = (_x - speed);
_xscale = 100;
} else {
_x = (_x + speed);
_xscale = -100;
}
if ((!mario.air) && (_y == 336)) {
look();
}
looktimer = looktimer - 1;
if (mario.spot.hitTest(this)) {
if (mario.gravity > 2) {
if (mario._y < (_y - 16)) {
if (!mario.spin) {
cond = "hit";
if (Key.isDown(83)) {
mario.gravity = mario.jump;
} else {
mario.gravity = -10;
}
timer = 150;
} else {
cond = "poof";
mario.gravity = -10;
}
}
} else {
mario.hurt();
}
}
} else if (cond == "hurt") {
if (mario.spot.hitTest(this)) {
if ((mario.gravity > 0) && (mario.spin)) {
cond = "poof";
mario.gravity = -10;
} else {
kick();
}
}
} else if (cond == "flydeath") {
gotoAndStop ("flydeath");
}
gravity = gravity + gravplus;
if (gravity > gravmax) {
gravity = gravmax;
}
if (_y < 336) {
_y = (_y + gravity);
} else if ((cond != "flydeath") && (cond != "gone")) {
_y = 336;
} else {
_y = (_y + gravity);
}
if (_y == 336) {
if (xspeed > 0) {
xspeed = xspeed - 2;
} else if (xspeed < 0) {
xspeed = xspeed + 2;
}
}
_x = (_x + xspeed);
if (cond == "alive") {
gotoAndStop ("walk");
} else if (cond == "hurt") {
timer = timer - 1;
if (timer < 0) {
gotoAndStop ("revive");
} else {
gotoAndStop ("hurt");
}
} else if (cond == "hit") {
gotoAndPlay ("hit");
cond = "hurt";
} else if (cond == "poof") {
gotoAndStop ("poof");
}
if (_x > 832) {
cond = "gone";
}
if (_x < -64) {
cond = "gone";
}
if (_y > 500) {
cond = "gone";
}
}
Instance of Symbol 83 MovieClip "mushroom" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
gravity = 0;
gravplus = 2;
gravmax = 20;
speed = 5;
}
onClipEvent (enterFrame) {
gravity = gravity + gravplus;
if (gravity > gravmax) {
gravity = gravmax;
}
_y = (_y + gravity);
if (rite) {
_x = (_x + speed);
} else {
_x = (_x - speed);
}
if (_y > 430) {
gone = true;
} else if (_x < -64) {
gone = true;
}
if (gone) {
gotoAndStop ("gone");
}
}
Instance of Symbol 96 MovieClip "ball" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
gravity = 0;
plusgrav = 2;
left = false;
}
onClipEvent (enterFrame) {
if (_y < 336) {
gravity = gravity + plusgrav;
_y = (_y + gravity);
}
if (((_y >= 336) && (_x > -200)) && (_x < 1000)) {
_y = 336;
play();
if (left) {
_xscale = -100;
_x = (_x - 3);
} else {
_xscale = 100;
_x = (_x + 3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 98 MovieClip "peach" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
gravity = 0;
plusgrav = 0.5;
}
onClipEvent (enterFrame) {
if (fall) {
if (_y < 336) {
gravity = gravity + plusgrav;
_y = (_y + gravity);
}
if (_y >= 336) {
_y = 336;
}
}
if (_parent.player._x < _x) {
_xscale = 100;
} else {
_xscale = -100;
}
}
Instance of Symbol 190 MovieClip "player" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
function speedDecay() {
if (air == false) {
if (speed > 1) {
speed = speed - (accl * 2);
} else if (speed < -1) {
speed = speed + (accl * 2);
} else {
speed = 0;
}
}
}
function runFast() {
if (Key.isDown(65)) {
if (speed > maxspeed) {
speed = maxspeed;
} else if (speed < (-maxspeed)) {
speed = -maxspeed;
}
} else if (speed > (maxspeed / 2)) {
speed = maxspeed / 2;
} else if (speed < ((-maxspeed) / 2)) {
speed = (-maxspeed) / 2;
}
}
function hurt() {
if (condition == "big") {
sizechange = "shrink";
changetime = 12;
_parent.brick.play();
condition = "tween";
} else if (condition == "small") {
stopAllSounds();
gotoAndStop (3);
condition = "dead";
}
}
function help() {
if (condition == "small") {
sizechange = "grow";
changetime = 12;
condition = "tween";
} else if (condition == "big") {
_parent.box.hold = true;
} else if (condition == "tween") {
sizechange = "grow";
changetime = 12;
condition = "tween";
}
}
speed = 0;
gravity = 0;
air = true;
direction = "right";
condition = "big";
timer = 1;
accl = 0.5;
maxspeed = 16;
gravplus = 1.8;
jump = -23;
gravmax = 20;
}
onClipEvent (enterFrame) {
turn = false;
duck = false;
if (condition != "dead") {
if (Key.isDown(40) && (!air)) {
duck = true;
speedDecay();
} else if (Key.isDown(37)) {
direction = "left";
if (speed <= 0) {
speed = speed - accl;
} else {
speed = speed - (accl * 2);
turn = true;
}
runFast();
} else if (Key.isDown(39)) {
direction = "right";
if (speed >= 0) {
speed = speed + accl;
} else {
speed = speed + (accl * 2);
turn = true;
}
runFast();
} else {
speedDecay();
}
_x = (_x + speed);
if (gravity < -2) {
if (Key.isDown(83)) {
gravity = gravity + gravplus;
} else if (Key.isDown(68)) {
gravity = gravity + gravplus;
} else {
gravity = gravity + (gravplus * 2);
}
} else {
gravity = gravity + gravplus;
}
if (gravity > gravmax) {
gravity = gravmax;
}
if (gravity >= 5) {
air = true;
}
_y = (_y + gravity);
if (direction == "left") {
_xscale = -100;
} else {
_xscale = 100;
}
if (_x < 16) {
_x = 16;
speedDecay();
} else if (_x > 752) {
_x = 752;
speedDecay();
}
}
if (sizechange == "shrink") {
timer = timer - 1;
if (timer == 0) {
if (_currentframe == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
timer = 3;
changetime = changetime - 1;
}
if (changetime == 0) {
condition = "small";
sizechange = "static";
_parent.box.drop();
gotoAndStop (2);
}
} else if (sizechange == "grow") {
timer = timer - 1;
if (timer == 0) {
if (_currentframe == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
timer = 3;
changetime = changetime - 1;
}
if (changetime == 0) {
condition = "big";
sizechange = "static";
gotoAndStop (1);
}
}
if (hold) {
if (air) {
mario.gotoAndStop("hjump");
} else if (speed > 0) {
if (speed <= (maxspeed / 3)) {
mario.gotoAndStop("hwalk");
} else {
mario.gotoAndStop("hrun");
}
} else if (speed < 0) {
if (speed >= ((-maxspeed) / 3)) {
mario.gotoAndStop("hwalk");
} else {
mario.gotoAndStop("hrun");
}
} else if (Key.isDown(38)) {
mario.gotoAndStop("hup");
} else {
mario.gotoAndStop("hstand");
}
} else if (kick) {
mario.gotoAndStop("kick");
} else if (air == false) {
if (duck) {
mario.gotoAndStop("duck");
} else if (turn) {
mario.gotoAndStop("turn");
} else if (speed > 0) {
if (speed <= (maxspeed / 3)) {
mario.gotoAndStop("run4");
} else if (speed <= (maxspeed / 1.5)) {
mario.gotoAndStop("run8");
} else {
mario.gotoAndStop("run12");
}
} else if (speed < 0) {
if (speed >= ((-maxspeed) / 3)) {
mario.gotoAndStop("run4");
} else if (speed >= ((-maxspeed) / 1.5)) {
mario.gotoAndStop("run8");
} else {
mario.gotoAndStop("run12");
}
} else if (Key.isDown(38)) {
mario.gotoAndStop("lookup");
} else {
mario.gotoAndStop("stand");
}
} else if (spin) {
mario.gotoAndStop("spinjump");
} else if (direction == "right") {
if (!wing) {
if (gravity < -2) {
mario.gotoAndStop("jump8");
} else {
mario.gotoAndStop("fall");
}
} else if (wing == "yes") {
mario.gotoAndStop("jump12");
} else {
mario.gotoAndStop("duck2");
}
} else if (direction == "left") {
if (!wing) {
if (gravity < -2) {
mario.gotoAndStop("jump8");
} else {
mario.gotoAndStop("fall");
}
} else if (wing == "yes") {
mario.gotoAndStop("jump12");
} else {
mario.gotoAndStop("duck2");
}
}
}
Instance of Symbol 199 MovieClip "deadmario" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
go = false;
gravity = -30;
plusgrav = 2;
}
onClipEvent (enterFrame) {
if (go) {
gravity = gravity + plusgrav;
_y = (_y + gravity);
if (_y > 800) {
_root.lose();
}
}
}
Instance of Symbol 200 MovieClip "dropshroom" in Symbol 245 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_y < 450) {
_y = (_y + 3);
} else {
gotoAndStop ("none");
}
}
Instance of Symbol 206 MovieClip "box" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
function drop() {
if (hold) {
_parent.dropshroom.gotoAndPlay(1);
_parent.dropshroom._x = _x;
_parent.dropshroom._y = _y;
hold = false;
}
}
}
onClipEvent (enterFrame) {
_parent._x = 6 - ((_parent.player._x * 218) / 736);
_x = ((-_parent._x) + 275);
if (hold) {
gotoAndStop (2);
} else if (hold == false) {
gotoAndStop (3);
}
}
Instance of Symbol 219 MovieClip in Symbol 245 MovieClip Frame 2
onClipEvent (load) {
function toss() {
if (_parent.mecha1.cond == "gone") {
_parent.mecha1.direction = "left";
_parent.mecha1.gravity = -30;
_parent.mecha1._x = _x;
_parent.mecha1._y = _y;
_parent.mecha1.xspeed = -2;
_parent.mecha1.cond = "alive";
}
if (_parent.mecha2.cond == "gone") {
_parent.mecha2.direction = "right";
_parent.mecha2.gravity = -30;
_parent.mecha2._x = _x;
_parent.mecha2._y = _y;
_parent.mecha2.xspeed = 2;
_parent.mecha2.cond = "alive";
}
}
left = true;
speed = 0;
maxspeed = 12;
accl = 0.5;
mechatimer = 100;
cond = "fly";
hp = 2;
}
onClipEvent (enterFrame) {
formx = _x - 384;
_y = (192 - Math.pow(formx / 35, 2));
if (cond == "fly") {
if (left) {
if (formx > -144) {
speed = speed - accl;
} else {
left = false;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
} else {
if (formx < 144) {
speed = speed + accl;
} else {
left = true;
}
if (speed > maxspeed) {
speed = maxspeed;
}
}
_x = (_x + speed);
mechatimer = mechatimer - 1;
if (mechatimer <= 0) {
if (_parent.mecha1.cond == "gone") {
cond = "throw";
} else if (_parent.mecha2.cond == "gone") {
cond = "throw";
}
mechatimer = 240 + (Math.random() * 60);
}
}
if (cond == "fly") {
gotoAndStop (1);
} else if (cond == "throw") {
gotoAndStop (2);
} else if (cond == "hit") {
gotoAndStop (3);
} else if (cond == "flee") {
gotoAndStop (4);
}
}
Instance of Symbol 229 MovieClip "fire1" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire2.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire2" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire3.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire3" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire4.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire4" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire5.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
_parent.bowser.play();
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire5" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire6.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire6" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire7.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire7" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire8.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire8" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire9.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire9" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire10.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire10" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire11.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire11" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire12.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire12" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 221 MovieClip "frontcar" in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
function fire() {
_parent.fire1._x = (Math.floor(_parent.player._x / 32) * 32) + 16;
_parent.fire2._x = _parent.fire1._x + 64;
_parent.fire3._x = _parent.fire2._x + 64;
_parent.fire4._x = _parent.fire3._x + 64;
_parent.fire5._x = _parent.fire4._x + 64;
_parent.fire6._x = _parent.fire5._x + 64;
_parent.fire7._x = _parent.fire6._x + 64;
_parent.fire8._x = _parent.fire7._x + 64;
_parent.fire9._x = _parent.fire8._x + 64;
_parent.fire10._x = _parent.fire9._x + 64;
_parent.fire11._x = _parent.fire10._x + 64;
_parent.fire12._x = _parent.fire11._x + 64;
_parent.fire1.fall = true;
}
_x = _parent.player._x;
_parent.backcar._x = _parent.player._x;
}
Instance of Symbol 238 MovieClip in Symbol 245 MovieClip Frame 4
onClipEvent (load) {
function toss() {
if (_parent.mecha1.cond == "gone") {
_parent.mecha1.direction = "left";
_parent.mecha1.gravity = -30;
_parent.mecha1._x = _x;
_parent.mecha1._y = _y;
_parent.mecha1.xspeed = -2;
_parent.mecha1.cond = "alive";
}
if (_parent.mecha2.cond == "gone") {
_parent.mecha2.direction = "right";
_parent.mecha2.gravity = -30;
_parent.mecha2._x = _x;
_parent.mecha2._y = _y;
_parent.mecha2.xspeed = 2;
_parent.mecha2.cond = "alive";
}
}
function ball() {
if (mario._x > _x) {
_parent.ball.left = false;
} else {
_parent.ball.left = true;
}
_parent.ball.gravity = 0;
_parent.ball._x = _x;
_parent.ball._y = _y + 100;
}
speed = 0;
maxspeed = 12;
accl = 0.5;
mechatimer = 100;
cond = "fly";
hp = 2;
mario = _parent.player;
bob = 0;
maxbob = 3;
throwstage = 1;
}
onClipEvent (enterFrame) {
if (cond == "fly") {
if (mario._x > _x) {
speed = speed + accl;
} else {
speed = speed - accl;
}
if (speed > maxspeed) {
speed = maxspeed;
} else if (speed < (-maxspeed)) {
speed = -maxspeed;
}
_x = (_x + speed);
if (up) {
bob = bob - 0.5;
} else {
bob = bob + 0.5;
}
if (bob == maxbob) {
up = true;
} else if (bob == (-maxbob)) {
up = false;
}
_y = (_y + bob);
mechatimer = mechatimer - 1;
if (mechatimer <= 0) {
if (throwstage == 1) {
cond = "ball";
throwstage = 2;
mechatimer = 270;
} else if (throwstage == 2) {
cond = "ball";
throwstage = 3;
mechatimer = 180;
} else {
if (_parent.mecha1.cond == "gone") {
cond = "throw";
} else if (_parent.mecha2.cond == "gone") {
cond = "throw";
}
throwstage = 1;
mechatimer = 420;
}
}
}
if (cond == "fly") {
gotoAndStop (1);
} else if (cond == "throw") {
gotoAndStop (2);
} else if (cond == "ball") {
gotoAndStop (3);
} else if (cond == "hit") {
gotoAndStop (4);
} else if (cond == "flee") {
gotoAndStop (5);
}
}
Instance of Symbol 229 MovieClip "fire1" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire2.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire2" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire3.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire3" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire4.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire4" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire5.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
_parent.bowser.play();
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire5" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire6.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire6" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire7.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire7" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire8.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire8" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire9.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire9" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire10.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire10" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire11.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire11" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer == 190) {
_parent.fire12.fall = true;
} else if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 229 MovieClip "fire12" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
fall = false;
timer = 220;
}
onClipEvent (enterFrame) {
if (fall && (_y < 336)) {
_y = (_y + 4);
if (_currentframe == 1) {
gotoAndStop (3);
}
}
if (fall) {
timer = timer - 1;
}
if (timer <= 0) {
gotoAndStop (4);
}
if (_x > 768) {
_x = (_x - 768);
}
}
Instance of Symbol 221 MovieClip "frontcar" in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
function fire() {
_parent.fire1._x = (Math.floor(_parent.player._x / 32) * 32) + 16;
_parent.fire2._x = _parent.fire1._x + 64;
_parent.fire3._x = _parent.fire2._x + 64;
_parent.fire4._x = _parent.fire3._x + 64;
_parent.fire5._x = _parent.fire4._x + 64;
_parent.fire6._x = _parent.fire5._x + 64;
_parent.fire7._x = _parent.fire6._x + 64;
_parent.fire8._x = _parent.fire7._x + 64;
_parent.fire9._x = _parent.fire8._x + 64;
_parent.fire10._x = _parent.fire9._x + 64;
_parent.fire11._x = _parent.fire10._x + 64;
_parent.fire12._x = _parent.fire11._x + 64;
_parent.fire1.fall = true;
}
_x = _parent.player._x;
_parent.backcar._x = _parent.player._x;
}
Instance of Symbol 244 MovieClip in Symbol 245 MovieClip Frame 6
onClipEvent (load) {
function toss() {
if (_parent.mecha1.cond == "gone") {
_parent.mecha1.direction = "left";
_parent.mecha1.gravity = -30;
_parent.mecha1._x = _x;
_parent.mecha1._y = _y;
_parent.mecha1.xspeed = -2;
_parent.mecha1.cond = "alive";
}
if (_parent.mecha2.cond == "gone") {
_parent.mecha2.direction = "right";
_parent.mecha2.gravity = -30;
_parent.mecha2._x = _x;
_parent.mecha2._y = _y;
_parent.mecha2.xspeed = 2;
_parent.mecha2.cond = "alive";
}
}
function princess() {
if (_parent.mecha1.cond != "gone") {
_parent.mecha1.cond = "poof";
}
if (_parent.mecha2.cond != "gone") {
_parent.mecha2.cond = "poof";
}
_parent.peach.fall = true;
_parent.peach._x = _x;
_parent.peach._y = _y + 100;
}
speed = 0;
maxspeed = 4;
mechatimer = 300;
cond = "fly";
hp = 2;
gravity = -4;
gravplus = 1;
mario = _parent.player;
}
onClipEvent (enterFrame) {
if (cond == "fly") {
_x = (_x + speed);
gravity = gravity + gravplus;
if (_y > 260) {
gravity = -20;
_parent.ball.gotoAndPlay(2);
if (mario._x > _x) {
speed = maxspeed;
} else {
speed = -maxspeed;
}
}
_y = (_y + gravity);
mechatimer = mechatimer - 1;
if (mechatimer <= 0) {
if (_parent.mecha1.cond == "gone") {
cond = "throw";
} else if (_parent.mecha2.cond == "gone") {
cond = "throw";
}
mechatimer = 270;
}
}
if (cond == "fly") {
gotoAndStop (1);
} else if (cond == "throw") {
gotoAndStop (2);
} else if (cond == "hit") {
gotoAndStop (3);
} else if (cond == "flee") {
gotoAndStop (4);
}
}
Symbol 245 MovieClip Frame 7
_root.kiss.play();
Symbol 249 MovieClip Frame 1
if (_root.music) {
play();
} else {
stop();
}
Symbol 249 MovieClip Frame 15
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 257
_root.gotoAndStop(2);
Symbol 258 Button
on (press) {
gotoAndStop (2);
}
Symbol 259 Button
on (press) {
_root.wipe.play();
}