Frame 2
stop();
Frame 3
_global.levelset = 0;
nextFrame();
Frame 4
stop();
Instance of Symbol 36 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_global.levelset >= 1) {
this.nextFrame();
}
}
Instance of Symbol 36 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_global.levelset >= 2) {
this.nextFrame();
}
}
Instance of Symbol 36 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_global.levelset >= 3) {
this.nextFrame();
}
}
Instance of Symbol 36 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_global.levelset >= 4) {
this.nextFrame();
}
}
Instance of Symbol 36 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_global.levelset >= 5) {
this.nextFrame();
}
}
Frame 5
coins = 0;
score = 0;
stop();
Instance of Symbol 49 MovieClip "bgback" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - rightspeed;
} else if (Key.isDown(37)) {
this._x = this._x + leftspeed;
}
}
Instance of Symbol 49 MovieClip "bg" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - rightspeed;
} else if (Key.isDown(37)) {
this._x = this._x + leftspeed;
}
}
Instance of Symbol 104 MovieClip "level" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - rightspeed;
} else if (Key.isDown(37)) {
this._x = this._x + leftspeed;
}
}
Instance of Symbol 105 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
}
Instance of Symbol 139 MovieClip "player" in Frame 5
onClipEvent (enterFrame) {
while (_root.level.ground.hitTest(_x, _y, true)) {
this._y = this._y - ((up = 0.1));
}
}
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
this._y = this._y + grav;
if (_root.level.ground.hitTest(_x, _y, true)) {
grav = 0.1;
if (Key.isDown(32)) {
grav = -13.5;
}
} else {
grav++;
}
}
onClipEvent (enterFrame) {
if (_root.level.leftblock.hitTest(_x, _y, true)) {
_root.level.leftspeed = 0;
} else {
_root.level.leftspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.level.rightblock.hitTest(_x, _y, true)) {
_root.level.rightspeed = 0;
} else {
_root.level.rightspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.level.leftblock.hitTest(_x, _y, true)) {
_root.bg.leftspeed = 0;
} else {
_root.bg.leftspeed = 0.5;
}
}
onClipEvent (enterFrame) {
if (_root.level.rightblock.hitTest(_x, _y, true)) {
_root.bg.rightspeed = 0;
} else {
_root.bg.rightspeed = 0.5;
}
}
onClipEvent (enterFrame) {
if (_root.level.leftblock.hitTest(_x, _y, true)) {
_root.bgback.leftspeed = 0;
} else {
_root.bgback.leftspeed = 0.25;
}
}
onClipEvent (enterFrame) {
if (_root.level.rightblock.hitTest(_x, _y, true)) {
_root.bgback.rightspeed = 0;
} else {
_root.bgback.rightspeed = 0.25;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.player.mario.gotoAndStop("jump");
} else if (Key.isDown(39)) {
_root.player.mario.gotoAndStop("walk");
} else if (Key.isDown(37)) {
_root.player.mario.gotoAndStop("walk");
} else {
_root.player.mario.gotoAndStop("idle");
}
}
Instance of Symbol 140 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.coins >= 100) {
_root.coins = 0;
}
}
Instance of Symbol 150 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.boss.grav = -15;
}
}
Instance of Symbol 150 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.boss.grav = -15;
}
}
Frame 6
prevFrame();
Instance of Symbol 150 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.boss.grav = -15;
}
}
Instance of Symbol 150 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.boss.grav = -15;
}
}
Instance of Symbol 80 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 139 MovieClip "player" in Frame 8
onClipEvent (enterFrame) {
while (_root.level.ground.hitTest(_x, _y, true)) {
this._y = this._y - ((up = 0.1));
}
}
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
this._y = this._y + grav;
if (_root.level.ground.hitTest(_x, _y, true)) {
grav = 0;
if (Key.isDown(32)) {
grav = -13.5;
}
} else {
grav++;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x + ((rightspeed = 3.5));
} else if (Key.isDown(37)) {
this._x = this._x - ((leftspeed = 3.5));
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_xscale = (-scale);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_xscale = scale;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop("walk");
} else if (Key.isDown(39)) {
this.gotoAndStop("walk");
} else if (Key.isDown(32)) {
this.gotoAndStop("jump");
} else {
this.gotoAndStop("idle");
}
}
Symbol 11 Button
on (release) {
_root.play();
}
Symbol 12 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 20 Button
on (release) {
_root.gotoAndStop("setup");
}
Symbol 21 MovieClip Frame 413
stop();
Symbol 23 MovieClip Frame 2661
gotoAndPlay (260);
Symbol 31 Button
on (release) {
_root.gotoAndStop("1-1");
}
Symbol 35 Button
on (release) {
_root.gotoAndStop("1-1");
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 40 Button
on (press) {
savefile.data._global.levelset = _global.levelset;
savefile.flush();
}
Symbol 42 Button
on (press) {
var savefile = SharedObject.getLocal("yourgamename");
if (savefile.data._global.levelset == undefined) {
_global.levelset = 0;
} else {
_global.levelset = savefile.data._global.levelset;
}
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 21
stop();
Symbol 78 MovieClip Frame 1
stop();
Instance of Symbol 73 MovieClip in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
_root.player.grav = -10;
}
}
Symbol 78 MovieClip Frame 2
_root.score = _root.score + 100;
Instance of Symbol 78 MovieClip in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.gotoAndStop("shell");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.dmg)) {
_root.player.dmg.play();
}
}
Instance of Symbol 79 MovieClip in Symbol 80 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
_parent.stop();
}
}
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
_root.coins = _root.coins + 1;
_root.score = _root.score + 100;
Symbol 98 MovieClip Frame 46
stop();
Symbol 99 MovieClip Frame 1
stop();
Instance of Symbol 95 MovieClip in Symbol 99 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.dmg)) {
_root.player.dmg.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
_root.player.grav = -10;
}
}
Symbol 99 MovieClip Frame 2
_root.score = _root.score + 150;
Instance of Symbol 99 MovieClip in Symbol 100 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.gotoAndStop("die");
}
}
Instance of Symbol 67 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.grav = -25;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 80 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.jump)) {
this.stop();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 90 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.nextFrame();
}
}
Instance of Symbol 103 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.levelend.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.music.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.musicend.play();
}
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
_root.player.gotoAndStop("bigmario");
Symbol 115 MovieClip Frame 3
_root.player.gotoAndStop("littlemario");
Symbol 115 MovieClip Frame 4
_root.nextFrame();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
_root.player._visible = false;
play();
_root.playerhp.nextFrame();
Symbol 130 MovieClip Frame 3
_root.player._visible = true;
Symbol 130 MovieClip Frame 4
_root.player._visible = false;
Symbol 130 MovieClip Frame 5
_root.player._visible = true;
Symbol 130 MovieClip Frame 6
_root.player._visible = false;
Symbol 130 MovieClip Frame 7
_root.player._visible = true;
Symbol 130 MovieClip Frame 8
_root.player._visible = false;
Symbol 130 MovieClip Frame 9
_root.player._visible = true;
Symbol 130 MovieClip Frame 10
_root.player._visible = false;
Symbol 130 MovieClip Frame 11
_root.player._visible = true;
Symbol 130 MovieClip Frame 12
_root.player._visible = false;
Symbol 130 MovieClip Frame 13
_root.player._visible = true;
Symbol 130 MovieClip Frame 14
_root.player._visible = false;
Symbol 130 MovieClip Frame 15
_root.player._visible = true;
Symbol 130 MovieClip Frame 16
_root.player._visible = false;
Symbol 130 MovieClip Frame 17
_root.player._visible = true;
Symbol 130 MovieClip Frame 18
_root.player._visible = false;
Symbol 130 MovieClip Frame 19
_root.player._visible = true;
Symbol 130 MovieClip Frame 20
_root.player._visible = false;
Symbol 130 MovieClip Frame 21
_root.player._visible = true;
Symbol 130 MovieClip Frame 22
_root.player._visible = false;
Symbol 130 MovieClip Frame 23
_root.player._visible = true;
Symbol 130 MovieClip Frame 24
_root.player._visible = false;
Symbol 130 MovieClip Frame 25
_root.player._visible = true;
Symbol 130 MovieClip Frame 26
_root.player._visible = false;
Symbol 130 MovieClip Frame 27
_root.player._visible = true;
Symbol 130 MovieClip Frame 28
_root.player._visible = false;
Symbol 130 MovieClip Frame 29
_root.player._visible = true;
Symbol 130 MovieClip Frame 30
_root.player._visible = false;
Symbol 130 MovieClip Frame 31
_root.player._visible = true;
Symbol 130 MovieClip Frame 32
_root.player._visible = false;
Symbol 130 MovieClip Frame 33
_root.player._visible = true;
Symbol 130 MovieClip Frame 34
_root.player._visible = false;
Symbol 130 MovieClip Frame 35
_root.player._visible = true;
Symbol 130 MovieClip Frame 36
_root.player._visible = false;
Symbol 130 MovieClip Frame 37
_root.player._visible = true;
Symbol 130 MovieClip Frame 38
_root.player._visible = false;
Symbol 130 MovieClip Frame 39
_root.player._visible = true;
Symbol 130 MovieClip Frame 40
_root.player._visible = false;
Symbol 130 MovieClip Frame 41
_root.player._visible = true;
Symbol 130 MovieClip Frame 42
_root.player._visible = false;
Symbol 130 MovieClip Frame 43
_root.player._visible = true;
Symbol 130 MovieClip Frame 44
_root.player._visible = false;
Symbol 130 MovieClip Frame 45
_root.player._visible = true;
Symbol 130 MovieClip Frame 46
_root.player._visible = false;
Symbol 130 MovieClip Frame 47
_root.player._visible = true;
Symbol 130 MovieClip Frame 48
_root.player._visible = false;
Symbol 130 MovieClip Frame 49
_root.player._visible = true;
gotoAndStop (1);
Symbol 138 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 55
stop();
_global.levelset = _global.levelset + 1;
Symbol 149 MovieClip Frame 136
_root.gotoAndStop("map");