Frame 1
function goToThisURL() {
getURL (linkURL, "_blank");
}
function someFunctionName() {
getURL (linkURL, "_self");
}
var linkURL = "";
var linkText = "super mario star road v3";
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem(linkText, goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
var menuItem = new ContextMenuItem("trying to cheat?", someFunctionName);
myMenu.customItems.push(menuItem);
stop();
_quality = "medium";
Instance of Symbol 11 MovieClip in Frame 1
onClipEvent (load) {
startDrag ("", true);
Mouse.hide();
}
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
stopAllSounds();
_root.starscore = 1;
_root.coins = 1;
_root.health = 100;
_root.point = 1;
Frame 5
Mouse.show();
Instance of Symbol 11 MovieClip in Frame 6
onClipEvent (load) {
startDrag ("", true);
Mouse.hide();
}
Frame 9
Instance of Symbol 11 MovieClip in Frame 9
onClipEvent (load) {
startDrag ("", true);
Mouse.hide();
}
Frame 10
health = 100;
Instance of Symbol 11 MovieClip in Frame 10
onClipEvent (load) {
startDrag ("", true);
Mouse.hide();
}
Frame 11
stop();
Frame 12
stop();
Instance of Symbol 336 MovieClip "platforms" in Frame 12
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 12
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 360 MovieClip "goomba" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Frame 13
play();
Instance of Symbol 97 MovieClip "platforms" in Frame 13
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Frame 14
stop();
Instance of Symbol 377 MovieClip "platforms" in Frame 14
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 14
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 360 MovieClip "goomba" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Frame 16
stop();
Instance of Symbol 382 MovieClip "platforms" in Frame 16
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 16
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 360 MovieClip "goomba" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Frame 18
stop();
Instance of Symbol 387 MovieClip "platforms" in Frame 18
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 18
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 360 MovieClip "goomba" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Frame 20
stop();
Instance of Symbol 394 MovieClip "platforms" in Frame 20
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 20
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pinkblock)) {
_root.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pinkblock2)) {
_root.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pinkblock3)) {
_root.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pinkblock4)) {
_root.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.yellowblock)) {
_root.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.yellowblock2)) {
_root.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.yellowblock3)) {
_root.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.yellowblock4)) {
_root.gotoAndStop(20);
}
}
Instance of Symbol 360 MovieClip "goomba" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Frame 22
stop();
Instance of Symbol 404 MovieClip "platforms" in Frame 22
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Frame 23
_root.starscore = _root.starscore + 1;
Frame 24
function timer() {
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
}
play();
var dt;
var timeint;
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
timeint = setInterval(timer, 1000);
Frame 25
function timer() {
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
}
stop();
var dt;
var timeint;
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
timeint = setInterval(timer, 1000);
Frame 26
function timer() {
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
}
var dt;
var timeint;
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
timeint = setInterval(timer, 1000);
Frame 27
stop();
stop();
Instance of Symbol 421 MovieClip "platforms" in Frame 27
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 27
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.gotoAndStop(30);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.green)) {
_root.gotoAndStop(29);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.block)) {
_root.gotoAndStop(28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.gotoAndStop(55);
}
}
Instance of Symbol 425 MovieClip "healthpack" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.healthpack.gotoAndStop(2);
}
}
Instance of Symbol 360 MovieClip "goomba" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Frame 28
stop();
Instance of Symbol 434 MovieClip "platforms" in Frame 28
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Frame 29
stop();
Instance of Symbol 435 MovieClip "platforms" in Frame 29
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Frame 30
stop();
stop();
Instance of Symbol 446 MovieClip "platforms" in Frame 30
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 30
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.n / a)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.n / a)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.dead)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fall)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 20;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.nextFrame();
}
}
Frame 31
stop();
Frame 32
stop();
stop();
stop();
Instance of Symbol 458 MovieClip "platforms" in Frame 32
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Frame 33
play();
Frame 55
stop();
Instance of Symbol 469 MovieClip "platforms" in Frame 55
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 55
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fall)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.nextFrame();
}
}
Instance of Symbol 425 MovieClip "healthpack" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.healthpack.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Instance of Symbol 360 MovieClip "goomba" in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Frame 56
_root.starscore = _root.starscore + 1;
stop();
Frame 57
play();
Frame 58
stop();
Frame 59
stop();
Frame 60
health = 100;
stop();
Instance of Symbol 486 MovieClip "platforms" in Frame 60
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 60
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gswitch)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 360 MovieClip "goomba" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 495 MovieClip "platforms" in Frame 61
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 499 MovieClip "platforms" in Frame 62
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Frame 63
_root.nextFrame();
Frame 64
stop();
Instance of Symbol 505 MovieClip "platforms" in Frame 64
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 513 MovieClip "healthpack" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.healthpack.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 64
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gswitch)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 4;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.green3)) {
_root.health = _root.health - 30;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 519 MovieClip "green2" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.green2.gotoAndPlay(2);
}
}
Instance of Symbol 520 MovieClip "goomba" in Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.green2)) {
_root.goomba.gotoAndStop(2);
}
}
Frame 65
stopAllSounds();
_root.play();
Frame 90
stop();
Instance of Symbol 533 MovieClip "platforms" in Frame 90
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 365 MovieClip "coin2" in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin2.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin3" in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin3.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin4" in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin4.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin5" in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin5.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin6" in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin6.gotoAndStop(2);
}
}
Instance of Symbol 365 MovieClip "coin7" in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coin7.gotoAndStop(2);
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 90
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.n / a)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.n / a)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 4;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.green3)) {
_root.health = _root.health - 30;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 534 MovieClip "coinblock" in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coinblock.gotoAndPlay(2);
}
}
Frame 91
_root.nextFrame();
Frame 92
stop();
Instance of Symbol 543 MovieClip "platforms" in Frame 92
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 92
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gswitch)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 4;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.green3)) {
_root.health = _root.health - 30;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 360 MovieClip "goomba2" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba2.gotoAndStop(2);
}
}
Instance of Symbol 360 MovieClip "goomba3" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba3.gotoAndStop(2);
}
}
Instance of Symbol 360 MovieClip "goomba1" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba1.gotoAndStop(2);
}
}
Frame 94
stop();
Instance of Symbol 351 MovieClip "circle" in Frame 94
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.n / a)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gswitch)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.greens)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 4;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.n / a)) {
_root.health = _root.health - 30;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Frame 95
stop();
Instance of Symbol 556 MovieClip "platforms" in Frame 95
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 95
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gswitch)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 4;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.green3)) {
_root.health = _root.health - 30;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Frame 96
_root.nextFrame();
Instance of Symbol 360 MovieClip "goomba" in Frame 96
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 360 MovieClip "goomba2" in Frame 96
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 360 MovieClip "goomba3" in Frame 96
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Instance of Symbol 360 MovieClip "goomba1" in Frame 96
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Frame 97
_root.gotoAndStop(98);
Frame 98
_root.starscore = _root.starscore + 1;
_root.stop();
Instance of Symbol 566 MovieClip "platforms" in Frame 98
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 534 MovieClip "coinblock" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coinblock.gotoAndPlay(2);
}
}
Instance of Symbol 534 MovieClip "coinblock1" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coinblock.gotoAndPlay(2);
}
}
Instance of Symbol 534 MovieClip "coinblock2" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coinblock.gotoAndPlay(2);
}
}
Instance of Symbol 534 MovieClip "coinblock3" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coinblock.gotoAndPlay(2);
}
}
Instance of Symbol 534 MovieClip "coinblock4" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.coinblock.gotoAndPlay(2);
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 98
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.n / a)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.n / a)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.n / a)) {
_root.health = _root.health - 30;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 569 MovieClip "goomba" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.goomba.gotoAndStop(2);
}
}
Frame 99
stop();
Frame 100
play();
Frame 101
stop();
Frame 102
stop();
Frame 103
stop();
Instance of Symbol 581 MovieClip "platforms" in Frame 103
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 103
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gswitch)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 590 MovieClip "chest1" in Frame 103
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.chest1.gotoAndPlay(2);
}
}
Instance of Symbol 591 MovieClip "chest2" in Frame 103
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.chest2.gotoAndPlay(2);
}
}
Instance of Symbol 592 MovieClip "chest3" in Frame 103
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.chest3.gotoAndPlay(2);
}
}
Frame 104
stop();
Frame 105
play();
Frame 106
stop();
Frame 107
stop();
Frame 108
stop();
Instance of Symbol 602 MovieClip "platforms" in Frame 108
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 108
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gswitch)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Frame 110
stop();
Instance of Symbol 617 MovieClip "platforms" in Frame 110
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Instance of Symbol 351 MovieClip "circle" in Frame 110
onClipEvent (load) {
gravity = 13;
scale = _xscale;
walkSpeed = 5;
maxjump = 5;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = (_x - walkSpeed);
_xscale = (-scale);
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = (_x + walkSpeed);
_xscale = scale;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(65) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(65)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if (((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) or ((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 1;
}
if ((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) or (((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4))) {
state = 2;
}
if (!Key.isDown(32)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.star)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.forward)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backward)) {
_root.prevFrame(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die)) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gswitch)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pipe)) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.goomba)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss)) {
_root.health = _root.health - 1;
if (_root.health == 0) {
stopAllSounds();
_root.gotoAndStop(10);
}
}
}
Frame 111
_root.starscore = _root.starscore + 1;
stop();
Instance of Symbol 621 MovieClip "platforms" in Frame 111
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Frame 112
stop();
Instance of Symbol 626 MovieClip "platforms" in Frame 112
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Frame 113
play();
Frame 114
stop();
Frame 115
stop();
Frame 116
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = name;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = point;
__rankz_send__("Mjc2NGolZSVhJW4lcw==", "Q3dpa1BJVE0=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
Symbol 9 Button
on (release) {
_root.play();
}
Symbol 23 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 23 MovieClip Frame 2
gotoAndPlay (1);
Symbol 23 MovieClip Frame 40
stop();
Symbol 30 MovieClip Frame 83
_root.play();
Symbol 83 MovieClip Frame 196
_root.play();
Symbol 108 Button
on (release) {
_root.gotoAndStop(11);
}
Symbol 111 Button
on (release) {
_root.gotoAndStop(6);
}
Symbol 114 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 120 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 129 Button
on (press) {
startDrag ("", false, -50, 0, 50, 0);
}
on (release, dragOut) {
stopDrag();
}
Symbol 134 MovieClip Frame 1
mySound = new Sound();
mySound.attachSound("myMuzak");
mySound.start("", 999);
Instance of Symbol 131 MovieClip "panSlider" in Symbol 134 MovieClip Frame 1
onClipEvent (enterFrame) {
pan = 2 * _parent.panSlider.drag._x;
_parent.mySound.setPan(pan);
_parent.panAt = Math.round(pan);
}
Instance of Symbol 131 MovieClip "volSlider" in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
_parent.volSlider.drag._x = _parent.volSlider.drag._x + 50;
}
onClipEvent (enterFrame) {
vol = _parent.volSlider.drag._x + 50;
_parent.mySound.setVolume(vol);
_parent.volAt = Math.round(vol);
}
Symbol 137 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 2
stop();
stopAllSounds();
Symbol 151 MovieClip Frame 2
stop();
Instance of Symbol 150 MovieClip in Symbol 151 MovieClip Frame 2
onClipEvent (load) {
startDrag ("", true);
}
Symbol 152 Button
on (release) {
this._quality = "low";
}
Symbol 158 MovieClip Frame 2
stop();
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 2
onClipEvent (load) {
startDrag ("", true);
}
Symbol 159 Button
on (release) {
this._quality = "medium";
}
Symbol 165 MovieClip Frame 2
stop();
Instance of Symbol 164 MovieClip in Symbol 165 MovieClip Frame 2
onClipEvent (load) {
startDrag ("", true);
}
Symbol 166 Button
on (release) {
this._quality = "high";
}
Symbol 172 MovieClip Frame 2
stop();
Instance of Symbol 171 MovieClip in Symbol 172 MovieClip Frame 2
onClipEvent (load) {
startDrag ("", true);
}
Symbol 173 Button
on (release) {
this._quality = "best";
}
Symbol 174 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(9);
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 61
stop();
Symbol 191 MovieClip Frame 2
stop();
Instance of Symbol 190 MovieClip in Symbol 191 MovieClip Frame 2
onClipEvent (load) {
startDrag ("", true);
}
Symbol 192 Button
on (release) {
_root.fullscreenmessage.gotoAndPlay(2);
fscommand ("fullscreen", true);
}
Symbol 234 Button
on (release) {
_root.nextFrame();
}
Symbol 273 Button
on (release, keyPress "<Enter>") {
if (_root.inputPass == "mushrooms") {
_root.gotoAndStop(11);
stopAllSounds();
_root.display = "Right";
_root.inputPass = " ";
} else {
inputpass = "Wrong";
}
}
Symbol 275 Button
on (release, keyPress "<Enter>") {
if (_root.inputPass4 == "nouradin") {
_root.gotoAndStop(100);
stopAllSounds();
_root.display = "Right";
_root.inputPass4 = " ";
} else {
inputpass4 = "Wrong";
}
}
Symbol 276 Button
on (release, keyPress "<Enter>") {
if (_root.inputPass3 == "vgmp") {
_root.gotoAndStop(57);
stopAllSounds();
_root.display = "Right";
_root.inputPass3 = " ";
} else {
inputpass3 = "Wrong";
}
}
Symbol 277 Button
on (release, keyPress "<Enter>") {
if (_root.inputPass2 == "converse") {
_root.gotoAndStop(24);
stopAllSounds();
_root.display = "Right";
_root.inputPass2 = " ";
} else {
inputpass2 = "Wrong";
}
}
Symbol 278 Button
on (release, keyPress "<Enter>") {
if (_root.inputPass5 == "emm") {
_root.gotoAndStop(105);
stopAllSounds();
_root.display = "Right";
_root.inputPass5 = " ";
} else {
inputpass5 = "Wrong";
}
}
Symbol 295 Button
on (release) {
_root.gotoAndStop(9);
}
Symbol 301 MovieClip Frame 45
stop();
Symbol 324 Button
on (release) {
nextFrame();
}
Symbol 332 MovieClip Frame 43
stopAllSounds();
Symbol 332 MovieClip Frame 103
_root.nextFrame();
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 2
stop();
Instance of Symbol 97 MovieClip "platforms" in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x > 0) {
_x = (_x - (_width / 2));
}
if ((_x + _width) < Stage.width) {
_x = (_x + (_width / 2));
}
}
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 2
stop();
Symbol 350 MovieClip Frame 41
_root.nextFrame();
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 2
stop();
Symbol 351 MovieClip Frame 3
stop();
Instance of Symbol 345 MovieClip in Symbol 351 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.platforms)) {
_root.circle._y = _root.circle._y + number;
}
}
Symbol 351 MovieClip Frame 4
stop();
Symbol 359 MovieClip Frame 13
stop();
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 2
stop();
_root.point = _root.point + 5;
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
stop();
_root.coins = _root.coins + 1;
_root.point = _root.point + 2;
Symbol 412 MovieClip Frame 1
stopAllSounds();
Symbol 412 MovieClip Frame 115
_root.nextFrame();
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
_root.health = 100;
_root.point = _root.point + 3;
stop();
Symbol 433 MovieClip Frame 11
stop();
Symbol 457 MovieClip Frame 21
_root.nextFrame();
Symbol 459 MovieClip Frame 60
stop();
Symbol 513 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 2
_root.health = 200;
_root.point = _root.point + 3;
stop();
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 36
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 2
stop();
_root.point = _root.point + 100;
Symbol 534 MovieClip Frame 1
stop();
Symbol 534 MovieClip Frame 16
stop();
_root.coins = _root.coins + 50;
Symbol 569 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 2
stop();
_root.point = _root.point + 5;
Symbol 590 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 2
_root.coins = _root.coins + 100;
Symbol 590 MovieClip Frame 8
_root.play();
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 2
_root.health = 300;
Symbol 591 MovieClip Frame 8
_root.play();
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 2
_root.point = _root.point + 1000;
Symbol 592 MovieClip Frame 8
_root.play();
Symbol 617 MovieClip Frame 2049
_root.nextFrame();
Symbol 626 MovieClip Frame 1
_root.stop();
Symbol 637 Button
on (release) {
getURL ("http://rankz.armorbot.com/super_mario_starroad/", "_blank");
}