Frame 1
_accProps = new Object();
_accProps.silent = true;
Stage.showMenu = false;
Frame 2
var _quality = "high";
Frame 191
gotoAndPlay (2);
Frame 192
stop();
Frame 193
stop();
Frame 194
stop();
Frame 195
stop();
Frame 196
stop();
Frame 197
stop();
Frame 198
stop();
Frame 199
stop();
Frame 200
stop();
Frame 201
stop();
Frame 202
stop();
Frame 203
var _quality = "low";
Instance of Symbol 130 MovieClip [spiny] "spiny" in Frame 203
/* no clip actions */
Instance of Symbol 302 MovieClip "vars" in Frame 203
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 203
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 203
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 1;
_root.marioLife = 3;
_root.luigiLife = 3;
_root.oldTime = 0;
_root.score = 0;
_root.lscore = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.bg.gotoAndStop(2);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer == 440) {
_root.attachMovie("FireballForm", "Form", 299);
_root.Form._x = 540;
_root.Form._y = 390;
}
if (phaseTimer == 500) {
_root.attachMovie("Fireball", "Fireball", 300);
_root.Fireball._x = 540;
_root.Fireball._y = 390;
_root.Fireball.direction = 2;
_root.Fireball.hitInside = 0;
}
if (phaseTimer == 540) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 380;
}
if (phaseTimer == 600) {
_root.attachMovie("HurricaneS", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 385;
}
if (phaseTimer == 640) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 553;
_root.HForm._y = 200;
}
if (phaseTimer == 700) {
_root.attachMovie("HurricaneS", "Hurricane", 320);
_root.Hurricane._x = 553;
_root.Hurricane._y = 200;
_root.Hurricane._rotation = 180;
}
if (phaseTimer == 840) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 125;
}
if (phaseTimer == 900) {
_root.attachMovie("HurricaneS", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 130;
}
if (phaseTimer == 100) {
_root.attachMovie("spiny", "spiny1", 301);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1._height = 25.9;
_root.spiny1._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 101) {
_root.spiny1.direct = 1;
}
if (phaseTimer == 200) {
_root.attachMovie("spiny", "spiny2", 311);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2._height = 25.9;
_root.spiny2._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (_root.deadCount == 2) {
_root.spiny.life = 3;
_root.spiny1.life = 3;
_root.spiny2.life = 3;
}
if (_root.deadCount == 3) {
_root.pipeSound.gotoAndPlay("pipesound");
_root.attachMovie("spiny", "spiny3", 302);
_root.spiny3._x = 100;
_root.spiny3._y = 51;
_root.spiny3._height = 51;
_root.spiny3._width = 60;
_root.deadCount = 4;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 203
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 203
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 317 MovieClip in Frame 203
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 203
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 203
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 203
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 203
onClipEvent (load) {
_root.pow = 0;
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 203
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 204
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 6) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (205);
} else {
gotoAndPlay ("loop");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 205
var _quality = "low";
Instance of Symbol 302 MovieClip "vars" in Frame 205
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 205
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 205
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 2;
_root.oldTime = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.spiny3.removeMovieClip();
_root.bg.gotoAndStop(1);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
_root.spiny4.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
_root.spiny4.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer == 100) {
_root.attachMovie("spiny", "spiny1", 301);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1._height = 25.9;
_root.spiny1._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 101) {
_root.spiny1.direct = 1;
}
if (phaseTimer == 200) {
_root.attachMovie("spiny", "spiny2", 311);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2._height = 25.9;
_root.spiny2._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 220) {
_root.attachMovie("spiny", "spiny3", 302);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3._height = 25.9;
_root.spiny3._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 221) {
_root.spiny3.direct = 1;
}
if (phaseTimer == 440) {
_root.attachMovie("FireballForm", "Form", 299);
_root.Form._x = 540;
_root.Form._y = 390;
}
if (phaseTimer == 500) {
_root.attachMovie("Fireball", "Fireball", 300);
_root.Fireball._x = 540;
_root.Fireball._y = 390;
_root.Fireball.direction = 2;
_root.Fireball.hitInside = 0;
}
if (phaseTimer == 540) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 380;
}
if (phaseTimer == 600) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 385;
}
if (phaseTimer == 640) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 270;
}
if (phaseTimer == 700) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 275;
}
if (phaseTimer == 840) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 125;
}
if (phaseTimer == 900) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 130;
}
if (_root.deadCount == 4) {
_root.spiny.life = 3;
_root.spiny1.life = 3;
_root.spiny2.life = 3;
_root.spiny3.life = 3;
_root.spiny3.life = 3;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 205
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 205
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 389 MovieClip in Frame 205
onClipEvent (load) {
var direct = 0;
var cling = true;
}
onClipEvent (enterFrame) {
if ((direct == 0) && (cling == true)) {
this._x = this._x + 3;
} else if (cling == true) {
this._x = this._x - 3;
}
if (this._x >= 550) {
direct = 1;
this._xscale = -180;
}
if (this._x <= 350) {
direct = 0;
this._xscale = 180;
}
if (((_root.player._x >= this._x) && ((_root.player._x - this._x) <= 7)) && (_root.player._y >= this._y)) {
cling = false;
}
if (cling == false) {
this._y = this._y + 6;
}
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 130 MovieClip [spiny] "spiny" in Frame 205
/* no clip actions */
Instance of Symbol 130 MovieClip [spiny] "spiny4" in Frame 205
/* no clip actions */
Instance of Symbol 317 MovieClip in Frame 205
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
this.play(1);
_root.spiny4._x = 420;
_root.spiny4._y = 51;
_root.spiny4.direct = 1;
_root.spiny4.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 205
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
this.play(1);
_root.spiny4._x = 112;
_root.spiny4._y = 51;
_root.spiny4.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 205
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 205
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 205
onClipEvent (load) {
if (_root.pow == 1) {
this.gotoAndStop(5);
}
}
onClipEvent (load) {
if (_root.pow == 2) {
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 205
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 206
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 6) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (207);
} else {
gotoAndPlay ("loop2");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 207
var _quality = "low";
Instance of Symbol 302 MovieClip "vars" in Frame 207
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 207
/* no clip actions */
Instance of Symbol 406 MovieClip "vars3" in Frame 207
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 3;
_root.oldTime = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.spiny3.removeMovieClip();
_root.bg.gotoAndStop(1);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
_root.spiny4.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
_root.spiny4.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer == 100) {
_root.attachMovie("spiny", "spiny1", 301);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1._height = 25.9;
_root.spiny1._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 101) {
_root.spiny1.direct = 1;
}
if (phaseTimer == 200) {
_root.attachMovie("spiny", "spiny2", 311);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2._height = 25.9;
_root.spiny2._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 220) {
_root.attachMovie("spiny", "spiny3", 302);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3._height = 25.9;
_root.spiny3._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 221) {
_root.spiny3.direct = 1;
}
if (phaseTimer == 440) {
_root.attachMovie("FireballForm", "Form", 299);
_root.Form._x = 540;
_root.Form._y = 390;
}
if (phaseTimer == 500) {
_root.attachMovie("Fireball", "Fireball", 300);
_root.Fireball._x = 540;
_root.Fireball._y = 390;
_root.Fireball.direction = 2;
_root.Fireball.hitInside = 0;
}
if (phaseTimer == 540) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 380;
}
if (phaseTimer == 600) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 385;
}
if (phaseTimer == 640) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 270;
}
if (phaseTimer == 700) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 275;
}
if (phaseTimer == 840) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 543;
_root.HForm._y = 2;
}
if (phaseTimer == 900) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 543;
_root.Hurricane._y = 2;
_root.Hurricane._rotation = 180;
}
if (_root.deadCount == 4) {
_root.spiny.life = 3;
_root.spiny1.life = 3;
_root.spiny2.life = 3;
_root.spiny3.life = 3;
_root.spiny3.life = 3;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 207
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 130 MovieClip [spiny] "spiny4" in Frame 207
/* no clip actions */
Instance of Symbol 317 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
this.play(1);
_root.spiny4._x = 420;
_root.spiny4._y = 51;
_root.spiny4.direct = 1;
_root.spiny4.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
this.play(1);
_root.spiny4._x = 112;
_root.spiny4._y = 51;
_root.spiny4.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 207
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 207
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 207
onClipEvent (load) {
if (_root.pow == 1) {
this.gotoAndStop(5);
}
}
onClipEvent (load) {
if (_root.pow == 2) {
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 207
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 208
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 6) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (209);
} else {
gotoAndPlay ("loop3");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 209
var _quality = "low";
if (Key.isDown(39)) {
slide = 5;
} else if (Key.isDown(37)) {
slide = -5;
} else {
_root.player._x = _root.player._x + slide;
}
if (Key.isDown(68)) {
slidel = 5;
} else if (Key.isDown(65)) {
slidel = -5;
} else {
_root.player2._x = _root.player2._x + slidel;
}
Instance of Symbol 302 MovieClip "vars" in Frame 209
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoina.bonusCoin();
_root.bonusCoinb.bonusCoin();
_root.bonusCoinc.bonusCoin();
_root.bonusCoind.bonusCoin();
_root.bonusCoin5.bonusCoin();
_root.bonusCoin6.bonusCoin();
_root.bonusCoin7.bonusCoin();
_root.bonusCoin8.bonusCoin();
_root.bonusCoin9.bonusCoin();
_root.bonusCoin10.bonusCoin();
_root.bonusCoin11.bonusCoin();
_root.bonusCoin12.bonusCoin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 209
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 209
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 3;
_root.oldTime = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.spiny3.removeMovieClip();
_root.Collect = 0;
countDown = 18;
_root.bg.gotoAndStop(1);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
_root.spiny4.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
_root.spiny4.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer >= 21) {
phaseTimer = 0;
}
if (phaseTimer == 20) {
countDown = countDown - 1;
}
if (this._currentframe == 105) {
this.gotoAndStop(109);
}
if (_root.Collect == 12) {
_root.attachMovie("1up", "up", 20000);
_root.up._x = 220;
_root.up._y = 220;
_root.Collect = 13;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 209
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 209
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 317 MovieClip in Frame 209
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
this.play(1);
_root.spiny4._x = 420;
_root.spiny4._y = 51;
_root.spiny4.direct = 1;
_root.spiny4.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 209
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 100;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 100;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 100;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
this.play(1);
_root.spiny4._x = 100;
_root.spiny4._y = 51;
_root.spiny4.direct = 0;
_root.spiny4._x = 100;
_root.spiny4._y = 51;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 209
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 209
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 209
onClipEvent (load) {
_root.pow = 0;
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 209
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 210
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.vars3.countDown == 0) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (211);
} else {
gotoAndPlay ("loopb1");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 211
var _quality = "low";
Instance of Symbol 302 MovieClip "vars" in Frame 211
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 211
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 211
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 4;
_root.oldTime = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.spiny3.removeMovieClip();
_root.up.removeMovieClip();
_root.bg.gotoAndStop(2);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
_root.spiny4.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
_root.spiny4.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer == 100) {
_root.attachMovie("Crab", "spiny1", 301);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1._height = 25.9;
_root.spiny1._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 101) {
_root.spiny1.direct = 1;
}
if (phaseTimer == 200) {
_root.attachMovie("Crab", "spiny2", 311);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2._height = 25.9;
_root.spiny2._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 220) {
_root.attachMovie("Crab", "spiny3", 302);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3._height = 25.9;
_root.spiny3._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 221) {
_root.spiny3.direct = 1;
}
if (phaseTimer == 440) {
_root.attachMovie("FireballForm", "Form", 299);
_root.Form._x = 540;
_root.Form._y = 390;
}
if (phaseTimer == 500) {
_root.attachMovie("Fireball", "Fireball", 300);
_root.Fireball._x = 540;
_root.Fireball._y = 390;
_root.Fireball.direction = 2;
_root.Fireball.hitInside = 0;
}
if (phaseTimer == 540) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 380;
}
if (phaseTimer == 600) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 385;
}
if (phaseTimer == 640) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 270;
}
if (phaseTimer == 700) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 275;
}
if (phaseTimer == 840) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 125;
}
if (phaseTimer == 900) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 130;
}
if (_root.deadCount == 4) {
_root.spiny.life = 3;
_root.spiny1.life = 3;
_root.spiny2.life = 3;
_root.spiny3.life = 3;
_root.spiny3.life = 3;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 211
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 211
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 317 MovieClip in Frame 211
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
this.play(1);
_root.spiny4._x = 420;
_root.spiny4._y = 51;
_root.spiny4.direct = 1;
_root.spiny4.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 211
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
this.play(1);
_root.spiny4._x = 112;
_root.spiny4._y = 51;
_root.spiny4.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 211
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 211
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 211
onClipEvent (load) {
if (_root.pow == 1) {
this.gotoAndStop(5);
}
}
onClipEvent (load) {
if (_root.pow == 2) {
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 211
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 212
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 6) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (213);
} else {
gotoAndPlay ("loop4");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 213
var _quality = "low";
Instance of Symbol 302 MovieClip "vars" in Frame 213
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 213
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 213
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 5;
_root.oldTime = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.spiny3.removeMovieClip();
_root.bg.gotoAndStop(1);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.flyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
_root.spiny4.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
_root.spiny4.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer == 100) {
_root.attachMovie("spiny", "spiny1", 301);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1._height = 25.9;
_root.spiny1._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 101) {
_root.spiny1.direct = 1;
}
if (phaseTimer == 200) {
_root.attachMovie("spiny", "spiny2", 311);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2._height = 25.9;
_root.spiny2._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 220) {
_root.attachMovie("spiny", "spiny3", 302);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3._height = 25.9;
_root.spiny3._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 221) {
_root.spiny3.direct = 1;
}
if (phaseTimer == 440) {
_root.attachMovie("FireballForm", "Form", 299);
_root.Form._x = 540;
_root.Form._y = 390;
}
if (phaseTimer == 500) {
_root.attachMovie("Fireball", "Fireball", 300);
_root.Fireball._x = 540;
_root.Fireball._y = 390;
_root.Fireball.direction = 2;
_root.Fireball.hitInside = 0;
}
if (phaseTimer == 540) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 380;
}
if (phaseTimer == 600) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 385;
}
if (phaseTimer == 640) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 270;
}
if (phaseTimer == 700) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 275;
}
if (phaseTimer == 840) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 125;
}
if (phaseTimer == 900) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 130;
}
if (_root.deadCount == 4) {
_root.spiny.life = 3;
_root.spiny1.life = 3;
_root.spiny2.life = 3;
_root.spiny3.life = 3;
_root.spiny3.life = 3;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 213
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 213
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 130 MovieClip [spiny] "spiny4" in Frame 213
/* no clip actions */
Instance of Symbol 317 MovieClip in Frame 213
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
this.play(1);
_root.spiny4._x = 420;
_root.spiny4._y = 51;
_root.spiny4.direct = 1;
_root.spiny4.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 213
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
this.play(1);
_root.spiny4._x = 112;
_root.spiny4._y = 51;
_root.spiny4.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 213
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 213
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 213
onClipEvent (load) {
if (_root.pow == 1) {
this.gotoAndStop(5);
}
}
onClipEvent (load) {
if (_root.pow == 2) {
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 213
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 214
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 6) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (215);
} else {
gotoAndPlay ("loop5");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 215
var _quality = "low";
Instance of Symbol 302 MovieClip "vars" in Frame 215
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 215
/* no clip actions */
Instance of Symbol 406 MovieClip "vars3" in Frame 215
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 6;
_root.oldTime = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.spiny3.removeMovieClip();
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.flyControl();
_root.spiny1.flyControl();
_root.spiny2.flyControl();
_root.spiny3.flyControl();
_root.spiny4.flyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
_root.spiny4.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer == 100) {
_root.attachMovie("FighterFly", "spiny1", 301);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1._height = 25.9;
_root.spiny1._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 101) {
_root.spiny1.direct = 1;
}
if (phaseTimer == 200) {
_root.attachMovie("FighterFly", "spiny2", 311);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2._height = 25.9;
_root.spiny2._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 220) {
_root.attachMovie("FighterFly", "spiny3", 302);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3._height = 25.9;
_root.spiny3._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 221) {
_root.spiny3.direct = 1;
}
if (phaseTimer == 440) {
_root.attachMovie("FireballForm", "Form", 299);
_root.Form._x = 540;
_root.Form._y = 390;
}
if (phaseTimer == 500) {
_root.attachMovie("Fireball", "Fireball", 300);
_root.Fireball._x = 540;
_root.Fireball._y = 390;
_root.Fireball.direction = 2;
_root.Fireball.hitInside = 0;
}
if (phaseTimer == 540) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 380;
}
if (phaseTimer == 600) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 385;
}
if (phaseTimer == 640) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 270;
}
if (phaseTimer == 700) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 275;
}
if (phaseTimer == 840) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 125;
}
if (phaseTimer == 900) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 130;
}
if (_root.deadCount == 4) {
_root.spiny.life = 3;
_root.spiny1.life = 3;
_root.spiny2.life = 3;
_root.spiny3.life = 3;
_root.spiny3.life = 3;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 215
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 215
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 93 MovieClip [FighterFly] "spiny4" in Frame 215
/* no clip actions */
Instance of Symbol 317 MovieClip in Frame 215
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
this.play(1);
_root.spiny4._x = 420;
_root.spiny4._y = 51;
_root.spiny4.direct = 1;
_root.spiny4.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 215
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
this.play(1);
_root.spiny4._x = 112;
_root.spiny4._y = 51;
_root.spiny4.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 215
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 215
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 215
onClipEvent (load) {
if (_root.pow == 1) {
this.gotoAndStop(5);
}
}
onClipEvent (load) {
if (_root.pow == 2) {
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 215
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 216
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 6) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (217);
} else {
gotoAndPlay ("loop6");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 217
var _quality = "low";
if (Key.isDown(39)) {
slide = 5;
} else if (Key.isDown(37)) {
slide = -5;
} else {
_root.player._x = _root.player._x + slide;
}
if (Key.isDown(68)) {
slidel = 5;
} else if (Key.isDown(65)) {
slidel = -5;
} else {
_root.player2._x = _root.player2._x + slidel;
}
Instance of Symbol 302 MovieClip "vars" in Frame 217
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoina.bonusCoin();
_root.bonusCoinb.bonusCoin();
_root.bonusCoinc.bonusCoin();
_root.bonusCoind.bonusCoin();
_root.bonusCoin5.bonusCoin();
_root.bonusCoin6.bonusCoin();
_root.bonusCoin7.bonusCoin();
_root.bonusCoin8.bonusCoin();
_root.bonusCoin9.bonusCoin();
_root.bonusCoin10.bonusCoin();
_root.bonusCoin11.bonusCoin();
_root.bonusCoin12.bonusCoin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 217
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 217
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 6;
_root.oldTime = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.spiny3.removeMovieClip();
_root.Collect = 0;
countDown = 18;
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
_root.spiny4.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
_root.spiny4.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer >= 21) {
phaseTimer = 0;
}
if (phaseTimer == 20) {
countDown = countDown - 1;
}
if (this._currentframe == 105) {
this.gotoAndStop(109);
}
if (_root.Collect == 12) {
_root.attachMovie("1up", "up", 20000);
_root.up._x = 220;
_root.up._y = 220;
_root.Collect = 13;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 217
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 217
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 317 MovieClip in Frame 217
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
this.play(1);
_root.spiny4._x = 420;
_root.spiny4._y = 51;
_root.spiny4.direct = 1;
_root.spiny4.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 217
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 100;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 100;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 100;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
this.play(1);
_root.spiny4._x = 100;
_root.spiny4._y = 51;
_root.spiny4.direct = 0;
_root.spiny4._x = 100;
_root.spiny4._y = 51;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 217
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 217
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 217
onClipEvent (load) {
_root.pow = 0;
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 217
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 218
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.vars3.countDown == 0) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
_root.up.removeMovieClip();
gotoAndPlay (219);
} else {
gotoAndPlay ("loopb2");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 219
var _quality = "low";
Instance of Symbol 289 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 289 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 289 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 130 MovieClip [spiny] "spiny" in Frame 219
/* no clip actions */
Instance of Symbol 302 MovieClip "vars" in Frame 219
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 219
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 219
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 7;
_root.marioLife = 3;
_root.luigiLife = 3;
_root.oldTime = 0;
_root.score = 0;
_root.lscore = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.bg.gotoAndStop(2);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer == 440) {
_root.attachMovie("FireballForm", "Form", 299);
_root.Form._x = 540;
_root.Form._y = 390;
}
if (phaseTimer == 500) {
_root.attachMovie("Fireball", "Fireball", 300);
_root.Fireball._x = 540;
_root.Fireball._y = 390;
_root.Fireball.direction = 2;
_root.Fireball.hitInside = 0;
}
if (phaseTimer == 540) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 380;
}
if (phaseTimer == 600) {
_root.attachMovie("HurricaneS", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 385;
}
if (phaseTimer == 640) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 553;
_root.HForm._y = 200;
}
if (phaseTimer == 700) {
_root.attachMovie("HurricaneS", "Hurricane", 320);
_root.Hurricane._x = 553;
_root.Hurricane._y = 200;
_root.Hurricane._rotation = 180;
}
if (phaseTimer == 840) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 125;
}
if (phaseTimer == 900) {
_root.attachMovie("HurricaneS", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 130;
}
if (phaseTimer == 100) {
_root.attachMovie("spiny", "spiny1", 301);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1._height = 25.9;
_root.spiny1._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 101) {
_root.spiny1.direct = 1;
}
if (phaseTimer == 200) {
_root.attachMovie("spiny", "spiny2", 311);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2._height = 25.9;
_root.spiny2._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (_root.deadCount == 2) {
_root.spiny.life = 3;
_root.spiny1.life = 3;
_root.spiny2.life = 3;
}
if (_root.deadCount == 3) {
_root.pipeSound.gotoAndPlay("pipesound");
_root.attachMovie("Crab", "spiny3", 302);
_root.spiny3._x = 60;
_root.spiny3._y = 50;
_root.spiny3._height = 51;
_root.spiny3._width = 60;
_root.deadCount = 4;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 219
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 317 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 219
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 219
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 219
onClipEvent (load) {
_root.pow = 0;
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 219
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 220
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 6) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (221);
} else {
gotoAndPlay ("loop7");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 221
var _quality = "low";
Instance of Symbol 456 MovieClip "pirahna" in Frame 221
onClipEvent (enterFrame) {
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 456 MovieClip "pirahna" in Frame 221
onClipEvent (enterFrame) {
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 302 MovieClip "vars" in Frame 221
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 221
/* no clip actions */
Instance of Symbol 406 MovieClip "vars3" in Frame 221
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 8;
_root.oldTime = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.spiny3.removeMovieClip();
_root.bg.gotoAndStop(1);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
_root.spiny4.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
_root.spiny4.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (phaseTimer == 100) {
_root.attachMovie("spiny", "spiny1", 301);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1._height = 25.9;
_root.spiny1._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 101) {
_root.spiny1.direct = 1;
}
if (phaseTimer == 200) {
_root.attachMovie("spiny", "spiny2", 311);
_root.spiny2._x = 100;
_root.spiny2._y = 51;
_root.spiny2._height = 25.9;
_root.spiny2._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 220) {
_root.attachMovie("spiny", "spiny3", 302);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3._height = 25.9;
_root.spiny3._width = 29;
_root.pipeSound.gotoAndPlay("pipesound");
}
if (phaseTimer == 221) {
_root.spiny3.direct = 1;
}
if (phaseTimer == 440) {
_root.attachMovie("FireballForm", "Form", 299);
_root.Form._x = 540;
_root.Form._y = 390;
}
if (phaseTimer == 500) {
_root.attachMovie("Fireball", "Fireball", 300);
_root.Fireball._x = 540;
_root.Fireball._y = 390;
_root.Fireball.direction = 2;
_root.Fireball.hitInside = 0;
}
if (phaseTimer == 540) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 380;
}
if (phaseTimer == 600) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 385;
}
if (phaseTimer == 640) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 1;
_root.HForm._y = 270;
}
if (phaseTimer == 700) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 1;
_root.Hurricane._y = 275;
}
if (phaseTimer == 840) {
_root.attachMovie("HForm", "HForm", 319);
_root.HForm._x = 543;
_root.HForm._y = 2;
}
if (phaseTimer == 900) {
_root.attachMovie("Hurricane", "Hurricane", 320);
_root.Hurricane._x = 543;
_root.Hurricane._y = 2;
_root.Hurricane._rotation = 180;
}
if (_root.deadCount == 4) {
_root.spiny.life = 3;
_root.spiny1.life = 3;
_root.spiny2.life = 3;
_root.spiny3.life = 3;
_root.spiny3.life = 3;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 221
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 221
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
_root.spiny4.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 130 MovieClip [spiny] "spiny4" in Frame 221
/* no clip actions */
Instance of Symbol 317 MovieClip in Frame 221
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 0)) {
this.play(1);
_root.spiny4._x = 420;
_root.spiny4._y = 51;
_root.spiny4.direct = 1;
_root.spiny4.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 221
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
if (((_root.spiny4.Hit == 0) and this.hitTest(_root.spiny4)) and (_root.spiny4.direct == 1)) {
this.play(1);
_root.spiny4._x = 112;
_root.spiny4._y = 51;
_root.spiny4.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 221
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 221
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 221
onClipEvent (load) {
if (_root.pow == 1) {
this.gotoAndStop(5);
}
}
onClipEvent (load) {
if (_root.pow == 2) {
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player._y = _root.player._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 0)) {
this.gotoAndPlay(2);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 1)) {
this.gotoAndPlay(5);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
if (this.powblock.hitTest(_root.player2.headcenter) and (_root.pow == 2)) {
this.gotoAndStop(9);
_root.player2.Falling = true;
_root.player2.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
_root.player2._y = _root.player2._y + 1;
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
}
if (_root.spiny1.Hit == 0) {
_root.spiny1.Hit = 3;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("sflip");
} else if (_root.spiny1.Hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
_root.spiny1.gotoAndPlay("swalk");
}
if (_root.spiny2.Hit == 0) {
_root.spiny2.Hit = 3;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("sflip");
} else if (_root.spiny2.Hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
_root.spiny2.gotoAndPlay("swalk");
}
if (_root.spiny3.Hit == 0) {
_root.spiny3.Hit = 3;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("sflip");
} else if (_root.spiny3.Hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
_root.spiny3.gotoAndPlay("swalk");
}
if (_root.spiny4.Hit == 0) {
_root.spiny4.Hit = 3;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("sflip");
} else {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
_root.spiny4.gotoAndPlay("swalk");
}
}
}
Instance of Symbol 386 MovieClip in Frame 221
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 222
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 6) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
gotoAndPlay (223);
} else {
gotoAndPlay ("loop8");
}
if ((_root.deadCount == 5) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 223
var _quality = "low";
Instance of Symbol 289 MovieClip in Frame 223
onClipEvent (enterFrame) {
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 289 MovieClip in Frame 223
onClipEvent (enterFrame) {
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 302 MovieClip "vars" in Frame 223
onClipEvent (enterFrame) {
_root.newLife.reborn();
_root.newLifeL.rebornL();
_root.bonusCoin0.Coin();
_root.bonusCoin1.Coin();
_root.bonusCoin2.Coin();
_root.bonusCoin3.Coin();
_root.bonusCoin4.Coin();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 223
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 223
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 7;
_root.marioLife = 3;
_root.luigiLife = 3;
_root.oldTime = 0;
_root.score = 0;
_root.lscore = 0;
_root.c = 0;
_root.count = 0;
_root.deadCount = 0;
_root.phaseEnd = false;
_root.bg.gotoAndStop(2);
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
_root.Fireball.fireball();
_root.spiny.spinyControl();
_root.spiny1.spinyControl();
_root.spiny2.spinyControl();
_root.spiny3.spinyControl();
if (_root.players == 2) {
_root.spiny.spinyControl2();
_root.spiny1.spinyControl2();
_root.spiny2.spinyControl2();
_root.spiny3.spinyControl2();
}
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
if (_root.vars3.phaseTimer >= (_root.oldTime + 25)) {
_root.oldTime = 0;
}
if (_root.Hurricane.hitTest(_root.player.collision)) {
_root.player.Dead = true;
}
if (_root.Hurricane.hitTest(_root.player2.collision)) {
_root.player2.Dead = true;
}
}
Instance of Symbol 309 MovieClip "pipeSound" in Frame 223
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 309 MovieClip in Frame 223
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
_root.spiny1.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
_root.spiny2.Jumping = true;
this.play("pipesound");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
_root.spiny3.Jumping = true;
this.play("pipesound");
}
if (this.hitTest(_root.bonusCoin0)) {
_root.bonusCoin0.Jumping = true;
}
if (this.hitTest(_root.bonusCoin1)) {
_root.bonusCoin1.Jumping = true;
}
if (this.hitTest(_root.bonusCoin2)) {
_root.bonusCoin2.Jumping = true;
}
if (this.hitTest(_root.bonusCoin3)) {
_root.bonusCoin3.Jumping = true;
}
}
Instance of Symbol 317 MovieClip in Frame 223
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
_root.spiny.direct = 1;
_root.spiny.gotoAndPlay("walkleft");
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 0)) {
this.play(1);
_root.spiny1._x = 420;
_root.spiny1._y = 51;
_root.spiny1.direct = 1;
_root.spiny1.gotoAndPlay("walkleft");
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 0)) {
this.play(1);
_root.spiny2._x = 420;
_root.spiny2._y = 51;
_root.spiny2.direct = 1;
_root.spiny2.gotoAndPlay("walkleft");
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 0)) {
this.play(1);
_root.spiny3._x = 420;
_root.spiny3._y = 51;
_root.spiny3.direct = 1;
_root.spiny3.gotoAndPlay("walkleft");
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callRight();
}
}
Instance of Symbol 317 MovieClip in Frame 223
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 112;
_root.spiny._y = 51;
_root.spiny.direct = 0;
}
if (((_root.spiny1.Hit == 0) and this.hitTest(_root.spiny1)) and (_root.spiny1.direct == 1)) {
this.play(1);
_root.spiny1._x = 112;
_root.spiny1._y = 51;
_root.spiny1.direct = 0;
}
if (((_root.spiny2.Hit == 0) and this.hitTest(_root.spiny2)) and (_root.spiny2.direct == 1)) {
this.play(1);
_root.spiny2._x = 112;
_root.spiny2._y = 51;
_root.spiny2.direct = 0;
}
if (((_root.spiny3.Hit == 0) and this.hitTest(_root.spiny3)) and (_root.spiny3.direct == 1)) {
this.play(1);
_root.spiny3._x = 112;
_root.spiny3._y = 51;
_root.spiny3.direct = 0;
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].removeMovieClip();
this.gotoAndPlay(2);
}
}
}
if (this._currentFrame == 12) {
this.callLeft();
}
}
Instance of Symbol 348 MovieClip "player2" in Frame 223
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Luigi();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(21);
}
}
}
}
Instance of Symbol 367 MovieClip "player" in Frame 223
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
this.Mario();
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
}
Instance of Symbol 386 MovieClip in Frame 223
onClipEvent (load) {
if (_root.players == 1) {
this.unloadMovie();
}
}
Frame 224
if (_root.marioLife == 0) {
gotoAndStop (415);
} else if (_root.deadCount == 2) {
_root.Fireball.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
_root.Bowser.removeMovieClip();
gotoAndPlay (225);
} else {
gotoAndPlay ("loop9");
}
if ((_root.deadCount == 1) && (_root.phaseEnd == false)) {
stopAllSounds();
_root.attachMovie("CLEAR", "CLEAR", 500);
_root.CLEAR._x = 240;
_root.CLEAR._y = 230;
_root.phaseEnd = true;
}
Frame 225
_root.bonusCoin0.removeMovieClip();
_root.Bowser.removeMovieClip();
Frame 281
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
Frame 413
gotoAndPlay (415);
Frame 414
var _quality = "low";
stop();
Instance of Symbol 302 MovieClip "vars" in Frame 414
onClipEvent (enterFrame) {
_root.newLife.reborn();
}
Instance of Symbol 303 MovieClip "vars2" in Frame 414
/* no clip actions */
Instance of Symbol 306 MovieClip "vars3" in Frame 414
onClipEvent (load) {
var phaseTimer = 0;
var phaseNumber = 1;
_root.oldTime = 0;
_root.score = 0;
}
onClipEvent (enterFrame) {
phaseTimer = Math.ceil(phaseTimer + 0.05);
if (_root.introPhaseText._x < 220) {
_root.introPhaseText._x = _root.introPhaseText._x + 20;
} else {
_root.introPhaseText._alpha = _root.introPhaseText._alpha - 5;
}
if (_root.introPhaseText._alpha <= 0) {
_root.introPhaseText.unloadMovie;
_root.introPhaseText._x = 550;
}
}
Instance of Symbol 309 MovieClip in Frame 414
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
}
Instance of Symbol 309 MovieClip in Frame 414
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
_root.spiny.Jumping = true;
this.play("pipesound");
}
}
Instance of Symbol 485 MovieClip "barrel" in Frame 414
onClipEvent (enterFrame) {
this.barrel();
}
Instance of Symbol 486 MovieClip "barrel1" in Frame 414
onClipEvent (enterFrame) {
this.barrel1();
}
Instance of Symbol 317 MovieClip in Frame 414
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 0)) {
this.play(1);
_root.spiny._x = 100;
_root.spiny._y = 51;
}
}
Instance of Symbol 317 MovieClip in Frame 414
onClipEvent (enterFrame) {
if (((_root.spiny.Hit == 0) and this.hitTest(_root.spiny)) and (_root.spiny.direct == 1)) {
this.play(1);
_root.spiny._x = 420;
_root.spiny._y = 51;
}
}
Instance of Symbol 367 MovieClip "player" in Frame 414
onClipEvent (load) {
var Jumping = false;
var Falling = false;
var Dead = false;
var Speed = 8;
var TouchingGround = true;
var Jumper = 24;
var jumpEnergy = true;
var subJ = Jumper;
var direct = 0;
var block = false;
var timer = 0;
var glide = false;
}
onClipEvent (keyUp) {
this.mariowalk.gotoAndStop(1);
stand = 1;
glide = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and (block == false)) {
_x = (_x + Speed);
direct = 0;
stand = 0;
this.mariowalk.play();
if (TouchingGround == true) {
this.gotoAndStop("walkright");
}
}
if (Key.isDown(37) and (block == false)) {
_x = (_x - Speed);
direct = 1;
stand = 0;
this.mariowalk.play();
if (TouchingGround == true) {
this.gotoAndStop("walkleft");
}
}
if (((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platformA.hitTest(_x, _y, false)) or _root.platformB.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
Jumping = eval("False");
} else {
TouchingGround = false;
}
}
onClipEvent (enterFrame) {
if ((_root.platform6.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else if ((_root.platform7.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else {
glide = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 419;
}
if (_root.platformA.hitTest(_x, _y, false)) {
this._y = 290;
}
if (_root.platformB.hitTest(_x, _y, false)) {
this._y = 310;
}
if (_root.platform4.hitTest(_x, _y, false)) {
this._y = 300;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = subJ;
} else {
Falling = true;
}
if (Key.isDown(38) && (TouchingGround == true)) {
Jumping = true;
jumpEnergy = true;
_root.vars.gotoAndPlay("jumpsound");
}
if (Key.isDown(38)) {
} else if (TouchingGround == false) {
Jumper = Jumper - 5;
}
if (Jumping == true) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper <= 0) {
Jumping = false;
Falling = true;
}
}
if ((Falling == true) and (glide == false)) {
_y = (_y + 8);
}
}
onClipEvent (enterFrame) {
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if ((_root[i].hitTest(this.headcenter) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(2);
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("marioblock") != -1) {
if (((_root[i].hitTest(this.headleft) or _root[i].hitTest(this.headright)) and (jumpEnergy == true)) and (glide == false)) {
var Falling = true;
var Jumping = false;
_root[i].gotoAndPlay(11);
}
}
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this._x = 545;
}
if (this._x >= 550) {
this._x = 5;
this._y = this._y - 0.25;
}
if ((TouchingGround == false) and (direct == 0)) {
_root.player.gotoAndStop("jumpright1");
}
if ((TouchingGround == false) and (direct == 1)) {
_root.player.gotoAndStop("jumpleft1");
}
if (((TouchingGround == true) and (direct == 1)) and (stand == 1)) {
_root.player.gotoAndStop("walkleft");
this.mariowalk.gotoAndStop(1);
}
if (((TouchingGround == true) and (direct == 0)) and (stand == 1)) {
_root.player.gotoAndStop("walkright");
this.mariowalk.gotoAndStop(1);
}
if ((Key.isDown(40) and (direct == 0)) and (stand == 1)) {
this.gotoAndStop("duck1");
stand = 1;
}
if ((Key.isDown(40) and (direct == 1)) and (stand == 1)) {
this.gotoAndStop("duck1");
stand = 1;
}
if (this.hitTest(_root.hitter1.sidehit)) {
block = true;
} else {
block = false;
}
if (glide == false) {
timer = 100;
} else if (glide == true) {
timer = timer - 1;
}
if (Dead == true) {
_root.attachMovie("Dead", "Dead", 1000);
_root.Dead._x = this._x;
_root.Dead._y = this._y;
this._y = 700;
}
}
Instance of Symbol 370 MovieClip "hitter1" in Frame 414
onClipEvent (load) {
pow = 0;
}
onClipEvent (enterFrame) {
if (this.powblock.hitTest(_root.player.headcenter) and (pow == 0)) {
this.gotoAndPlay(2);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
_root.player._y = _root.player._y + 1;
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (pow == 1)) {
this.gotoAndPlay(5);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
_root.player._y = _root.player._y + 1;
}
}
if (this.powblock.hitTest(_root.player.headcenter) and (pow == 2)) {
this.gotoAndStop(9);
_root.player.Falling = true;
_root.player.Jumping = false;
_root.vars.gotoAndPlay("pow");
_root.vars2.gotoAndPlay(2);
if (_root.spiny.Hit == 0) {
_root.spiny.Hit = 3;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("sflip");
} else if (_root.spiny.Hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
_root.spiny.gotoAndPlay("swalk");
_root.player._y = _root.player._y + 0.5;
}
}
}
Instance of Symbol 489 MovieClip in Frame 414
onClipEvent (enterFrame) {
if (_root.player.headcenter.hitTest(this)) {
_root.DK.gotoAndPlay("Ouch");
}
}
Frame 415
_root.Fireball.removeMovieClip();
_root.newLife.removeMovieClip();
_root.bonusCoin0.removeMovieClip();
_root.bonusCoin1.removeMovieClip();
_root.bonusCoin2.removeMovieClip();
_root.bonusCoin3.removeMovieClip();
_root.spiny.removeMovieClip();
_root.spiny1.removeMovieClip();
_root.spiny2.removeMovieClip();
_root.spiny3.removeMovieClip();
stop();
Symbol 11 MovieClip [Bowser] Frame 1
function spinyControl() {
oldSpinyTime++;
if (TouchingGround == true) {
if (life == 1) {
Speed = 3;
} else if (life == 2) {
Speed = 4.2;
} else if (life == 3) {
Speed = 5;
}
} else {
if (life == 1) {
Speed = 2.5;
}
if (life >= 2) {
Speed = 3.5;
}
}
if ((Hit == 0) and (direct == 0)) {
_x = (_x + Speed);
if (this._currentframe >= 8) {
this.gotoAndPlay("walkright");
}
}
if ((Hit == 0) and (direct == 1)) {
_x = (_x - Speed);
if ((this._currentframe <= 7) and (life == 1)) {
this.gotoAndPlay("walkleft");
}
}
if ((Hit == 1) and (TouchingGround == false)) {
_x = (_x + Speed);
}
if ((Hit == 2) and (TouchingGround == false)) {
_x = (_x - Speed);
}
if ((Hit == 3) and (TouchingGround == false)) {
_x == _x;
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
} else {
TouchingGround = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 420;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = 15;
} else {
Falling = true;
}
if ((Jumping == true) && (Jumper >= 0)) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper == 0) {
Jumping = false;
Falling = true;
}
}
if (Falling == true) {
_y = (_y + 8);
}
if (this._x <= 0) {
this._x = 545;
this._y = this._y - 0.25;
}
if (this._x >= 550) {
this._x = 5;
this._y = this._y - 0.25;
}
if ((Hit >= 1) and (this._currentframe <= 15)) {
this.gotoAndPlay("sflip");
}
if (((Hit == 0) and (this._currentframe >= 16)) and (direct == 0)) {
this.gotoAndPlay("walkright");
}
if (((Hit == 0) and (this._currentframe >= 16)) and (direct == 1)) {
this.gotoAndPlay("walkleft");
}
if ((life == 2) and (this.spinyMainright._currentframe <= 6)) {
this.spinyMainright.gotoAndPlay(8);
}
if ((life == 2) and (this.spinyMainleft._currentframe <= 6)) {
this.spinyMainleft.gotoAndPlay(8);
}
if ((life == 3) and (this.spinyMainright._currentframe <= 15)) {
this.spinyMainright.gotoAndPlay(16);
}
if ((life == 3) and (this.spinyMainleft._currentframe <= 15)) {
this.spinyMainleft.gotoAndPlay(16);
}
if (this.Jumping == true) {
this.countdownJump = 12 / this.life;
} else {
this.countdownJump--;
}
if ((this.countdownJump <= 0) && (this.Hit == 0)) {
this.Jumping = true;
}
if (_root.player.collision.hitTest(this)) {
if (Hit == 0) {
_root.player.Dead = true;
} else {
_root.attachMovie("spinyDead", "spinyDead", 100);
_root.spinyDead._x = this._x;
_root.spinyDead._y = this._y;
_root.spinyDead.inside.gotoAndStop(Number(this.life));
if (_root.oldTime == 0) {
_root.attachMovie("visualScore", "visualScore", 110);
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
_root.visualScore.gotoAndPlay("s800");
_root.oldTime = _root.vars3.phaseTimer;
_root.count = 0;
} else {
_root.oldTime = _root.vars3.phaseTimer;
_root.count = _root.count + 1;
_root.attachMovie("visualScore", "visualScore", 110);
if (_root.count == 1) {
_root.visualScore.gotoAndPlay("s1600");
}
if (_root.count == 2) {
_root.visualScore.gotoAndPlay("s2400");
}
if (_root.count == 3) {
_root.visualScore.gotoAndPlay("s3200");
}
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
}
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
}
}
for (var _local3 in _root) {
if (_root[_local3]._name.indexOf("spiny") != -1) {
if ((_root[_local3].hitTest(this) && (_root[_local3] != this)) && (time == 0)) {
if (direct == 0) {
direct = 1;
time++;
oldSpinyTime = time;
if (this.Hit == 0) {
this.gotoAndPlay("walkleft");
}
} else {
direct = 0;
time++;
oldSpinyTime = time;
if (this.Hit == 0) {
this.gotoAndPlay("walkright");
}
}
}
}
}
if ((oldSpinyTime - time) >= 15) {
time = 0;
}
}
function spinyControl2() {
if (_root.player2.collision.hitTest(this)) {
if (Hit == 0) {
_root.player2.Dead = true;
} else {
_root.attachMovie("spinyDead", "spinyDead", 100);
_root.spinyDead._x = this._x;
_root.spinyDead._y = this._y;
_root.spinyDead.inside.gotoAndStop(Number(this.life));
if (_root.oldTime == 0) {
_root.attachMovie("visualScore", "visualScore", 110);
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
_root.visualScore.gotoAndPlay("s800l");
_root.oldTime = _root.vars3.phaseTimer;
_root.count = 0;
} else {
_root.oldTime = _root.vars3.phaseTimer;
_root.count = _root.count + 1;
_root.attachMovie("visualScore", "visualScore", 110);
if (_root.count == 1) {
_root.visualScore.gotoAndPlay("s1600l");
}
if (_root.count == 2) {
_root.visualScore.gotoAndPlay("s2400l");
}
if (_root.count == 3) {
_root.visualScore.gotoAndPlay("s3200l");
}
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
}
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
this.unloadMovie();
}
}
}
if (isNaN(gooble)) {
var Jumping = false;
var Falling = false;
var Hit = 0;
var Speed = 3;
var TouchingGround = false;
var Jumper = 15;
var direct = 0;
var life = 1;
this.play();
var gooble = 1;
var time = 0;
var oldSpinyTime = 0;
var mood = 3;
var type = 1;
}
Symbol 11 MovieClip [Bowser] Frame 7
gotoAndPlay ("walkright");
Symbol 11 MovieClip [Bowser] Frame 14
gotoAndPlay ("walkleft");
Symbol 11 MovieClip [Bowser] Frame 31
if (this.direct == 0) {
this.Hit = 0;
this.gotoAndPlay("walkright");
}
Symbol 14 MovieClip Frame 1
if (_root.style == 2) {
this.gotoAndStop(2);
}
stop();
Symbol 15 MovieClip [placeHolder] Frame 31
function reborn() {
if (Key.isDown(39) or Key.isDown(37)) {
_root.player._y = 40;
_root.player._x = 180;
this.removeMovieClip();
}
}
stop();
Symbol 20 MovieClip [Fireball] Frame 1
function fireball() {
this._y = this._y + direction;
this._x = this._x - 2;
if (hitInside >= 10) {
this._y = this._y + 5;
}
if (this._x <= 0) {
this._x = 555;
}
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
if (_root.player2.collision.hitTest(this)) {
_root.player2.Dead = true;
}
for (var _local3 in _root) {
if (_root[_local3]._name.indexOf("platform") != -1) {
if (_root[_local3].hitTest(this)) {
if (this.direction <= 0) {
this.direction = 2;
hitInside = hitInside + 1;
} else {
this.direction = -2;
hitInside = hitInside + 1;
}
}
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("platform") != -1) {
if (_root[i].hitTest(this)) {
} else if (hitInside >= 1) {
hitInside--;
}
}
}
Symbol 23 MovieClip Frame 1
if (_root.style == 2) {
this.gotoAndStop(2);
}
stop();
Symbol 23 MovieClip Frame 2
stop();
Symbol 28 MovieClip [Dead] Frame 1
_root.player.Dead = false;
Symbol 28 MovieClip [Dead] Frame 39
_root.attachMovie("placeHolder", "newLife", 999);
_root.newLife._x = 180;
_root.newLife._y = 40;
_root.marioLife = _root.marioLife - 1;
Symbol 28 MovieClip [Dead] Frame 71
this.removeMovieClip();
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
stop();
Symbol 32 MovieClip Frame 3
stop();
Symbol 34 MovieClip [flyDead] Frame 1
if (_root.c >= 4) {
_root.c = 0;
}
if (_root.c <= 3) {
_root.attachMovie("bonusCoin", "bonusCoin" + _root.c, 105 + _root.c);
}
_root["bonusCoin" + _root.c]._x = 420;
_root["bonusCoin" + _root.c]._y = 700;
_root.c++;
Symbol 34 MovieClip [flyDead] Frame 39
if (_root.deadCount == 1) {
_root.rightupper.gotoAndPlay(2);
}
if (_root.deadCount == 2) {
_root.leftupper.gotoAndPlay(2);
}
if (_root.deadCount == 3) {
_root.rightupper.gotoAndPlay(2);
}
if (_root.deadCount == 4) {
_root.leftupper.gotoAndPlay(2);
}
if (_root.deadCount == 5) {
_root.rightupper.gotoAndPlay(2);
}
_root.pipeSound.gotoAndPlay("pipesound");
Symbol 34 MovieClip [flyDead] Frame 40
_root.bonusCoin0._x = 420;
_root.bonusCoin0._y = 100;
_root.bonusCoin0.direct = 0;
Symbol 34 MovieClip [flyDead] Frame 43
_root.bonusCoin1._x = 115;
_root.bonusCoin1._y = 100;
_root.bonusCoin1.direct = 1;
Symbol 34 MovieClip [flyDead] Frame 46
_root.bonusCoin2._x = 420;
_root.bonusCoin2._y = 100;
_root.bonusCoin2.direct = 0;
Symbol 34 MovieClip [flyDead] Frame 48
_root.bonusCoin3._x = 115;
_root.bonusCoin3._y = 100;
_root.bonusCoin3.direct = 1;
Symbol 34 MovieClip [flyDead] Frame 50
this.removeMovieClip();
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
stop();
Symbol 38 MovieClip Frame 3
stop();
Symbol 39 MovieClip [spinyDead] Frame 1
if (_root.c >= 4) {
_root.c = 0;
}
if (_root.c <= 3) {
_root.attachMovie("bonusCoin", "bonusCoin" + _root.c, 105 + _root.c);
}
_root["bonusCoin" + _root.c]._x = 420;
_root["bonusCoin" + _root.c]._y = 700;
_root.c++;
Symbol 39 MovieClip [spinyDead] Frame 39
if (_root.deadCount == 1) {
_root.rightupper.gotoAndPlay(2);
}
if (_root.deadCount == 2) {
_root.leftupper.gotoAndPlay(2);
}
if (_root.deadCount == 3) {
_root.rightupper.gotoAndPlay(2);
}
if (_root.deadCount == 4) {
_root.leftupper.gotoAndPlay(2);
}
if (_root.deadCount == 5) {
_root.rightupper.gotoAndPlay(2);
}
_root.pipeSound.gotoAndPlay("pipesound");
Symbol 39 MovieClip [spinyDead] Frame 40
_root.bonusCoin0._x = 420;
_root.bonusCoin0._y = 100;
_root.bonusCoin0.direct = 0;
Symbol 39 MovieClip [spinyDead] Frame 43
_root.bonusCoin1._x = 115;
_root.bonusCoin1._y = 100;
_root.bonusCoin1.direct = 1;
Symbol 39 MovieClip [spinyDead] Frame 46
_root.bonusCoin2._x = 420;
_root.bonusCoin2._y = 100;
_root.bonusCoin2.direct = 0;
Symbol 39 MovieClip [spinyDead] Frame 48
_root.bonusCoin3._x = 115;
_root.bonusCoin3._y = 100;
_root.bonusCoin3.direct = 1;
Symbol 39 MovieClip [spinyDead] Frame 50
this.removeMovieClip();
Symbol 44 MovieClip [CLEAR] Frame 41
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
Symbol 51 MovieClip [visualScore] Frame 2
_root.score = _root.score + 800;
Symbol 51 MovieClip [visualScore] Frame 20
this.removeMovieClip();
Symbol 51 MovieClip [visualScore] Frame 21
_root.score = _root.score + 1600;
Symbol 51 MovieClip [visualScore] Frame 41
this.removeMovieClip();
Symbol 51 MovieClip [visualScore] Frame 42
_root.score = _root.score + 2400;
Symbol 51 MovieClip [visualScore] Frame 63
this.removeMovieClip();
Symbol 51 MovieClip [visualScore] Frame 64
_root.score = _root.score + 3200;
Symbol 51 MovieClip [visualScore] Frame 87
this.removeMovieClip();
Symbol 51 MovieClip [visualScore] Frame 89
_root.lscore = _root.lscore + 800;
Symbol 51 MovieClip [visualScore] Frame 107
this.removeMovieClip();
Symbol 51 MovieClip [visualScore] Frame 108
_root.lscore = _root.lscore + 1600;
Symbol 51 MovieClip [visualScore] Frame 128
this.removeMovieClip();
Symbol 51 MovieClip [visualScore] Frame 129
_root.lscore = _root.lscore + 2400;
Symbol 51 MovieClip [visualScore] Frame 150
this.removeMovieClip();
Symbol 51 MovieClip [visualScore] Frame 151
_root.lscore = _root.lscore + 3200;
Symbol 51 MovieClip [visualScore] Frame 174
this.removeMovieClip();
Symbol 52 MovieClip [FireballForm] Frame 61
this.removeMovieClip();
Symbol 58 MovieClip [HurricaneS] Frame 111
this.removeMovieClip();
Symbol 59 MovieClip [Hurricane] Frame 72
this.removeMovieClip();
Symbol 61 MovieClip [HForm] Frame 60
this.removeMovieClip();
Symbol 64 MovieClip Frame 1
if (_root.style == 2) {
this.gotoAndStop(2);
}
stop();
Symbol 65 MovieClip [placeHolderL] Frame 31
function rebornL() {
if (Key.isDown(68) or Key.isDown(65)) {
_root.player2._y = 40;
_root.player2._x = 450;
this.removeMovieClip();
}
}
stop();
Symbol 68 MovieClip Frame 1
if (_root.style == 2) {
this.gotoAndStop(2);
}
stop();
Symbol 68 MovieClip Frame 2
stop();
Symbol 69 MovieClip [DeadLuigi] Frame 1
_root.player2.Dead = false;
Symbol 69 MovieClip [DeadLuigi] Frame 39
_root.attachMovie("placeHolderL", "newLifeL", 1002);
_root.newLifeL._x = 450;
_root.newLifeL._y = 40;
_root.luigiLife = _root.luigiLife - 1;
Symbol 69 MovieClip [DeadLuigi] Frame 71
this.removeMovieClip();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
stop();
Symbol 73 MovieClip Frame 3
stop();
Symbol 74 MovieClip [crabDead] Frame 1
if (_root.c >= 4) {
_root.c = 0;
}
if (_root.c <= 3) {
_root.attachMovie("bonusCoin", "bonusCoin" + _root.c, 105 + _root.c);
}
_root["bonusCoin" + _root.c]._x = 420;
_root["bonusCoin" + _root.c]._y = 700;
_root.c++;
Symbol 74 MovieClip [crabDead] Frame 39
if (_root.deadCount == 1) {
_root.rightupper.gotoAndPlay(2);
}
if (_root.deadCount == 2) {
_root.leftupper.gotoAndPlay(2);
}
if (_root.deadCount == 3) {
_root.rightupper.gotoAndPlay(2);
}
if (_root.deadCount == 4) {
_root.leftupper.gotoAndPlay(2);
}
if (_root.deadCount == 5) {
_root.rightupper.gotoAndPlay(2);
}
_root.pipeSound.gotoAndPlay("pipesound");
Symbol 74 MovieClip [crabDead] Frame 40
_root.bonusCoin0._x = 420;
_root.bonusCoin0._y = 100;
_root.bonusCoin0.direct = 0;
Symbol 74 MovieClip [crabDead] Frame 43
_root.bonusCoin1._x = 115;
_root.bonusCoin1._y = 100;
_root.bonusCoin1.direct = 1;
Symbol 74 MovieClip [crabDead] Frame 46
_root.bonusCoin2._x = 420;
_root.bonusCoin2._y = 100;
_root.bonusCoin2.direct = 0;
Symbol 74 MovieClip [crabDead] Frame 48
_root.bonusCoin3._x = 115;
_root.bonusCoin3._y = 100;
_root.bonusCoin3.direct = 1;
Symbol 74 MovieClip [crabDead] Frame 50
this.removeMovieClip();
Symbol 77 MovieClip [1up] Frame 1
_root.marioLife = _root.marioLife + 1;
_root.luigiLife = _root.luigiLife + 1;
Symbol 77 MovieClip [1up] Frame 40
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 3
stop();
Symbol 87 MovieClip Frame 9
this.gotoAndPlay(4);
Symbol 87 MovieClip Frame 15
this.gotoAndPlay(10);
Symbol 87 MovieClip Frame 21
this.gotoAndPlay(16);
Symbol 92 MovieClip Frame 7
this.gotoAndPlay(1);
Symbol 92 MovieClip Frame 14
this.gotoAndPlay(8);
Symbol 92 MovieClip Frame 21
this.gotoAndPlay(15);
Symbol 93 MovieClip [FighterFly] Frame 1
function flyControl() {
oldSpinyTime++;
if (TouchingGround == true) {
if (life == 1) {
Speed = 3;
} else if (life == 2) {
Speed = 4.2;
} else if (life == 3) {
Speed = 5;
}
} else {
if (life == 1) {
Speed = 2.5;
}
if (life >= 2) {
Speed = 3.5;
}
}
if (((Hit == 0) and (direct == 0)) and (TouchingGround == false)) {
_x = (_x + Speed);
if (this._currentframe >= 14) {
this.gotoAndPlay("walk");
}
}
if (this.Jumping == true) {
this.countdownJump = 12 / this.life;
} else {
this.countdownJump--;
}
if ((this.countdownJump <= 0) && (this.Hit == 0)) {
this.Jumping = true;
}
if (((Hit == 0) and (direct == 1)) and (TouchingGround == false)) {
_x = (_x - Speed);
if ((this._currentframe <= 14) and (life == 1)) {
this.gotoAndPlay("walk");
}
}
if ((Hit == 1) and (TouchingGround == false)) {
_x = (_x + Speed);
}
if ((Hit == 2) and (TouchingGround == false)) {
_x = (_x - Speed);
}
if ((Hit == 3) and (TouchingGround == false)) {
_x == _x;
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
} else {
TouchingGround = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 420;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = 15;
} else {
Falling = true;
}
if ((Jumping == true) && (Jumper >= 0)) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper == 0) {
Jumping = false;
Falling = true;
}
}
if (Falling == true) {
_y = (_y + 8);
}
if (this._x <= 0) {
this._x = 545;
this._y = this._y - 0.25;
}
if (this._x >= 550) {
this._x = 5;
this._y = this._y - 0.25;
}
if ((Hit >= 1) and (this._currentframe <= 15)) {
this.gotoAndPlay("sflip");
}
if (((Hit == 0) and (this._currentframe >= 16)) and (direct == 0)) {
this.gotoAndPlay("walk");
}
if (((Hit == 0) and (this._currentframe >= 16)) and (direct == 1)) {
this.gotoAndPlay("walk");
}
if ((life == 1) && (TouchingGround == true)) {
this.flyMain.gotoAndStop(1);
} else if (life == 1) {
this.flyMain.gotoAndPlay(5);
}
if ((life == 2) && (TouchingGround == true)) {
this.flyMain.gotoAndStop(2);
} else if (life == 2) {
this.flyMain.gotoAndPlay(10);
}
if ((life == 3) && (TouchingGround == true)) {
this.flyMain.gotoAndStop(3);
} else if (life == 3) {
this.flyMain.gotoAndPlay(16);
}
if (_root.player.collision.hitTest(this)) {
if (Hit == 0) {
_root.player.Dead = true;
} else {
_root.attachMovie("flyDead", "flyDead", 100);
_root.flyDead._x = this._x;
_root.flyDead._y = this._y;
_root.flyDead.inside.gotoAndStop(Number(this.life));
if (_root.oldTime == 0) {
_root.attachMovie("visualScore", "visualScore", 110);
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
_root.visualScore.gotoAndPlay("s800");
_root.oldTime = _root.vars3.phaseTimer;
_root.count = 0;
} else {
_root.oldTime = _root.vars3.phaseTimer;
_root.count = _root.count + 1;
_root.attachMovie("visualScore", "visualScore", 110);
if (_root.count == 1) {
_root.visualScore.gotoAndPlay("s1600");
}
if (_root.count == 2) {
_root.visualScore.gotoAndPlay("s2400");
}
if (_root.count == 3) {
_root.visualScore.gotoAndPlay("s3200");
}
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
}
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
this.unloadMovie();
}
}
for (var _local3 in _root) {
if (_root[_local3]._name.indexOf("spiny") != -1) {
if ((_root[_local3].hitTest(this) && (_root[_local3] != this)) && (time == 0)) {
if (direct == 0) {
direct = 1;
time++;
oldSpinyTime = time;
if (this.Hit == 0) {
this.gotoAndPlay("walk");
}
} else {
direct = 0;
time++;
oldSpinyTime = time;
if (this.Hit == 0) {
this.gotoAndPlay("walk");
}
}
}
}
}
if ((oldSpinyTime - time) >= 15) {
time = 0;
}
}
function spinyControl2() {
if (_root.player2.collision.hitTest(this)) {
if (Hit == 0) {
_root.player2.Dead = true;
} else {
_root.attachMovie("spinyDead", "spinyDead", 100);
_root.spinyDead._x = this._x;
_root.spinyDead._y = this._y;
_root.spinyDead.inside.gotoAndStop(Number(this.life));
if (_root.oldTime == 0) {
_root.attachMovie("visualScore", "visualScore", 110);
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
_root.visualScore.gotoAndPlay("s800l");
_root.oldTime = _root.vars3.phaseTimer;
_root.count = 0;
} else {
_root.oldTime = _root.vars3.phaseTimer;
_root.count = _root.count + 1;
_root.attachMovie("visualScore", "visualScore", 110);
if (_root.count == 1) {
_root.visualScore.gotoAndPlay("s1600l");
}
if (_root.count == 2) {
_root.visualScore.gotoAndPlay("s2400l");
}
if (_root.count == 3) {
_root.visualScore.gotoAndPlay("s3200l");
}
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
}
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
this.unloadMovie();
}
}
}
if (isNaN(gooble)) {
var Jumping = false;
var Falling = false;
var Hit = 0;
var Speed = 3;
var TouchingGround = false;
var Jumper = 15;
var direct = 0;
var life = 1;
this.play();
var gooble = 1;
var time = 0;
var oldSpinyTime = 0;
var mood = 3;
var type = 1;
}
Symbol 93 MovieClip [FighterFly] Frame 14
gotoAndPlay ("walk");
Symbol 93 MovieClip [FighterFly] Frame 15
if ((this.life == 1) and (this.flip.currentframe >= 8)) {
this.flip.gotoAndPlay(1);
}
if ((this.life == 2) and (this.flip.currentframe <= 7)) {
this.flip.gotoAndPlay(8);
}
if ((this.life == 3) and (this.flip.currentframe <= 14)) {
this.flip.gotoAndPlay(15);
}
Symbol 93 MovieClip [FighterFly] Frame 121
if ((life == 1) and (this.flip._currentframe <= 7)) {
this.flip.gotoAndPlay(8);
}
if ((life == 2) and (this.flip._currentframe <= 14)) {
this.flip.gotoAndPlay(15);
}
Symbol 93 MovieClip [FighterFly] Frame 171
if (this.life == 1) {
this.life = 2;
} else if (this.life == 2) {
this.life = 3;
}
if (this.direct == 0) {
this.Hit = 0;
this.gotoAndPlay("walkright");
}
if (this.direct == 1) {
this.gotoAndPlay("walkleft");
this.Hit = 0;
}
Symbol 100 MovieClip [bonusCoin] Frame 1
function Coin() {
if (isNaN(Jumping)) {
var Jumping = false;
var _local5 = false;
var _local3 = 3;
var _local4 = false;
var _local6 = 0;
}
this.play();
if (_local4 == true) {
var _local3 = 4;
} else {
var _local3 = 3;
}
if (direct == 0) {
_x = (_x - _local3);
} else if (direct == 1) {
_x = (_x + _local3);
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
var _local4 = true;
} else {
var _local4 = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if (_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) {
this._y = 420;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (_local4 == true) {
var _local5 = false;
} else {
var _local5 = true;
}
if (Jumping == true) {
this._y = this._y - 12;
Jumper--;
if (direct == 0) {
_x = (_x - _local3);
} else if (direct == 1) {
_x = (_x + _local3);
}
}
if (_local5 == true) {
_y = (_y + 8);
}
if (this._x <= 0) {
this._x = 545;
}
if ((this._x >= 550) and (this._y <= 440)) {
this._x = 5;
}
if (this.hitTest(_root.player)) {
MarioCollect = true;
this.gotoAndPlay("coinSound");
}
if (this.hitTest(_root.player2)) {
MarioCollect = false;
this.gotoAndPlay("coinSound");
}
}
function bonusCoin() {
this.play();
if (this.hitTest(_root.player)) {
MarioCollect = true;
this.gotoAndPlay("coinSound");
}
if (this.hitTest(_root.player2)) {
MarioCollect = false;
this.gotoAndPlay("coinSound");
}
}
Symbol 100 MovieClip [bonusCoin] Frame 20
this.gotoAndPlay(1);
Symbol 100 MovieClip [bonusCoin] Frame 21
if (MarioCollect == true) {
_root.score = _root.score + 800;
} else {
_root.lscore = _root.lscore + 800;
}
_root.Collect = _root.Collect + 1;
this.unloadMovie();
Symbol 100 MovieClip [bonusCoin] Frame 37
this.removeMovieClip();
Symbol 104 MovieClip Frame 7
this.gotoAndPlay(1);
Symbol 104 MovieClip Frame 15
this.gotoAndPlay(8);
Symbol 104 MovieClip Frame 22
this.gotoAndPlay(16);
Symbol 114 MovieClip Frame 7
this.gotoAndPlay(1);
Symbol 114 MovieClip Frame 15
this.gotoAndPlay(8);
Symbol 114 MovieClip Frame 22
this.gotoAndPlay(16);
Symbol 115 MovieClip [Crab] Frame 1
function spinyControl() {
oldSpinyTime++;
if (TouchingGround == true) {
if (life == 1) {
Speed = 3 * mood;
} else if (life == 2) {
Speed = 4.2 * mood;
} else if (life == 3) {
Speed = 5 * mood;
}
} else {
if (life == 1) {
Speed = 2.5;
}
if (life >= 2) {
Speed = 3.5;
}
}
if ((Hit == 0) and (direct == 0)) {
_x = (_x + Speed);
}
if ((Hit == 0) and (direct == 1)) {
_x = (_x - Speed);
}
if ((Hit == 1) and (TouchingGround == false)) {
_x = (_x + Speed);
}
if ((Hit == 2) and (TouchingGround == false)) {
_x = (_x - Speed);
}
if ((Hit == 3) and (TouchingGround == false)) {
_x == _x;
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
} else {
TouchingGround = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 420;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = subJ;
} else {
Falling = true;
}
if ((Jumping == true) && (Jumper >= 0)) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper == 0) {
Jumping = false;
Falling = true;
}
}
if (Falling == true) {
_y = (_y + 8);
}
if (this._x <= 0) {
this._x = 545;
this._y = this._y - 0.25;
}
if (this._x >= 550) {
this._x = 5;
this._y = this._y - 0.25;
}
if ((Hit >= 1) and (this._currentframe <= 15)) {
this.gotoAndPlay("sflip");
}
if (((Hit == 0) and (this._currentframe >= 16)) and (mood == 1)) {
this.gotoAndPlay("calm");
}
if (((Hit == 0) and (this._currentframe >= 16)) and (mood >= 1.1)) {
this.gotoAndPlay("angry");
}
if (((Hit == 0) and (this._currentframe <= 6)) and (mood >= 1.1)) {
this.gotoAndPlay("angry");
}
if ((life == 2) and (this.spinyMainright._currentframe <= 6)) {
this.spinyMainright.gotoAndPlay(8);
}
if ((life == 2) and (this.spinyMainleft._currentframe <= 6)) {
this.spinyMainleft.gotoAndPlay(8);
}
if ((life == 3) and (this.spinyMainright._currentframe <= 15)) {
this.spinyMainright.gotoAndPlay(16);
}
if ((life == 3) and (this.spinyMainleft._currentframe <= 15)) {
this.spinyMainleft.gotoAndPlay(16);
}
if (_root.player.collision.hitTest(this)) {
if (Hit == 0) {
_root.player.Dead = true;
} else {
_root.attachMovie("crabDead", "crabDead", 100);
_root.crabDead._x = this._x;
_root.crabDead._y = this._y;
_root.crabDead._height = this._height;
_root.crabDead._width = this._width;
_root.crabDead.inside.gotoAndStop(Number(this.life));
if (_root.oldTime == 0) {
_root.attachMovie("visualScore", "visualScore", 110);
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
_root.visualScore.gotoAndPlay("s800");
_root.oldTime = _root.vars3.phaseTimer;
_root.count = 0;
} else {
_root.oldTime = _root.vars3.phaseTimer;
_root.count = _root.count + 1;
_root.attachMovie("visualScore", "visualScore", 110);
if (_root.count == 1) {
_root.visualScore.gotoAndPlay("s1600");
}
if (_root.count == 2) {
_root.visualScore.gotoAndPlay("s2400");
}
if (_root.count == 3) {
_root.visualScore.gotoAndPlay("s3200");
}
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
}
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
this.unloadMovie();
}
}
for (var _local3 in _root) {
if (_root[_local3]._name.indexOf("spiny") != -1) {
if ((_root[_local3].hitTest(this) && (_root[_local3] != this)) && (time == 0)) {
if (direct == 0) {
direct = 1;
time++;
oldSpinyTime = time;
} else {
direct = 0;
time++;
oldSpinyTime = time;
}
}
}
}
if ((oldSpinyTime - time) >= 15) {
time = 0;
}
}
function spinyControl2() {
if (_root.player2.collision.hitTest(this)) {
if (Hit == 0) {
_root.player2.Dead = true;
} else {
_root.attachMovie("crabDead", "crabDead", 100);
_root.crabDead._x = this._x;
_root.crabDead._y = this._y;
_root.crabDead.inside.gotoAndStop(Number(this.life));
if (_root.oldTime == 0) {
_root.attachMovie("visualScore", "visualScore", 110);
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
_root.visualScore.gotoAndPlay("s800l");
_root.oldTime = _root.vars3.phaseTimer;
_root.count = 0;
} else {
_root.oldTime = _root.vars3.phaseTimer;
_root.count = _root.count + 1;
_root.attachMovie("visualScore", "visualScore", 110);
if (_root.count == 1) {
_root.visualScore.gotoAndPlay("s1600l");
}
if (_root.count == 2) {
_root.visualScore.gotoAndPlay("s2400l");
}
if (_root.count == 3) {
_root.visualScore.gotoAndPlay("s3200l");
}
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
}
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
this.unloadMovie();
}
}
}
if (isNaN(gooble)) {
var Jumping = false;
var Falling = false;
var Hit = 0;
var Speed = 3;
var TouchingGround = false;
var Jumper = 15;
var subJ = Jumper;
var direct = 0;
var life = 1;
this.play();
var gooble = 1;
var time = 0;
var oldSpinyTime = 0;
var mood = 1;
var type = 2;
}
Symbol 115 MovieClip [Crab] Frame 7
gotoAndPlay ("calm");
Symbol 115 MovieClip [Crab] Frame 14
gotoAndPlay ("angry");
Symbol 115 MovieClip [Crab] Frame 15
if ((this.life == 1) and (this.flip.currentframe >= 8)) {
this.flip.gotoAndPlay(1);
}
if ((this.life == 2) and (this.flip.currentframe <= 7)) {
this.flip.gotoAndPlay(8);
}
if ((this.life == 3) and (this.flip.currentframe <= 14)) {
this.flip.gotoAndPlay(16);
}
Symbol 115 MovieClip [Crab] Frame 121
if ((life == 1) and (this.flip._currentframe <= 7)) {
this.flip.gotoAndPlay(8);
}
if ((life == 2) and (this.flip._currentframe <= 14)) {
this.flip.gotoAndPlay(16);
}
Symbol 115 MovieClip [Crab] Frame 171
if (this.life == 1) {
this.life = 2;
} else if (this.life == 2) {
this.life = 3;
}
if (this.direct == 0) {
this.Hit = 0;
this.gotoAndPlay("walkright");
}
if (this.direct == 1) {
this.gotoAndPlay("walkleft");
this.Hit = 0;
}
Symbol 123 MovieClip Frame 7
this.gotoAndPlay(1);
Symbol 123 MovieClip Frame 15
this.gotoAndPlay(8);
Symbol 123 MovieClip Frame 22
this.gotoAndPlay(16);
Symbol 128 MovieClip Frame 7
this.gotoAndPlay(1);
Symbol 128 MovieClip Frame 14
this.gotoAndPlay(8);
Symbol 128 MovieClip Frame 21
this.gotoAndPlay(15);
Symbol 130 MovieClip [spiny] Frame 1
function spinyControl() {
oldSpinyTime++;
if (TouchingGround == true) {
if (life == 1) {
Speed = 3;
} else if (life == 2) {
Speed = 4.2;
} else if (life == 3) {
Speed = 5;
}
} else {
if (life == 1) {
Speed = 2.5;
}
if (life >= 2) {
Speed = 3.5;
}
}
if ((Hit == 0) and (direct == 0)) {
_x = (_x + Speed);
if (this._currentframe >= 8) {
this.gotoAndPlay("walkright");
}
}
if ((Hit == 0) and (direct == 1)) {
_x = (_x - Speed);
if ((this._currentframe <= 7) and (life == 1)) {
this.gotoAndPlay("walkleft");
}
}
if ((Hit == 1) and (TouchingGround == false)) {
_x = (_x + Speed);
}
if ((Hit == 2) and (TouchingGround == false)) {
_x = (_x - Speed);
}
if ((Hit == 3) and (TouchingGround == false)) {
_x == _x;
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
} else {
TouchingGround = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 420;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = 15;
} else {
Falling = true;
}
if ((Jumping == true) && (Jumper >= 0)) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper == 0) {
Jumping = false;
Falling = true;
}
}
if (Falling == true) {
_y = (_y + 8);
}
if (this._x <= 0) {
this._x = 545;
this._y = this._y - 0.25;
}
if (this._x >= 550) {
this._x = 5;
this._y = this._y - 0.25;
}
if ((Hit >= 1) and (this._currentframe <= 15)) {
this.gotoAndPlay("sflip");
}
if (((Hit == 0) and (this._currentframe >= 16)) and (direct == 0)) {
this.gotoAndPlay("walkright");
}
if (((Hit == 0) and (this._currentframe >= 16)) and (direct == 1)) {
this.gotoAndPlay("walkleft");
}
if ((life == 2) and (this.spinyMainright._currentframe <= 6)) {
this.spinyMainright.gotoAndPlay(8);
}
if ((life == 2) and (this.spinyMainleft._currentframe <= 6)) {
this.spinyMainleft.gotoAndPlay(8);
}
if ((life == 3) and (this.spinyMainright._currentframe <= 15)) {
this.spinyMainright.gotoAndPlay(16);
}
if ((life == 3) and (this.spinyMainleft._currentframe <= 15)) {
this.spinyMainleft.gotoAndPlay(16);
}
if (_root.player.collision.hitTest(this)) {
if (Hit == 0) {
_root.player.Dead = true;
} else {
_root.attachMovie("spinyDead", "spinyDead", 100);
_root.spinyDead._x = this._x;
_root.spinyDead._y = this._y;
_root.spinyDead.inside.gotoAndStop(Number(this.life));
if (_root.oldTime == 0) {
_root.attachMovie("visualScore", "visualScore", 110);
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
_root.visualScore.gotoAndPlay("s800");
_root.oldTime = _root.vars3.phaseTimer;
_root.count = 0;
} else {
_root.oldTime = _root.vars3.phaseTimer;
_root.count = _root.count + 1;
_root.attachMovie("visualScore", "visualScore", 110);
if (_root.count == 1) {
_root.visualScore.gotoAndPlay("s1600");
}
if (_root.count == 2) {
_root.visualScore.gotoAndPlay("s2400");
}
if (_root.count == 3) {
_root.visualScore.gotoAndPlay("s3200");
}
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
}
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
this.unloadMovie();
}
}
for (var _local3 in _root) {
if (_root[_local3]._name.indexOf("spiny") != -1) {
if ((_root[_local3].hitTest(this) && (_root[_local3] != this)) && (time == 0)) {
if (direct == 0) {
direct = 1;
time++;
oldSpinyTime = time;
if (this.Hit == 0) {
this.gotoAndPlay("walkleft");
}
} else {
direct = 0;
time++;
oldSpinyTime = time;
if (this.Hit == 0) {
this.gotoAndPlay("walkright");
}
}
}
}
}
if ((oldSpinyTime - time) >= 15) {
time = 0;
}
}
function spinyControl2() {
if (_root.player2.collision.hitTest(this)) {
if (Hit == 0) {
_root.player2.Dead = true;
} else {
_root.attachMovie("spinyDead", "spinyDead", 100);
_root.spinyDead._x = this._x;
_root.spinyDead._y = this._y;
_root.spinyDead.inside.gotoAndStop(Number(this.life));
if (_root.oldTime == 0) {
_root.attachMovie("visualScore", "visualScore", 110);
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
_root.visualScore.gotoAndPlay("s800l");
_root.oldTime = _root.vars3.phaseTimer;
_root.count = 0;
} else {
_root.oldTime = _root.vars3.phaseTimer;
_root.count = _root.count + 1;
_root.attachMovie("visualScore", "visualScore", 110);
if (_root.count == 1) {
_root.visualScore.gotoAndPlay("s1600l");
}
if (_root.count == 2) {
_root.visualScore.gotoAndPlay("s2400l");
}
if (_root.count == 3) {
_root.visualScore.gotoAndPlay("s3200l");
}
_root.visualScore._x = this._x;
_root.visualScore._y = this._y;
}
_root.deadCount = _root.deadCount + 1;
this.removeMovieClip();
this.unloadMovie();
}
}
}
if (isNaN(gooble)) {
var Jumping = false;
var Falling = false;
var Hit = 0;
var Speed = 3;
var TouchingGround = false;
var Jumper = 15;
var direct = 0;
var life = 1;
this.play();
var gooble = 1;
var time = 0;
var oldSpinyTime = 0;
var mood = 3;
var type = 1;
}
Symbol 130 MovieClip [spiny] Frame 7
gotoAndPlay ("walkright");
Symbol 130 MovieClip [spiny] Frame 14
gotoAndPlay ("walkleft");
Symbol 130 MovieClip [spiny] Frame 15
if ((this.life == 1) and (this.flip.currentframe >= 8)) {
this.flip.gotoAndPlay(1);
}
if ((this.life == 2) and (this.flip.currentframe <= 7)) {
this.flip.gotoAndPlay(8);
}
if ((this.life == 3) and (this.flip.currentframe <= 14)) {
this.flip.gotoAndPlay(15);
}
Symbol 130 MovieClip [spiny] Frame 121
if ((life == 1) and (this.flip._currentframe <= 7)) {
this.flip.gotoAndPlay(8);
}
if ((life == 2) and (this.flip._currentframe <= 14)) {
this.flip.gotoAndPlay(15);
}
Symbol 130 MovieClip [spiny] Frame 171
if (this.life == 1) {
this.life = 2;
} else if (this.life == 2) {
this.life = 3;
}
if (this.direct == 0) {
this.Hit = 0;
this.gotoAndPlay("walkright");
}
if (this.direct == 1) {
this.gotoAndPlay("walkleft");
this.Hit = 0;
}
Symbol 141 Button
on (release) {
_root.play();
}
Symbol 142 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
this.powLoad._yscale = PercentLoaded * 5;
} else {
gotoAndStop ("loaded");
}
Symbol 142 MovieClip Frame 2
gotoAndPlay (1);
Symbol 152 Button
on (release) {
_root.players = 1;
gotoAndPlay (192);
stopAllSounds();
}
Symbol 155 Button
on (release) {
stopAllSounds();
gotoAndPlay (193);
}
Symbol 158 Button
on (release) {
gotoAndStop (414);
stopAllSounds();
_root.style = 2;
}
Symbol 161 Button
on (release) {
stopAllSounds();
gotoAndPlay (198);
}
Symbol 164 Button
on (release) {
stopAllSounds();
gotoAndPlay (199);
}
Symbol 167 Button
on (release) {
_root.players = 2;
stopAllSounds();
gotoAndPlay (192);
}
Symbol 175 Button
on (release) {
stopAllSounds();
gotoAndPlay (195);
}
Symbol 178 Button
on (release) {
stopAllSounds();
gotoAndPlay (194);
}
Symbol 193 MovieClip Frame 1
if (root.style == 2) {
this.gotoAndPlay(3);
}
Symbol 193 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 4
stop();
Symbol 198 Button
on (release) {
gotoAndPlay (2);
stopAllSounds();
}
Symbol 205 Button
on (release) {
_root.style = 1;
gotoAndPlay (203);
stopAllSounds();
}
Symbol 210 Button
on (release) {
_root.style = 2;
gotoAndPlay (203);
stopAllSounds();
}
Symbol 225 Button
on (release) {
stopAllSounds();
gotoAndPlay (2);
}
Symbol 244 Button
on (release) {
stopAllSounds();
gotoAndStop (196);
}
Symbol 246 Button
on (release) {
stopAllSounds();
gotoAndStop (197);
}
Symbol 268 Button
on (release) {
stopAllSounds();
gotoAndStop (200);
}
Symbol 274 Button
on (release) {
stopAllSounds();
gotoAndStop (201);
}
Symbol 278 Button
on (release) {
stopAllSounds();
gotoAndStop (202);
}
Symbol 289 MovieClip Frame 78
this.gotoAndPlay(2);
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
stop();
Symbol 293 MovieClip Frame 3
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 11
stop();
Symbol 302 MovieClip Frame 12
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
_root._y = _root._y + 10;
Symbol 303 MovieClip Frame 3
_root._y = _root._y - 10;
Symbol 303 MovieClip Frame 4
_root._y = _root._y + 10;
Symbol 303 MovieClip Frame 5
_root._y = _root._y - 10;
Symbol 303 MovieClip Frame 6
_root._y = _root._y;
Symbol 303 MovieClip Frame 7
gotoAndStop (1);
_root._y = 0;
Symbol 306 MovieClip Frame 108
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 12
function callLeft() {
_root.leftupper.gotoAndPlay(1);
}
function callRight() {
_root.rightupper.gotoAndPlay(1);
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 1
if (_root.style == 2) {
this.gotoAndStop(2);
}
stop();
Symbol 327 MovieClip Frame 2
stop();
Symbol 337 MovieClip Frame 1
if (_root.style == 2) {
this.gotoAndPlay(14);
}
Symbol 337 MovieClip Frame 13
this.gotoAndPlay(1);
Symbol 337 MovieClip Frame 21
this.gotoAndPlay(14);
Symbol 348 MovieClip Frame 1
function Luigi() {
if (Key.isDown(68) and (block == false)) {
_x = (_x + Speed);
direct = 0;
stand = 0;
this.mariowalk.play();
if (TouchingGround == true) {
this.gotoAndStop("walkright");
}
}
if (Key.isDown(65) and (block == false)) {
_x = (_x - Speed);
direct = 1;
stand = 0;
this.mariowalk.play();
if (TouchingGround == true) {
this.gotoAndStop("walkleft");
}
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
Jumping = eval("False");
} else {
TouchingGround = false;
}
if ((_root.platform1.hitTest(this.headcenter) and (timer >= 94)) and Key.isDown(87)) {
glide = true;
} else if ((_root.platform2.hitTest(this.headcenter) and (timer >= 94)) and Key.isDown(87)) {
glide = true;
} else if ((_root.platform3.hitTest(this.headcenter) and (timer >= 94)) and Key.isDown(87)) {
glide = true;
} else if ((_root.platform4.hitTest(this.headcenter) and (timer >= 94)) and Key.isDown(87)) {
glide = true;
} else if ((_root.platform5.hitTest(this.headcenter) and (timer >= 94)) and Key.isDown(87)) {
glide = true;
} else if ((_root.platform6.hitTest(this.headcenter) and (timer >= 94)) and Key.isDown(87)) {
glide = true;
} else if ((_root.platform7.hitTest(this.headcenter) and (timer >= 94)) and Key.isDown(87)) {
glide = true;
} else {
glide = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 419;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = subJ;
} else {
Falling = true;
}
if (Key.isDown(87) and (TouchingGround == true)) {
Jumping = true;
jumpEnergy = true;
_root.vars.gotoAndPlay("jumpsound");
}
if (Key.isDown(87)) {
} else if (TouchingGround == false) {
Jumper = Jumper - 5;
}
if (Jumping == true) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper <= 0) {
Jumping = false;
Falling = true;
}
}
if ((Falling == true) and (glide == false)) {
_y = (_y + 8);
}
if (this._x <= 0) {
this._x = 545;
}
if (this._x >= 550) {
this._x = 5;
this._y = this._y - 0.25;
}
if (((TouchingGround == false) && (direct == 0)) && (_root.style == 1)) {
this.gotoAndStop("jumpright");
}
if (((TouchingGround == false) && (direct == 1)) && (_root.style == 1)) {
this.gotoAndStop("jumpleft");
}
if (((TouchingGround == false) && (direct == 0)) && (_root.style == 2)) {
this.gotoAndStop("jumpright1");
}
if (((TouchingGround == false) && (direct == 1)) && (_root.style == 2)) {
this.gotoAndStop("jumpleft1");
}
if (((TouchingGround == true) and (direct == 1)) and (stand == 1)) {
this.gotoAndStop("walkleft");
this.mariowalk.gotoAndStop(1);
}
if (((TouchingGround == true) and (direct == 0)) and (stand == 1)) {
this.gotoAndStop("walkright");
this.mariowalk.gotoAndStop(1);
}
if (((Key.isDown(83) and (direct == 0)) and (stand == 1)) and (_root.style == 1)) {
this.gotoAndStop("duckright");
stand = 1;
}
if (((Key.isDown(83) and (direct == 1)) and (stand == 1)) and (_root.style == 1)) {
this.gotoAndStop("duckleft");
stand = 1;
}
if ((Key.isDown(83) and (stand == 1)) and (_root.style == 2)) {
this.gotoAndStop("duck1");
stand = 1;
}
if (this.hitTest(_root.hitter1.sidehit)) {
block = true;
} else {
block = false;
}
if (glide == false) {
timer = 100;
} else if (glide == true) {
timer = timer - 1;
}
if (Dead == true) {
_root.attachMovie("DeadLuigi", "DeadLuigi", 1001);
_root.DeadLuigi._x = this._x;
_root.DeadLuigi._y = this._y;
this._y = 710;
}
}
stop();
Symbol 348 MovieClip Frame 2
stop();
Symbol 348 MovieClip Frame 3
stop();
Symbol 348 MovieClip Frame 4
stop();
Symbol 348 MovieClip Frame 5
stop();
Symbol 348 MovieClip Frame 6
stop();
Symbol 348 MovieClip Frame 7
stop();
Symbol 348 MovieClip Frame 8
stop();
Symbol 348 MovieClip Frame 9
stop();
Symbol 348 MovieClip Frame 10
stop();
Symbol 351 MovieClip Frame 1
if (_root.style == 2) {
this.gotoAndStop(2);
}
stop();
Symbol 351 MovieClip Frame 2
stop();
Symbol 359 MovieClip Frame 1
if (_root.style == 2) {
this.gotoAndPlay(14);
}
Symbol 359 MovieClip Frame 13
this.gotoAndPlay(1);
Symbol 359 MovieClip Frame 21
this.gotoAndPlay(14);
Symbol 367 MovieClip Frame 1
function Mario() {
if (Key.isDown(39) and (block == false)) {
_x = (_x + Speed);
direct = 0;
stand = 0;
this.mariowalk.play();
if (TouchingGround == true) {
this.gotoAndStop("walkright");
}
}
if (Key.isDown(37) and (block == false)) {
_x = (_x - Speed);
direct = 1;
stand = 0;
this.mariowalk.play();
if (TouchingGround == true) {
this.gotoAndStop("walkleft");
}
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
Jumping = eval("False");
} else {
TouchingGround = false;
}
if ((_root.platform1.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else if ((_root.platform2.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else if ((_root.platform3.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else if ((_root.platform4.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else if ((_root.platform5.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else if ((_root.platform6.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else if ((_root.platform7.hitTest(_root.player.headcenter) and (timer >= 94)) and Key.isDown(38)) {
glide = true;
} else {
glide = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 419;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = subJ;
} else {
Falling = true;
}
if (Key.isDown(38) && (TouchingGround == true)) {
Jumping = true;
jumpEnergy = true;
_root.vars.gotoAndPlay("jumpsound");
}
if (Key.isDown(38)) {
} else if (TouchingGround == false) {
Jumper = Jumper - 5;
}
if (Jumping == true) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper <= 0) {
Jumping = false;
Falling = true;
}
}
if ((Falling == true) and (glide == false)) {
_y = (_y + 8);
}
if (this._x <= 0) {
this._x = 545;
}
if (this._x >= 550) {
this._x = 5;
this._y = this._y - 0.25;
}
if (((TouchingGround == false) && (direct == 0)) && (_root.style == 1)) {
_root.player.gotoAndStop("jumpright");
}
if (((TouchingGround == false) && (direct == 1)) && (_root.style == 1)) {
_root.player.gotoAndStop("jumpleft");
}
if (((TouchingGround == false) && (direct == 0)) && (_root.style == 2)) {
_root.player.gotoAndStop("jumpright1");
}
if (((TouchingGround == false) && (direct == 1)) && (_root.style == 2)) {
_root.player.gotoAndStop("jumpleft1");
}
if (((TouchingGround == true) and (direct == 1)) and (stand == 1)) {
_root.player.gotoAndStop("walkleft");
this.mariowalk.gotoAndStop(1);
}
if (((TouchingGround == true) and (direct == 0)) and (stand == 1)) {
_root.player.gotoAndStop("walkright");
this.mariowalk.gotoAndStop(1);
}
if (((Key.isDown(40) and (direct == 0)) and (stand == 1)) and (_root.style == 1)) {
this.gotoAndStop("duckright");
stand = 1;
}
if (((Key.isDown(40) and (direct == 1)) and (stand == 1)) and (_root.style == 1)) {
this.gotoAndStop("duckleft");
stand = 1;
}
if ((Key.isDown(40) and (stand == 1)) and (_root.style == 2)) {
this.gotoAndStop("duck1");
stand = 1;
}
if (this.hitTest(_root.hitter1.sidehit)) {
block = true;
} else {
block = false;
}
if (glide == false) {
timer = 100;
} else if (glide == true) {
timer = timer - 1;
}
if (Dead == true) {
_root.attachMovie("Dead", "Dead", 1000);
_root.Dead._x = this._x;
_root.Dead._y = this._y;
this._y = 710;
}
}
stop();
Symbol 367 MovieClip Frame 2
stop();
Symbol 367 MovieClip Frame 3
stop();
Symbol 367 MovieClip Frame 4
stop();
Symbol 367 MovieClip Frame 5
stop();
Symbol 367 MovieClip Frame 6
stop();
Symbol 367 MovieClip Frame 7
stop();
Symbol 367 MovieClip Frame 8
stop();
Symbol 367 MovieClip Frame 9
stop();
Symbol 367 MovieClip Frame 10
stop();
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 5
_root.pow = 1;
stop();
Symbol 370 MovieClip Frame 8
_root.pow = 2;
stop();
Symbol 370 MovieClip Frame 9
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 2
_root.player.jumpEnergy = false;
_root.player2.jumpEnergy = false;
Symbol 373 MovieClip Frame 6
if (this.hitTest(_root.spiny)) {
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood <= 1.1) {
_root.spiny.Jumping = true;
} else if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
_root.spiny.Jumping = true;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
if (this.hitTest(_root.spiny1)) {
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood <= 1.1) {
_root.spiny1.Jumping = true;
} else if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
_root.spiny1.Jumping = true;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
if (this.hitTest(_root.spiny2)) {
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood <= 1.1) {
_root.spiny2.Jumping = true;
} else if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
_root.spiny2.Jumping = true;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
if (this.hitTest(_root.spiny3)) {
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood <= 1.1) {
_root.spiny3.Jumping = true;
} else if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
_root.spiny3.Jumping = true;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
if (this.hitTest(_root.spiny4)) {
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood <= 1.1) {
_root.spiny4.Jumping = true;
} else if (_root.spin42.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
_root.spiny4.Jumping = true;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
Symbol 373 MovieClip Frame 9
if ((_root.spiny._currentframe <= 14) && (_root.spiny.type == 1)) {
if (this.hitTest(_root.spiny)) {
_root.spiny.Jumping = true;
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
}
if ((_root.spiny1._currentframe <= 14) && (_root.spiny1.type == 1)) {
if (this.hitTest(_root.spiny1)) {
_root.spiny1.Jumping = true;
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
}
if ((_root.spiny2._currentframe <= 14) && (_root.spiny2.type == 1)) {
if (this.hitTest(_root.spiny2)) {
_root.spiny2.Jumping = true;
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
}
if ((_root.spiny3._currentframe <= 14) && (_root.spiny3.type == 1)) {
if (this.hitTest(_root.spiny3)) {
_root.spiny3.Jumping = true;
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
}
if ((_root.spiny4._currentframe <= 14) && (_root.spiny4.type == 1)) {
if (this.hitTest(_root.spiny4)) {
_root.spiny4.Jumping = true;
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player.jumpEnergy = false;
_root.player2.jumpEnergy = false;
Symbol 373 MovieClip Frame 10
gotoAndStop (1);
Symbol 373 MovieClip Frame 19
gotoAndStop (1);
Symbol 373 MovieClip Frame 20
stop();
Symbol 373 MovieClip Frame 25
if (this.hitTest(_root.spiny)) {
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood <= 1.1) {
_root.spiny.Jumping = true;
} else if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
if (this.hitTest(_root.spiny1)) {
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood <= 1.1) {
_root.spiny1.Jumping = true;
} else if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
_root.spiny1.Jumping = true;
if (_root.player2._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
if (_root.player2._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
if (this.hitTest(_root.spiny2)) {
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood <= 1.1) {
_root.spiny2.Jumping = true;
} else if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
_root.spiny2.Jumping = true;
if (_root.player2._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
if (_root.player2._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
if (this.hitTest(_root.spiny3)) {
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood <= 1.1) {
_root.spiny3.Jumping = true;
} else if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
_root.spiny3.Jumping = true;
if (_root.player2._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
if (_root.player2._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
if (this.hitTest(_root.spiny4)) {
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood <= 1.1) {
_root.spiny4.Jumping = true;
} else if (_root.spin42.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
_root.spiny4.Jumping = true;
if (_root.player2._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
if (_root.player2._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player2.jumpEnergy = false;
Symbol 373 MovieClip Frame 28
if ((_root.spiny._currentframe <= 14) && (_root.spiny.type == 1)) {
if (this.hitTest(_root.spiny)) {
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
}
if ((_root.spiny1._currentframe <= 14) && (_root.spiny1.type == 1)) {
if (this.hitTest(_root.spiny1)) {
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
_root.spiny1.Jumping = true;
if (_root.player2._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
if (_root.player2._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
}
if ((_root.spiny2._currentframe <= 14) && (_root.spiny2.type == 1)) {
if (this.hitTest(_root.spiny2)) {
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
_root.spiny2.Jumping = true;
if (_root.player2._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
}
if ((_root.spiny3._currentframe <= 14) && (_root.spiny3.type == 1)) {
if (this.hitTest(_root.spiny3)) {
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
_root.spiny3.Jumping = true;
if (_root.player2._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
if (_root.player2._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
}
if ((_root.spiny4._currentframe <= 14) && (_root.spiny4.type == 1)) {
if (this.hitTest(_root.spiny4)) {
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
_root.spiny4.Jumping = true;
if (_root.player2._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
if (_root.player2._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player2.jumpEnergy = false;
Symbol 373 MovieClip Frame 29
gotoAndStop (1);
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 2
_root.player.jumpEnergy = false;
_root.player2.jumpEnergy = false;
Symbol 404 MovieClip Frame 6
if (this.hitTest(_root.spiny)) {
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood <= 1.1) {
_root.spiny.Jumping = true;
} else if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
_root.spiny.Jumping = true;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
if (this.hitTest(_root.spiny1)) {
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood <= 1.1) {
_root.spiny1.Jumping = true;
} else if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
_root.spiny1.Jumping = true;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
if (this.hitTest(_root.spiny2)) {
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood <= 1.1) {
_root.spiny2.Jumping = true;
} else if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
_root.spiny2.Jumping = true;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
if (this.hitTest(_root.spiny3)) {
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood <= 1.1) {
_root.spiny3.Jumping = true;
} else if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
_root.spiny3.Jumping = true;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
if (this.hitTest(_root.spiny4)) {
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood <= 1.1) {
_root.spiny4.Jumping = true;
} else if (_root.spin42.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
_root.spiny4.Jumping = true;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
Symbol 404 MovieClip Frame 9
if ((_root.spiny._currentframe <= 14) && (_root.spiny.type == 1)) {
if (this.hitTest(_root.spiny)) {
_root.spiny.Jumping = true;
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
}
if ((_root.spiny1._currentframe <= 14) && (_root.spiny1.type == 1)) {
if (this.hitTest(_root.spiny1)) {
_root.spiny1.Jumping = true;
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
}
if ((_root.spiny2._currentframe <= 14) && (_root.spiny2.type == 1)) {
if (this.hitTest(_root.spiny2)) {
_root.spiny2.Jumping = true;
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
}
if ((_root.spiny3._currentframe <= 14) && (_root.spiny3.type == 1)) {
if (this.hitTest(_root.spiny3)) {
_root.spiny3.Jumping = true;
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
}
if ((_root.spiny4._currentframe <= 14) && (_root.spiny4.type == 1)) {
if (this.hitTest(_root.spiny4)) {
_root.spiny4.Jumping = true;
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player.jumpEnergy = false;
_root.player2.jumpEnergy = false;
Symbol 404 MovieClip Frame 10
gotoAndStop (1);
Symbol 404 MovieClip Frame 22
_root.player.jumpEnergy = false;
_root.player2.jumpEnergy = false;
Symbol 404 MovieClip Frame 26
if (this.hitTest(_root.spiny)) {
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood <= 1.1) {
_root.spiny.Jumping = true;
} else if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
_root.spiny.Jumping = true;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
if (this.hitTest(_root.spiny1)) {
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood <= 1.1) {
_root.spiny1.Jumping = true;
} else if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
_root.spiny1.Jumping = true;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
if (this.hitTest(_root.spiny2)) {
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood <= 1.1) {
_root.spiny2.Jumping = true;
} else if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
_root.spiny2.Jumping = true;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
if (this.hitTest(_root.spiny3)) {
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood <= 1.1) {
_root.spiny3.Jumping = true;
} else if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
_root.spiny3.Jumping = true;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
if (this.hitTest(_root.spiny4)) {
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood <= 1.1) {
_root.spiny4.Jumping = true;
} else if (_root.spin42.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
_root.spiny4.Jumping = true;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
Symbol 404 MovieClip Frame 29
if ((_root.spiny._currentframe <= 14) && (_root.spiny.type == 1)) {
if (this.hitTest(_root.spiny)) {
_root.spiny.Jumping = true;
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
}
if ((_root.spiny1._currentframe <= 14) && (_root.spiny1.type == 1)) {
if (this.hitTest(_root.spiny1)) {
_root.spiny1.Jumping = true;
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
}
if ((_root.spiny2._currentframe <= 14) && (_root.spiny2.type == 1)) {
if (this.hitTest(_root.spiny2)) {
_root.spiny2.Jumping = true;
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
}
if ((_root.spiny3._currentframe <= 14) && (_root.spiny3.type == 1)) {
if (this.hitTest(_root.spiny3)) {
_root.spiny3.Jumping = true;
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
}
if ((_root.spiny4._currentframe <= 14) && (_root.spiny4.type == 1)) {
if (this.hitTest(_root.spiny4)) {
_root.spiny4.Jumping = true;
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player.jumpEnergy = false;
_root.player2.jumpEnergy = false;
Symbol 404 MovieClip Frame 30
gotoAndStop (1);
Symbol 406 MovieClip Frame 108
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 6
if (this.hitTest(_root.spiny)) {
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood <= 1.1) {
_root.spiny.Jumping = true;
} else if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
_root.spiny.Jumping = true;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
if (this.hitTest(_root.spiny1)) {
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood <= 1.1) {
_root.spiny1.Jumping = true;
} else if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
_root.spiny1.Jumping = true;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
if (this.hitTest(_root.spiny2)) {
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood <= 1.1) {
_root.spiny2.Jumping = true;
} else if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
_root.spiny2.Jumping = true;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
if (this.hitTest(_root.spiny3)) {
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood <= 1.1) {
_root.spiny3.Jumping = true;
} else if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
_root.spiny3.Jumping = true;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
if (this.hitTest(_root.spiny4)) {
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood <= 1.1) {
_root.spiny4.Jumping = true;
} else if (_root.spin42.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
_root.spiny4.Jumping = true;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player.jumpEnergy = false;
Symbol 435 MovieClip Frame 9
if ((_root.spiny._currentframe <= 14) && (_root.spiny.type == 1)) {
if (this.hitTest(_root.spiny)) {
_root.spiny.Jumping = true;
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
if (_root.player._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
}
if ((_root.spiny1._currentframe <= 14) && (_root.spiny1.type == 1)) {
if (this.hitTest(_root.spiny1)) {
_root.spiny1.Jumping = true;
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
if (_root.player._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
}
if ((_root.spiny2._currentframe <= 14) && (_root.spiny2.type == 1)) {
if (this.hitTest(_root.spiny2)) {
_root.spiny2.Jumping = true;
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
if (_root.player._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
}
if ((_root.spiny3._currentframe <= 14) && (_root.spiny3.type == 1)) {
if (this.hitTest(_root.spiny3)) {
_root.spiny3.Jumping = true;
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
if (_root.player._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
}
if ((_root.spiny4._currentframe <= 14) && (_root.spiny4.type == 1)) {
if (this.hitTest(_root.spiny4)) {
_root.spiny4.Jumping = true;
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.score = _root.score + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
if (_root.player._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player.jumpEnergy = false;
_root.player2.jumpEnergy = false;
Symbol 435 MovieClip Frame 10
gotoAndStop (1);
Symbol 435 MovieClip Frame 19
gotoAndStop (1);
Symbol 435 MovieClip Frame 20
stop();
Symbol 435 MovieClip Frame 25
if (this.hitTest(_root.spiny)) {
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood <= 1.1) {
_root.spiny.Jumping = true;
} else if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
if (this.hitTest(_root.spiny1)) {
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood <= 1.1) {
_root.spiny1.Jumping = true;
} else if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
_root.spiny1.Jumping = true;
if (_root.player2._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
if (_root.player2._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
if (this.hitTest(_root.spiny2)) {
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood <= 1.1) {
_root.spiny2.Jumping = true;
} else if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
_root.spiny2.Jumping = true;
if (_root.player2._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny2.Jumping = true;
if (_root.player2._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
if (this.hitTest(_root.spiny3)) {
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood <= 1.1) {
_root.spiny3.Jumping = true;
} else if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
_root.spiny3.Jumping = true;
if (_root.player2._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
if (_root.player2._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
if (this.hitTest(_root.spiny4)) {
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood <= 1.1) {
_root.spiny4.Jumping = true;
} else if (_root.spin42.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
_root.spiny4.Jumping = true;
if (_root.player2._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
if (_root.player2._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player2.jumpEnergy = false;
Symbol 435 MovieClip Frame 28
if ((_root.spiny._currentframe <= 14) && (_root.spiny.type == 1)) {
if (this.hitTest(_root.spiny)) {
if (_root.spiny.Hit == 0) {
if (_root.spiny.mood >= 1.1) {
_root.spiny.gotoAndPlay("sflip");
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny._x) {
_root.spiny.Hit = 1;
} else {
_root.spiny.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny.mood == 1) {
_root.spiny.mood = 1.5;
} else {
_root.spiny.mood = 1;
}
} else if (_root.spiny.hit >= 1) {
_root.spiny.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny._x) {
_root.spiny.direct = 0;
} else {
_root.spiny.direct = 1;
}
}
}
}
if ((_root.spiny1._currentframe <= 14) && (_root.spiny1.type == 1)) {
if (this.hitTest(_root.spiny1)) {
if (_root.spiny1.Hit == 0) {
if (_root.spiny1.mood >= 1.1) {
_root.spiny1.gotoAndPlay("sflip");
_root.spiny1.Jumping = true;
if (_root.player2._x <= _root.spiny1._x) {
_root.spiny1.Hit = 1;
} else {
_root.spiny1.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny1.mood == 1) {
_root.spiny1.mood = 1.5;
} else {
_root.spiny1.mood = 1;
}
} else if (_root.spiny1.hit >= 1) {
_root.spiny1.Hit = 0;
_root.spiny1.Jumping = true;
if (_root.player2._x <= _root.spiny1._x) {
_root.spiny1.direct = 0;
} else {
_root.spiny1.direct = 1;
}
}
}
}
if ((_root.spiny2._currentframe <= 14) && (_root.spiny2.type == 1)) {
if (this.hitTest(_root.spiny2)) {
if (_root.spiny2.Hit == 0) {
if (_root.spiny2.mood >= 1.1) {
_root.spiny2.gotoAndPlay("sflip");
_root.spiny2.Jumping = true;
if (_root.player2._x <= _root.spiny2._x) {
_root.spiny2.Hit = 1;
} else {
_root.spiny2.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny2.mood == 1) {
_root.spiny2.mood = 1.5;
} else {
_root.spiny2.mood = 1;
}
} else if (_root.spiny2.hit >= 1) {
_root.spiny2.Hit = 0;
_root.spiny.Jumping = true;
if (_root.player2._x <= _root.spiny2._x) {
_root.spiny2.direct = 0;
} else {
_root.spiny2.direct = 1;
}
}
}
}
if ((_root.spiny3._currentframe <= 14) && (_root.spiny3.type == 1)) {
if (this.hitTest(_root.spiny3)) {
if (_root.spiny3.Hit == 0) {
if (_root.spiny3.mood >= 1.1) {
_root.spiny3.gotoAndPlay("sflip");
_root.spiny3.Jumping = true;
if (_root.player2._x <= _root.spiny3._x) {
_root.spiny3.Hit = 1;
} else {
_root.spiny3.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny3.mood == 1) {
_root.spiny3.mood = 1.5;
} else {
_root.spiny3.mood = 1;
}
} else if (_root.spiny3.hit >= 1) {
_root.spiny3.Hit = 0;
_root.spiny3.Jumping = true;
if (_root.player2._x <= _root.spiny3._x) {
_root.spiny3.direct = 0;
} else {
_root.spiny3.direct = 1;
}
}
}
}
if ((_root.spiny4._currentframe <= 14) && (_root.spiny4.type == 1)) {
if (this.hitTest(_root.spiny4)) {
if (_root.spiny4.Hit == 0) {
if (_root.spiny4.mood >= 1.1) {
_root.spiny4.gotoAndPlay("sflip");
_root.spiny4.Jumping = true;
if (_root.player2._x <= _root.spiny4._x) {
_root.spiny4.Hit = 1;
} else {
_root.spiny4.Hit = 2;
}
}
_root.lscore = _root.lscore + 10;
if (_root.spiny4.mood == 1) {
_root.spiny4.mood = 1.5;
} else {
_root.spiny4.mood = 1;
}
} else if (_root.spiny4.hit >= 1) {
_root.spiny4.Hit = 0;
_root.spiny4.Jumping = true;
if (_root.player2._x <= _root.spiny4._x) {
_root.spiny4.direct = 0;
} else {
_root.spiny4.direct = 1;
}
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
for (var i in _root) {
if (_root[i]._name.indexOf("bonusCoin") != -1) {
if (_root[i].hitTest(this)) {
_root[i].gotoAndPlay("coinSound");
}
}
}
_root.player2.jumpEnergy = false;
Symbol 435 MovieClip Frame 29
gotoAndStop (1);
Symbol 464 MovieClip Frame 87
_root.attachMovie("Bowser", "spiny", 999);
_root.spiny._x = 275;
_root.spiny._y = 200;
_root.spiny._width = 57;
_root.spiny._height = 78;
this.unloadMovie();
Symbol 479 MovieClip Frame 14
this.gotoAndPlay(1);
Symbol 479 MovieClip Frame 23
_root.barrel._x = 150;
_root.barrel._y = 130;
Symbol 479 MovieClip Frame 29
this.gotoAndPlay(1);
Symbol 479 MovieClip Frame 37
this.gotoAndPlay(1);
Symbol 479 MovieClip Frame 46
_root.barrel1._x = 150;
_root.barrel1._y = 130;
Symbol 479 MovieClip Frame 52
this.gotoAndPlay(1);
Symbol 485 MovieClip Frame 1
function barrel() {
this.play();
if (TouchingGround == true) {
Speed = 5;
} else {
Speed = 0;
this.gotoAndStop("fall");
}
if (direct == 0) {
_x = (_x + Speed);
if (this._currentframe >= 15) {
this.gotoAndPlay("right");
}
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
} else {
TouchingGround = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 420;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = subJ;
} else {
Falling = true;
}
if (Jumping == true) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper == 0) {
Jumping = false;
Falling = true;
}
}
if (Falling == true) {
_y = (_y + 8);
}
if (this._x <= 0) {
this._x = 545;
}
if ((this._x >= 550) and (this._y <= 440)) {
this._x = 5;
}
if (((this._x >= 550) and (this._y >= 440)) and (_root.DK._currentFrame <= 14)) {
_root.DK.gotoAndPlay("throw");
}
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
}
if (_root.vars3.phaseTimer <= 0.06) {
var Jumping = false;
var Falling = false;
var Hit = 0;
var Speed = 3;
var TouchingGround = false;
var Jumper = 15;
var subJ = Jumper;
var direct = 0;
var oldTime = 0;
}
Symbol 485 MovieClip Frame 12
this.gotoAndPlay("right");
Symbol 486 MovieClip Frame 1
function barrel1() {
this.play();
if ((TouchingGround == true) && (this._y <= 200)) {
Speed = 5;
} else if (TouchingGround == true) {
Speed = -5;
} else {
Speed = 0;
this.gotoAndStop("fall");
}
if (direct == 0) {
_x = (_x + Speed);
if (this._currentframe >= 15) {
this.gotoAndPlay("right");
}
}
if ((((((((_root.platform0.hitTest(_x, _y, false) or _root.platform1.hitTest(_x, _y, false)) or _root.platform2.hitTest(_x, _y, false)) or _root.platform3.hitTest(_x, _y, false)) or _root.platform4.hitTest(_x, _y, false)) or _root.platform5.hitTest(_x, _y, false)) or _root.platform6.hitTest(_x, _y, false)) or _root.platform7.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
TouchingGround = true;
} else {
TouchingGround = false;
}
if (_root.platform0.hitTest(_x, _y, false)) {
this._y = 538;
}
if ((_root.platform1.hitTest(_x, _y, false) or _root.platform2.hitTest(_x, _y, false)) or _root.hitter1.platform8.hitTest(_x, _y, false)) {
this._y = 420;
}
if (_root.platform3.hitTest(_x, _y, false) or _root.platform4.hitTest(_x, _y, false)) {
this._y = 297;
}
if (_root.platform5.hitTest(_x, _y, false)) {
this._y = 280;
}
if (_root.platform6.hitTest(_x, _y, false) or _root.platform7.hitTest(_x, _y, false)) {
this._y = 160;
}
if (TouchingGround == true) {
Falling = false;
Jumper = subJ;
} else {
Falling = true;
}
if (Jumping == true) {
this._y = this._y - Jumper;
Jumper--;
if (Jumper == 0) {
Jumping = false;
Falling = true;
}
}
if (Falling == true) {
_y = (_y + 8);
}
if ((this._x <= 0) and (this._y <= 430)) {
this._x = 545;
} else if (((this._x <= 0) and (this._y >= 430)) and (_root.DK._currentFrame <= 14)) {
_root.DK.gotoAndPlay("throw2");
}
if (_root.player.collision.hitTest(this)) {
_root.player.Dead = true;
}
}
if (_root.vars3.phaseTimer <= 0.06) {
var Jumping = false;
var Falling = false;
var Hit = 0;
var Speed = 3;
var TouchingGround = false;
var Jumper = 15;
var subJ = Jumper;
var direct = 0;
var oldTime = 0;
}
Symbol 486 MovieClip Frame 12
this.gotoAndPlay("right");