Frame 1
stop();
Instance of Symbol 5 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (aniplay == true) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 2
stop();
_root.deadcount = 0;
_root.sectimer2 = 0;
_root.sectimer = 0;
_root.mintimer2 = 0;
_root.mintimer = 0;
Frame 4
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "1";
Instance of Symbol 33 MovieClip "mine" in Frame 4
onClipEvent (enterFrame) {
gotoAndStop(Number(_root.currlev));
}
Instance of Symbol 53 MovieClip "player" in Frame 4
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Instance of Symbol 64 MovieClip "coll" in Frame 4
onClipEvent (enterFrame) {
gotoAndStop(Number(_root.currlev));
}
Instance of Symbol 79 MovieClip in Frame 4
onClipEvent (load) {
timerx = 0;
_root.sectimer2 = Number(0);
_root.mintimer2 = Number(0);
}
onClipEvent (enterFrame) {
timerx = timerx + 1;
if (timerx > 39) {
_root.sectimer2 = _root.sectimer2 + 1;
timerx = 0;
}
}
onClipEvent (enterFrame) {
if (_root.sectimer2 > 59) {
_root.mintimer2 = _root.mintimer2 + 1;
_root.sectimer2 = 0;
}
}
onClipEvent (enterFrame) {
if (_root.sectimer2 < 10) {
_root.sectimer = "0" + _root.sectimer2;
} else {
_root.sectimer = _root.sectimer2;
}
if (_root.mintimer2 < 10) {
_root.mintimer = "0" + _root.mintimer2;
} else {
_root.mintimer = _root.mintimer2;
}
}
Frame 5
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "2";
Instance of Symbol 53 MovieClip "player" in Frame 5
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 6
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "3";
Instance of Symbol 53 MovieClip "player" in Frame 6
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 7
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "4";
Instance of Symbol 53 MovieClip "player" in Frame 7
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 8
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "5";
Instance of Symbol 53 MovieClip "player" in Frame 8
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 9
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "6";
Instance of Symbol 53 MovieClip "player" in Frame 9
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 10
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "7";
Instance of Symbol 53 MovieClip "player" in Frame 10
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 11
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "8";
Instance of Symbol 53 MovieClip "player" in Frame 11
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 12
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "9";
Instance of Symbol 53 MovieClip "player" in Frame 12
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 13
_root.playx = _root.player._x;
_root.playy = _root.player._y;
_root.currlev = "10";
Instance of Symbol 53 MovieClip "player" in Frame 13
onClipEvent (load) {
myspeed = 3;
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (Key.isDown(40)) {
_y = (_y + myspeed);
}
if (Key.isDown(38)) {
_y = (_y - myspeed);
}
if (Key.isDown(37)) {
_x = (_x - myspeed);
}
if (Key.isDown(39)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - myspeed);
}
if (_root.coll.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - myspeed);
}
if (_root.coll.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + myspeed);
}
}
}
onClipEvent (enterFrame) {
if (_root.playerok == true) {
if (((_root.mine.hittest(getbounds(_root).xmax, _y, true) or _root.mine.hittest(getbounds(_root).xmin, _y, true)) or _root.mine.hittest(_x, getbounds(_root).ymax, true)) or _root.mine.hittest(_x, getbounds(_root).ymin, true)) {
gotoAndPlay (2);
}
if (((_root.door.hittest(getbounds(_root).xmax, _y, true) or _root.door.hittest(getbounds(_root).xmin, _y, true)) or _root.door.hittest(_x, getbounds(_root).ymax, true)) or _root.door.hittest(_x, getbounds(_root).ymin, true)) {
with (_level0) {
nextFrame();
}
}
}
}
Frame 14
_root.endtxt = ((((("You completed the game in " + _root.mintimer2) + " mins ") + _root.sectimer2) + " seconds... \n \nYou lost ") + _root.deadcount) + " men.\n\nYour rating is: ";
if (_root.mintimer2 < 5) {
if (_root.deadcount < 10) {
_root.rated = "Suicide Commander";
}
if (_root.deadcount < 4) {
_root.rated = "Trained Soldier";
}
if (_root.deadcount < 1) {
_root.rated = "Super Ninja";
}
if (_root.deadcount > 9) {
_root.rated = "Live fast, die young!";
}
}
if (_root.mintimer2 > 5) {
if (_root.deadcount < 10) {
_root.rated = "Sitting Duck";
}
if (_root.deadcount < 4) {
_root.rating = "Trained but slow";
}
if (_root.deadcount < 1) {
_root.rated = "Skilled Turtle";
}
if (_root.deadcount > 9) {
_root.rated = "Osama Bin Laden";
}
}
_root.endtxt = _root.endtxt + _root.rated;
Symbol 5 MovieClip Frame 1
play();
aniplay = false;
Symbol 5 MovieClip Frame 2
play();
Symbol 5 MovieClip Frame 40
aniplay = true;
stop();
Symbol 15 Button
on (release) {
gotoAndStop (4);
}
Symbol 19 Button
on (release) {
gotoAndStop (3);
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 1
stop();
_root.playerok = true;
Symbol 53 MovieClip Frame 2
_root.playerok = false;
_rotation = Number(random(361));
Symbol 53 MovieClip Frame 17
stop();
_root.playerok = false;
_root.deadcount = _root.deadcount + 1;
with (_root.kia) {
play();
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 90
_root.player._x = _root.playx;
_root.player._y = _root.playy;
with (_root.player) {
gotoAndStop(1);
}
gotoAndStop (1);
Symbol 77 Button
on (release) {
gotoAndPlay (2);
}
Symbol 85 Button
on (press) {
getURL ("http://www.shockarcade.com", "_blank");
}
Symbol 136 Button
on (release) {
gotoAndStop (2);
}