Frame 1
_root.level1score = 0;
_root.level2score = 0;
Instance of Symbol 2 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.loadedd = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loaded = _root.loadedd + " %";
if (_root.loadedd >= 90) {
_root.gotoAndStop(2);
}
}
Frame 2
stop();
Instance of Symbol 8 MovieClip in Frame 2
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(_x, getBounds(_root).yMax, true)) {
if ((_root.mario.jumpleft == 0) & (_root.death != true)) {
_y = _y - 10;
}
_root.jumping = false;
_root.mario.jumpleft = 0;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 10 MovieClip "left" in Frame 2
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + 7;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 11 MovieClip "right" in Frame 2
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - 7;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 18 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.death == true) {
play();
}
}
Instance of Symbol 18 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.death == true) {
play();
}
}
Frame 3
stopAllSounds();
Instance of Symbol 95 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.level2score >= 1000) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 95 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.level1score >= 1000) {
_visible = false;
} else {
_visible = true;
}
}
Frame 4
stop();
Instance of Symbol 113 MovieClip "mario" in Frame 4
onClipEvent (enterFrame) {
_y = (_y + 10);
if ((((Key.isDown(38) & (_root.jumping == false)) & (jumpleft == 0)) & (_root.death != true)) | (((Key.isDown(32) & (_root.jumping == false)) & (jumpleft == 0)) & (_root.death != true))) {
gotoAndStop (3);
jumpleft = 40;
_root.jumping = true;
} else if (Key.isDown(39) & (_root.death != true)) {
_x = (_x + 7);
_xscale = 100;
gotoAndStop (2);
} else if (Key.isDown(37) & (_root.death != true)) {
_x = (_x - 7);
_xscale = -100;
gotoAndStop (2);
} else if (_root.death != true) {
gotoAndStop (1);
}
if (jumpleft > 0) {
_y = (_y - jumpleft);
jumpleft = jumpleft - 5;
}
if (_root.death == true) {
gotoAndStop (4);
}
}
onClipEvent (load) {
jumpleft = 0;
}
Instance of Symbol 115 MovieClip in Frame 4
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(_x, getBounds(_root).yMax, true)) {
if ((_root.mario.jumpleft == 0) & (_root.death != true)) {
_y = _y - 10;
}
_root.jumping = false;
_root.mario.jumpleft = 0;
if (_root.currentcombo > _root.maxcombo) {
_root.maxcombo = _root.currentcombo;
_root.combomovie.play();
}
_root.currentcombo = 0;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 10 MovieClip "left" in Frame 4
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + 7;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 11 MovieClip "right" in Frame 4
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - 7;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 121 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.total = ((_root.goombacount + _root.koopacount) - _root.time) * _root.maxcombo;
}
onClipEvent (load) {
_root.total = 0;
_root.goombacount = 0;
_root.koopacount = 0;
_root.time = 0;
_root.maxcombo = 1;
}
Instance of Symbol 124 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.total == -8) {
play();
}
if (_root.total == -10) {
_root.death = true;
}
}
Instance of Symbol 133 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.death == true) {
play();
}
}
Instance of Symbol 18 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.death == true) {
play();
}
}
Instance of Symbol 155 MovieClip "combomovie" in Frame 4
onClipEvent (enterFrame) {
combo = _root.maxcombo;
}
Frame 5
stop();
Frame 6
stop();
Instance of Symbol 113 MovieClip "mario" in Frame 6
onClipEvent (enterFrame) {
_y = (_y + 10);
if ((((Key.isDown(38) & (_root.jumping == false)) & (jumpleft == 0)) & (_root.death != true)) | (((Key.isDown(32) & (_root.jumping == false)) & (jumpleft == 0)) & (_root.death != true))) {
gotoAndStop (3);
jumpleft = 40;
_root.jumping = true;
} else if (Key.isDown(39) & (_root.death != true)) {
_x = (_x + 7);
_xscale = 100;
gotoAndStop (2);
} else if (Key.isDown(37) & (_root.death != true)) {
_x = (_x - 7);
_xscale = -100;
gotoAndStop (2);
} else if (_root.death != true) {
gotoAndStop (1);
}
if (jumpleft > 0) {
_y = (_y - jumpleft);
jumpleft = jumpleft - 5;
}
if (_root.death == true) {
gotoAndStop (4);
}
}
onClipEvent (load) {
jumpleft = 0;
}
Instance of Symbol 8 MovieClip in Frame 6
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(_x, getBounds(_root).yMax, true)) {
if ((_root.mario.jumpleft == 0) & (_root.death != true)) {
_y = _y - 10;
}
_root.jumping = false;
_root.mario.jumpleft = 0;
if (_root.currentcombo > _root.maxcombo) {
_root.maxcombo = _root.currentcombo;
_root.combomovie.play();
}
_root.currentcombo = 0;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 10 MovieClip "left" in Frame 6
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + 7;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 11 MovieClip "right" in Frame 6
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - 7;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 121 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.total = ((_root.goombacount + _root.koopacount) - _root.time) * _root.maxcombo;
}
onClipEvent (load) {
_root.total = 0;
_root.goombacount = 0;
_root.koopacount = 0;
_root.time = 0;
_root.maxcombo = 1;
}
Instance of Symbol 124 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.total == -8) {
play();
}
if (_root.total == -10) {
_root.death = true;
}
}
Instance of Symbol 181 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.death == true) {
play();
}
}
Instance of Symbol 18 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.death == true) {
play();
}
}
Instance of Symbol 155 MovieClip "combomovie" in Frame 6
onClipEvent (enterFrame) {
combo = _root.maxcombo;
}
Frame 7
stop();
Frame 8
stop();
Instance of Symbol 113 MovieClip "mario" in Frame 8
onClipEvent (enterFrame) {
_y = (_y + 10);
if ((((Key.isDown(38) & (_root.jumping == false)) & (jumpleft == 0)) & (_root.death != true)) | (((Key.isDown(32) & (_root.jumping == false)) & (jumpleft == 0)) & (_root.death != true))) {
gotoAndStop (3);
jumpleft = 40;
_root.jumping = true;
} else if (Key.isDown(39) & (_root.death != true)) {
_x = (_x + 7);
_xscale = 100;
gotoAndStop (2);
} else if (Key.isDown(37) & (_root.death != true)) {
_x = (_x - 7);
_xscale = -100;
gotoAndStop (2);
} else if (_root.death != true) {
gotoAndStop (1);
}
if (jumpleft > 0) {
_y = (_y - jumpleft);
jumpleft = jumpleft - 5;
}
if (_root.death == true) {
gotoAndStop (4);
}
}
onClipEvent (load) {
jumpleft = 0;
}
Instance of Symbol 198 MovieClip in Frame 8
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(_x, getBounds(_root).yMax, true)) {
if ((_root.mario.jumpleft == 0) & (_root.death != true)) {
_y = _y - 10;
}
_root.jumping = false;
_root.mario.jumpleft = 0;
if (_root.currentcombo > _root.maxcombo) {
_root.maxcombo = _root.currentcombo;
_root.combomovie.play();
}
_root.currentcombo = 0;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 10 MovieClip "left" in Frame 8
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + 7;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 11 MovieClip "right" in Frame 8
onClipEvent (enterFrame) {
with (_root.mario) {
if (this.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - 7;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 252 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.death == true) {
stop();
} else {
play();
}
}
Instance of Symbol 133 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.death == true) {
play();
}
}
Frame 9
stop();
Frame 10
stop();
Instance of Symbol 256 MovieClip in Frame 10
onClipEvent (enterFrame) {
_x = (_x - 15);
if (_x < -100) {
_x = 700;
_y = (random(310) + 90);
_xscale = (random(30) + 70);
_yscale = _xscale;
}
}
Instance of Symbol 258 MovieClip in Frame 10
onClipEvent (enterFrame) {
_x = (_x - 15);
if (_x < -100) {
_x = 700;
_y = (random(310) + 90);
_xscale = (random(30) + 70);
_yscale = _xscale;
}
}
Instance of Symbol 258 MovieClip in Frame 10
onClipEvent (enterFrame) {
_x = (_x - 15);
if (_x < -100) {
_x = 700;
_y = (random(310) + 90);
_xscale = (random(30) + 70);
_yscale = _xscale;
}
}
Instance of Symbol 256 MovieClip in Frame 10
onClipEvent (enterFrame) {
_x = (_x - 15);
if (_x < -100) {
_x = 700;
_y = (random(310) + 90);
_xscale = (random(30) + 70);
_yscale = _xscale;
}
}
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 2
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 50
stop();
Symbol 18 MovieClip Frame 51
gotoAndPlay (50);
Symbol 46 Button
on (release) {
nextFrame();
}
Symbol 65 MovieClip Frame 48
stop();
Symbol 67 Button
on (release) {
stopAllSounds();
gotoAndStop (4);
}
Symbol 68 Button
on (release) {
stopAllSounds();
gotoAndStop (6);
}
Symbol 69 Button
on (release) {
stopAllSounds();
gotoAndStop (8);
}
Symbol 94 Button
on (release) {
gotoAndStop (1);
}
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 3
stop();
Symbol 113 MovieClip Frame 4
stopAllSounds();
stop();
tellTarget ("_root.music") {
gotoAndStop (3);
};
Symbol 118 MovieClip Frame 200
i = random(99999);
Symbol 118 MovieClip Frame 201
_root.holder.goomba.duplicateMovieClip("enemy" + i, i + 100);
Symbol 119 MovieClip Frame 250
i = random(99999);
Symbol 119 MovieClip Frame 251
_root.holder.koopa.duplicateMovieClip("nemye" + i, i + 100);
Symbol 121 MovieClip Frame 48
if (_root.death != true) {
_root.time = _root.time + 1;
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip in Symbol 127 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.mario.body)) {
_root.death = true;
}
}
Symbol 128 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip in Symbol 128 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.mario.body)) {
_root.death = true;
}
}
Instance of Symbol 127 MovieClip "koopa" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
_x = (-200 - random(300));
_y = 430;
speed = 4;
side = 100;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_xscale = side;
if (this.hittest(_root.right)) {
speed = -4;
side = -100;
} else if (this.hittest(_root.left)) {
speed = 4;
side = 100;
}
if (_root.mario.feet.hittest(this.head)) {
play();
speed = 0;
_root.mario.jumpleft = 30;
_root.koopacount = _root.koopacount + 1;
_root.currentcombo = _root.currentcombo + 1;
}
if (_currentframe == 10) {
_x = (-200 - random(300));
_y = 430;
speed = 4;
side = 100;
}
}
Instance of Symbol 128 MovieClip "goomba" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
_x = random(600);
_y = (-200 - random(200));
speed = 4;
walk = false;
}
onClipEvent (enterFrame) {
if (_y < 430) {
_y = (_y + 10);
} else if (_currentframe == 1) {
walk = true;
_y = 431;
}
if (walk == true) {
_x = (_x + speed);
}
if (this.hittest(_root.right)) {
speed = -4;
} else if (this.hittest(_root.left)) {
speed = 4;
}
if (_root.mario.feet.hittest(this.head)) {
play();
speed = 0;
_root.mario.jumpleft = 30;
_root.goombacount = _root.goombacount + 1;
_root.currentcombo = _root.currentcombo + 1;
}
if (_currentframe == 10) {
_x = random(600);
_y = (-200 - random(200));
speed = 4;
walk = false;
}
}
Symbol 132 Button
on (release) {
_root.time = 0;
_root.goombacount = 0;
_root.koopacount = 0;
_root.death = false;
_root.level1score = _root.level1score + _root.total;
_root.gotoAndStop("menu");
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 48
stop();
Symbol 133 MovieClip Frame 90
stop();
Symbol 133 MovieClip Frame 91
gotoAndPlay (90);
Symbol 155 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 10
_root.level1score = -200;
_root.level2score = -200;
_root.gotoAndStop("menu");
Symbol 165 MovieClip Frame 1
stopAllSounds();
Symbol 165 MovieClip Frame 2
stop();
Symbol 165 MovieClip Frame 3
stop();
Symbol 166 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.mario.body)) {
_root.death = true;
}
}
Instance of Symbol 60 MovieClip in Symbol 169 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.mario.body)) {
_root.death = true;
}
}
Symbol 171 MovieClip Frame 1
stop();
Instance of Symbol 166 MovieClip "goomba" in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
_x = (random(120) + 90);
_y = (-200 - random(200));
speed = 4;
walk = false;
}
onClipEvent (enterFrame) {
if (_y < 400) {
_y = (_y + 10);
} else if (_currentframe == 1) {
walk = true;
_y = 401;
}
if (walk == true) {
_x = (_x + speed);
}
if (this.hittest(_root.right)) {
speed = -4;
} else if (this.hittest(_root.left)) {
speed = 4;
}
if (_root.mario.feet.hittest(this.head)) {
play();
speed = 0;
_root.mario.jumpleft = 30;
_root.goombacount = _root.goombacount + 1;
_root.currentcombo = _root.currentcombo + 1;
}
if (_currentframe == 10) {
_x = (random(120) + 90);
_y = (-200 - random(200));
speed = 4;
walk = false;
}
}
Instance of Symbol 171 MovieClip "koopa" in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
_x = (600 + random(300));
_y = 400;
speed = -4;
side = 100;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_xscale = side;
if (this.hittest(_root.right)) {
speed = -4;
side = -100;
} else if (this.hittest(_root.left)) {
speed = 4;
side = 100;
}
if (_root.mario.feet.hittest(this.k.k.head)) {
play();
speed = 0;
_root.mario.jumpleft = 30;
_root.koopacount = _root.koopacount + 1;
_root.currentcombo = _root.currentcombo + 1;
}
if (_currentframe == 10) {
_x = (600 + random(300));
_y = 400;
speed = -4;
side = 100;
}
}
Instance of Symbol 60 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.mario.body)) {
_root.death = true;
}
}
Symbol 180 Button
on (release) {
_root.time = 0;
_root.goombacount = 0;
_root.koopacount = 0;
_root.death = false;
_root.level2score = _root.level2score + _root.total;
_root.gotoAndStop("menu");
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 48
stop();
Symbol 181 MovieClip Frame 90
stop();
Symbol 181 MovieClip Frame 91
gotoAndPlay (90);
Instance of Symbol 60 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.mario.body)) {
_root.death = true;
}
}
Instance of Symbol 201 MovieClip "koopa" in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
_x = (-200 - random(300));
_y = 300;
speed = 4;
side = 100;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_xscale = side;
if (this.hittest(_root.right)) {
speed = -4;
side = -100;
} else if (this.hittest(_root.left)) {
speed = 4;
side = 100;
}
if (_root.mario.feet.hittest(this.k.k.head)) {
play();
speed = 0;
_root.mario.jumpleft = 30;
_root.koopacount = _root.koopacount + 1;
_root.currentcombo = _root.currentcombo + 1;
}
if (_currentframe == 10) {
_x = (-200 - random(300));
_y = 300;
speed = 4;
side = 100;
}
}
Symbol 252 MovieClip Frame 1535
stop();
stopAllSounds();
_root.gotoAndStop("end");
Symbol 272 MovieClip Frame 1
stopAllSounds();
Symbol 272 MovieClip Frame 2
stop();
Symbol 272 MovieClip Frame 3
stop();