Frame 1
stop();
Frame 2
tellTarget (land) {
stop();
};
stop();
lives = 3;
killed = 0;
coins = 0;
points = 0;
Frame 3
stop();
tellTarget (land) {
play();
};
Instance of Symbol 63 MovieClip "mario" in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT) and (0 < (_x - (_width / 2)))) {
_x = (_x - 10);
}
if (Key.isDown(Key.RIGHT) and ((_x + (_width / 2)) < 500)) {
_x = (_x + 5);
}
}
Frame 74
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 23 Button
on (release) {
_root.play();
}
Symbol 24 MovieClip Frame 1
loaded = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loaded != 100) {
_root.loading.bar.gotoAndStop(loaded);
} else {
gotoAndStop (3);
}
Symbol 24 MovieClip Frame 2
gotoAndPlay (1);
Symbol 24 MovieClip Frame 3
stop();
Symbol 29 MovieClip Frame 50
gotoAndPlay (1);
Symbol 46 MovieClip Frame 5
stop();
Instance of Symbol 44 MovieClip in Symbol 46 MovieClip Frame 5
onClipEvent (mouseDown) {
_parent.play();
}
Symbol 46 MovieClip Frame 14
_root.play();
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 1
stop();
Instance of Symbol 56 MovieClip "gun" in Symbol 63 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
nextFrame();
}
if (Key.isDown(Key.DOWN)) {
prevFrame();
}
if (Key.isDown(Key.SPACE)) {
tellTarget (gun) {
play();
};
}
}
Symbol 63 MovieClip Frame 40
tellTarget (_root.black) {
play();
};
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
removeMovieClip("");
_root.coins = Number(_root.coins) + 1;
_root.points = Number(_root.points) + 5;
Instance of Symbol 69 MovieClip in Symbol 71 MovieClip Frame 2
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < 0) {
removeMovieClip("");
}
if (this.hitTest(_root.mario.hit)) {
play();
}
}
Symbol 72 MovieClip Frame 1
pos = Number(pos) + 1;
coinvalue = Number(random(6)) + 1;
if (coinvalue == 1) {
duplicateMovieClip (coin, "coin" add pos, pos);
setProperty("coin" add pos, _x , 500 + (getProperty("coin" add pos, _width) / 2));
}
Instance of Symbol 71 MovieClip "coin" in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < 0) {
removeMovieClip("");
}
if (this.hitTest(_root.mario.hit)) {
play();
}
}
Symbol 83 MovieClip Frame 4
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
stop();
_root.killed = Number(_root.killed) + 1;
_root.points = Number(_root.points) + 40;
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
_root.killed = Number(_root.killed) + 1;
_root.points = Number(_root.points) + 20;
Symbol 96 MovieClip Frame 5
stop();
Symbol 106 MovieClip Frame 5
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
_root.killed = Number(_root.killed) + 1;
_root.points = Number(_root.points) + 25;
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
_root.killed = Number(_root.killed) + 1;
_root.points = Number(_root.points) + 50;
Symbol 117 MovieClip Frame 7
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
stop();
_root.killed = Number(_root.killed) + 1;
_root.points = Number(_root.points) + 25;
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
stop();
_root.killed = Number(_root.killed) + 1;
_root.points = Number(_root.points) + 25;
Symbol 136 MovieClip Frame 8
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 1
pos = Number(pos) + 1;
enemy = Number(random(10)) + 1;
if (enemy == 1) {
duplicateMovieClip (spiny, "spiny" add pos, pos);
setProperty("spiny" add pos, _x , 500 + (getProperty("spiny" add pos, _width) / 2));
}
if (enemy == 2) {
duplicateMovieClip (gturtle, "gturtle" add pos, pos);
setProperty("gturtle" add pos, _x , 500 + (getProperty("gturtle" add pos, _width) / 2));
}
if (enemy == 3) {
duplicateMovieClip (wiggler, "wiggler" add pos, pos);
setProperty("wiggler" add pos, _x , 500 + (getProperty("wiggler" add pos, _width) / 2));
}
if (enemy == 4) {
duplicateMovieClip (rpara, "rpara" add pos, pos);
setProperty("rpara" add pos, _x , 500 + (getProperty("rpara" add pos, _width) / 2));
}
if (enemy == 5) {
duplicateMovieClip (rex, "rex" add pos, pos);
setProperty("rex" add pos, _x , 500 + (getProperty("rex" add pos, _width) / 2));
}
if (enemy == 6) {
duplicateMovieClip (goomba, "goomba" add pos, pos);
setProperty("goomba" add pos, _x , 500 + (getProperty("goomba" add pos, _width) / 2));
}
if (enemy == 7) {
duplicateMovieClip (bomb, "bomb" add pos, pos);
setProperty("bomb" add pos, _x , 500 + (getProperty("bomb" add pos, _width) / 2));
}
Instance of Symbol 85 MovieClip "wiggler" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < (-_width)) {
removeMovieClip("");
}
if (death == false) {
if (this.hitTest(_root.mario.gun.gun.bullet) == true) {
gotoAndPlay (1);
death = true;
}
if (this.hitTest(_root.mario.hit)) {
stopAllSounds();
tellTarget (_root.mario) {
gotoAndPlay ("dead");
};
}
}
}
Instance of Symbol 96 MovieClip "spiny" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < (-_width)) {
removeMovieClip("");
}
if (death == false) {
if (this.hitTest(_root.mario.gun.gun.bullet) == true) {
this.gotoAndPlay("dead");
death = true;
}
if (this.hitTest(_root.mario.hit)) {
stopAllSounds();
tellTarget (_root.mario) {
gotoAndPlay ("dead");
};
}
}
}
Instance of Symbol 107 MovieClip "gturtle" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < (-_width)) {
removeMovieClip("");
}
if (death == false) {
if (this.hitTest(_root.mario.gun.gun.bullet) == true) {
this.gotoAndStop(2);
death = true;
}
if (this.hitTest(_root.mario.hit)) {
stopAllSounds();
tellTarget (_root.mario) {
gotoAndPlay ("dead");
};
}
}
}
Instance of Symbol 117 MovieClip "rpara" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < (-_width)) {
removeMovieClip("");
}
if (death == false) {
if (this.hitTest(_root.mario.gun.gun.bullet) == true) {
this.play();
death = true;
}
if (this.hitTest(_root.mario.hit)) {
stopAllSounds();
tellTarget (_root.mario) {
gotoAndPlay ("dead");
};
}
}
}
Instance of Symbol 122 MovieClip "rex" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < (-_width)) {
removeMovieClip("");
}
if (death == false) {
if (this.hitTest(_root.mario.gun.gun.bullet) == true) {
this.gotoAndStop(2);
death = true;
}
if (this.hitTest(_root.mario.hit)) {
stopAllSounds();
tellTarget (_root.mario) {
gotoAndPlay ("dead");
};
}
}
}
Instance of Symbol 127 MovieClip "goomba" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < (-_width)) {
removeMovieClip("");
}
if (death == false) {
if (this.hitTest(_root.mario.gun.gun.bullet) == true) {
this.gotoAndStop(2);
death = true;
}
if (this.hitTest(_root.mario.hit)) {
stopAllSounds();
tellTarget (_root.mario) {
gotoAndPlay ("dead");
};
}
}
}
Instance of Symbol 138 MovieClip "bomb" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
_x = (_x - 10);
if (_x < (-_width)) {
removeMovieClip("");
}
if (death == false) {
if (this.hitTest(_root.mario.gun.gun.bullet) == true) {
this.gotoAndStop(2);
death = true;
}
if (this.hitTest(_root.mario.hit)) {
stopAllSounds();
tellTarget (_root.mario) {
gotoAndPlay ("dead");
};
}
}
}
Symbol 139 MovieClip Frame 10
gotoAndPlay (1);
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 10
tellTarget (_root) {
play();
};
stop();
Symbol 152 Button
on (release) {
gotoAndStop (2);
}