Frame 1
_quality = "best";
stop();
Instance of Symbol 66 MovieClip in Frame 1
onClipEvent (mouseDown) {
getURL ("http://www.shockarcade.com", "_blank");
}
Frame 2
stop();
Stage.showMenu = false;
Mouse.show();
_root.cursor.removeMovieClip();
fscommand ("allowscale", "false");
_root.onEnterFrame = function () {
};
Frame 3
stop();
function checkPower(ob2) {
ob2.timer = ob2.timer + 1;
if (ob2.timer == 175) {
ob2.removeMovieClip();
} else if (ob2.timer < 175) {
if (ob2.hitTest(_root.USER)) {
if (ob2.make == 1) {
if (uhealth < maxuhealth) {
uhealth = uhealth + 10;
_root.lightning.start();
ob2.removeMovieClip();
}
} else if (ob2.make == 2) {
superspeed = true;
supercount = 0;
speed = 8;
_root.lightning.start();
_root.USER.gotoAndPlay(3);
ob2.removeMovieClip();
} else if (ob2.make == 3) {
invincible = true;
invinccount = 0;
_root.lightning.start();
_root.USER.gotoAndPlay(2);
ob2.removeMovieClip();
} else if (ob2.make == 4) {
rapidfire = true;
rapidcount = 0;
firecount = 0;
maxfirecount = 20;
_root.lightning.start();
_root.USER.gotoAndPlay(4);
ob2.removeMovieClip();
} else if (ob2.make == 5) {
para = true;
paracount = 0;
_root.lightning.start();
ob2.removeMovieClip();
}
}
}
}
function moveBullet(ob) {
if (ob.alive == true) {
ob._x = ob._x + ob.xSpeed;
ob._y = ob._y - ob.ySpeed;
if (wall.proper.hitTest(ob._x, ob._y, true)) {
_root.metal.start();
ob.removeMovieClip();
ob.alive = false;
}
if ((((ob._x < 0) or (ob._x > 450)) or (ob._y < 0)) or (ob._y > 450)) {
_root.metal.start();
ob.removeMovieClip();
ob.alive = false;
}
if (ob.make == 1) {
if (ob.hitTest(_root.CPU)) {
chealth = chealth - 10;
if (_root.chealth > 0) {
_root.score = _root.score + 100;
_root.hit.start();
}
ob.removeMovieClip();
ob.alive = false;
}
} else if (ob.make == 2) {
if (ob.hitTest(_root.USER)) {
if (_root.invincible == false) {
_root.uhealth = _root.uhealth - 10;
if (_root.uhealth > 0) {
_root.hit.start();
}
}
ob.removeMovieClip();
ob.alive = false;
}
}
}
}
Stage.showMenu = false;
fscommand ("allowscale", "false");
_root.attachMovie("bulletholder", "bulletholder", 1);
posArray = [[322.5, 10.5], [10.5, 320.5], [426.5, 320.5], [426.5, 120.5], [57, 196.3], [317, 428.3], [149, 428.3], [10.5, 428.3], [426.5, 10.5], [296.3, 264], [152, 264]];
pos2Array = [[413, 413], [335, 384.6], [39, 379.6], [51, 237.6], [398, 268], [6.5, 131.5], [68, 20.5], [266, 20.5], [371, 126.5], [331, 45.5]];
choose = random(posArray.length);
_root.mine._x = posArray[choose][0] + 7;
_root.mine._y = posArray[choose][1] + 7;
posArray.splice(choose, 1);
choose = random(posArray.length);
_root.mine2._x = posArray[choose][0] + 7;
_root.mine2._y = posArray[choose][1] + 7;
posArray.splice(choose, 1);
choose = random(posArray.length);
_root.mine3._x = posArray[choose][0] + 7;
_root.mine3._y = posArray[choose][1] + 7;
posArray.splice(choose, 1);
_root.attachMovie("chb", "chb", 5);
_root.attachMovie("cursor", "cursor", 6);
_root.chb._rotation = 90;
_root.attachMovie("uhb", "uhb", 4);
_root.attachMovie("USER", "USER", 2);
_root.attachMovie("CPU", "CPU", 3);
hit = new Sound();
hit.attachSound("shot");
metal = new Sound();
metal.attachSound("box");
firing = new Sound();
firing.attachSound("gun");
small = new Sound();
small.attachSound("expl");
lightning = new Sound();
lightning.attachSound("collected");
mouseD = false;
i = 100;
deathtype = 0;
commanded = false;
commanded2 = false;
commanded3 = false;
dead = false;
k = 1;
startgame = false;
timer = 4500;
CPU.gotoAndPlay(level);
cohealth = chealth;
uhealth = 70 + addedhealth;
maxuhealth = uhealth;
CPU._y = 20;
CPU._x = 20;
chb._x = 18;
chb._y = -20;
USER._x = 430;
USER._y = 430;
uhb._x = 428;
uhb._y = 390;
USER._rotation = 180;
invincible = false;
rapidfire = false;
superspeed = false;
para = false;
invinccount = 0;
maxinvinccount = 125;
maxrapidcount = 125;
maxparacount = 125;
maxsupercount = 125;
rapidcount = 0;
paracount = 0;
supercount = 0;
powercount = 0;
maxpowercount = random(75) + 325;
firecount = 0;
firecount2 = 0;
omaxfirecount = maxfirecount;
ospeed = speed;
maxdirtimer = random(50) + 25;
dirtimer = maxdirtimer - 2;
onMouseDown = function () {
mouseD = true;
};
onMouseUp = function () {
mouseD = false;
};
_root.onEnterFrame = function () {
Mouse.hide();
_root.cursor._x = _root._xmouse;
_root.cursor._y = _root._ymouse;
_root.cursor.gotoAndPlay(1);
if (startgame == true) {
if (_root.USER.hitTest(_root.mine)) {
_root.uhealth = _root.uhealth - 20;
_root.mine._x = 1000;
_root.small.start();
}
if (_root.USER.hitTest(_root.mine2)) {
_root.uhealth = _root.uhealth - 20;
_root.mine2._x = 1000;
_root.small.start();
}
if (_root.USER.hitTest(_root.mine3)) {
_root.uhealth = _root.uhealth - 20;
_root.mine3._x = 1000;
_root.small.start();
}
if (_root.CPU.hitTest(_root.mine)) {
_root.chealth = _root.chealth - 20;
_root.mine._x = 1000;
_root.small.start();
}
if (_root.CPU.hitTest(_root.mine2)) {
_root.chealth = _root.chealth - 20;
_root.mine2._x = 1000;
_root.small.start();
}
if (_root.CPU.hitTest(_root.mine3)) {
_root.chealth = _root.chealth - 20;
_root.mine3._x = 1000;
_root.small.start();
}
if (timer > 0) {
timer = timer - 1;
} else if (commanded3 == false) {
_root.para = true;
_root.deathtype = 2;
stopAllSounds();
_root.uhb.removeMovieClip();
_root.dead = true;
_root.USER.gotoAndPlay(5);
commanded3 = true;
}
if (uhealth <= 0) {
if (commanded2 == false) {
_root.para = true;
_root.deathtype = 1;
stopAllSounds();
_root.uhb.removeMovieClip();
_root.dead = true;
_root.USER.gotoAndPlay(5);
commanded2 = true;
}
}
if (chealth <= 0) {
_root.invincible = true;
_root.para = true;
if (commanded == false) {
stopAllSounds();
_root.chb.removeMovieClip();
_root.CPU.gotoAndPlay(11);
commanded = true;
}
}
powercount = powercount + 1;
if (powercount == maxpowercount) {
pselect = random(15);
if (pselect < 5) {
_root.bulletholder.attachMovie("power", "power" + k, k);
_root.bulletholder["power" + k].make = 1;
_root.bulletholder["power" + k].gotoAndPlay(1);
choose2 = random(pos2Array.length);
trace(pos2Array.length);
trace(choose2);
_root.bulletholder["power" + k]._x = pos2Array[choose2][0] + 7;
_root.bulletholder["power" + k]._y = pos2Array[choose2][1] + 7;
_root.bulletholder["power" + k].timer = 0;
} else if ((pselect > 4) and (pselect < 9)) {
_root.bulletholder.attachMovie("power", "power" + k, k);
_root.bulletholder["power" + k].make = 2;
_root.bulletholder["power" + k].gotoAndPlay(2);
choose2 = random(pos2Array.length);
trace(pos2Array.length);
trace(choose2);
_root.bulletholder["power" + k]._x = pos2Array[choose2][0] + 7;
_root.bulletholder["power" + k]._y = pos2Array[choose2][1] + 7;
_root.bulletholder["power" + k].timer = 0;
} else if ((pselect > 8) and (pselect < 12)) {
_root.bulletholder.attachMovie("power", "power" + k, k);
_root.bulletholder["power" + k].make = 3;
_root.bulletholder["power" + k].gotoAndPlay(3);
choose2 = random(pos2Array.length);
trace(pos2Array.length);
trace(choose2);
_root.bulletholder["power" + k]._x = pos2Array[choose2][0] + 7;
_root.bulletholder["power" + k]._y = pos2Array[choose2][1] + 7;
_root.bulletholder["power" + k].timer = 0;
} else if ((pselect > 11) and (pselect < 14)) {
_root.bulletholder.attachMovie("power", "power" + k, k);
_root.bulletholder["power" + k].make = 4;
_root.bulletholder["power" + k].gotoAndPlay(4);
choose2 = random(pos2Array.length);
_root.bulletholder["power" + k]._x = pos2Array[choose2][0] + 7;
_root.bulletholder["power" + k]._y = pos2Array[choose2][1] + 7;
_root.bulletholder["power" + k].timer = 0;
} else if (pselect == 14) {
_root.bulletholder.attachMovie("power", "power" + k, k);
_root.bulletholder["power" + k].make = 5;
_root.bulletholder["power" + k].gotoAndPlay(5);
choose2 = random(pos2Array.length);
_root.bulletholder["power" + k]._x = pos2Array[choose2][0] + 7;
_root.bulletholder["power" + k]._y = pos2Array[choose2][1] + 7;
_root.bulletholder["power" + k].timer = 0;
}
powercount = 0;
maxpowercount = random(75) + 325;
k = k + 1;
}
dirtimer = dirtimer + 1;
if (firecount2 < maxfirecount2) {
firecount2 = firecount2 + 1;
}
if ((firecount2 == maxfirecount2) and (para == false)) {
_root.firing.start();
_root.bulletholder.attachMovie("bullet", "bullet" + i, i);
_root.bulletholder["bullet" + i].make = 2;
_root.bulletholder["bullet" + i].gotoAndPlay(2);
_root.bulletholder["bullet" + i]._x = CPU._x;
_root.bulletholder["bullet" + i]._y = CPU._y;
_root.bulletholder["bullet" + i].alive = true;
_root.bulletholder["bullet" + i]._rotation = ((CPU._rotation + 90) + random(7)) - 3;
_root.bulletholder["bullet" + i].speed = 10;
_root.bulletholder["bullet" + i].xSpeed = _root.bulletholder["bullet" + i].speed * Math.sin(_root.bulletholder["bullet" + i]._rotation * (Math.PI/180));
_root.bulletholder["bullet" + i].ySpeed = _root.bulletholder["bullet" + i].speed * Math.cos(_root.bulletholder["bullet" + i]._rotation * (Math.PI/180));
i = i + 1;
firecount2 = 0;
}
if (firecount < maxfirecount) {
firecount = firecount + 1;
}
x1 = CPU._x;
y1 = CPU._y;
x2 = USER._x;
y2 = USER._y;
x3 = _xmouse;
y3 = _ymouse;
xm = Math.round(x3 - x2);
ym = Math.round(y3 - y2);
cm = Math.round(Math.sqrt((xm * xm) + (ym * ym)));
am = Math.acos(xm / cm);
anglem = (am * 180) / Math.PI;
x = Math.round(x2 - x1);
y = Math.round(y2 - y1);
c = Math.round(Math.sqrt((x * x) + (y * y)));
a = Math.acos(x / c);
angle = (a * 180) / Math.PI;
if (para == false) {
if (y2 >= y1) {
CPU._rotation = angle;
} else {
CPU._rotation = angle * -1;
}
}
if (y2 >= y3) {
USER._rotation = anglem * -1;
} else {
USER._rotation = anglem * 1;
}
if (mouseD) {
if (firecount == maxfirecount) {
_root.firing.start();
_root.bulletholder.attachMovie("bullet", "bullet" + i, i);
_root.bulletholder["bullet" + i].make = 1;
_root.bulletholder["bullet" + i].gotoAndPlay(1);
_root.bulletholder["bullet" + i]._x = USER._x;
_root.bulletholder["bullet" + i]._y = USER._y;
_root.bulletholder["bullet" + i].alive = true;
_root.bulletholder["bullet" + i]._rotation = USER._rotation + 90;
_root.bulletholder["bullet" + i].speed = 10;
_root.bulletholder["bullet" + i].xSpeed = _root.bulletholder["bullet" + i].speed * Math.sin(_root.bulletholder["bullet" + i]._rotation * (Math.PI/180));
_root.bulletholder["bullet" + i].ySpeed = _root.bulletholder["bullet" + i].speed * Math.cos(_root.bulletholder["bullet" + i]._rotation * (Math.PI/180));
i = i + 1;
firecount = 0;
}
}
j = 99;
while (j < i) {
ob = _root.bulletholder["bullet" + j];
moveBullet(ob);
j++;
}
l = 0;
while (l < k) {
ob2 = _root.bulletholder["power" + l];
checkPower(ob2);
l++;
}
if (dirtimer == maxdirtimer) {
selecty = random(3);
selectx = random(3);
dirtimer = 0;
maxdirtimer = random(50) + 25;
}
if (para == false) {
if ((selecty == 1) and (CPU._y > 20)) {
if ((!wall.proper.hitTest(CPU._x, CPU._y - 25, true)) and (!USER.hitTest(CPU._x, CPU._y - 25, true))) {
CPU._y = CPU._y - cspeed;
chb._y = chb._y - cspeed;
}
} else if ((selecty == 2) and (CPU._y < 430)) {
if ((!wall.proper.hitTest(CPU._x, CPU._y + 25, true)) and (!USER.hitTest(CPU._x, CPU._y + 25, true))) {
CPU._y = CPU._y + cspeed;
chb._y = chb._y + cspeed;
}
}
if ((selectx == 1) and (CPU._x > 20)) {
if ((!wall.proper.hitTest(CPU._x - 25, CPU._y, true)) and (!USER.hitTest(CPU._x - 25, CPU._y, true))) {
CPU._x = CPU._x - cspeed;
chb._x = chb._x - cspeed;
}
} else if ((selectx == 2) and (CPU._x < 430)) {
if ((!wall.proper.hitTest(CPU._x + 25, CPU._y, true)) and (!USER.hitTest(CPU._x + 25, CPU._y, true))) {
CPU._x = CPU._x + cspeed;
chb._x = chb._x + cspeed;
}
}
if ((((wall.proper.hitTest(CPU._x, CPU._y - 25, true) or wall.proper.hitTest(CPU._x - 25, CPU._y - 25, true)) or wall.proper.hitTest(CPU._x + 25, CPU._y - 25, true)) or wall.proper.hitTest(CPU._x + 10, CPU._y - 25, true)) or wall.proper.hitTest(CPU._x - 10, CPU._y - 25, true)) {
CPU._y = CPU._y + cspeed;
chb._y = chb._y + cspeed;
}
if ((((wall.proper.hitTest(CPU._x, CPU._y + 25, true) or wall.proper.hitTest(CPU._x - 25, CPU._y + 25, true)) or wall.proper.hitTest(CPU._x + 25, CPU._y + 25, true)) or wall.proper.hitTest(CPU._x + 10, CPU._y + 25, true)) or wall.proper.hitTest(CPU._x - 10, CPU._y - 25, true)) {
CPU._y = CPU._y - cspeed;
chb._y = chb._y - cspeed;
}
if ((((wall.proper.hitTest(CPU._x + 25, CPU._y, true) or wall.proper.hitTest(CPU._x + 25, CPU._y + 25, true)) or wall.proper.hitTest(CPU._x + 25, CPU._y - 25, true)) or wall.proper.hitTest(CPU._x + 25, CPU._y - 10, true)) or wall.proper.hitTest(CPU._x + 25, CPU._y + 10, true)) {
CPU._x = CPU._x - cspeed;
chb._x = chb._x - cspeed;
}
if ((((wall.proper.hitTest(CPU._x - 25, CPU._y, true) or wall.proper.hitTest(CPU._x - 25, CPU._y + 25, true)) or wall.proper.hitTest(CPU._x - 25, CPU._y - 25, true)) or wall.proper.hitTest(CPU._x - 25, CPU._y - 10, true)) or wall.proper.hitTest(CPU._x - 25, CPU._y + 10, true)) {
CPU._x = CPU._x + cspeed;
chb._x = chb._x + cspeed;
}
}
if (dead == false) {
if ((Key.isDown(38) and (USER._y > 20)) or (Key.isDown(87) and (USER._y > 20))) {
if ((!wall.proper.hitTest(USER._x, USER._y - 25, true)) and (!CPU.hitTest(USER._x, USER._y - 25, true))) {
USER._y = USER._y - speed;
uhb._y = uhb._y - speed;
}
} else if ((Key.isDown(40) and (USER._y < 430)) or (Key.isDown(83) and (USER._y < 430))) {
if ((!wall.proper.hitTest(USER._x, USER._y + 25, true)) and (!CPU.hitTest(USER._x, USER._y + 25, true))) {
USER._y = USER._y + speed;
uhb._y = uhb._y + speed;
}
}
if ((((wall.proper.hitTest(USER._x, USER._y - 25, true) or wall.proper.hitTest(USER._x - 25, USER._y - 25, true)) or wall.proper.hitTest(USER._x + 25, USER._y - 25, true)) or wall.proper.hitTest(USER._x + 10, USER._y - 25, true)) or wall.proper.hitTest(USER._x - 10, USER._y - 25, true)) {
USER._y = USER._y + speed;
uhb._y = uhb._y + speed;
}
if ((((wall.proper.hitTest(USER._x, USER._y + 25, true) or wall.proper.hitTest(USER._x - 25, USER._y + 25, true)) or wall.proper.hitTest(USER._x + 25, USER._y + 25, true)) or wall.proper.hitTest(USER._x + 10, USER._y + 25, true)) or wall.proper.hitTest(USER._x - 10, USER._y - 25, true)) {
USER._y = USER._y - speed;
uhb._y = uhb._y - speed;
}
if ((((wall.proper.hitTest(USER._x + 25, USER._y, true) or wall.proper.hitTest(USER._x + 25, USER._y + 25, true)) or wall.proper.hitTest(USER._x + 25, USER._y - 25, true)) or wall.proper.hitTest(USER._x + 25, USER._y - 10, true)) or wall.proper.hitTest(USER._x + 25, USER._y + 10, true)) {
USER._x = USER._x - speed;
uhb._x = uhb._x - speed;
}
if ((((wall.proper.hitTest(USER._x - 25, USER._y, true) or wall.proper.hitTest(USER._x - 25, USER._y + 25, true)) or wall.proper.hitTest(USER._x - 25, USER._y - 25, true)) or wall.proper.hitTest(USER._x - 25, USER._y - 10, true)) or wall.proper.hitTest(USER._x - 25, USER._y + 10, true)) {
USER._x = USER._x + speed;
uhb._x = uhb._x + speed;
}
if ((Key.isDown(37) and (USER._x > 20)) or (Key.isDown(65) and (USER._x > 20))) {
if ((!wall.proper.hitTest(USER._x - 25, USER._y, true)) and (!CPU.hitTest(USER._x - 25, USER._y, true))) {
USER._x = USER._x - speed;
uhb._x = uhb._x - speed;
}
} else if ((Key.isDown(39) and (USER._x < 430)) or (Key.isDown(68) and (USER._x < 430))) {
if ((!wall.proper.hitTest(USER._x + 25, USER._y, true)) and (!CPU.hitTest(USER._x + 25, USER._y, true))) {
USER._x = USER._x + speed;
uhb._x = uhb._x + speed;
}
}
}
if (superspeed == true) {
supercount = supercount + 1;
if (supercount == maxsupercount) {
supercount = 0;
superspeed = false;
speed = ospeed;
_root.USER.gotoAndPlay(1);
}
}
if (invincible == true) {
invinccount = invinccount + 1;
if (invinccount == maxinvinccount) {
invincount = 0;
invincible = false;
_root.USER.gotoAndPlay(1);
}
}
if (rapidfire == true) {
rapidcount = rapidcount + 1;
if (rapidcount == maxrapidcount) {
rapidcount = 0;
rapidfire = false;
firecount = 0;
maxfirecount = omaxfirecount;
_root.USER.gotoAndPlay(1);
}
}
if (para == true) {
paracount = paracount + 1;
if (paracount == maxparacount) {
paracount = 0;
para = false;
}
}
}
};
Instance of Symbol 126 MovieClip "wall" in Frame 3
onClipEvent (enterFrame) {
this.gotoAndPlay(_root.level);
}
Instance of Symbol 56 MovieClip [clock] in Frame 3
onClipEvent (enterFrame) {
if (_root.timer >= 3375) {
this.gotoAndPlay(1);
} else if ((_root.timer < 3375) and (_root.timer >= 2250)) {
this.gotoAndPlay(2);
} else if ((_root.timer < 2250) and (_root.timer >= 1125)) {
this.gotoAndPlay(3);
} else if ((_root.timer < 1125) and (_root.timer > 0)) {
this.gotoAndPlay(4);
} else if (_root.timer < 0) {
this.gotoAndPlay(5);
}
}
Instance of Symbol 141 MovieClip in Frame 3
onClipEvent (load) {
this._x = 150;
}
onClipEvent (enterFrame) {
if (_root.startgame == true) {
this._x = 1000;
} else {
this._x = 150;
}
}
Frame 4
stop();
Stage.showMenu = false;
fscommand ("allowscale", "false");
Mouse.show();
_root.cursor.removeMovieClip();
_root.uhb.removeMovieClip();
_root.chb.removeMovieClip();
_root.USER.removeMovieClip();
_root.CPU.removeMovieClip();
_root.bulletholder.removeMovieClip();
upgraded = false;
hbonus = hleft * 10;
lscore = (hbonus + timer) + 1000;
score = score + lscore;
_root.onEnterFrame = function () {
};
Instance of Symbol 163 MovieClip "upspeed" in Frame 4
onClipEvent (enterFrame) {
if (_root.speed >= 6) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 167 MovieClip "uparmour" in Frame 4
onClipEvent (enterFrame) {
if (_root.addedhealth >= 50) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 171 MovieClip "upweapon" in Frame 4
onClipEvent (enterFrame) {
if (_root.maxfirecount <= 30) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 175 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.upgraded == false) {
this.gotoAndPlay(1);
} else {
this.gotoAndPlay(2);
}
}
Frame 5
stop();
Stage.showMenu = false;
fscommand ("allowscale", "false");
Mouse.show();
_root.cursor.removeMovieClip();
_root.uhb.removeMovieClip();
_root.chb.removeMovieClip();
_root.USER.removeMovieClip();
_root.CPU.removeMovieClip();
_root.bulletholder.removeMovieClip();
battles = level - 1;
_root.onEnterFrame = function () {
};
Instance of Symbol 180 MovieClip in Frame 5
onClipEvent (load) {
if (_root.deathtype == 1) {
this.gotoAndStop("a");
} else {
this.gotoAndStop("b");
}
}
Frame 6
stop();
Stage.showMenu = false;
fscommand ("allowscale", "false");
Mouse.show();
_root.cursor.removeMovieClip();
_root.uhb.removeMovieClip();
_root.chb.removeMovieClip();
_root.USER.removeMovieClip();
_root.CPU.removeMovieClip();
_root.bulletholder.removeMovieClip();
hbonus = hleft * 10;
lscore = (hbonus + timer) + 1000;
score = score + lscore;
_root.onEnterFrame = function () {
};
Symbol 8 MovieClip [cursor] Frame 1
stop();
Symbol 21 MovieClip [CPU] Frame 1
stop();
Symbol 21 MovieClip [CPU] Frame 2
stop();
Symbol 21 MovieClip [CPU] Frame 3
stop();
Symbol 21 MovieClip [CPU] Frame 4
stop();
Symbol 21 MovieClip [CPU] Frame 5
stop();
Symbol 21 MovieClip [CPU] Frame 6
stop();
Symbol 21 MovieClip [CPU] Frame 7
stop();
Symbol 21 MovieClip [CPU] Frame 8
stop();
Symbol 21 MovieClip [CPU] Frame 9
stop();
Symbol 21 MovieClip [CPU] Frame 10
stop();
Symbol 21 MovieClip [CPU] Frame 35
_root.speed = _root.ospeed;
_root.maxfirecount = _root.omaxfirecount;
_root.mine._x = 1000;
_root.mine2._x = 1000;
_root.mine3._x = 1000;
_root.hleft = _root.uhealth;
_root.uhb.removeMovieClip();
_root.USER.removeMovieClip();
_root.bulletholder.removeMovieClip();
if (_root.level < 10) {
_root.gotoAndPlay("levelup");
} else {
_root.gotoAndPlay("won");
}
stop();
Symbol 26 MovieClip [USER] Frame 1
stop();
Symbol 26 MovieClip [USER] Frame 2
stop();
Symbol 26 MovieClip [USER] Frame 3
stop();
Symbol 26 MovieClip [USER] Frame 4
stop();
Symbol 26 MovieClip [USER] Frame 29
_root.speed = _root.ospeed;
_root.maxfirecount = _root.omaxfirecount;
_root.hleft = 0;
_root.mine._x = 1000;
_root.mine2._x = 1000;
_root.mine3._x = 1000;
_root.chb.removeMovieClip();
_root.bulletholder.removeMovieClip();
_root.CPU.removeMovieClip();
_root.gotoAndPlay("over");
stop();
Symbol 35 MovieClip [bullet] Frame 1
stop();
Symbol 35 MovieClip [bullet] Frame 2
stop();
Symbol 37 MovieClip [power] Frame 1
stop();
Symbol 37 MovieClip [power] Frame 2
stop();
Symbol 37 MovieClip [power] Frame 3
stop();
Symbol 37 MovieClip [power] Frame 4
stop();
Symbol 37 MovieClip [power] Frame 5
stop();
Instance of Symbol 39 MovieClip "bar" in Symbol 42 MovieClip [chb] Frame 1
onClipEvent (enterFrame) {
this._yscale = _root.chealth;
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip [chb] Frame 1
onClipEvent (enterFrame) {
this._yscale = _root.cohealth;
}
Instance of Symbol 43 MovieClip "bar" in Symbol 46 MovieClip [uhb] Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.uhealth;
}
Instance of Symbol 45 MovieClip in Symbol 46 MovieClip [uhb] Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.maxuhealth;
}
Symbol 56 MovieClip [clock] Frame 1
stop();
Symbol 56 MovieClip [clock] Frame 2
stop();
Symbol 56 MovieClip [clock] Frame 3
stop();
Symbol 56 MovieClip [clock] Frame 4
stop();
Symbol 56 MovieClip [clock] Frame 5
stop();
Symbol 58 Button
on (release) {
getURL ("http://www.shockarcade.com");
}
Symbol 66 MovieClip Frame 1
play();
Symbol 66 MovieClip Frame 2
play();
Symbol 66 MovieClip Frame 40
stop();
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
with (_level0) {
nextFrame();
}
}
}
Symbol 72 Button
on (release) {
_root.score = 0;
_root.level = 1;
_root.chealth = 100;
_root.cspeed = 4;
_root.speed = 3.5;
_root.maxfirecount = 45;
_root.uhealth = 70;
_root.addedhealth = 0;
_root.maxfirecount2 = 35;
_root.gotoAndPlay("game");
}
Symbol 89 Button
on (release) {
getURL ("http://www.shockarcade.com");
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
stop();
Symbol 126 MovieClip Frame 3
stop();
Symbol 126 MovieClip Frame 4
stop();
Symbol 126 MovieClip Frame 5
stop();
Symbol 126 MovieClip Frame 6
stop();
Symbol 126 MovieClip Frame 7
stop();
Symbol 126 MovieClip Frame 8
stop();
Symbol 126 MovieClip Frame 9
stop();
Symbol 126 MovieClip Frame 10
stop();
Symbol 141 MovieClip Frame 120
Symbol 141 MovieClip Frame 160
stop();
_root.startgame = true;
Symbol 160 Button
on (release) {
if (_root.upgraded == false) {
if (_root.speed < 6) {
_root.speed = _root.speed + 0.5;
_root.upgraded = true;
_root.uparmour.gotoAndPlay(2);
_root.upweapon.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
}
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
stop();
Symbol 165 Button
on (release) {
if (_root.upgraded == false) {
if (_root.addedhealth < 50) {
_root.addedhealth = _root.addedhealth + 10;
_root.upgraded = true;
_root.upspeed.gotoAndPlay(2);
_root.upweapon.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 2
stop();
Symbol 169 Button
on (release) {
if (_root.upgraded == false) {
if (_root.maxfirecount > 30) {
_root.maxfirecount = _root.maxfirecount - 3;
_root.upgraded = true;
_root.upspeed.gotoAndPlay(2);
_root.uparmour.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
}
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
stop();
Symbol 174 Button
on (release) {
if (_root.upgraded == true) {
_root.level = _root.level + 1;
_root.CPU.gotoAndPlay(_root.level);
_root.chealth = 100;
_root.chealth = _root.chealth + (_root.level * 10);
_root.cspeed = _root.cspeed + 0.5;
_root.maxfirecount2 = _root.maxfirecount2 - 3;
_root.gotoAndPlay("game");
}
}
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 183 Button
on (release) {
_root.score = 0;
_root.level = 1;
_root.chealth = 100;
_root.cspeed = 4;
_root.speed = 3.5;
_root.maxfirecount = 45;
_root.uhealth = 70;
_root.addedhealth = 0;
_root.maxfirecount2 = 35;
_root.gotoAndPlay("game");
}
Symbol 185 Button
on (release) {
_root.gotoAndPlay("menu");
}