Frame 1
_root.instructions._visible = false;
stop();
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
Stage.showMenu = false;
}
Frame 2
nextFrame();
Instance of Symbol 38 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario)) {
_root.prevFrame();
}
}
Frame 3
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 3
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (4);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 58 MovieClip in Frame 3
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 61 MovieClip in Frame 3
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Frame 4
nextFrame();
Frame 5
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 5
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (4);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 61 MovieClip in Frame 5
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Frame 6
nextFrame();
Frame 7
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 7
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (4);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 61 MovieClip in Frame 7
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 70 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Frame 8
nextFrame();
Frame 9
stop();
Instance of Symbol 61 MovieClip in Frame 9
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 75 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 54 MovieClip "mario" in Frame 9
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
}
onClipEvent (enterFrame) {
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (4);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.gotoAndPlay("lvl2");
}
if (this._x <= 10) {
this._x = 15;
}
}
Frame 10
nextFrame();
Instance of Symbol 38 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario)) {
_root.prevFrame();
}
}
Frame 11
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 11
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (12);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 84 MovieClip in Frame 11
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Frame 12
nextFrame();
Frame 13
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 13
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (12);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 94 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Frame 14
nextFrame();
Frame 15
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 15
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (12);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 105 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Frame 16
nextFrame();
Frame 17
stop();
_root.bill._visible = true;
Instance of Symbol 107 MovieClip "bill" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario)) {
_root.prevFrame();
}
}
Instance of Symbol 54 MovieClip "mario" in Frame 17
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (12);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.gotoAndStop("lvl3");
}
if (this._x <= 10) {
this._x = 15;
}
}
Frame 18
nextFrame();
Instance of Symbol 38 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario)) {
_root.prevFrame();
}
}
Frame 19
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 19
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (20);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 121 MovieClip in Frame 19
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Frame 20
nextFrame();
Frame 21
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 21
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (20);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 128 MovieClip in Frame 21
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 58 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 58 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 58 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 58 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 58 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 58 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Instance of Symbol 58 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Frame 22
nextFrame();
Frame 23
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 23
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (20);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.nextFrame();
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 138 MovieClip in Frame 23
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Frame 24
nextFrame();
Frame 25
stop();
Instance of Symbol 54 MovieClip "mario" in Frame 25
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (20);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
_root.gotoAndStop("boss");
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 146 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 150 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 150 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 150 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 150 MovieClip in Frame 25
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 151 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario)) {
_root.prevFrame();
}
}
Frame 26
nextFrame();
Frame 27
stop();
Instance of Symbol 159 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario)) {
_root.bowser.gotoAndStop(2);
}
}
Instance of Symbol 54 MovieClip "mario" in Frame 27
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (28);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
this._x = 675;
}
if (this._x <= 10) {
this._x = 15;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
}
}
Instance of Symbol 146 MovieClip in Frame 27
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.mario._x > _x) {
_x = (_x + 2);
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (_root.mario._x < _x) {
_x = (_x - 2);
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
onClipEvent (load) {
gothit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham) && (gothit == 0)) {
this.play();
gothit++;
_root.bhp.play();
}
}
Frame 28
nextFrame();
Frame 29
stop();
Instance of Symbol 165 MovieClip "bowser" in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ma.ham)) {
_root.bhp.play();
}
}
Instance of Symbol 54 MovieClip "mario" in Frame 29
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
_x = (_x - walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(39)) {
_xscale = scale;
_x = (_x + walkSpeed);
this.gotoAndStop(2);
}
if (Key.isDown(65)) {
this.gotoAndStop(4);
walkSpeed = 0;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
gotoAndStop (28);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
this.gotoAndStop(3);
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x >= 680) {
this._x = 675;
}
if (this._x <= 10) {
this._x = 15;
}
}
Frame 30
stopAllSounds();
Instance of Symbol 174 MovieClip in Frame 138
onClipEvent (enterFrame) {
this.gotoAndStop(110);
}
Frame 269
stop();
stopAllSounds();
Frame 270
stop();
stopAllSounds();
Frame 381
_root.gotoAndStop("lvl1");
Symbol 18 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 22 Button
on (release) {
_root.play();
}
Symbol 23 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
KB_out = (int(_root.getBytesLoaded() / 1000) + "/") + int(_root.getBytesTotal() / 1000);
if (PercentLoaded != 100) {
setProperty(barmask.bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 23 MovieClip Frame 2
gotoAndPlay (1);
Symbol 28 Button
on (release) {
getURL ("http://www.thetoon.tk/", "_blank");
}
Symbol 32 Button
on (press) {
_root.instructions._visible = true;
}
on (release) {
_root.instructions._visible = false;
}
on (releaseOutside) {
_root.instructions._visible = false;
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Instance of Symbol 102 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 2
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 20
stop();
_root.prevFrame();
Symbol 155 MovieClip Frame 40
stop();
_root.prevFrame();
Symbol 155 MovieClip Frame 60
stop();
_root.prevFrame();
Symbol 155 MovieClip Frame 80
stop();
_root.prevFrame();
Symbol 155 MovieClip Frame 100
stop();
_root.nextFrame();
Symbol 155 MovieClip Frame 101
_root.gotoAndPlay("credz");
Symbol 165 MovieClip Frame 1
stop();
Instance of Symbol 164 MovieClip in Symbol 165 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mario.ms)) {
_root.prevFrame();
}
}
Symbol 174 MovieClip Frame 110
stop();
Symbol 177 MovieClip Frame 689
_root.nextFrame();
Symbol 181 Button
on (release) {
play();
}