Frame 1
_root.weapon2 = true;
_root.armor = 1;
Stage.showMenu = false;
function EncrpytString(strVal) {
var strKey = "aHfEjcDebChGiAfIjDbEjacD";
var nLenKey = strKey.length;
var strZero = "0";
var _local3 = "";
var nTot = strVal.length;
var _local1 = 0;
_local3 = "";
var nCodeVal;
var nCodeKey;
var _local2;
var nChecksum = 0;
nCnt = 0;
while (nCnt < nTot) {
nCodeVal = strVal.charCodeAt(nCnt);
if (nCodeVal >= 128) {
nCodeVal = "X";
}
nCodeKey = strKey.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= nLenKey) {
_local1 = 0;
}
_local2 = (nCodeVal % 16) + nCodeKey;
_local3 = _local3 + String.fromCharCode(_local2);
nChecksum = nChecksum + _local2;
nCodeKey = strKey.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= nLenKey) {
_local1 = 0;
}
_local2 = Math.floor(nCodeVal / 16) + nCodeKey;
_local3 = _local3 + String.fromCharCode(_local2);
nChecksum = nChecksum + _local2;
nCnt++;
}
nChecksum = nChecksum % 256;
nCodeKey = strKey.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= nLenKey) {
_local1 = 0;
}
_local2 = (nChecksum % 16) + nCodeKey;
_local3 = _local3 + String.fromCharCode(_local2);
nCodeKey = strKey.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= nLenKey) {
_local1 = 0;
}
_local2 = Math.floor(nChecksum / 16) + nCodeKey;
_local3 = _local3 + String.fromCharCode(_local2);
return(_local3);
}
function GetUrlParam(strUrl, strParam) {
var _local3 = strUrl.toLowerCase();
var _local1 = _local3.indexOf(strParam);
var nParamLen = strParam.length;
if (_local1 > 0) {
var nNumChars;
var _local2 = _local3.indexOf("&", _local1 + nParamLen);
if (_local2 > 0) {
nNumChars = _local2 - _local1;
} else {
nNumChars = strUrl.length - _local1;
}
return(strUrl.substr(_local1 + nParamLen, nNumChars));
}
return("");
}
function GetBaseUrl(strUrl) {
var _local1 = strUrl.toLowerCase();
var nNumChars = _local1.length;
var _local2 = _local1.indexOf("?", 0);
if (_local2 > 0) {
nNumChars = _local2;
}
var _local3 = "download";
if (_local1.substr(0, 4) == "http") {
_local3 = strUrl.substr(7, nNumChars - 7);
}
return(_local3);
}
stop();
Stage.showMenu = false;
_quality = "High";
Frame 2
stop();
Stage.showMenu = false;
_quality = "High";
Frame 3
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldWeapon2 = savefile.data.Weapon2;
if (savefile.data.Weapon2 == undefined) {
_root.Weapon2 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldarmor = savefile.data.armor;
if (savefile.data.armor == undefined) {
_root.armor = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldWeapon3 = savefile.data.Weapon3;
if (savefile.data.Weapon2 == undefined) {
_root.Weapon3 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldWeapon4 = savefile.data.Weapon4;
if (savefile.data.Weapon2 == undefined) {
_root.Weapon4 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldWeapon5 = savefile.data.Weapon5;
if (savefile.data.Weapon2 == undefined) {
_root.Weapon5 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldWeapon6 = savefile.data.Weapon6;
if (savefile.data.Weapon6 == undefined) {
_root.Weapon6 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldWeapon7 = savefile.data.Weapon7;
if (savefile.data.Weapon7 == undefined) {
_root.Weapon2 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldWeapon8 = savefile.data.Weapon8;
if (savefile.data.Weapon8 == undefined) {
_root.Weapon8 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldpower = savefile.data.power;
if (savefile.data.power == undefined) {
_root.power = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldpower2 = savefile.data.power2;
if (savefile.data.power == undefined) {
_root.power2 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldpower3 = savefile.data.power3;
if (savefile.data.power == undefined) {
_root.power3 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldpower4 = savefile.data.power4;
if (savefile.data.power == undefined) {
_root.power4 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldpower5 = savefile.data.power5;
if (savefile.data.power5 == undefined) {
_root.power5 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldpower6 = savefile.data.power6;
if (savefile.data.power == undefined) {
_root.power6 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldpower7 = savefile.data.power7;
if (savefile.data.power7 == undefined) {
_root.power7 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldpower8 = savefile.data.power8;
if (savefile.data.power8 == undefined) {
_root.power8 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldGA = savefile.data.GA;
if (savefile.data.GA == undefined) {
_root.GA = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldGA2 = savefile.data.GA2;
if (savefile.data.GA2 == undefined) {
_root.GA2 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldGA3 = savefile.data.GA3;
if (savefile.data.GA3 == undefined) {
_root.GA3 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldGA4 = savefile.data.GA4;
if (savefile.data.GA4 == undefined) {
_root.GA4 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldGA5 = savefile.data.GA5;
if (savefile.data.GA5 == undefined) {
_root.GA5 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldGA6 = savefile.data.GA6;
if (savefile.data.GA6 == undefined) {
_root.GA6 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldGA7 = savefile.data.GA7;
if (savefile.data.GA7 == undefined) {
_root.GA7 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.oldGA8 = savefile.data.GA8;
if (savefile.data.GA8 == undefined) {
_root.GA8 = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.cash = savefile.data.cash;
if (savefile.data.cash == undefined) {
_root.cash = 0;
}
var savefile = SharedObject.getLocal("SpiderTron");
_root.cash = savefile.data.Difficulty;
if (savefile.data.Difficulty == undefined) {
_root.Difficulty = 0;
}
stop();
Stage.showMenu = false;
_quality = "High";
Instance of Symbol 102 MovieClip "loading" in Frame 3
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 4
stopAllSounds();
stop();
Stage.showMenu = false;
_quality = "High";
Frame 6
stop();
Stage.showMenu = false;
_quality = "High";
Instance of Symbol 177 MovieClip "spider" in Frame 6
onClipEvent (enterFrame) {
if (_root.score <= 0) {
_root.score = 0;
}
AMMO1 = 250 + (50 * _root.GA);
GUN1 = 250 + (50 * _root.GA);
AMMO2 = 50 + (25 * _root.GA2);
GUN2 = 50 + (25 * _root.GA2);
AMMO3 = 25 + (10 * _root.GA3);
GUN3 = 25 + (10 * _root.GA3);
AMMO4 = 20 + (5 * _root.GA4);
GUN4 = 20 + (5 * _root.GA4);
AMMO5 = 200 + (60 * _root.GA5);
GUN5 = 200 + (60 * _root.GA5);
AMMO6 = 20 + (4 * _root.GA6);
GUN6 = 20 + (4 * _root.GA6);
AMMO7 = 5 + (1 * _root.GA7);
GUN7 = 5 + (1 * _root.GA7);
AMMO8 = 15 + (5 * _root.GA8);
GUN8 = 15 + (5 * _root.GA8);
_root.waves = _root.difficulty + 1;
_root.ARMORC = 2000 * _root.Armor;
}
Instance of Symbol 275 MovieClip "BUYING" in Frame 6
onClipEvent (enterFrame) {
if (_root.select <= 1) {
this.gotoAndStop(1);
this.EXR._visible = true;
this.BUY._visible = false;
this.EXR.PL = _root.power + 1;
this.EXR.am = _root.spider.ammo1;
this.gear.gotoAndStop(1);
this.gear2.gotoAndStop(1);
this.UPAm._visible = true;
this.UPLVL._visible = true;
this.POWC = 500 + (_root.power * 500);
this.AMMOC = 500 + (_root.GA * 500);
this.cost = _root.EMPTY;
}
if (_root.select == 2) {
this.gotoAndStop(2);
this.EXR._visible = true;
this.BUY._visible = false;
this.EXR.PL = _root.power2 + 1;
this.EXR.am = _root.spider.ammo2;
this.gear.gotoAndStop(2);
this.gear2.gotoAndStop(2);
this.UPAm._visible = true;
this.UPLVL._visible = true;
this.POWC = 500 + (_root.power2 * 500);
this.AMMOC = 500 + (_root.GA2 * 500);
this.cost = _root.EMPTY;
}
if ((_root.select == 3) && (_root.weapon3 == true)) {
this.gotoAndStop(3);
this.EXR._visible = true;
this.BUY._visible = false;
this.EXR.PL = _root.power3 + 1;
this.EXR.am = _root.spider.ammo3;
this.gear.gotoAndStop(3);
this.gear2.gotoAndStop(3);
this.UPAm._visible = true;
this.UPLVL._visible = true;
this.POWC = 700 + (_root.power3 * 700);
this.AMMOC = 700 + (_root.GA3 * 700);
this.cost = _root.EMPTY;
}
if ((_root.select == 3) && (_root.weapon3 != true)) {
this.gotoAndStop(3);
this.EXR._visible = false;
this.BUY._visible = true;
this.EXR.PL = _root.power3 + 1;
this.EXR.am = _root.spider.ammo3;
this.gear.gotoAndStop(3);
this.gear2.gotoAndStop(3);
this.UPAm._visible = false;
this.UPLVL._visible = false;
this.POWC = _root.EMPTY;
this.AMMOC = _root.EMPTY;
this.cost = 1300;
}
if ((_root.select == 4) && (_root.weapon4 == true)) {
this.gotoAndStop(4);
this.EXR._visible = true;
this.BUY._visible = false;
this.EXR.PL = _root.power4 + 1;
this.EXR.am = _root.spider.ammo4;
this.gear.gotoAndStop(4);
this.gear2.gotoAndStop(4);
this.UPAm._visible = true;
this.UPLVL._visible = true;
this.POWC = 800 + (_root.power4 * 800);
this.AMMOC = 800 + (_root.GA4 * 800);
this.cost = _root.EMPTY;
}
if ((_root.select == 4) && (_root.weapon4 != true)) {
this.gotoAndStop(4);
this.EXR._visible = false;
this.BUY._visible = true;
this.EXR.PL = _root.power4 + 1;
this.EXR.am = _root.spider.ammo4;
this.gear.gotoAndStop(4);
this.gear2.gotoAndStop(4);
this.UPAm._visible = false;
this.UPLVL._visible = false;
this.POWC = _root.EMPTY;
this.AMMOC = _root.EMPTY;
this.cost = 1600;
}
if ((_root.select == 5) && (_root.weapon5 == true)) {
this.gotoAndStop(5);
this.EXR._visible = true;
this.BUY._visible = false;
this.EXR.PL = _root.power5 + 1;
this.EXR.am = _root.spider.ammo5;
this.gear.gotoAndStop(5);
this.gear2.gotoAndStop(5);
this.UPAm._visible = true;
this.UPLVL._visible = true;
this.POWC = 1000 + (_root.power5 * 1000);
this.AMMOC = 1000 + (_root.GA5 * 1000);
this.cost = _root.EMPTY;
}
if ((_root.select == 5) && (_root.weapon5 != true)) {
this.gotoAndStop(5);
this.EXR._visible = false;
this.BUY._visible = true;
this.EXR.PL = _root.power5 + 1;
this.EXR.am = _root.spider.ammo5;
this.gear.gotoAndStop(5);
this.gear2.gotoAndStop(5);
this.UPAm._visible = false;
this.UPLVL._visible = false;
this.POWC = _root.EMPTY;
this.AMMOC = _root.EMPTY;
this.cost = 2200;
}
if ((_root.select == 6) && (_root.weapon6 == true)) {
this.gotoAndStop(6);
this.EXR._visible = true;
this.BUY._visible = false;
this.EXR.PL = _root.power6 + 1;
this.EXR.am = _root.spider.ammo6;
this.gear.gotoAndStop(6);
this.gear2.gotoAndStop(6);
this.UPAm._visible = true;
this.UPLVL._visible = true;
this.POWC = 1200 + (_root.power6 * 1200);
this.AMMOC = 1200 + (_root.GA6 * 1200);
this.cost = _root.EMPTY;
}
if ((_root.select == 6) && (_root.weapon6 != true)) {
this.gotoAndStop(6);
this.EXR._visible = false;
this.BUY._visible = true;
this.EXR.PL = _root.power6 + 1;
this.EXR.am = _root.spider.ammo6;
this.gear.gotoAndStop(6);
this.gear2.gotoAndStop(6);
this.UPAm._visible = false;
this.UPLVL._visible = false;
this.POWC = _root.EMPTY;
this.AMMOC = _root.EMPTY;
this.cost = 2600;
}
if ((_root.select == 7) && (_root.weapon7 == true)) {
this.gotoAndStop(7);
this.EXR._visible = true;
this.BUY._visible = false;
this.EXR.PL = _root.power7 + 1;
this.EXR.am = _root.spider.ammo7;
this.gear.gotoAndStop(7);
this.gear2.gotoAndStop(7);
this.UPAm._visible = true;
this.UPLVL._visible = true;
this.POWC = 1500 + (_root.power7 * 1400);
this.AMMOC = 1500 + (_root.GA7 * 1400);
this.cost = _root.EMPTY;
}
if ((_root.select == 7) && (_root.weapon7 != true)) {
this.gotoAndStop(7);
this.EXR._visible = false;
this.BUY._visible = true;
this.EXR.PL = _root.power7 + 1;
this.EXR.am = _root.spider.ammo7;
this.gear.gotoAndStop(7);
this.gear2.gotoAndStop(7);
this.UPAm._visible = false;
this.UPLVL._visible = false;
this.POWC = _root.EMPTY;
this.AMMOC = _root.EMPTY;
this.cost = 3500;
}
if ((_root.select == 8) && (_root.weapon8 == true)) {
this.gotoAndStop(8);
this.EXR._visible = true;
this.BUY._visible = false;
this.EXR.PL = _root.power8 + 1;
this.EXR.am = _root.spider.ammo8;
this.gear.gotoAndStop(8);
this.gear2.gotoAndStop(8);
this.UPAm._visible = true;
this.UPLVL._visible = true;
this.POWC = 2000 + (_root.power8 * 2000);
this.AMMOC = 2000 + (_root.GA8 * 2000);
this.cost = _root.EMPTY;
}
if ((_root.select == 8) && (_root.weapon8 != true)) {
this.gotoAndStop(8);
this.EXR._visible = false;
this.BUY._visible = true;
this.EXR.PL = _root.power8 + 1;
this.EXR.am = _root.spider.ammo8;
this.gear.gotoAndStop(8);
this.gear2.gotoAndStop(8);
this.UPAm._visible = false;
this.UPLVL._visible = false;
this.POWC = _root.EMPTY;
this.AMMOC = _root.EMPTY;
this.cost = 4000;
}
this.money = _root.cash;
}
Instance of Symbol 102 MovieClip "loading" in Frame 6
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 7
stop();
Instance of Symbol 324 MovieClip "spider" in Frame 7
onClipEvent (load) {
_rotation = 0;
_root.GOR = 0;
INTX = _xscale;
INTY = _yscale;
_root.gauge.collect._visible = false;
hurt = 3 + (1 * _root.difficulty);
Health = 500;
AMMO1 = 250 + (50 * _root.GA);
GUN1 = 250 + (50 * _root.GA);
AMMO2 = 50 + (25 * _root.GA2);
GUN2 = 50 + (25 * _root.GA2);
AMMO3 = 25 + (10 * _root.GA3);
GUN3 = 25 + (10 * _root.GA3);
AMMO4 = 20 + (5 * _root.GA4);
GUN4 = 20 + (5 * _root.GA4);
AMMO5 = 200 + (60 * _root.GA5);
GUN5 = 200 + (60 * _root.GA5);
AMMO6 = 20 + (4 * _root.GA6);
GUN6 = 20 + (4 * _root.GA6);
AMMO7 = 5 + (1 * _root.GA7);
GUN7 = 5 + (1 * _root.GA7);
AMMO8 = 15 + (5 * _root.GA8);
GUN8 = 15 + (5 * _root.GA8);
timer = 0;
_root.nextwave.swapDepths(60000);
_root.Gameover.swapDepths(60002);
_root.QS._visible = false;
this.swapDepths(101);
_root.gauge.swapDepths(50006);
_root.QS.swapDepths(50005);
_root.foreground.swapDepths(30000);
element = 300;
lamont = 0;
BGtype = random(6);
}
onClipEvent (enterFrame) {
if (((key.IsDown(39) && (pause != true)) && (attack <= 2)) && (Health > 0)) {
_rotation = (_rotation + 2);
}
if (((key.IsDown(37) && (pause != true)) && (attack <= 2)) && (Health > 0)) {
_rotation = (_rotation - 2);
}
if (((key.IsDown(38) && (pause != true)) && (attack <= 2)) && (Health > 0)) {
_x = (_x + (5 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (5 * Math.sin(_rotation * (Math.PI/180))));
this.play();
REV = true;
}
if (((key.IsDown(40) && (pause != true)) && (REVERT != true)) && (Health > 0)) {
_rotation = (_rotation + 180);
REVERT = true;
}
if (((key.IsDown(88) && (jump != true)) && (pause != true)) && (Health > 0)) {
jump = true;
ACC = 5;
this.swapDepths(20001);
}
if (((jump == true) && (pause != true)) && (Health > 0)) {
ACC = ACC - 0.2;
_xscale = (_xscale + ACC);
_yscale = (_yscale + ACC);
this.gotoAndStop("jumpN");
}
if (jump != true) {
ACC = 0;
}
if (pause == true) {
this.stop();
}
if (ACC <= -5) {
this.swapDepths(101);
ACC = 0;
jump = false;
_xscale = INTX;
_yscale = INTY;
this.gotoAndStop(1);
}
if (((key.IsDown(86) && (pause != true)) && (attack <= 0)) && (jump != true)) {
this.gotoAndPlay("punch");
attack = 13;
}
if ((((((pause != true) && (attack > 0)) && (_x > 0)) && (_x < 900)) && (_y > 0)) && (_y < 450)) {
_x = (_x + (attack * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (attack * Math.sin(_rotation * (Math.PI/180))));
attack = attack - 0.7;
}
if (attack <= 1) {
attack = 0;
}
if ((this.CD.hitTest(_root.ENEMY) && (pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - 5;
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
}
if ((this.CD.hitTest(_root.ENEMY2) && (pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - 5;
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
}
if ((this.CD.hitTest(_root.ENEMY3) && (pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - 5;
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
}
if ((this.CD.hitTest(_root.ENEMY4) && (pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - 5;
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
}
if ((this.CD.hitTest(_root.ENEMY5) && (pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.play();
_root.ENEMY5.Health = _root.ENEMY5.Health - 5;
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
}
if ((this.CD.hitTest(_root.ENEMY6) && (pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - 5;
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
}
if ((this.CD.hitTest(_root.ENEMY7) && (pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - 5;
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
}
if ((this.CD.hitTest(_root.ENEMY8) && (pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.play();
_root.ENEMY8.Health = _root.ENEMY8.Health - 5;
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
}
if (((((key.IsDown(67) && (jump != true)) && (REA != true)) && (weapon <= 1)) && (AMMO > 0)) && (pause != true)) {
duplicateMovieClip (_root.laser, "null" + element, element);
AMMO1 = AMMO1 - 1;
REA = true;
_root.soundFX.gotoAndPlay("laser");
}
if ((((((key.IsDown(67) && (jump != true)) && (REA != true)) && (weapon == 2)) && (AMMO > 0)) && (pause != true)) && (REROCKET > 10)) {
duplicateMovieClip (_root.laser2, "null" + element, element);
AMMO2 = AMMO2 - 1;
REA = true;
REROCKET = 0;
}
if ((((((key.IsDown(67) && (jump != true)) && (REA != true)) && (weapon == 3)) && (AMMO > 0)) && (pause != true)) && (REROCKET > 40)) {
duplicateMovieClip (_root.laser3, "null" + element, element);
AMMO3 = AMMO3 - 1;
REA = true;
REROCKET = 0;
}
if ((((((key.IsDown(67) && (jump != true)) && (REA != true)) && (weapon == 4)) && (AMMO > 0)) && (pause != true)) && (REROCKET > 40)) {
duplicateMovieClip (_root.laser4, "null" + element, lamont);
AMMO4 = AMMO4 - 1;
REA = true;
REROCKET = 0;
}
if ((((key.IsDown(67) && (jump != true)) && (weapon == 5)) && (AMMO > 0)) && (pause != true)) {
arrowk = arrowk + 1;
}
if (arrowk > 3) {
arrowk = 0;
duplicateMovieClip (_root.laser5, "null" + element, element);
AMMO5 = AMMO5 - 1;
_root.soundFX.gotoAndPlay("flame");
}
if ((((((key.IsDown(67) && (jump != true)) && (REA != true)) && (weapon == 6)) && (AMMO > 0)) && (pause != true)) && (REROCKET > 100)) {
duplicateMovieClip (_root.laser6, "null" + element, element);
AMMO6 = AMMO6 - 1;
REA = true;
REROCKET = 0;
}
if ((((((key.IsDown(67) && (jump != true)) && (REA != true)) && (weapon == 7)) && (AMMO > 0)) && (pause != true)) && (REROCKET > 70)) {
duplicateMovieClip (_root.laser7, "null" + element, element);
AMMO7 = AMMO7 - 1;
REA = true;
REROCKET = 0;
}
if ((((((key.IsDown(67) && (jump != true)) && (REA != true)) && (weapon == 8)) && (AMMO > 0)) && (pause != true)) && (REROCKET > 50)) {
duplicateMovieClip (_root.laser8, "null" + element, element);
AMMO8 = AMMO8 - 1;
REA = true;
REROCKET = 0;
DUB = true;
}
if (DUB == true) {
dual = dual + 1;
}
if ((dual > 1) && (dual < 3)) {
duplicateMovieClip (_root.laser9, "null" + element, element);
}
if ((dual > 4) && (dual < 6)) {
duplicateMovieClip (_root.laser10, "null" + element, element);
}
if (dual > 7) {
duplicateMovieClip (_root.laser8, "null" + element, element);
dual = 0;
DUB = false;
}
if (pause != true) {
REROCKET = REROCKET + 1;
}
if (weapon <= 1) {
AMMO = AMMO1;
_root.gauge.AF1 = GUN1;
_root.gauge.AM1 = AMMO1;
_root.gauge.WEA.TE = _root.DC;
_root.gauge.WEA.gotoAndStop(1);
this.weap.gotoAndStop(1);
}
if (weapon == 2) {
AMMO = AMMO2;
_root.gauge.AF1 = GUN2;
_root.gauge.AM1 = AMMO2;
_root.gauge.WEA.TE = _root.PS;
_root.gauge.WEA.gotoAndStop(2);
this.weap.gotoAndStop(2);
}
if (weapon == 3) {
AMMO = AMMO3;
_root.gauge.AF1 = GUN3;
_root.gauge.AM1 = AMMO3;
_root.gauge.WEA.TE = _root.SM;
_root.gauge.WEA.gotoAndStop(3);
this.weap.gotoAndStop(3);
}
if (weapon == 4) {
AMMO = AMMO4;
_root.gauge.AF1 = GUN4;
_root.gauge.AM1 = AMMO4;
_root.gauge.WEA.TE = _root.NT;
_root.gauge.WEA.gotoAndStop(4);
this.weap.gotoAndStop(4);
}
if (weapon == 5) {
AMMO = AMMO5;
_root.gauge.AF1 = GUN5;
_root.gauge.AM1 = AMMO5;
_root.gauge.WEA.gotoAndStop(5);
this.weap.gotoAndStop(5);
_root.gauge.WEA.TE = _root.TD;
}
if (weapon == 6) {
AMMO = AMMO6;
_root.gauge.AF1 = GUN6;
_root.gauge.AM1 = AMMO6;
_root.gauge.WEA.TE = _root.TS;
_root.gauge.WEA.gotoAndStop(6);
this.weap.gotoAndStop(6);
}
if (weapon == 7) {
AMMO = AMMO7;
_root.gauge.AF1 = GUN7;
_root.gauge.AM1 = AMMO7;
_root.gauge.WEA.TE = _root.MN;
_root.gauge.WEA.gotoAndStop(7);
this.weap.gotoAndStop(7);
}
if (weapon == 8) {
AMMO = AMMO8;
_root.gauge.AF1 = GUN8;
_root.gauge.AM1 = AMMO8;
_root.gauge.WEA.TE = _root.FC;
_root.gauge.WEA.gotoAndStop(8);
this.weap.gotoAndStop(8);
}
if (weapon == 9) {
AMMO = AMMO9;
_root.gauge.AF1 = GUN9;
_root.gauge.AM1 = AMMO9;
_root.gauge.WEA.gotoAndStop(9);
this.weap.gotoAndStop(9);
}
if (((key.IsDown(32) && (pause != true)) && (ROCK > 30)) && (completed != true)) {
pause = true;
rev = true;
ROCK = 0;
_root.QS._visible = true;
}
if (((key.IsDown(32) && (pause == true)) && (ROCK > 30)) && (completed != true)) {
pause = false;
rev = true;
ROCK = 0;
_root.QS._visible = false;
}
if (element > 999) {
element = 300;
}
if (lamont > 88) {
lamont = 0;
}
if ((this.FR.hitTest(_root.ENEMY) && (jump != true)) && (_root.ENEMY.Health > 0)) {
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.BR.hitTest(_root.ENEMY) && (jump != true)) && (_root.ENEMY.Health > 0)) {
_x = (_x + (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.FR.hitTest(_root.ENEMY2) && (jump != true)) && (_root.ENEMY2.Health > 0)) {
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.BR.hitTest(_root.ENEMY2) && (jump != true)) && (_root.ENEMY2.Health > 0)) {
_x = (_x + (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.FR.hitTest(_root.ENEMY3) && (jump != true)) && (_root.ENEMY3.Health > 0)) {
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.BR.hitTest(_root.ENEMY3) && (jump != true)) && (_root.ENEMY3.Health > 0)) {
_x = (_x + (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.FR.hitTest(_root.ENEMY4) && (jump != true)) && (_root.ENEMY4.Health > 0)) {
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.BR.hitTest(_root.ENEMY4) && (jump != true)) && (_root.ENEMY4.Health > 0)) {
_x = (_x + (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.FR.hitTest(_root.ENEMY5) && (jump != true)) && (_root.ENEMY5.Health > 0)) {
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.BR.hitTest(_root.ENEMY5) && (jump != true)) && (_root.ENEMY5.Health > 0)) {
_x = (_x + (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.FR.hitTest(_root.ENEMY6) && (jump != true)) && (_root.ENEMY6.Health > 0)) {
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.BR.hitTest(_root.ENEMY6) && (jump != true)) && (_root.ENEMY6.Health > 0)) {
_x = (_x + (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.FR.hitTest(_root.ENEMY7) && (jump != true)) && (_root.ENEMY7.Health > 0)) {
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.BR.hitTest(_root.ENEMY7) && (jump != true)) && (_root.ENEMY7.Health > 0)) {
_x = (_x + (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.FR.hitTest(_root.ENEMY8) && (jump != true)) && (_root.ENEMY8.Health > 0)) {
_x = (_x - (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if ((this.BR.hitTest(_root.ENEMY8) && (jump != true)) && (_root.ENEMY8.Health > 0)) {
_x = (_x + (13 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (13 * Math.sin(_rotation * (Math.PI/180))));
Health = Health - (hurt / _root.armor);
}
if (_root.armor == undefined) {
_root.armor = 1;
}
if (_y < 5) {
_y = 8;
}
if (_x < 5) {
_x = 8;
}
if (_y > 450) {
_y = 447;
}
if (_x > 895) {
_x = 893;
}
if (((pause != true) && (pickup > 0)) && (addition != true)) {
revertor = revertor + 1;
}
if ((revertor > 100) && (pickup >= 0)) {
pickup = pickup - 1;
_root.cash = _root.cash + 1;
_root.soundFX.play();
}
if (pickup > 0) {
_root.gauge.collect._visible = true;
}
if ((pickup <= 0) && (revertor > 0)) {
revertor = 0;
pickup = 0;
_root.gauge.collect._visible = false;
_root.soundfx.gotoAndPlay("cash");
}
if (pause != true) {
_quality = "Low";
}
if (pause == true) {
_quality = "High";
}
if (pause != true) {
timer = timer + 1;
}
if (((((((pause != true) && (timer > quota)) && (timer > 100)) && (_root.ENEMY.dying > 60)) && (_root.ENEMY2.dying > 60)) && (_root.ENEMY3.dying > 60)) && (_root.ENEMY4.dying > 60)) {
completed = true;
pause = true;
_root.QS._visible = false;
_root.cash = _root.cash + pickup;
pickup = 0;
_root.cash = _root.cash + bonus;
bonus = Math.round(_root.score / 2000);
_root.ENEMY._visible = false;
_root.ENEMY2._visible = false;
_root.ENEMY3._visible = false;
_root.ENEMY4._visible = false;
_root.ENEMY5._visible = false;
_root.ENEMY6._visible = false;
_root.nextwave.play();
}
if (Health <= 0) {
_root.gauge.bar._visible = false;
dead = true;
}
if (dead == true) {
death = death + 1;
}
if ((death > 4) && (death < 8)) {
this.gotoAndPlay("dead");
}
if (death > 60) {
pause = true;
_visible = false;
completed = true;
_root.GameOver.play();
}
quota = 4000 + (400 * _root.difficulty);
Stage.showMenu = false;
_root.gauge.bar._width = Health * 1.8;
_root.gauge.score = _root.score;
_root.gauge.SC = _root.ScoreG;
_root.gauge.HP = _root.healthG;
_root.gauge.am = _root.ammoG;
element = element + 1;
rock = rock + 1;
lamont = lamont + 1;
_root.gauge.collect.plus = pickup;
_root.gauge.plutonium = _root.cash;
}
onClipEvent (keyUp) {
if (rev == true) {
this.stop();
}
REVERT = false;
REA = false;
RES = false;
}
Instance of Symbol 352 MovieClip "ENEMY" in Frame 7
onClipEvent (load) {
HEALTH = 100 + (100 * _root.difficulty);
types = random(8);
}
onClipEvent (enterFrame) {
if ((_root.spider.pause != true) && (Health > 0)) {
_x = (_x - (1 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (1 * Math.sin(_rotation * (Math.PI/180))));
_rotation = (Math.atan2(_y - _root.spider._y, _x - _root.spider._x) / (Math.PI/180));
}
if ((_root.spider.pause != true) && (Health > 0)) {
this.skins.legs.play();
this.skins.legs3.play();
this.skins.legs2.play();
}
if (_root.spider.pause == true) {
this.skins.legs.stop();
this.skins.legs2.stop();
this.skins.legs3.stop();
}
if (types <= 1) {
this.skins.gotoAndStop(1);
}
if (types == 3) {
this.skins.gotoAndStop(3);
}
if (types == 2) {
this.skins.gotoAndStop(2);
}
if (types == 4) {
this.skins.gotoAndStop(4);
}
if (types == 5) {
this.skins.gotoAndStop(5);
}
if (types == 6) {
this.skins.gotoAndStop(6);
}
if (types >= 7) {
this.skins.gotoAndStop(7);
}
if (Health <= 0) {
Health = 0;
Death = true;
}
if (death == true) {
dying = dying + 1;
}
if ((dying > 7) && (dead != true)) {
dead = true;
this.gotoAndPlay("dead");
pos = (-Math.random()) * 180;
}
if ((dying > 60) && (_root.spider.timer < _root.spider.quota)) {
death = false;
dying = 0;
dead = false;
_root.bomb = false;
HEALTH = 100 + (100 * _root.difficulty);
types = random(8);
_x = (Math.random() * 800);
_y = 700;
this.gotoAndStop(1);
}
if ((dying > 25) && (_root.electrode == 1)) {
_root.electrode = 0;
}
}
Instance of Symbol 352 MovieClip "ENEMY2" in Frame 7
onClipEvent (load) {
HEALTH = 100 + (100 * _root.difficulty);
types = random(8);
}
onClipEvent (enterFrame) {
if ((_root.spider.pause != true) && (Health > 0)) {
_x = (_x - (1 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (1 * Math.sin(_rotation * (Math.PI/180))));
_rotation = (Math.atan2(_y - _root.spider._y, _x - _root.spider._x) / (Math.PI/180));
}
if ((_root.spider.pause != true) && (Health > 0)) {
this.skins.legs.play();
this.skins.legs3.play();
this.skins.legs2.play();
}
if (_root.spider.pause == true) {
this.skins.legs.stop();
this.skins.legs2.stop();
this.skins.legs3.stop();
}
if (types <= 1) {
this.skins.gotoAndStop(1);
}
if (types == 3) {
this.skins.gotoAndStop(3);
}
if (types == 2) {
this.skins.gotoAndStop(2);
}
if (types == 4) {
this.skins.gotoAndStop(4);
}
if (types == 5) {
this.skins.gotoAndStop(5);
}
if (types == 6) {
this.skins.gotoAndStop(6);
}
if (types >= 7) {
this.skins.gotoAndStop(7);
}
if (Health <= 0) {
Health = 0;
Death = true;
}
if (death == true) {
dying = dying + 1;
}
if ((dying > 7) && (dead != true)) {
dead = true;
_root.bomb2 = false;
this.gotoAndPlay("dead");
pos = Math.random() * 180;
}
if ((dying > 60) && (_root.spider.timer < _root.spider.quota)) {
death = false;
dying = 0;
dead = false;
HEALTH = 100 + (100 * _root.difficulty);
types = random(8);
_x = 1000;
_y = (Math.random() * 400);
this.gotoAndStop(1);
}
if ((dying > 25) && (_root.electrode == 2)) {
_root.electrode = 0;
}
}
Instance of Symbol 352 MovieClip "ENEMY3" in Frame 7
onClipEvent (load) {
HEALTH = 100 + (100 * _root.difficulty);
types = random(8);
}
onClipEvent (enterFrame) {
if ((_root.spider.pause != true) && (Health > 0)) {
_x = (_x - (1 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (1 * Math.sin(_rotation * (Math.PI/180))));
_rotation = (Math.atan2(_y - _root.spider._y, _x - _root.spider._x) / (Math.PI/180));
}
if ((_root.spider.pause != true) && (Health > 0)) {
this.skins.legs.play();
this.skins.legs3.play();
this.skins.legs2.play();
}
if (_root.spider.pause == true) {
this.skins.legs.stop();
this.skins.legs2.stop();
this.skins.legs3.stop();
}
if (types <= 1) {
this.skins.gotoAndStop(1);
}
if (types == 3) {
this.skins.gotoAndStop(3);
}
if (types == 2) {
this.skins.gotoAndStop(2);
}
if (types == 4) {
this.skins.gotoAndStop(4);
}
if (types == 5) {
this.skins.gotoAndStop(5);
}
if (types == 6) {
this.skins.gotoAndStop(6);
}
if (types >= 7) {
this.skins.gotoAndStop(7);
}
if (Health <= 0) {
Health = 0;
Death = true;
}
if (death == true) {
dying = dying + 1;
}
if ((dying > 7) && (dead != true)) {
dead = true;
_root.bomb3 = false;
this.gotoAndPlay("dead");
pos = Math.random() * 90;
}
if ((dying > 60) && (_root.spider.timer < _root.spider.quota)) {
death = false;
dying = 0;
dead = false;
HEALTH = 100 + (100 * _root.difficulty);
types = random(8);
_x = -100;
_y = (Math.random() * 400);
this.gotoAndStop(1);
}
if ((dying > 25) && (_root.electrode == 3)) {
_root.electrode = 0;
}
}
Instance of Symbol 352 MovieClip "ENEMY4" in Frame 7
onClipEvent (load) {
HEALTH = 100 + (100 * _root.difficulty);
types = random(8);
}
onClipEvent (enterFrame) {
if ((_root.spider.pause != true) && (Health > 0)) {
_x = (_x - (1 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (1 * Math.sin(_rotation * (Math.PI/180))));
_rotation = (Math.atan2(_y - _root.spider._y, _x - _root.spider._x) / (Math.PI/180));
}
if ((_root.spider.pause != true) && (Health > 0)) {
this.skins.legs.play();
this.skins.legs3.play();
this.skins.legs2.play();
}
if (_root.spider.pause == true) {
this.skins.legs.stop();
this.skins.legs2.stop();
this.skins.legs3.stop();
}
if (types <= 1) {
this.skins.gotoAndStop(1);
}
if (types == 3) {
this.skins.gotoAndStop(3);
}
if (types == 2) {
this.skins.gotoAndStop(2);
}
if (types == 4) {
this.skins.gotoAndStop(4);
}
if (types == 5) {
this.skins.gotoAndStop(5);
}
if (types == 6) {
this.skins.gotoAndStop(6);
}
if (types >= 7) {
this.skins.gotoAndStop(7);
}
if (Health <= 0) {
Health = 0;
Death = true;
}
if (death == true) {
dying = dying + 1;
}
if ((dying > 7) && (dead != true)) {
dead = true;
_root.bomb4 = false;
this.gotoAndPlay("dead");
pos = Math.random() * -90;
}
if ((dying > 60) && (_root.spider.timer < _root.spider.quota)) {
death = false;
dying = 0;
dead = false;
HEALTH = 100 + (100 * _root.difficulty);
types = random(8);
_x = (Math.random() * 800);
_y = -100;
this.gotoAndStop(1);
}
if ((dying > 25) && (_root.electrode == 4)) {
_root.electrode = 0;
}
}
Instance of Symbol 354 MovieClip "laser" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = _root.spider._rotation;
_visible = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 10;
_root.ENEMY.Health = _root.ENEMY.Health - (3 * _root.power);
_root.ENEMY.play();
removeMovieClip(this);
_visible = false;
}
if ((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 10;
_root.ENEMY2.Health = _root.ENEMY2.Health - (3 * _root.power);
_root.ENEMY2.play();
removeMovieClip(this);
_visible = false;
}
if ((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 10;
_root.ENEMY3.Health = _root.ENEMY3.Health - (3 * _root.power);
_root.ENEMY3.play();
removeMovieClip(this);
_visible = false;
}
if ((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 10;
_root.ENEMY4.Health = _root.ENEMY4.Health - (3 * _root.power);
_root.ENEMY4.play();
removeMovieClip(this);
_visible = false;
}
if ((this.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 10;
_root.ENEMY5.play();
_root.ENEMY5.Health = _root.ENEMY5.Health - (3 * _root.power);
removeMovieClip(this);
_visible = false;
}
if ((this.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 10;
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - (3 * _root.power);
removeMovieClip(this);
_visible = false;
}
if ((this.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 10;
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - (3 * _root.power);
removeMovieClip(this);
_visible = false;
}
if ((this.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 10;
_root.ENEMY.Health = _root.ENEMY.Health - (3 * _root.power);
_root.ENEMY8.play();
removeMovieClip(this);
_visible = false;
}
if (_x < 0) {
_root.removeMovieClip(this);
_visible = false;
}
if (_x > 900) {
_root.removeMovieClip(this);
_visible = false;
}
if (_y < 0) {
_root.removeMovieClip(this);
_visible = false;
}
if (_y > 575) {
removeMovieClip(this);
_visible = false;
}
if (_root.spider.pause != true) {
_x = (_x + (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (10 * Math.sin(_rotation * (Math.PI/180))));
}
removeMovieClip(_root.laser);
_root.laser._visible = false;
}
Instance of Symbol 356 MovieClip "laser2" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = _root.spider._rotation;
_visible = true;
XMOVE = 10;
YMOVE = 10;
HP = 5;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 10;
_root.ENEMY.Health = _root.ENEMY.Health - (3 * _root.power2);
_root.ENEMY.play();
_rotation = ((Math.random() * 180) - (Math.random() * 180));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if ((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 10;
_root.ENEMY2.Health = _root.ENEMY2.Health - (3 * _root.power2);
_root.ENEMY2.play();
_rotation = ((Math.random() * 180) - (Math.random() * 180));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if ((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 10;
_root.ENEMY3.Health = _root.ENEMY3.Health - (3 * _root.power2);
_root.ENEMY3.play();
_rotation = ((Math.random() * 180) - (Math.random() * 180));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if ((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 10;
_root.ENEMY4.Health = _root.ENEMY4.Health - (3 * _root.power2);
_root.ENEMY4.play();
_rotation = ((Math.random() * 180) - (Math.random() * 180));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if ((this.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 10;
_root.ENEMY5.Health = _root.ENEMY5.Health - (3 * _root.power2);
_root.ENEMY5.play();
_rotation = ((Math.random() * 180) - (Math.random() * 180));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if ((this.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 10;
_root.ENEMY6.Health = _root.ENEMY6.Health - (3 * _root.power2);
_root.ENEMY6.play();
_rotation = ((Math.random() * 180) - (Math.random() * 180));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if ((this.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 10;
_root.ENEMY7.Health = _root.ENEMY7.Health - (3 * _root.power2);
_root.ENEMY7.play();
_rotation = ((Math.random() * 180) - (Math.random() * 180));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if ((this.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 10;
_root.ENEMY8.play();
_root.ENEMY8.Health = _root.ENEMY8.Health - (3 * _root.power8);
_rotation = ((Math.random() * 180) - (Math.random() * 180));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if (_x < 0) {
_rotation = ((Math.random() * 90) - (Math.random() * 90));
_root.soundfx.gotoAndPlay("bounce");
HP = HP - 1;
}
if (_x > 900) {
_rotation = ((90 + (Math.random() * 180)) - (Math.random() * 90));
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if (_y < 0) {
_rotation = (Math.random() * 180);
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if (_y > 575) {
_rotation = ((-Math.random()) * 180);
HP = HP - 1;
_root.soundfx.gotoAndPlay("bounce");
}
if (HP <= 0) {
removeMovieClip(this);
_visible = false;
}
if (_root.spider.pause != true) {
_x = (_x + (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (10 * Math.sin(_rotation * (Math.PI/180))));
}
_root.removeMovieClip(_root.laser2);
_root.laser2._visible = false;
}
Instance of Symbol 424 MovieClip "laser3" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = _root.spider._rotation;
_visible = true;
motion = 10;
HP = 5;
DEATH = false;
DYING = 0;
lockon = 0;
ACC = 0.1;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) && (DEATH != true)) && (_root.power3 < 3)) {
_root.ENEMY.Health = _root.ENEMY.Health - 100;
_root.ENEMY.Health = _root.ENEMY.Health - (30 * _root.power3);
_root.ENEMY.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) && (DEATH != true)) && (_root.power3 < 3)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 100;
_root.ENEMY2.Health = _root.ENEMY2.Health - (30 * _root.power3);
_root.ENEMY2.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) && (DEATH != true)) && (_root.power3 < 3)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 100;
_root.ENEMY3.Health = _root.ENEMY3.Health - (30 * _root.power3);
_root.ENEMY3.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) && (DEATH != true)) && (_root.power3 < 3)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 100;
_root.ENEMY4.Health = _root.ENEMY4.Health - (30 * _root.power3);
_root.ENEMY4.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) && (DEATH != true)) && (_root.power3 >= 2)) {
_root.ENEMY.Health = _root.ENEMY.Health - 100;
_root.ENEMY.Health = _root.ENEMY.Health - (30 * _root.power3);
_root.ENEMY.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 1;
}
if ((((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) && (DEATH != true)) && (_root.power3 >= 2)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 100;
_root.ENEMY2.Health = _root.ENEMY2.Health - (30 * _root.power3);
_root.ENEMY2.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 2;
}
if ((((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) && (DEATH != true)) && (_root.power3 >= 2)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 100;
_root.ENEMY3.Health = _root.ENEMY3.Health - (30 * _root.power3);
_root.ENEMY3.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 3;
}
if ((((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) && (DEATH != true)) && (_root.power3 >= 2)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 100;
_root.ENEMY4.Health = _root.ENEMY4.Health - (30 * _root.power3);
_root.ENEMY4.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 4;
}
if (((this.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 100;
_root.ENEMY5.Health = _root.ENEMY5.Health - (30 * _root.power3);
_root.ENEMY5.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 100;
_root.ENEMY6.Health = _root.ENEMY6.Health - (30 * _root.power3);
_root.ENEMY6.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 100;
_root.ENEMY7.Health = _root.ENEMY7.Health - (30 * _root.power3);
_root.ENEMY7.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 100;
_root.ENEMY8.Health = _root.ENEMY8.Health - (30 * _root.power3);
_root.ENEMY8.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 200))) && (_root.ENEMY._x > (_x - 200))) && (_root.ENEMY._x < (_x + 200))) && (_root.ENEMY.HEALTH > 0)) && (lockon <= 0)) {
lockon = 1;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
_root.soundFX.gotoAndPlay("rocket");
}
if ((lockon == 1) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 200))) && (_root.ENEMY2._x > (_x - 200))) && (_root.ENEMY2._x < (_x + 200))) && (_root.ENEMY2.HEALTH > 0)) && (lockon <= 0)) {
lockon = 2;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if ((lockon == 2) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 200))) && (_root.ENEMY3._x > (_x - 200))) && (_root.ENEMY3._x < (_x + 200))) && (_root.ENEMY3.HEALTH > 0)) && (lockon <= 0)) {
lockon = 3;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if ((lockon == 3) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 200))) && (_root.ENEMY4._x > (_x - 200))) && (_root.ENEMY4._x < (_x + 200))) && (_root.ENEMY4.HEALTH > 0)) && (lockon <= 0)) {
lockon = 4;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if ((lockon == 4) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 200))) && (_root.ENEMY5._x > (_x - 200))) && (_root.ENEMY5._x < (_x + 200))) && (_root.ENEMY5.HEALTH > 0)) && (lockon <= 0)) {
lockon = 5;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if ((lockon == 5) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY5._y, _x - _root.ENEMY5._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 200))) && (_root.ENEMY6._x > (_x - 200))) && (_root.ENEMY6._x < (_x + 200))) && (_root.ENEMY6.HEALTH > 0)) && (lockon <= 0)) {
lockon = 6;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if ((lockon == 6) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY6._y, _x - _root.ENEMY6._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 200))) && (_root.ENEMY7._x > (_x - 200))) && (_root.ENEMY7._x < (_x + 200))) && (_root.ENEMY7.HEALTH > 0)) && (lockon <= 0)) {
lockon = 7;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if ((lockon == 7) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY7._y, _x - _root.ENEMY7._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY8._y > (_y - 200)) && (_root.ENEMY8._y < (_y + 200))) && (_root.ENEMY8._x > (_x - 200))) && (_root.ENEMY8._x < (_x + 200))) && (_root.ENEMY8.HEALTH > 0)) && (lockon <= 0)) {
lockon = 8;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if ((lockon == 8) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY8._y, _x - _root.ENEMY8._x) / (Math.PI/180)));
}
if (_x < 0) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_x > 900) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_y < 0) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_y > 575) {
MOTION = 0;
this.play();
DEATH = true;
}
if (DEATH == true) {
dying = dying + 1;
}
if (dying > 50) {
_root.removeMovieClip(this);
_visible = false;
}
if (_root.spider.pause != true) {
_x = (_x + (MOTION * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (MOTION * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + XMA);
_y = (_y - YMA);
XMA = XMA * 0.9;
YMA = YMA * 0.9;
}
_root.laser3.gotoAndStop("dead");
_root.removeMovieClip(_root.laser3);
_root.laser3._visible = false;
}
Instance of Symbol 452 MovieClip "laser4" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = _root.spider._rotation;
_visible = true;
motion = 10;
HP = 5;
DEATH = false;
DYING = 0;
lockon = 0;
ACC = 0.1;
time = 0;
VIC = 9 + (Math.random() * 5);
MORE = VIC / 2;
_xscale = 100;
_yscale = 100;
}
onClipEvent (enterFrame) {
if (((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 200))) && (_root.ENEMY._x > (_x - 200))) && (_root.ENEMY._x < (_x + 200))) && (_root.ENEMY.HEALTH > 0)) && (lockon <= 0)) && (prep == true)) {
lockon = 1;
MOTION = -13;
}
if ((lockon == 1) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if (((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 200))) && (_root.ENEMY2._x > (_x - 200))) && (_root.ENEMY2._x < (_x + 200))) && (_root.ENEMY2.HEALTH > 0)) && (lockon <= 0)) && (prep == true)) {
lockon = 2;
MOTION = -13;
}
if ((lockon == 2) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if (((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 200))) && (_root.ENEMY3._x > (_x - 200))) && (_root.ENEMY3._x < (_x + 200))) && (_root.ENEMY3.HEALTH > 0)) && (lockon <= 0)) && (prep == true)) {
lockon = 3;
MOTION = -13;
}
if ((lockon == 3) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if (((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 200))) && (_root.ENEMY4._x > (_x - 200))) && (_root.ENEMY4._x < (_x + 200))) && (_root.ENEMY4.HEALTH > 0)) && (lockon <= 0)) && (prep == true)) {
lockon = 4;
MOTION = -13;
}
if ((lockon == 4) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if (((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 200))) && (_root.ENEMY5._x > (_x - 200))) && (_root.ENEMY5._x < (_x + 200))) && (_root.ENEMY5.HEALTH > 0)) && (lockon <= 0)) && (prep == true)) {
lockon = 5;
MOTION = -13;
}
if ((lockon == 5) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY5._y, _x - _root.ENEMY5._x) / (Math.PI/180)));
}
if (((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 200))) && (_root.ENEMY6._x > (_x - 200))) && (_root.ENEMY6._x < (_x + 200))) && (_root.ENEMY6.HEALTH > 0)) && (lockon <= 0)) && (prep == true)) {
lockon = 6;
MOTION = -13;
}
if ((lockon == 6) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY6._y, _x - _root.ENEMY6._x) / (Math.PI/180)));
}
if (((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 200))) && (_root.ENEMY7._x > (_x - 200))) && (_root.ENEMY7._x < (_x + 200))) && (_root.ENEMY7.HEALTH > 0)) && (lockon <= 0)) && (prep == true)) {
lockon = 7;
MOTION = -13;
}
if ((lockon == 7) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY7._y, _x - _root.ENEMY7._x) / (Math.PI/180)));
}
if (((((((_root.ENEMY8._y > (_y - 200)) && (_root.ENEMY8._y < (_y + 200))) && (_root.ENEMY8._x > (_x - 200))) && (_root.ENEMY8._x < (_x + 200))) && (_root.ENEMY8.HEALTH > 0)) && (lockon <= 0)) && (prep == true)) {
lockon = 8;
MOTION = -13;
}
if ((lockon == 8) && (DEATH != true)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY8._y, _x - _root.ENEMY8._x) / (Math.PI/180)));
}
if (((lockon == 1) && (_root.ENEMY.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 2) && (_root.ENEMY2.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 3) && (_root.ENEMY3.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 4) && (_root.ENEMY4.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 5) && (_root.ENEMY5.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 6) && (_root.ENEMY6.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 7) && (_root.ENEMY7.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 8) && (_root.ENEMY8.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (_root.spider.pause != true) {
timer = timer + 1;
}
if (timer > 300) {
DEATh = true;
}
if (((this.CD.hitTest(_root.ENEMY._x, _root.ENEMY._y, true) && (_visible == true)) && (_root.ENEMY.Health > 0)) && (_root.power4 < 3)) {
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - 6;
_root.ENEMY.Health = _root.ENEMY.Health - (4 * _root.power4);
}
if (((this.CD.hitTest(_root.ENEMY2._x, _root.ENEMY2._y, true) && (_visible == true)) && (_root.ENEMY2.Health > 0)) && (_root.power4 < 3)) {
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - 6;
_root.ENEMY2.Health = _root.ENEMY2.Health - (4 * _root.power4);
}
if (((this.CD.hitTest(_root.ENEMY3._x, _root.ENEMY._y, true) && (_visible == true)) && (_root.ENEMY3.Health > 0)) && (_root.power4 < 3)) {
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - 6;
_root.ENEMY3.Health = _root.ENEMY3.Health - (4 * _root.power4);
}
if (((this.CD.hitTest(_root.ENEMY4._x, _root.ENEMY4._y, true) && (_visible == true)) && (_root.ENEMY4.Health > 0)) && (_root.power4 < 3)) {
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - 6;
_root.ENEMY4.Health = _root.ENEMY4.Health - (4 * _root.power4);
}
if (((this.CD.hitTest(_root.ENEMY._x, _root.ENEMY._y, true) && (_visible == true)) && (_root.ENEMY.Health > 0)) && (_root.power4 >= 3)) {
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - 6;
_root.ENEMY.Health = _root.ENEMY.Health - (4 * _root.power4);
_root.electrode2 = 1;
}
if (((this.CD.hitTest(_root.ENEMY2._x, _root.ENEMY2._y, true) && (_visible == true)) && (_root.ENEMY2.Health > 0)) && (_root.power4 >= 3)) {
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - 6;
_root.ENEMY2.Health = _root.ENEMY2.Health - (4 * _root.power4);
_root.electrode2 = 2;
}
if (((this.CD.hitTest(_root.ENEMY3._x, _root.ENEMY._y, true) && (_visible == true)) && (_root.ENEMY3.Health > 0)) && (_root.power4 >= 3)) {
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - 6;
_root.ENEMY3.Health = _root.ENEMY3.Health - (4 * _root.power4);
_root.electrode2 = 3;
}
if (((this.CD.hitTest(_root.ENEMY4._x, _root.ENEMY4._y, true) && (_visible == true)) && (_root.ENEMY4.Health > 0)) && (_root.power4 >= 3)) {
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - 6;
_root.ENEMY4.Health = _root.ENEMY4.Health - (4 * _root.power4);
_root.electrode2 = 4;
}
if ((this.CD.hitTest(_root.ENEMY5._x, _root.ENEMY5._y, true) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.play();
_root.ENEMY5.Health = _root.ENEMY5.Health - 6;
_root.ENEMY5.Health = _root.ENEMY5.Health - (4 * _root.power4);
}
if ((this.CD.hitTest(_root.ENEMY6._x, _root.ENEMY6._y, true) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - 6;
_root.ENEMY6.Health = _root.ENEMY6.Health - (4 * _root.power4);
}
if ((this.CD.hitTest(_root.ENEMY7._x, _root.ENEMY7._y, true) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - 6;
_root.ENEMY7.Health = _root.ENEMY7.Health - (4 * _root.power4);
}
if (this.CD.hitTest(_root.ENEMY8._x, _root.ENEMY8._y, (_visible == true) && (_root.ENEMY8.Health > 0))) {
_root.ENEMY8.play();
_root.ENEMY8.Health = _root.ENEMY8.Health - 6;
_root.ENEMY8.Health = _root.ENEMY8.Health - (4 * _root.power4);
}
if (_x < 0) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_x > 900) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_y < 0) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_y > 575) {
MOTION = 0;
this.play();
DEATH = true;
}
if (DEATH == true) {
dying = dying + 1;
}
if ((dying > 3) && (dying < 6)) {
this.gotoAndPlay("die");
}
if (dying > 50) {
removeMovieClip(this);
_visible = false;
this.gotoAndStop("dead");
}
if ((_root.spider.pause != true) && (_xscale >= 100)) {
_x = (_x + (MORE * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (MORE * Math.sin(_rotation * (Math.PI/180))));
_xscale = (_xscale + VIC);
VIC = VIC - 0.7;
}
if (MORE > 0) {
MORE = MORE - 0.1;
}
if (MORE <= 0) {
MORE = 0;
}
if (_xscale < 100) {
_xscale = 99;
VIC = 0;
prep = true;
}
if ((_xscale < 100) && (_root.spider.pause != true)) {
this.play();
}
this.probe._rotation = this.probe._rotation + 3;
this.probe.gotoAndStop(1);
_yscale = _xscale;
_root.laser4.gotoAndStop("DEAD");
_root.removeMovieClip(_root.laser4);
_root.laser4._visible = false;
}
Instance of Symbol 480 MovieClip "laser6" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = _root.spider._rotation;
_visible = false;
lockon = 0;
XMOVE = 10;
YMOVE = 10;
_alpha = 100;
HP = 5;
this.laser.gotoAndStop(random(6));
}
onClipEvent (enterFrame) {
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 25;
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - (15 * _root.power6);
_root.electrode = 1;
HP = HP - 1;
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 25;
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - (15 * _root.power6);
_root.electrode = 2;
HP = HP - 1;
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 25;
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - (15 * _root.power6);
_root.electrode = 3;
HP = HP - 1;
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 25;
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - (15 * _root.power6);
_root.electrode = 4;
HP = HP - 1;
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 25;
_root.ENEMY5.play();
_root.ENEMY5.Health = _root.ENEMY5.Health - (15 * _root.power6);
_root.electrode = 5;
HP = HP - 1;
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 25;
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - (15 * _root.power6);
_root.electrode = 6;
HP = HP - 1;
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 25;
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - (15 * _root.power6);
HP = HP - 1;
_root.electrode = 7;
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 25;
_root.ENEMY8.play();
_root.ENEMY8.Health = _root.ENEMY8.Health - (15 * _root.power6);
HP = HP - 1;
_root.electrode = 8;
}
if ((((((_root.ENEMY._y > (_y - 300)) && (_root.ENEMY._y < (_y + 300))) && (_root.ENEMY._x > (_x - 400))) && (_root.ENEMY._x < (_x + 400))) && (_root.ENEMY.HEALTH > 0)) && (lockon <= 0)) {
lockon = 1;
MOTION = -13;
_visible = true;
}
if ((lockon == 1) && (_visible == true)) {
XSCA = _root.ENEMY._x - _x;
YSCA = _root.ENEMY._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY2._y > (_y - 300)) && (_root.ENEMY2._y < (_y + 300))) && (_root.ENEMY2._x > (_x - 400))) && (_root.ENEMY2._x < (_x + 400))) && (_root.ENEMY2.HEALTH > 0)) && (lockon <= 0)) {
lockon = 2;
_visible = true;
}
if ((lockon == 2) && (_visible == true)) {
XSCA = _root.ENEMY2._x - _x;
YSCA = _root.ENEMY2._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY3._y > (_y - 300)) && (_root.ENEMY3._y < (_y + 300))) && (_root.ENEMY3._x > (_x - 400))) && (_root.ENEMY3._x < (_x + 400))) && (_root.ENEMY3.HEALTH > 0)) && (lockon <= 0)) {
lockon = 3;
_visible = true;
}
if ((lockon == 3) && (_visible == true)) {
XSCA = _root.ENEMY3._x - _x;
YSCA = _root.ENEMY3._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY4._y > (_y - 300)) && (_root.ENEMY4._y < (_y + 300))) && (_root.ENEMY4._x > (_x - 400))) && (_root.ENEMY4._x < (_x + 400))) && (_root.ENEMY4.HEALTH > 0)) && (lockon <= 0)) {
lockon = 4;
_visible = true;
}
if ((lockon == 4) && (_visible == true)) {
XSCA = _root.ENEMY4._x - _x;
YSCA = _root.ENEMY4._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY5._y > (_y - 300)) && (_root.ENEMY5._y < (_y + 300))) && (_root.ENEMY5._x > (_x - 400))) && (_root.ENEMY5._x < (_x + 400))) && (_root.ENEMY5.HEALTH > 0)) && (lockon <= 0)) {
lockon = 5;
_visible = true;
}
if ((lockon == 5) && (_visible == true)) {
XSCA = _root.ENEMY5._x - _x;
YSCA = _root.ENEMY5._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY5._y, _x - _root.ENEMY5._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY6._y > (_y - 300)) && (_root.ENEMY6._y < (_y + 300))) && (_root.ENEMY6._x > (_x - 400))) && (_root.ENEMY6._x < (_x + 400))) && (_root.ENEMY6.HEALTH > 0)) && (lockon <= 0)) {
lockon = 6;
_visible = true;
}
if ((lockon == 6) && (_visible == true)) {
XSCA = _root.ENEMY6._x - _x;
YSCA = _root.ENEMY6._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY6._y, _x - _root.ENEMY6._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY7._y > (_y - 300)) && (_root.ENEMY7._y < (_y + 300))) && (_root.ENEMY7._x > (_x - 400))) && (_root.ENEMY7._x < (_x + 400))) && (_root.ENEMY7.HEALTH > 0)) && (lockon <= 0)) {
lockon = 7;
_visible = true;
}
if ((lockon == 7) && (_visible == true)) {
XSCA = _root.ENEMY7._x - _x;
YSCA = _root.ENEMY7._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY7._y, _x - _root.ENEMY7._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY8._y > (_y - 300)) && (_root.ENEMY8._y < (_y + 300))) && (_root.ENEMY8._x > (_x - 400))) && (_root.ENEMY8._x < (_x + 400))) && (_root.ENEMY8.HEALTH > 0)) && (lockon <= 0)) {
lockon = 8;
_visible = true;
}
if ((lockon == 8) && (_visible == true)) {
XSCA = _root.ENEMY8._x - _x;
YSCA = _root.ENEMY8._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY8._y, _x - _root.ENEMY8._x) / (Math.PI/180)));
}
if (((time > 3) && (lockon <= 0)) && (_root.spider.pause != true)) {
_visible = true;
_alpha = (_alpha - 3);
}
if ((_alpha <= 0) && (time > 3)) {
removeMovieClip(this);
_visible = false;
}
if (lockon <= 0) {
_xscale = 300;
}
if ((_root.spider.pause != true) && (time > 3)) {
_alpha = (_alpha - 3);
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
}
time = time + 1;
removeMovieClip(_root.laser6);
_root.laser6._visible = false;
}
Instance of Symbol 491 MovieClip "laser7" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = _root.spider._rotation;
_visible = true;
motion = 10;
HP = 5;
DEATH = false;
DYING = 0;
lockon = 0;
element = 0;
ACC = 0.1;
time = 0;
VIC = 9 + (Math.random() * 5);
MORE = VIC / 2;
_xscale = 100;
_yscale = 100;
}
onClipEvent (enterFrame) {
if (((this.CD.hitTest(_root.ENEMY) && (_visible == true)) && (_root.ENEMY.Health > 0)) && ((-_root.power7) < 3)) {
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - 500;
_root.ENEMY.Health = _root.ENEMY.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY2) && (_visible == true)) && (_root.ENEMY2.Health > 0)) && ((-_root.power7) < 3)) {
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - 500;
_root.ENEMY2.Health = _root.ENEMY2.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY3) && (_visible == true)) && (_root.ENEMY3.Health > 0)) && ((-_root.power7) < 3)) {
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - 500;
_root.ENEMY3.Health = _root.ENEMY3.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY4) && (_visible == true)) && (_root.ENEMY4.Health > 0)) && ((-_root.power7) < 3)) {
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - 500;
_root.ENEMY4.Health = _root.ENEMY4.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY) && (_visible == true)) && (_root.ENEMY.Health > 0)) && (_root.power7 >= 3)) {
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - 500;
_root.ENEMY.Health = _root.ENEMY.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY2) && (_visible == true)) && (_root.ENEMY2.Health > 0)) && (_root.power7 >= 3)) {
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - 500;
_root.ENEMY2.Health = _root.ENEMY2.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY3) && (_visible == true)) && (_root.ENEMY3.Health > 0)) && (_root.power7 >= 3)) {
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - 500;
_root.ENEMY3.Health = _root.ENEMY3.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY4) && (_visible == true)) && (_root.ENEMY4.Health > 0)) && (_root.power7 >= 3)) {
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - 500;
_root.ENEMY4.Health = _root.ENEMY4.Health - (55 * _root.power7);
}
if ((this.CD.hitTest(_root.ENEMY5) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.play();
_root.ENEMY5.Health = _root.ENEMY5.Health - 500;
_root.ENEMY5.Health = _root.ENEMY5.Health - (55 * _root.power7);
}
if ((this.CD.hitTest(_root.ENEMY6._x, _root.ENEMY6._y, true) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - 500;
_root.ENEMY6.Health = _root.ENEMY6.Health - (55 * _root.power7);
}
if ((this.CD.hitTest(_root.ENEMY7._x, _root.ENEMY7._y, true) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - 500;
_root.ENEMY7.Health = _root.ENEMY7.Health - (55 * _root.power7);
}
if (this.CD.hitTest(_root.ENEMY8._x, _root.ENEMY8._y, (_visible == true) && (_root.ENEMY8.Health > 0))) {
_root.ENEMY8.play();
_root.ENEMY8.Health = _root.ENEMY8.Health - 500;
_root.ENEMY8.Health = _root.ENEMY8.Health - (55 * _root.power7);
}
if (_x < 0) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_x > 900) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_y < 0) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_y > 575) {
MOTION = 0;
this.play();
DEATH = true;
}
if (DEATH == true) {
dying = dying + 1;
}
if ((dying > 3) && (dying < 6)) {
this.gotoAndPlay("die");
}
if (dying > 50) {
_root.removeMovieClip(this);
_visible = false;
}
if ((_root.spider.pause != true) && (_xscale >= 100)) {
_x = (_x + (MORE * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (MORE * Math.sin(_rotation * (Math.PI/180))));
_xscale = (_xscale + VIC);
VIC = VIC - 0.7;
}
if (MORE > 0) {
MORE = MORE - 0.1;
}
if (MORE <= 0) {
MORE = 0;
}
if (_xscale < 100) {
_xscale = 99;
VIC = 0;
prep = true;
}
if (((_xscale < 100) && (_root.spider.pause != true)) && (time < 50)) {
this.play();
time = time + 1;
DEATHLAUNCH = true;
_root.POSX = _x;
_root.POSY = _y;
}
if (DEATHlaunch == true) {
launch = launch + 1;
}
if ((launch > 7) && (_visible == true)) {
launch = 0;
}
if (_root.spider.pause == true) {
this.stop();
}
if (time > 50) {
Deathlaunch = false;
launch = 0;
_visible = false;
removeMovieClip(this);
}
this.probe._rotation = this.probe._rotation + 3;
this.probe.gotoAndStop(2);
_yscale = _xscale;
_root.laser7.gotoAndStop("DEAD");
_root.removeMovieClip(_root.laser7);
_root.laser7._visible = false;
element = element + 1;
}
Instance of Symbol 424 MovieClip "laser8" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = _root.spider._rotation;
_visible = true;
motion = 20;
HP = 5;
DEATH = false;
DYING = 0;
lockon = 0;
ACC = 0.1;
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 500;
_root.ENEMY.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 1;
}
if (((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 500;
_root.ENEMY2.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 2;
}
if (((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 500;
_root.ENEMY3.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 3;
}
if (((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 500;
_root.ENEMY4.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 4;
}
if (((this.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 500;
_root.ENEMY5.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 500;
_root.ENEMY6.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 500;
_root.ENEMY7.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 500;
_root.ENEMY8.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 200))) && (_root.ENEMY._x > (_x - 200))) && (_root.ENEMY._x < (_x + 200))) && (_root.ENEMY.HEALTH > 0)) && (lockon <= 0)) {
lockon = 1;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 1) && (DEATH != true)) && (_root.ENEMY.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 200))) && (_root.ENEMY2._x > (_x - 200))) && (_root.ENEMY2._x < (_x + 200))) && (_root.ENEMY2.HEALTH > 0)) && (lockon <= 0)) {
lockon = 2;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 2) && (DEATH != true)) && (_root.ENEMY2.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 200))) && (_root.ENEMY3._x > (_x - 200))) && (_root.ENEMY3._x < (_x + 200))) && (_root.ENEMY3.HEALTH > 0)) && (lockon <= 0)) {
lockon = 3;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 3) && (DEATH != true)) && (_root.ENEMY3.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 200))) && (_root.ENEMY4._x > (_x - 200))) && (_root.ENEMY4._x < (_x + 200))) && (_root.ENEMY4.HEALTH > 0)) && (lockon <= 0)) {
lockon = 4;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 4) && (DEATH != true)) && (_root.ENEMY4.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 200))) && (_root.ENEMY5._x > (_x - 200))) && (_root.ENEMY5._x < (_x + 200))) && (_root.ENEMY5.HEALTH > 0)) && (lockon <= 0)) {
lockon = 5;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 5) && (DEATH != true)) && (_root.ENEMY5.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY5._y, _x - _root.ENEMY5._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 200))) && (_root.ENEMY6._x > (_x - 200))) && (_root.ENEMY6._x < (_x + 200))) && (_root.ENEMY6.HEALTH > 0)) && (lockon <= 0)) {
lockon = 6;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 6) && (DEATH != true)) && (_root.ENEMY6.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY6._y, _x - _root.ENEMY6._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 200))) && (_root.ENEMY7._x > (_x - 200))) && (_root.ENEMY7._x < (_x + 200))) && (_root.ENEMY7.HEALTH > 0)) && (lockon <= 0)) {
lockon = 7;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 7) && (DEATH != true)) && (_root.ENEMY7.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY7._y, _x - _root.ENEMY7._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY8._y > (_y - 200)) && (_root.ENEMY8._y < (_y + 200))) && (_root.ENEMY8._x > (_x - 200))) && (_root.ENEMY8._x < (_x + 200))) && (_root.ENEMY8.HEALTH > 0)) && (lockon <= 0)) {
lockon = 8;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 8) && (DEATH != true)) && (_root.ENEMY8.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY8._y, _x - _root.ENEMY8._x) / (Math.PI/180)));
}
if (((lockon == 1) && (_root.ENEMY.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 2) && (_root.ENEMY2.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 3) && (_root.ENEMY3.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 4) && (_root.ENEMY4.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 5) && (_root.ENEMY5.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 6) && (_root.ENEMY6.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 7) && (_root.ENEMY7.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 8) && (_root.ENEMY8.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (target <= 0) {
motion = 20;
}
if (_x < 80) {
_rotation = (_rotation - 24);
}
if (_x > 820) {
_rotation = (_rotation + 24);
}
if (_y < 10) {
_rotation = (_rotation + 24);
}
if (_y > 555) {
_rotation = (_rotation - 24);
}
if (DEATH == true) {
dying = dying + 1;
}
if (dying > 50) {
removeMovieClip(this);
_visible = false;
}
if (_root.spider.pause != true) {
_x = (_x + (MOTION * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (MOTION * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + XMA);
_y = (_y - YMA);
XMA = XMA * 0.9;
YMA = YMA * 0.9;
}
_root.laser8.gotoAndStop("dead");
_root.removeMovieClip(_root.laser8);
_root.laser8._visible = false;
}
Instance of Symbol 424 MovieClip "laser10" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (60 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (60 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = (_root.spider._rotation + 45);
_visible = true;
motion = 20;
HP = 5;
DEATH = false;
DYING = 0;
lockon = 0;
ACC = 0.1;
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 500;
_root.ENEMY.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 1;
}
if (((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 500;
_root.ENEMY2.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 2;
}
if (((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 500;
_root.ENEMY3.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 3;
}
if (((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 500;
_root.ENEMY4.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 4;
}
if (((this.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 500;
_root.ENEMY5.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 500;
_root.ENEMY6.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 500;
_root.ENEMY7.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 500;
_root.ENEMY8.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 200))) && (_root.ENEMY._x > (_x - 200))) && (_root.ENEMY._x < (_x + 200))) && (_root.ENEMY.HEALTH > 0)) && (lockon <= 0)) {
lockon = 1;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 1) && (DEATH != true)) && (_root.ENEMY.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 200))) && (_root.ENEMY2._x > (_x - 200))) && (_root.ENEMY2._x < (_x + 200))) && (_root.ENEMY2.HEALTH > 0)) && (lockon <= 0)) {
lockon = 2;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 2) && (DEATH != true)) && (_root.ENEMY2.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 200))) && (_root.ENEMY3._x > (_x - 200))) && (_root.ENEMY3._x < (_x + 200))) && (_root.ENEMY3.HEALTH > 0)) && (lockon <= 0)) {
lockon = 3;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 3) && (DEATH != true)) && (_root.ENEMY3.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 200))) && (_root.ENEMY4._x > (_x - 200))) && (_root.ENEMY4._x < (_x + 200))) && (_root.ENEMY4.HEALTH > 0)) && (lockon <= 0)) {
lockon = 4;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 4) && (DEATH != true)) && (_root.ENEMY4.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 200))) && (_root.ENEMY5._x > (_x - 200))) && (_root.ENEMY5._x < (_x + 200))) && (_root.ENEMY5.HEALTH > 0)) && (lockon <= 0)) {
lockon = 5;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 5) && (DEATH != true)) && (_root.ENEMY5.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY5._y, _x - _root.ENEMY5._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 200))) && (_root.ENEMY6._x > (_x - 200))) && (_root.ENEMY6._x < (_x + 200))) && (_root.ENEMY6.HEALTH > 0)) && (lockon <= 0)) {
lockon = 6;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 6) && (DEATH != true)) && (_root.ENEMY6.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY6._y, _x - _root.ENEMY6._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 200))) && (_root.ENEMY7._x > (_x - 200))) && (_root.ENEMY7._x < (_x + 200))) && (_root.ENEMY7.HEALTH > 0)) && (lockon <= 0)) {
lockon = 7;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 7) && (DEATH != true)) && (_root.ENEMY7.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY7._y, _x - _root.ENEMY7._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY8._y > (_y - 200)) && (_root.ENEMY8._y < (_y + 200))) && (_root.ENEMY8._x > (_x - 200))) && (_root.ENEMY8._x < (_x + 200))) && (_root.ENEMY8.HEALTH > 0)) && (lockon <= 0)) {
lockon = 8;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 8) && (DEATH != true)) && (_root.ENEMY8.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY8._y, _x - _root.ENEMY8._x) / (Math.PI/180)));
}
if (((lockon == 1) && (_root.ENEMY.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 2) && (_root.ENEMY2.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 3) && (_root.ENEMY3.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 4) && (_root.ENEMY4.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 5) && (_root.ENEMY5.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 6) && (_root.ENEMY6.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 7) && (_root.ENEMY7.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 8) && (_root.ENEMY8.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (target <= 0) {
motion = 20;
}
if (_x < 80) {
_rotation = (_rotation - 24);
}
if (_x > 820) {
_rotation = (_rotation + 24);
}
if (_y < 0) {
_rotation = (_rotation + 24);
}
if (_y > 575) {
_rotation = (_rotation - 24);
}
if (DEATH == true) {
dying = dying + 1;
}
if (dying > 50) {
removeMovieClip(this);
_visible = false;
}
if (_root.spider.pause != true) {
_x = (_x + (MOTION * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (MOTION * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + XMA);
_y = (_y - YMA);
XMA = XMA * 0.9;
YMA = YMA * 0.9;
}
_root.laser8.gotoAndStop("dead");
_root.removeMovieClip(_root.laser10);
_root.laser10._visible = false;
}
Instance of Symbol 424 MovieClip "laser9" in Frame 7
onClipEvent (load) {
_x = (_root.spider._x + (60 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (60 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = (_root.spider._rotation - 45);
_visible = true;
motion = 20;
HP = 5;
DEATH = false;
DYING = 0;
lockon = 0;
ACC = 0.1;
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 500;
_root.ENEMY.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 1;
}
if (((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 500;
_root.ENEMY2.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 2;
}
if (((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 500;
_root.ENEMY3.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 3;
}
if (((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 500;
_root.ENEMY4.play();
MOTION = 0;
this.play();
DEATH = true;
_root.electrode2 = 4;
}
if (((this.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 500;
_root.ENEMY5.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 500;
_root.ENEMY6.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 500;
_root.ENEMY7.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 500;
_root.ENEMY8.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 200))) && (_root.ENEMY._x > (_x - 200))) && (_root.ENEMY._x < (_x + 200))) && (_root.ENEMY.HEALTH > 0)) && (lockon <= 0)) {
lockon = 1;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 1) && (DEATH != true)) && (_root.ENEMY.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 200))) && (_root.ENEMY2._x > (_x - 200))) && (_root.ENEMY2._x < (_x + 200))) && (_root.ENEMY2.HEALTH > 0)) && (lockon <= 0)) {
lockon = 2;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 2) && (DEATH != true)) && (_root.ENEMY2.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 200))) && (_root.ENEMY3._x > (_x - 200))) && (_root.ENEMY3._x < (_x + 200))) && (_root.ENEMY3.HEALTH > 0)) && (lockon <= 0)) {
lockon = 3;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 3) && (DEATH != true)) && (_root.ENEMY3.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 200))) && (_root.ENEMY4._x > (_x - 200))) && (_root.ENEMY4._x < (_x + 200))) && (_root.ENEMY4.HEALTH > 0)) && (lockon <= 0)) {
lockon = 4;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 4) && (DEATH != true)) && (_root.ENEMY4.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 200))) && (_root.ENEMY5._x > (_x - 200))) && (_root.ENEMY5._x < (_x + 200))) && (_root.ENEMY5.HEALTH > 0)) && (lockon <= 0)) {
lockon = 5;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 5) && (DEATH != true)) && (_root.ENEMY5.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY5._y, _x - _root.ENEMY5._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 200))) && (_root.ENEMY6._x > (_x - 200))) && (_root.ENEMY6._x < (_x + 200))) && (_root.ENEMY6.HEALTH > 0)) && (lockon <= 0)) {
lockon = 6;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 6) && (DEATH != true)) && (_root.ENEMY6.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY6._y, _x - _root.ENEMY6._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 200))) && (_root.ENEMY7._x > (_x - 200))) && (_root.ENEMY7._x < (_x + 200))) && (_root.ENEMY7.HEALTH > 0)) && (lockon <= 0)) {
lockon = 7;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 7) && (DEATH != true)) && (_root.ENEMY7.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY7._y, _x - _root.ENEMY7._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY8._y > (_y - 200)) && (_root.ENEMY8._y < (_y + 200))) && (_root.ENEMY8._x > (_x - 200))) && (_root.ENEMY8._x < (_x + 200))) && (_root.ENEMY8.HEALTH > 0)) && (lockon <= 0)) {
lockon = 8;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 8) && (DEATH != true)) && (_root.ENEMY8.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY8._y, _x - _root.ENEMY8._x) / (Math.PI/180)));
}
if (((lockon == 1) && (_root.ENEMY.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 2) && (_root.ENEMY2.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 3) && (_root.ENEMY3.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 4) && (_root.ENEMY4.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 5) && (_root.ENEMY5.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 6) && (_root.ENEMY6.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 7) && (_root.ENEMY7.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 8) && (_root.ENEMY8.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (target <= 0) {
motion = 20;
}
if (_x < 80) {
_rotation = (_rotation - 24);
}
if (_x > 820) {
_rotation = (_rotation + 24);
}
if (_y < 0) {
_rotation = (_rotation + 24);
}
if (_y > 575) {
_rotation = (_rotation - 24);
}
if (_y > 575) {
MOTION = 0;
this.play();
DEATH = true;
}
if (DEATH == true) {
dying = dying + 1;
}
if (dying > 50) {
removeMovieClip(this);
_visible = false;
}
if (_root.spider.pause != true) {
_x = (_x + (MOTION * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (MOTION * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + XMA);
_y = (_y - YMA);
XMA = XMA * 0.9;
YMA = YMA * 0.9;
}
_root.laser8.gotoAndStop("dead");
_root.removeMovieClip(_root.laser9);
_root.laser9._visible = false;
}
Instance of Symbol 480 MovieClip "electro" in Frame 7
onClipEvent (load) {
_rotation = ((Math.random() * 180) - (Math.random() * 180));
loading = 0;
lockon = random(5);
goob = (Math.random() * 20) - (Math.random() * 20);
_alpha = 100;
_visible = false;
}
onClipEvent (enterFrame) {
if (((loading > 3) && (_root.electrode == 1)) && (re != true)) {
_x = _root.ENEMY._x;
_y = _root.ENEMY._y;
POSX = _root.ENEMY._x;
POSY = _root.ENEMY._y;
re = true;
}
if (((loading > 3) && (_root.electrode == 2)) && (re != true)) {
_x = _root.ENEMY2._x;
_y = _root.ENEMY2._y;
POSX = _root.ENEMY2._x;
POSY = _root.ENEMY2._y;
re = true;
}
if (((loading > 3) && (_root.electrode == 3)) && (re != true)) {
_x = _root.ENEMY3._x;
_y = _root.ENEMY3._y;
POSX = _root.ENEMY3._x;
POSY = _root.ENEMY3._y;
re = true;
}
if (((loading > 3) && (_root.electrode == 4)) && (re != true)) {
_x = _root.ENEMY4._x;
_y = _root.ENEMY4._y;
POSX = _root.ENEMY4._x;
POSY = _root.ENEMY4._y;
re = true;
}
if (((loading > 3) && (_root.electrode == 5)) && (re != true)) {
_x = _root.ENEMY5._x;
_y = _root.ENEMY5._y;
re = true;
POSX = _root.ENEMY5._x;
POSY = _root.ENEMY5._y;
}
if (((loading > 3) && (_root.electrode == 6)) && (re != true)) {
_x = _root.ENEMY6._x;
_y = _root.ENEMY6._y;
re = true;
POSX = _root.ENEMY6._x;
POSY = _root.ENEMY6._y;
}
if ((loading > 6) && (loading < 9)) {
_visible = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 4;
_root.ENEMY.play();
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 4;
_root.ENEMY2.play();
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 4;
_root.ENEMY3.play();
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 4;
_root.ENEMY4.play();
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 4;
_root.ENEMY5.play();
}
if ((this.box.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 10;
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - (3 * _root.power);
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 10;
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - (3 * _root.power);
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 10;
_root.ENEMY.Health = _root.ENEMY.Health - (3 * _root.power);
_root.ENEMY8.play();
}
if (_root.spider.pause != true) {
loading = loading + 1;
_x = POSX;
_y = POSY;
_alpha = (_alpha - 2);
}
if (lockon <= 1) {
XSCA = _root.ENEMY._x - _x;
YSCA = _root.ENEMY._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if (lockon == 2) {
XSCA = _root.ENEMY2._x - _x;
YSCA = _root.ENEMY2._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if (lockon == 3) {
XSCA = _root.ENEMY3._x - _x;
YSCA = _root.ENEMY3._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if (lockon >= 4) {
XSCA = _root.ENEMY4._x - _x;
YSCA = _root.ENEMY4._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if ((_root.electrode == 1) && (lockon <= 1)) {
lockon = 2;
}
if ((_root.electrode == 2) && (lockon == 2)) {
lockon = 3;
}
if ((_root.electrode == 3) && (lockon == 3)) {
lockon = 3;
}
if ((_root.electrode == 4) && (lockon >= 4)) {
lockon = 1;
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_root.removeMovieClip(_root.electro);
_root.electro._visible = false;
}
Instance of Symbol 494 MovieClip "electro2" in Frame 7
onClipEvent (load) {
_rotation = ((Math.random() * 180) - (Math.random() * 180));
loading = 0;
lockon = random(5);
goob = (Math.random() * 20) - (Math.random() * 20);
_alpha = 100;
_visible = false;
}
onClipEvent (enterFrame) {
if (((loading > 3) && (_root.electrode2 == 1)) && (re != true)) {
_x = _root.ENEMY._x;
_y = _root.ENEMY._y;
POSX = _root.ENEMY._x;
POSY = _root.ENEMY._y;
re = true;
}
if (((loading > 3) && (_root.electrode2 == 2)) && (re != true)) {
_x = _root.ENEMY2._x;
_y = _root.ENEMY2._y;
POSX = _root.ENEMY2._x;
POSY = _root.ENEMY2._y;
re = true;
}
if (((loading > 3) && (_root.electrode2 == 3)) && (re != true)) {
_x = _root.ENEMY3._x;
_y = _root.ENEMY3._y;
POSX = _root.ENEMY3._x;
POSY = _root.ENEMY3._y;
re = true;
}
if (((loading > 3) && (_root.electrode2 == 4)) && (re != true)) {
_x = _root.ENEMY4._x;
_y = _root.ENEMY4._y;
POSX = _root.ENEMY4._x;
POSY = _root.ENEMY4._y;
re = true;
}
if (((loading > 3) && (_root.electrode2 == 5)) && (re != true)) {
_x = _root.ENEMY5._x;
_y = _root.ENEMY5._y;
re = true;
POSX = _root.ENEMY5._x;
POSY = _root.ENEMY5._y;
}
if (((loading > 3) && (_root.electrode2 == 6)) && (re != true)) {
_x = _root.ENEMY6._x;
_y = _root.ENEMY6._y;
re = true;
POSX = _root.ENEMY6._x;
POSY = _root.ENEMY6._y;
}
if ((loading > 6) && (loading < 9)) {
_visible = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 4;
_root.ENEMY.play();
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 4;
_root.ENEMY2.play();
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 4;
_root.ENEMY3.play();
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 4;
_root.ENEMY4.play();
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 4;
_root.ENEMY5.play();
}
if ((this.box.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 10;
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - (3 * _root.power);
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 10;
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - (3 * _root.power);
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 10;
_root.ENEMY.Health = _root.ENEMY.Health - (3 * _root.power);
_root.ENEMY8.play();
}
if (_root.spider.pause != true) {
loading = loading + 1;
_x = POSX;
_y = POSY;
_alpha = (_alpha - 2);
}
if (lockon <= 1) {
XSCA = _root.ENEMY._x - _x;
YSCA = _root.ENEMY._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if (lockon == 2) {
XSCA = _root.ENEMY2._x - _x;
YSCA = _root.ENEMY2._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if (lockon == 3) {
XSCA = _root.ENEMY3._x - _x;
YSCA = _root.ENEMY3._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if (lockon >= 4) {
XSCA = _root.ENEMY4._x - _x;
YSCA = _root.ENEMY4._y - _y;
ARC = (XSCA * XSCA) + (YSCA * YSCA);
ELT = Math.sqrt(ARC);
_xscale = (ELT / 3.2);
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if ((_root.electrode2 == 1) && (lockon <= 1)) {
lockon = 2;
}
if ((_root.electrode2 == 2) && (lockon == 2)) {
lockon = 3;
}
if ((_root.electrode2 == 3) && (lockon == 3)) {
lockon = 3;
}
if ((_root.electrode2 == 4) && (lockon >= 4)) {
lockon = 1;
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_root.removeMovieClip(_root.electro2);
_root.electro2._visible = false;
}
Instance of Symbol 501 MovieClip "laser5" in Frame 7
onClipEvent (load) {
_xscale = (70 + (Math.random() * 30));
_x = (_root.spider._x + (40 * Math.cos(_root.spider._rotation * (Math.PI/180))));
_y = (_root.spider._y + (40 * Math.sin(_root.spider._rotation * (Math.PI/180))));
_rotation = _root.spider._rotation;
_visible = true;
_alpha = 100;
motion = 2 + (Math.random() * 2);
org = (Math.random() * 1) - (Math.random() * 1);
orgY = (Math.random() * 1) - (Math.random() * 1);
}
onClipEvent (enterFrame) {
if (_root.spider.pause != true) {
_x = (_x + (motion * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (org * Math.sin(_rotation * (Math.PI/180))));
_y = (_y + (motion * Math.sin(_rotation * (Math.PI/180))));
_y = (_y + (orgY * Math.cos(_rotation * (Math.PI/180))));
_alpha = (_alpha - 3);
motion = motion * 0.97;
this.laser.lase.play();
}
if ((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 3;
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - (1 * _root.power5);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 3;
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - (1 * _root.power5);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 3;
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - (1 * _root.power5);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 3;
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - (1 * _root.power5);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 3;
_root.ENEMY5.play();
_root.ENEMY5.Health = _root.ENEMY5.Health - (1 * _root.power5);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 3;
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - (1 * _root.power5);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 3;
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - (1 * _root.power5);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 3;
_root.ENEMY8.play();
_root.ENEMY8.Health = _root.ENEMY8.Health - (1 * _root.power5);
}
if ((_root.power5 < 3) && (_alpha > 95)) {
this.gotoAndStop(1);
}
if ((_root.power5 >= 3) && (_alpha > 95)) {
this.gotoAndStop(2);
}
if (_root.spider.pause == true) {
this.stop();
}
if (_alpha <= 0) {
removeMovieClip(this);
_visible = false;
}
_root.removeMovieClip(_root.laser5);
_root.laser5._visible = false;
_root.laser5._alpha = 0;
_yscale = _xscale;
}
Instance of Symbol 503 MovieClip "electro3" in Frame 7
onClipEvent (load) {
_rotation = ((Math.random() * 180) - (Math.random() * 180));
loading = 0;
lockon = random(5);
goob = (Math.random() * 20) - (Math.random() * 20);
_alpha = 100;
_xscale = (400 + (Math.random() * 500));
_rotation = ((Math.random() * 180) + (Math.random() * -180));
_visible = false;
}
onClipEvent (enterFrame) {
if (((loading > 3) && (_root.electrode == 1)) && (re != true)) {
_x = _root.ENEMY._x;
_y = _root.ENEMY._y;
POSX = _root.ENEMY._x;
POSY = _root.ENEMY._y;
re = true;
}
if (((loading > 3) && (_root.electrode == 2)) && (re != true)) {
_x = _root.ENEMY2._x;
_y = _root.ENEMY2._y;
POSX = _root.ENEMY2._x;
POSY = _root.ENEMY2._y;
re = true;
}
if (((loading > 3) && (_root.electrode == 3)) && (re != true)) {
_x = _root.ENEMY3._x;
_y = _root.ENEMY3._y;
POSX = _root.ENEMY3._x;
POSY = _root.ENEMY3._y;
re = true;
}
if (((loading > 3) && (_root.electrode == 4)) && (re != true)) {
_x = _root.ENEMY4._x;
_y = _root.ENEMY4._y;
POSX = _root.ENEMY4._x;
POSY = _root.ENEMY4._y;
re = true;
}
if (((loading > 3) && (_root.electrode == 5)) && (re != true)) {
_x = _root.ENEMY5._x;
_y = _root.ENEMY5._y;
re = true;
POSX = _root.ENEMY5._x;
POSY = _root.ENEMY5._y;
}
if (((loading > 3) && (_root.electrode == 6)) && (re != true)) {
_x = _root.ENEMY6._x;
_y = _root.ENEMY6._y;
re = true;
POSX = _root.ENEMY6._x;
POSY = _root.ENEMY6._y;
}
if ((loading > 6) && (loading < 9)) {
_visible = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 57;
_root.ENEMY.play();
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 57;
_root.ENEMY2.play();
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 57;
_root.ENEMY3.play();
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 57;
_root.ENEMY4.play();
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 4;
_root.ENEMY5.play();
}
if ((this.box.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 10;
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - (3 * _root.power);
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 10;
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - (3 * _root.power);
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 10;
_root.ENEMY.Health = _root.ENEMY.Health - (3 * _root.power);
_root.ENEMY8.play();
}
if (_root.spider.pause != true) {
loading = loading + 1;
_x = POSX;
_y = POSY;
_alpha = (_alpha - 2);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_root.removeMovieClip(_root.electro3);
_root.electro3._visible = false;
}
Instance of Symbol 506 MovieClip "bombS" in Frame 7
onClipEvent (load) {
_x = random(800);
_y = random(400);
_rotation = ((Math.random() * 180) - (Math.random() * 180));
_visible = true;
motion = 10;
HP = 5;
DEATH = false;
this.gotoAndStop(1);
DYING = 0;
lockon = 0;
ACC = 0.1;
time = 0;
VIC = 9 + (Math.random() * 5);
MORE = VIC / 2;
_xscale = 100;
_yscale = 100;
}
onClipEvent (enterFrame) {
if (((this.CD.hitTest(_root.ENEMY) && (_visible == true)) && (_root.ENEMY.Health > 0)) && ((-_root.power7) < 3)) {
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - 500;
_root.ENEMY.Health = _root.ENEMY.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY2) && (_visible == true)) && (_root.ENEMY2.Health > 0)) && ((-_root.power7) < 3)) {
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - 500;
_root.ENEMY2.Health = _root.ENEMY2.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY3) && (_visible == true)) && (_root.ENEMY3.Health > 0)) && ((-_root.power7) < 3)) {
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - 500;
_root.ENEMY3.Health = _root.ENEMY3.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY4) && (_visible == true)) && (_root.ENEMY4.Health > 0)) && ((-_root.power7) < 3)) {
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - 500;
_root.ENEMY4.Health = _root.ENEMY4.Health - (55 * _root.power7);
}
if (((this.CD.hitTest(_root.ENEMY) && (_visible == true)) && (_root.ENEMY.Health > 0)) && ((-_root.power7) >= 3)) {
_root.ENEMY.play();
_root.ENEMY.Health = _root.ENEMY.Health - 500;
_root.ENEMY.Health = _root.ENEMY.Health - (55 * _root.power7);
_root.bomb = true;
}
if (((this.CD.hitTest(_root.ENEMY2) && (_visible == true)) && (_root.ENEMY2.Health > 0)) && ((-_root.power7) >= 3)) {
_root.ENEMY2.play();
_root.ENEMY2.Health = _root.ENEMY2.Health - 500;
_root.ENEMY2.Health = _root.ENEMY2.Health - (55 * _root.power7);
_root.bomb = true;
}
if (((this.CD.hitTest(_root.ENEMY3) && (_visible == true)) && (_root.ENEMY3.Health > 0)) && ((-_root.power7) >= 3)) {
_root.ENEMY3.play();
_root.ENEMY3.Health = _root.ENEMY3.Health - 500;
_root.ENEMY3.Health = _root.ENEMY3.Health - (55 * _root.power7);
_root.bomb = true;
}
if (((this.CD.hitTest(_root.ENEMY4) && (_visible == true)) && (_root.ENEMY4.Health > 0)) && ((-_root.power7) >= 3)) {
_root.ENEMY4.play();
_root.ENEMY4.Health = _root.ENEMY4.Health - 500;
_root.ENEMY4.Health = _root.ENEMY4.Health - (55 * _root.power7);
_root.bomb = true;
}
if ((this.CD.hitTest(_root.ENEMY5) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.play();
_root.ENEMY5.Health = _root.ENEMY5.Health - 500;
_root.ENEMY5.Health = _root.ENEMY5.Health - (55 * _root.power7);
}
if ((this.CD.hitTest(_root.ENEMY6._x, _root.ENEMY6._y, true) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.play();
_root.ENEMY6.Health = _root.ENEMY6.Health - 500;
_root.ENEMY6.Health = _root.ENEMY6.Health - (55 * _root.power7);
}
if ((this.CD.hitTest(_root.ENEMY7._x, _root.ENEMY7._y, true) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.play();
_root.ENEMY7.Health = _root.ENEMY7.Health - 500;
_root.ENEMY7.Health = _root.ENEMY7.Health - (55 * _root.power7);
}
if (this.CD.hitTest(_root.ENEMY8._x, _root.ENEMY8._y, (_visible == true) && (_root.ENEMY8.Health > 0))) {
_root.ENEMY8.play();
_root.ENEMY8.Health = _root.ENEMY8.Health - 500;
_root.ENEMY8.Health = _root.ENEMY8.Health - (55 * _root.power7);
}
if (_x < 0) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_x > 900) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_y < 0) {
MOTION = 0;
this.play();
DEATH = true;
}
if (_y > 575) {
MOTION = 0;
this.play();
DEATH = true;
}
if (DEATH == true) {
dying = dying + 1;
}
if ((dying > 3) && (dying < 6)) {
this.gotoAndPlay("die");
}
if (dying > 50) {
_root.removeMovieClip(this);
_visible = false;
}
if ((_root.spider.pause != true) && (_xscale >= 100)) {
_x = (_x + (MORE * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (MORE * Math.sin(_rotation * (Math.PI/180))));
_xscale = (_xscale + VIC);
VIC = VIC - 0.7;
}
if (MORE > 0) {
MORE = MORE - 0.1;
}
if (MORE <= 0) {
MORE = 0;
}
if (_xscale < 100) {
_xscale = 99;
VIC = 0;
prep = true;
}
if (((_xscale < 100) && (_root.spider.pause != true)) && (time < 50)) {
time = time + 1;
}
if ((time > 306) && (time < 310)) {
this.play();
}
if (_root.spider.pause == true) {
this.stop();
}
if (time > 360) {
_visible = false;
removeMovieClip(this);
}
this.probe._rotation = this.probe._rotation + 3;
this.probe.gotoAndStop(2);
_yscale = _xscale;
_root.bombS.gotoAndStop("DEAD");
_root.removeMovieClip(_root.bombs);
_root.bombS._visible = false;
}
Instance of Symbol 424 MovieClip "minimis" in Frame 7
onClipEvent (load) {
_x = _root.POSX;
_y = _root.POSY;
_rotation = ((Math.random() * 180) - (Math.random() * 180));
_visible = true;
motion = 20;
HP = 5;
DEATH = false;
DYING = 0;
lockon = 0;
ACC = 0.1;
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.ENEMY) && (_root.ENEMY.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - 23;
_root.ENEMY.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY2) && (_root.ENEMY2.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - 23;
_root.ENEMY2.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY3) && (_root.ENEMY3.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - 23;
_root.ENEMY3.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY4) && (_root.ENEMY4.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - 23;
_root.ENEMY4.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY5) && (_root.ENEMY5.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - 500;
_root.ENEMY5.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY6) && (_root.ENEMY6.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - 500;
_root.ENEMY6.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY7) && (_root.ENEMY7.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - 500;
_root.ENEMY7.play();
MOTION = 0;
this.play();
DEATH = true;
}
if (((this.hitTest(_root.ENEMY8) && (_root.ENEMY8.Health > 0)) && (_visible == true)) && (DEATH != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - 500;
_root.ENEMY8.play();
MOTION = 0;
this.play();
DEATH = true;
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 200))) && (_root.ENEMY._x > (_x - 200))) && (_root.ENEMY._x < (_x + 200))) && (_root.ENEMY.HEALTH > 0)) && (lockon <= 0)) {
lockon = 1;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 1) && (DEATH != true)) && (_root.ENEMY.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY._y, _x - _root.ENEMY._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 200))) && (_root.ENEMY2._x > (_x - 200))) && (_root.ENEMY2._x < (_x + 200))) && (_root.ENEMY2.HEALTH > 0)) && (lockon <= 0)) {
lockon = 2;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 2) && (DEATH != true)) && (_root.ENEMY2.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY2._y, _x - _root.ENEMY2._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 200))) && (_root.ENEMY3._x > (_x - 200))) && (_root.ENEMY3._x < (_x + 200))) && (_root.ENEMY3.HEALTH > 0)) && (lockon <= 0)) {
lockon = 3;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 3) && (DEATH != true)) && (_root.ENEMY3.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY3._y, _x - _root.ENEMY3._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 200))) && (_root.ENEMY4._x > (_x - 200))) && (_root.ENEMY4._x < (_x + 200))) && (_root.ENEMY4.HEALTH > 0)) && (lockon <= 0)) {
lockon = 4;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 4) && (DEATH != true)) && (_root.ENEMY4.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY4._y, _x - _root.ENEMY4._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 200))) && (_root.ENEMY5._x > (_x - 200))) && (_root.ENEMY5._x < (_x + 200))) && (_root.ENEMY5.HEALTH > 0)) && (lockon <= 0)) {
lockon = 5;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 5) && (DEATH != true)) && (_root.ENEMY5.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY5._y, _x - _root.ENEMY5._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 200))) && (_root.ENEMY6._x > (_x - 200))) && (_root.ENEMY6._x < (_x + 200))) && (_root.ENEMY6.HEALTH > 0)) && (lockon <= 0)) {
lockon = 6;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 6) && (DEATH != true)) && (_root.ENEMY6.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY6._y, _x - _root.ENEMY6._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 200))) && (_root.ENEMY7._x > (_x - 200))) && (_root.ENEMY7._x < (_x + 200))) && (_root.ENEMY7.HEALTH > 0)) && (lockon <= 0)) {
lockon = 7;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 7) && (DEATH != true)) && (_root.ENEMY7.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY7._y, _x - _root.ENEMY7._x) / (Math.PI/180)));
}
if ((((((_root.ENEMY8._y > (_y - 200)) && (_root.ENEMY8._y < (_y + 200))) && (_root.ENEMY8._x > (_x - 200))) && (_root.ENEMY8._x < (_x + 200))) && (_root.ENEMY8.HEALTH > 0)) && (lockon <= 0)) {
lockon = 8;
MOTION = -13;
XMA = (Math.random() * 14) - (Math.random() * 14);
YMA = (Math.random() * 14) - (Math.random() * 14);
}
if (((lockon == 8) && (DEATH != true)) && (_root.ENEMY8.Health > 0)) {
motion = motion + (1 * ACC);
ACC = ACC + 0.2;
_rotation = (180 + (Math.atan2(_y - _root.ENEMY8._y, _x - _root.ENEMY8._x) / (Math.PI/180)));
}
if (((lockon == 1) && (_root.ENEMY.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 2) && (_root.ENEMY2.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 3) && (_root.ENEMY3.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 4) && (_root.ENEMY4.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 5) && (_root.ENEMY5.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 6) && (_root.ENEMY6.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 7) && (_root.ENEMY7.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if (((lockon == 8) && (_root.ENEMY8.Health <= 0)) && (DEATH != true)) {
lockon = 0;
}
if ((target <= 0) && (DEATH != true)) {
motion = 20;
}
if (_x < 80) {
_rotation = (_rotation - 24);
}
if (_x > 820) {
_rotation = (_rotation + 24);
}
if (_y < 10) {
_rotation = (_rotation + 24);
}
if (_y > 555) {
_rotation = (_rotation - 24);
}
if (DEATH == true) {
dying = dying + 1;
}
if (dying > 50) {
removeMovieClip(this);
_visible = false;
}
if ((_root.spider.pause != true) && (Death != true)) {
_x = (_x + (MOTION * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (MOTION * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + XMA);
_y = (_y - YMA);
XMA = XMA * 0.9;
YMA = YMA * 0.9;
}
_root.laser8.gotoAndStop("dead");
_root.removeMovieClip(_root.laser8);
_root.laser8._visible = false;
}
Instance of Symbol 518 MovieClip "foreground" in Frame 7
onClipEvent (enterFrame) {
if (_root.spider.BGtype <= 1) {
this.gotoAndStop(1);
_root.BG.gotoAndStop(1);
}
if (((_root.spider.BGtype <= 1) && (_root.spider._x > 550)) && (_root.spider._y > 200)) {
_alpha = 30;
}
if (((_root.spider.BGtype <= 1) && (_root.spider._x <= 650)) || ((_root.spider.BGtype <= 1) && (_root.spider._y <= 300))) {
_alpha = 100;
}
if (_root.spider.BGtype == 2) {
this.gotoAndStop(2);
_root.BG.gotoAndStop(2);
}
if ((_root.spider.BGtype == 2) && (_root.spider._y > 300)) {
_alpha = 30;
}
if ((_root.spider.BGtype == 2) && (_root.spider._y < 300)) {
_alpha = 100;
}
if (_root.spider.BGtype == 3) {
this.gotoAndStop(3);
_root.BG.gotoAndStop(3);
}
if ((_root.spider.BGtype == 3) && (_root.spider._y > 300)) {
_alpha = 30;
}
if ((_root.spider.BGtype == 3) && (_root.spider._y < 300)) {
_alpha = 100;
}
if (_root.spider.BGtype == 4) {
this.gotoAndStop(4);
_root.BG.gotoAndStop(4);
}
if ((_root.spider.BGtype == 4) && (_root.spider._y > 300)) {
_alpha = 30;
}
if ((_root.spider.BGtype == 4) && (_root.spider._y < 300)) {
_alpha = 100;
}
if (_root.spider.BGtype == 5) {
this.gotoAndStop(5);
_root.BG.gotoAndStop(5);
}
if ((((_root.spider.BGtype == 5) && (_root.spider._x < 400)) && (_root.spider._y > 200)) || (((_root.spider.BGtype == 5) && (_root.spider._x > 590)) && (_root.spider._y > 200))) {
_alpha = 30;
}
if ((((_root.spider.BGtype == 5) && (_root.spider._x < 590)) && (_root.spider._x > 400)) || ((_root.spider.BGtype == 5) && (_root.spider._y < 200))) {
_alpha = 100;
}
}
Frame 9
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 10
_root.Difficulty = _root.Difficulty + 1;
Frame 11
gotoAndStop (6);
Frame 12
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 13
_root.cash = _root.cash - _root.GOR;
Frame 14
stop();
Instance of Symbol 583 MovieClip in Frame 14
onClipEvent (enterFrame) {
_root.scoreVal = _root.score;
}
Frame 15
_root.score = 0;
Frame 22
gotoAndStop (6);
Symbol 11 MovieClip Frame 1
stop();
Symbol 11 MovieClip Frame 3
gotoAndStop (1);
Symbol 11 MovieClip Frame 25
gotoAndStop (1);
Symbol 11 MovieClip Frame 28
gotoAndStop (1);
Symbol 11 MovieClip Frame 31
gotoAndStop (1);
Symbol 11 MovieClip Frame 34
gotoAndStop (1);
Symbol 11 MovieClip Frame 37
gotoAndStop (1);
Symbol 11 MovieClip Frame 40
gotoAndStop (1);
Symbol 11 MovieClip Frame 44
gotoAndStop (1);
Instance of Symbol 19 MovieClip "player" in Symbol 29 MovieClip Frame 1
onClipEvent (load) {
Max = 5;
Min = 357;
}
onClipEvent (enterFrame) {
if ((_y > Max) && (key.IsDown(38))) {
_y = (_y - 5);
} else if ((_y < Min) && (key.IsDown(40))) {
_y = (_y + 5);
}
}
Instance of Symbol 19 MovieClip "enemy" in Symbol 29 MovieClip Frame 1
onClipEvent (load) {
Max = 5;
Min = 357;
_root.DIF = 1;
}
onClipEvent (enterFrame) {
if (((_y > Max) && (_root.preloader.minigame.ball._y < (_y + 30))) && (_root.preloader.minigame.ball.started == true)) {
_y = (_y - (2 * _root.DIF));
} else if (((_y < Min) && (_root.preloader.minigame.ball._y > (_y + 30))) && (_root.preloader.minigame.ball.started == true)) {
_y = (_y + (2 * _root.DIF));
}
}
Instance of Symbol 21 MovieClip "ball" in Symbol 29 MovieClip Frame 1
onClipEvent (load) {
build = 6;
Xmotion = 6;
Ymotion = 6;
_y = 240;
XPOS = _x;
EY = _root.preloader.minigame.ENEMY._y;
PY = _root.preloader.minigame.player._y;
_root.preloader.minigame.ENEMYscore = 0;
_root.preloader.minigame.playerscore = 0;
}
onClipEvent (enterFrame) {
if (started == true) {
_x = (_x + Xmotion);
_y = (_y - Ymotion);
_root.preloader.minigame.nano.gotoAndStop(2);
DUP = DUP + 1;
}
if (DUP > 3) {
duplicateMovieClip (_root.preloader.minigame.orb, "null" + element, element);
dup = 0;
}
if ((this.hitTest(_root.preloader.minigame.player) && (started == true)) && (key.IsDown(38))) {
Xmotion = -build;
build = build + 1;
Ymotion = Math.random() * 12;
_root.soundfx.gotoAndPlay("boing");
} else if ((this.hitTest(_root.preloader.minigame.player) && (started == true)) && (key.IsDown(40))) {
Xmotion = -build;
build = build + 1;
Ymotion = (-Math.random()) * 12;
_root.soundfx.gotoAndPlay("boing");
} else if (this.hitTest(_root.preloader.minigame.player) && (started == true)) {
Xmotion = -build;
build = build + 1;
Ymotion = (Math.random() * 6) - (Math.random() * 6);
_root.soundfx.gotoAndPlay("boing");
}
if (this.hitTest(_root.preloader.minigame.ENEMY) && (started == true)) {
Xmotion = build;
build = build + 1;
Ymotion = (Math.random() * DIFFC) - (Math.random() * DIFFC);
_root.soundfx.gotoAndPlay("boing");
}
if (_x <= 10) {
_visible = false;
_root.preloader.minigame.playerscore = _root.preloader.minigame.playerscore + 1;
_x = 247;
build = 0;
started = false;
Xmotion = 0;
Ymotion = 0;
_root.soundFX.gotoAndPlay("cash");
_root.DIF = _root.DIF + 0.1;
Diffc = Diffc + 1;
}
if (_x >= 465) {
_visible = false;
_root.preloader.minigame.ENEMYscore = _root.preloader.minigame.ENEMYscore + 1;
_x = 247;
started = false;
build = 0;
Xmotion = 0;
Ymotion = 0;
}
if (_y >= 435) {
Ymotion = Math.random() * 6;
_root.soundfx.gotoAndPlay("boing");
}
if (_y <= 0) {
Ymotion = Math.random() * -6;
_root.soundfx.gotoAndPlay("boing");
}
if (_visible == false) {
reset = reset + 1;
_x = XPOS;
_y = 240;
}
if (reset > 30) {
_visible = true;
build = 6;
reset = 0;
started = true;
Xmotion = 6;
Ymotion = 0;
}
if (build > 12) {
build = 12;
}
if (DIFFC > 12) {
DIFFC = 12;
}
if (((key.IsDown(32) && (began != true)) && (started != true)) && (GRRR > 30)) {
started = true;
began = true;
Ymotion = 0;
GRRR = 0;
}
if (((key.IsDown(32) && (began == true)) && (started == true)) && (GRRR > 30)) {
started = false;
began = false;
Ymotion = 0;
GRRR = 0;
_root.preloader.minigame.ENEMY._y = EY;
_root.preloader.minigame.player._y = PY;
_root.preloader.minigame.ENEMYscore = 0;
_root.preloader.minigame.playerscore = 0;
}
if ((started != true) && (began != true)) {
build = 6;
_root.preloader.minigame.nano.gotoAndStop(1);
DIFFC = 6;
Xmotion = 6;
Ymotion = 6;
_y = 240;
_x = XPOS;
}
if (element > 100) {
element = 0;
}
element = element + 1;
GRRR = GRRR + 1;
}
Instance of Symbol 21 MovieClip "orb" in Symbol 29 MovieClip Frame 1
onClipEvent (load) {
_x = _root.preloader.minigame.ball._x;
_y = _root.preloader.minigame.ball._y;
_alpha = 60;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
removeMovieClip(this);
_visible = false;
}
_alpha = (_alpha - 3);
}
Symbol 50 Button
on (release) {
getURL ("http://www.heavygames.com", "_blank");
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 59 Button
on (release) {
getURL ("http://www.dizimz.net", "_blank");
}
Symbol 66 Button
on (release) {
play();
}
Symbol 69 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded * 6.2;
percent = (Math.round(PercentLoaded) * 3) + 7;
} else {
gotoAndStop (3);
}
Symbol 69 MovieClip Frame 2
gotoAndPlay (1);
Symbol 69 MovieClip Frame 3
stop();
Symbol 69 MovieClip Frame 70
stop();
_root.play();
Symbol 76 Button
on (release) {
_root.Intro.gotoAndPlay("skip");
}
Symbol 85 MovieClip Frame 26
MM = _url;
_root.NG = MM.slice(0, 29);
trace(MM);
if (_root.NG == _root.NGURL) {
play();
}
if (_root.NG != _root.NGURL) {
_root.INTRO.gotoAndPlay("skipNG");
}
Symbol 85 MovieClip Frame 635
stop();
_root.play();
Symbol 89 Button
on (release) {
_root.loading.play();
}
Symbol 92 Button
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.Weapon2 == undefined) {
_root.Weapon2 = false;
} else {
_root.Weapon2 = savefile.data.Weapon2;
_root.soundFx.gotoAndPlay("cash");
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.armor == undefined) {
_root.armor = 1;
} else {
_root.armor = savefile.data.armor;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.Weapon3 == undefined) {
_root.Weapon3 = false;
} else {
_root.Weapon3 = savefile.data.Weapon3;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.Weapon4 == undefined) {
_root.Weapon4 = false;
} else {
_root.Weapon4 = savefile.data.Weapon4;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.Weapon5 == undefined) {
_root.Weapon5 = false;
} else {
_root.Weapon5 = savefile.data.Weapon5;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.Weapon6 == undefined) {
_root.Weapon6 = false;
} else {
_root.Weapon6 = savefile.data.Weapon6;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.Weapon7 == undefined) {
_root.Weapon7 = false;
} else {
_root.Weapon7 = savefile.data.Weapon7;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.Weapon8 == undefined) {
_root.Weapon8 = false;
} else {
_root.Weapon8 = savefile.data.Weapon8;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.power == undefined) {
_root.power = false;
} else {
_root.power = savefile.data.power;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.power2 == undefined) {
_root.power2 = false;
} else {
_root.power2 = savefile.data.power2;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.power3 == undefined) {
_root.power3 = false;
} else {
_root.power3 = savefile.data.power3;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.power4 == undefined) {
_root.power4 = false;
} else {
_root.power4 = savefile.data.power4;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.power5 == undefined) {
_root.power5 = false;
} else {
_root.power5 = savefile.data.power5;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.power6 == undefined) {
_root.power6 = false;
} else {
_root.power6 = savefile.data.power6;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.power7 == undefined) {
_root.power7 = false;
} else {
_root.power7 = savefile.data.power7;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.power8 == undefined) {
_root.power8 = false;
} else {
_root.power8 = savefile.data.power8;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.GA == undefined) {
_root.GA = false;
} else {
_root.GA = savefile.data.GA;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.GA2 == undefined) {
_root.GA2 = false;
} else {
_root.GA2 = savefile.data.GA2;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.GA3 == undefined) {
_root.GA3 = false;
} else {
_root.GA3 = savefile.data.GA3;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.GA4 == undefined) {
_root.GA4 = false;
} else {
_root.GA4 = savefile.data.GA4;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.GA5 == undefined) {
_root.GA5 = false;
} else {
_root.GA5 = savefile.data.GA5;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.GA6 == undefined) {
_root.GA6 = false;
} else {
_root.GA6 = savefile.data.GA6;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.GA7 == undefined) {
_root.GA7 = false;
} else {
_root.GA7 = savefile.data.GA7;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.GA8 == undefined) {
_root.GA8 = false;
} else {
_root.GA8 = savefile.data.GA8;
}
}
on (release) {
var savefile = SharedObject.getLocal("SpiderTron");
if (savefile.data.cash == undefined) {
_root.cash = 0;
_root.Difficulty = 0;
} else {
_root.cash = savefile.data.cash;
_root.Difficulty = savefile.data.difficulty;
}
}
on (release) {
_root.loading.play();
}
on (release) {
_root.soundFX.gotoAndPlay("bounce");
}
Symbol 95 Button
on (release) {
getURL ("http://www.heavygames.com", "_blank");
}
Symbol 98 Button
on (release) {
getURL ("http://www.heavygames.com/spider/view_high_scores.asp", "_blank");
}
Symbol 102 MovieClip Frame 55
_root.play();
stop();
Symbol 105 Button
on (release) {
_root.loading.play();
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 2
stop();
Symbol 125 MovieClip Frame 3
stop();
Symbol 125 MovieClip Frame 4
stop();
Symbol 125 MovieClip Frame 5
stop();
Symbol 125 MovieClip Frame 6
stop();
Symbol 125 MovieClip Frame 7
stop();
Symbol 125 MovieClip Frame 8
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 2
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 2
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 3
stop();
Symbol 152 MovieClip Frame 4
stop();
Symbol 152 MovieClip Frame 5
stop();
Symbol 152 MovieClip Frame 6
stop();
Symbol 152 MovieClip Frame 7
stop();
Symbol 152 MovieClip Frame 8
stop();
Instance of Symbol 128 MovieClip "WEA" in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 55
_root.play();
stop();
Symbol 163 MovieClip Frame 41
stop();
Symbol 167 Button
on (release) {
_root.select = 2;
}
Symbol 168 Button
on (release) {
_root.select = 3;
}
Symbol 169 Button
on (release) {
_root.select = 4;
}
Symbol 170 Button
on (release) {
_root.select = 5;
}
Symbol 171 Button
on (release) {
_root.select = 6;
}
Symbol 172 Button
on (release) {
_root.select = 7;
}
Symbol 173 Button
on (release) {
_root.select = 8;
}
Symbol 174 Button
on (release) {
_root.select = 1;
}
Instance of Symbol 125 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((key.IsDown(39) && (sick != true)) && (_root.select <= 1)) {
_root.select = 2;
sick = true;
}
if (((key.IsDown(39) && (sick != true)) && (_root.select > 1)) && (select < 8)) {
_root.select = _root.select + 1;
sick = true;
}
if ((key.IsDown(39) && (sick != true)) && (_root.select == 8)) {
_root.select = 1;
sick = true;
}
if ((key.IsDown(37) && (sick != true)) && (_root.select <= 1)) {
_root.select = 8;
sick = true;
}
if ((key.IsDown(37) && (sick != true)) && (_root.select > 1)) {
_root.select = _root.select - 1;
sick = true;
}
if (_root.select <= 1) {
_root.QSE.WEA.gotoAndStop(1);
this.gotoAndStop(1);
this.ammo = _root.spider.ammo1;
this.full = _root.spider.gun1;
}
if (_root.select == 2) {
_root.QSE.WEA2.gotoAndStop(2);
this.gotoAndStop(2);
this.ammo = _root.spider.ammo2;
this.full = _root.spider.gun2;
}
if (_root.select == 3) {
this.ammo = _root.spider.ammo3;
this.full = _root.spider.gun3;
_root.QSE.WEA3.gotoAndStop(3);
this.gotoAndStop(3);
}
if (_root.select == 4) {
this.ammo = _root.spider.ammo4;
this.full = _root.spider.gun4;
_root.QSE.WEA4.gotoAndStop(4);
this.gotoAndStop(4);
}
if (_root.select == 5) {
this.ammo = _root.spider.ammo5;
this.full = _root.spider.gun5;
_root.QSE.WEA5.gotoAndStop(5);
this.gotoAndStop(5);
}
if (_root.select == 6) {
this.ammo = _root.spider.ammo6;
this.full = _root.spider.gun6;
_root.QSE.WEA6.gotoAndStop(6);
this.gotoAndStop(6);
}
if (_root.select == 7) {
this.ammo = _root.spider.ammo7;
this.full = _root.spider.gun7;
this.gotoAndStop(7);
_root.QSE.WEA7.gotoAndStop(7);
}
if (_root.select == 8) {
this.ammo = _root.spider.ammo8;
this.full = _root.spider.gun8;
this.gotoAndStop(8);
_root.QSE.WEA8.gotoAndStop(8);
}
}
onClipEvent (keyUp) {
sick = false;
}
Instance of Symbol 128 MovieClip "WEA" in Symbol 175 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 186 Button
on (release) {
if (_root.ARMORC <= _root.cash) {
_root.cash = _root.cash - _root.ARMORC;
_root.armor = _root.armor + 1;
_root.Soundfx.gotoAndPlay("cash");
}
}
Symbol 190 Button
on (press) {
savefile.data.Weapon2 = _root.Weapon2;
savefile.data.Weapon3 = _root.Weapon3;
savefile.flush();
}
on (press) {
savefile.data.Weapon4 = _root.Weapon4;
savefile.data.Weapon5 = _root.Weapon5;
savefile.flush();
}
on (press) {
savefile.data.Weapon6 = _root.Weapon6;
savefile.data.Weapon7 = _root.Weapon7;
savefile.flush();
}
on (press) {
savefile.data.Weapon8 = _root.Weapon8;
savefile.data.power = _root.power;
savefile.flush();
}
on (press) {
savefile.data.power2 = _root.power2;
savefile.data.power3 = _root.power3;
savefile.flush();
}
on (press) {
savefile.data.power4 = _root.power4;
savefile.data.power5 = _root.power5;
savefile.flush();
}
on (press) {
savefile.data.power6 = _root.power6;
savefile.data.power7 = _root.power7;
savefile.flush();
}
on (press) {
savefile.data.power8 = _root.power8;
savefile.flush();
}
on (press) {
savefile.data.GA = _root.GA;
savefile.data.GA2 = _root.GA2;
savefile.flush();
}
on (press) {
savefile.data.GA3 = _root.GA3;
savefile.data.GA4 = _root.GA4;
savefile.flush();
}
on (press) {
savefile.data.GA5 = _root.GA5;
savefile.data.GA6 = _root.GA6;
savefile.flush();
}
on (press) {
savefile.data.GA7 = _root.GA7;
savefile.data.GA8 = _root.GA8;
savefile.flush();
}
on (press) {
savefile.data.cash = _root.cash;
savefile.data.difficulty = _root.difficulty;
savefile.flush();
}
on (press) {
savefile.data.armor = _root.armor;
savefile.flush();
}
on (release) {
_root.soundFX.gotoAndPlay("cash");
}
Symbol 200 Button
on (release) {
if ((_root.select <= 1) && (_root.buying.POWC <= _root.cash)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power = _root.power + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if ((_root.select == 2) && (_root.buying.POWC <= _root.cash)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power2 = _root.power2 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 3) && (_root.buying.POWC <= _root.cash)) && (_root.weapon3 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power3 = _root.power3 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 4) && (_root.buying.POWC <= _root.cash)) && (_root.weapon4 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power4 = _root.power4 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 5) && (_root.buying.POWC <= _root.cash)) && (_root.weapon5 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power5 = _root.power5 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 6) && (_root.buying.POWC <= _root.cash)) && (_root.weapon6 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power6 = _root.power6 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 7) && (_root.buying.POWC <= _root.cash)) && (_root.weapon7 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power7 = _root.power7 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 8) && (_root.buying.POWC <= _root.cash)) && (_root.weapon8 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power8 = _root.power8 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
}
Symbol 201 Button
on (release) {
if ((_root.select <= 1) && (_root.buying.AMMOC <= _root.cash)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA = _root.GA + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if ((_root.select == 2) && (_root.buying.AMMOC <= _root.cash)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA2 = _root.GA2 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 3) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon3 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA3 = _root.GA3 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 4) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon4 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA4 = _root.GA4 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 5) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon5 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA5 = _root.GA5 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 6) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon6 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA6 = _root.GA6 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 7) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon7 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA7 = _root.GA7 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 8) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon8 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA8 = _root.GA8 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
}
Symbol 205 Button
on (release) {
if (((_root.select == 2) && (_root.buying.cost <= _root.cash)) && (_root.weapon2 != true)) {
_root.cash = _root.cash - _root.buying.cost;
_root.weapon2 = true;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 3) && (_root.buying.cost <= _root.cash)) && (_root.weapon3 != true)) {
_root.cash = _root.cash - _root.buying.cost;
_root.weapon3 = true;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 4) && (_root.buying.cost <= _root.cash)) && (_root.weapon4 != true)) {
_root.cash = _root.cash - _root.buying.cost;
_root.weapon4 = true;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 5) && (_root.buying.cost <= _root.cash)) && (_root.weapon5 != true)) {
_root.cash = _root.cash - _root.buying.cost;
_root.weapon5 = true;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 6) && (_root.buying.cost <= _root.cash)) && (_root.weapon6 != true)) {
_root.cash = _root.cash - _root.buying.cost;
_root.weapon6 = true;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 7) && (_root.buying.cost <= _root.cash)) && (_root.weapon7 != true)) {
_root.cash = _root.cash - _root.buying.cost;
_root.weapon7 = true;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 8) && (_root.buying.cost <= _root.cash)) && (_root.weapon8 != true)) {
_root.cash = _root.cash - _root.buying.cost;
_root.weapon8 = true;
_root.Soundfx.gotoAndPlay("cash");
}
}
Symbol 240 MovieClip Frame 1
stop();
Instance of Symbol 239 MovieClip in Symbol 240 MovieClip Frame 1
onClipEvent (load) {
_x = 0;
_y = 0;
XMOTION = (Math.random() * 7) - (Math.random() * 7);
YMOTION = (Math.random() * 7) - (Math.random() * 7);
_alpha = 100;
}
onClipEvent (enterFrame) {
if (pecor > 20) {
duplicateMovieClip (this, "nulls" + element, element);
pecor = 0;
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - 4);
_x = (_x + xmotion);
xmotion = xmotion * 0.94;
_y = (_y + ymotion);
ymotion = ymotion * 0.94;
pecor = pecor + 1;
}
Symbol 240 MovieClip Frame 2
stop();
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 2
stop();
Instance of Symbol 241 MovieClip in Symbol 248 MovieClip Frame 6
onClipEvent (enterFrame) {
this.serp.gotoAndStop(2);
}
Instance of Symbol 244 MovieClip in Symbol 248 MovieClip Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
Symbol 270 Button
on (release) {
if ((_root.select <= 1) && (_root.buying.POWC <= _root.cash)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power = _root.power + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 2) && (_root.buying.POWC <= _root.cash)) && (_root.weapon2 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power2 = _root.power2 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 3) && (_root.buying.POWC <= _root.cash)) && (_root.weapon3 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power3 = _root.power3 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 4) && (_root.buying.POWC <= _root.cash)) && (_root.weapon4 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power4 = _root.power4 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 5) && (_root.buying.POWC <= _root.cash)) && (_root.weapon5 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power5 = _root.power5 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 6) && (_root.buying.POWC <= _root.cash)) && (_root.weapon6 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power6 = _root.power6 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 7) && (_root.buying.POWC <= _root.cash)) && (_root.weapon7 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power7 = _root.power7 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 8) && (_root.buying.POWC <= _root.cash)) && (_root.weapon8 == true)) {
_root.cash = _root.cash - _root.buying.POWC;
_root.power8 = _root.power8 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
}
Symbol 271 Button
on (release) {
if ((_root.select <= 1) && (_root.buying.AMMOC <= _root.cash)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA = _root.GA + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 2) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon2 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA2 = _root.GA2 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 3) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon3 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA3 = _root.GA3 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 4) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon4 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA4 = _root.GA4 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 5) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon5 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA5 = _root.GA5 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 6) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon6 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA6 = _root.GA6 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 7) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon7 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA7 = _root.GA7 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
if (((_root.select == 8) && (_root.buying.AMMOC <= _root.cash)) && (_root.weapon8 == true)) {
_root.cash = _root.cash - _root.buying.AMMOC;
_root.GA8 = _root.GA8 + 1;
_root.Soundfx.gotoAndPlay("cash");
}
}
Instance of Symbol 244 MovieClip in Symbol 292 MovieClip Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 53
gotoAndPlay (2);
Instance of Symbol 289 MovieClip in Symbol 324 MovieClip Frame 55
onClipEvent (enterFrame) {
play();
}
Instance of Symbol 300 MovieClip "CD" in Symbol 324 MovieClip Frame 55
onClipEvent (enterFrame) {
_root.spider.play();
}
Symbol 324 MovieClip Frame 81
gotoAndStop (1);
Symbol 352 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 2
_root.score = _root.score + 5;
Symbol 352 MovieClip Frame 3
_root.score = _root.score + 5;
Symbol 352 MovieClip Frame 4
_root.score = _root.score + 5;
_root.spider.pickup = _root.spider.pickup + 1;
_root.GOR = _root.GOR + 1;
Symbol 352 MovieClip Frame 7
gotoAndStop (1);
Symbol 352 MovieClip Frame 8
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 9
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 10
if ((_root.electrode > 0) && (_root.power6 >= 2)) {
duplicateMovieClip (_root.electro, "nullel" + _root.spider.element, _root.spider.element);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 11
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 12
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
if (_root.electrode > 0) {
duplicateMovieClip (_root.electro, "nullel" + _root.spider.element, _root.spider.element);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 13
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 14
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
if (_root.electrode > 0) {
duplicateMovieClip (_root.electro, "nullel" + _root.spider.element, _root.spider.element);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 15
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 16
if (_root.electrode2 > 0) {
duplicateMovieClip (_root.electro2, "nullel" + _root.spider.element, _root.spider.element);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
if ((_root.electrode > 0) && (_root.power6 >= 3)) {
duplicateMovieClip (_root.electro3, "nullel" + _root.spider.element, _root.spider.element);
}
Symbol 352 MovieClip Frame 17
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
_root.spider.pickup = _root.spider.pickup + 5;
_root.GOR = _root.GOR + 5;
_root.score = _root.score + 5;
_root.spider.revertor = 0;
Symbol 352 MovieClip Frame 18
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
if ((_root.electrode > 0) && (_root.power6 >= 4)) {
duplicateMovieClip (_root.electro3, "nullel" + _root.spider.element, _root.spider.element);
}
Symbol 352 MovieClip Frame 19
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
Symbol 352 MovieClip Frame 20
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
if ((_root.electrode > 0) && (_root.power6 >= 5)) {
duplicateMovieClip (_root.electro3, "nullel" + _root.spider.element, _root.spider.element);
}
Symbol 352 MovieClip Frame 21
if (_root.bomb == true) {
duplicateMovieClip (_root.bombs, "nullbomb" + _root.spider.element, _root.spider.lamont);
}
Symbol 352 MovieClip Frame 22
if ((_root.electrode > 0) && (_root.power6 >= 7)) {
duplicateMovieClip (_root.electro3, "nullel" + _root.spider.element, _root.spider.element);
}
Symbol 352 MovieClip Frame 70
stop();
Symbol 352 MovieClip Frame 74
gotoAndStop (70);
Symbol 352 MovieClip Frame 75
gotoAndStop (70);
Symbol 352 MovieClip Frame 76
gotoAndStop (70);
Symbol 352 MovieClip Frame 77
gotoAndStop (70);
Symbol 352 MovieClip Frame 147
duplicateMovieClip (_root.electro, "nullel" + _root.spider.element, element);
Symbol 352 MovieClip Frame 149
duplicateMovieClip (_root.electro, "nullel" + _root.spider.element, element);
Symbol 352 MovieClip Frame 254
_root.electrode = 0;
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 2
_root._y = random(6) - random(6);
_root._x = random(6) - random(6);
my_color = new Color(_root);
myColorTransform = {ra:100, rb:70, ga:100, gb:50, ba:100, bb:28};
my_color.setTransform(myColorTransform);
_root.spider.pickup = _root.spider.pickup + 2;
_root.GOR = _root.GOR + 2;
_root.spider.revertor = 0;
Symbol 424 MovieClip Frame 3
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
_root.spider.pickup = _root.spider.pickup + 2;
_root.GOR = _root.GOR + 2;
_root.spider.revertor = 0;
Symbol 424 MovieClip Frame 4
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
_root.spider.pickup = _root.spider.pickup + 2;
_root.GOR = _root.GOR + 2;
_root.spider.revertor = 0;
Symbol 424 MovieClip Frame 5
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
my_color = new Color(_root);
myColorTransform = {ra:100, rb:50, ga:100, gb:40, ba:100, bb:22};
my_color.setTransform(myColorTransform);
_root.spider.pickup = _root.spider.pickup + 2;
_root.GOR = _root.GOR + 2;
_root.spider.revertor = 0;
Symbol 424 MovieClip Frame 6
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
my_color = new Color(_root);
myColorTransform = {ra:100, rb:40, ga:100, gb:30, ba:100, bb:14};
my_color.setTransform(myColorTransform);
Symbol 424 MovieClip Frame 7
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
my_color = new Color(_root);
myColorTransform = {ra:100, rb:30, ga:100, gb:15, ba:100, bb:7};
my_color.setTransform(myColorTransform);
Symbol 424 MovieClip Frame 8
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
my_color = new Color(_root);
myColorTransform = {ra:100, rb:20, ga:100, gb:5, ba:100, bb:2};
my_color.setTransform(myColorTransform);
Symbol 424 MovieClip Frame 9
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 424 MovieClip Frame 10
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
Symbol 424 MovieClip Frame 11
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
Symbol 424 MovieClip Frame 12
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
Symbol 424 MovieClip Frame 13
if (_root._y > 0) {
_root._y = _root._y - 0.5;
}
if (_root._y < 0) {
_root._y = _root._y + 0.5;
}
if (_root._x > 0) {
_root._x = _root._x - 0.5;
}
if (_root._x < 0) {
_root._x = _root._x + 0.5;
}
Symbol 424 MovieClip Frame 14
_root._x = 0;
_root._y = 0;
Symbol 424 MovieClip Frame 100
stop();
Symbol 424 MovieClip Frame 105
gotoAndPlay (100);
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 26
gotoAndPlay ("WORP");
Symbol 452 MovieClip Frame 183
gotoAndPlay (180);
Symbol 452 MovieClip Frame 184
gotoAndPlay (180);
Symbol 452 MovieClip Frame 185
gotoAndPlay (180);
Symbol 452 MovieClip Frame 186
gotoAndPlay (180);
Symbol 452 MovieClip Frame 190
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 476 MovieClip Frame 3
stop();
Symbol 476 MovieClip Frame 4
stop();
Symbol 480 MovieClip Frame 1
_root._y = 1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:30, ga:100, gb:60, ba:100, bb:78};
my_color.setTransform(myColorTransform);
Symbol 480 MovieClip Frame 2
_root._y = -1;
Symbol 480 MovieClip Frame 3
_root._y = 1;
_root._x = 2;
Symbol 480 MovieClip Frame 4
_root._y = -1;
_root._x = -1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:20, ga:100, gb:40, ba:100, bb:58};
my_color.setTransform(myColorTransform);
Symbol 480 MovieClip Frame 5
_root._y = 1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:10, ga:100, gb:20, ba:100, bb:38};
my_color.setTransform(myColorTransform);
Symbol 480 MovieClip Frame 6
_root._y = -1;
_root._x = 0;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:10, ba:100, bb:18};
my_color.setTransform(myColorTransform);
Symbol 480 MovieClip Frame 7
_root._y = 0;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 480 MovieClip Frame 8
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
stop();
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 2
_root._y = 5;
_root._x = -5;
my_color = new Color(_root);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
Symbol 491 MovieClip Frame 3
_root._y = 4.5;
_root._x = -4.5;
Symbol 491 MovieClip Frame 4
_root._y = 4;
_root._x = -4;
Symbol 491 MovieClip Frame 5
_root._y = 3.5;
_root._x = -3.5;
Symbol 491 MovieClip Frame 6
_root._y = 3;
_root._x = -3;
if (_root.power7 >= 3) {
duplicateMovieClip (_root.minimis, "null" + _root.spider.element, _root.spider.element);
}
Symbol 491 MovieClip Frame 7
_root._y = 2.5;
_root._x = -2.5;
my_color = new Color(_root);
myColorTransform = {ra:-80, rb:220, ga:-80, gb:220, ba:-80, bb:220};
my_color.setTransform(myColorTransform);
Symbol 491 MovieClip Frame 8
_root._y = 2;
_root._x = -2;
my_color = new Color(_root);
myColorTransform = {ra:-60, rb:170, ga:-60, gb:170, ba:-60, bb:170};
my_color.setTransform(myColorTransform);
Symbol 491 MovieClip Frame 9
_root._y = 1.5;
_root._x = -1.5;
my_color = new Color(_root);
myColorTransform = {ra:-40, rb:110, ga:-40, gb:110, ba:-40, bb:110};
my_color.setTransform(myColorTransform);
if (_root.power7 >= 3) {
duplicateMovieClip (_root.minimis, "null" + _root.spider.element, _root.spider.element);
}
Symbol 491 MovieClip Frame 10
_root._y = 1;
_root._x = -1;
my_color = new Color(_root);
myColorTransform = {ra:-20, rb:50, ga:-20, gb:50, ba:-20, bb:50};
my_color.setTransform(myColorTransform);
Symbol 491 MovieClip Frame 11
_root._y = 0.5;
_root._x = -0.5;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 491 MovieClip Frame 12
_root._y = 0;
_root._x = 0;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
if (_root.power7 >= 3) {
duplicateMovieClip (_root.minimis, "null" + _root.spider.element, _root.spider.element);
}
Symbol 491 MovieClip Frame 13
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 491 MovieClip Frame 14
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
if (_root.power7 >= 3) {
duplicateMovieClip (_root.minimis, "null" + _root.spider.element, _root.spider.element);
}
Symbol 491 MovieClip Frame 90
stop();
Symbol 491 MovieClip Frame 95
gotoAndStop (90);
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 2
stop();
Symbol 493 MovieClip Frame 3
stop();
Symbol 493 MovieClip Frame 4
stop();
Symbol 494 MovieClip Frame 1
_root._y = 1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:140, ga:100, gb:60, ba:100, bb:78};
my_color.setTransform(myColorTransform);
Symbol 494 MovieClip Frame 2
_root._y = -1;
Symbol 494 MovieClip Frame 3
_root._y = 1;
_root._x = 2;
Symbol 494 MovieClip Frame 4
_root._y = -1;
_root._x = -1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:120, ga:100, gb:40, ba:100, bb:58};
my_color.setTransform(myColorTransform);
Symbol 494 MovieClip Frame 5
_root._y = 1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:100, ga:100, gb:20, ba:100, bb:38};
my_color.setTransform(myColorTransform);
Symbol 494 MovieClip Frame 6
_root._y = -1;
_root._x = 0;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:70, ga:100, gb:10, ba:100, bb:18};
my_color.setTransform(myColorTransform);
Symbol 494 MovieClip Frame 7
_root._y = 0;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:40, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 494 MovieClip Frame 8
my_color = new Color(_root);
myColorTransform = {ra:100, rb:20, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
stop();
Symbol 498 MovieClip Frame 35
stop();
Symbol 498 MovieClip Frame 38
gotoAndStop (35);
Symbol 498 MovieClip Frame 39
gotoAndStop (35);
Symbol 498 MovieClip Frame 40
gotoAndStop (35);
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 2
stop();
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 2
stop();
Symbol 502 MovieClip Frame 3
stop();
Symbol 502 MovieClip Frame 4
stop();
Symbol 503 MovieClip Frame 1
_root._y = 1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:30, ga:100, gb:170, ba:100, bb:78};
my_color.setTransform(myColorTransform);
Symbol 503 MovieClip Frame 2
_root._y = -1;
Symbol 503 MovieClip Frame 3
_root._y = 1;
_root._x = 2;
Symbol 503 MovieClip Frame 4
_root._y = -1;
_root._x = -1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:20, ga:100, gb:150, ba:100, bb:58};
my_color.setTransform(myColorTransform);
Symbol 503 MovieClip Frame 5
_root._y = 1;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:10, ga:100, gb:120, ba:100, bb:38};
my_color.setTransform(myColorTransform);
Symbol 503 MovieClip Frame 6
_root._y = -1;
_root._x = 0;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:70, ba:100, bb:18};
my_color.setTransform(myColorTransform);
Symbol 503 MovieClip Frame 7
_root._y = 0;
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:40, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 503 MovieClip Frame 8
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
stop();
Symbol 506 MovieClip Frame 2
my_color = new Color(_root);
myColorTransform = {ra:100, rb:70, ga:100, gb:50, ba:100, bb:28};
my_color.setTransform(myColorTransform);
_root.spider.pickup = _root.spider.pickup + 2;
_root.GOR = _root.GOR + 2;
_root.spider.revertor = 0;
Symbol 506 MovieClip Frame 3
_root.spider.pickup = _root.spider.pickup + 2;
_root.GOR = _root.GOR + 2;
_root.spider.revertor = 0;
Symbol 506 MovieClip Frame 4
_root.spider.pickup = _root.spider.pickup + 2;
_root.GOR = _root.GOR + 2;
_root.spider.revertor = 0;
Symbol 506 MovieClip Frame 5
my_color = new Color(_root);
myColorTransform = {ra:100, rb:50, ga:100, gb:40, ba:100, bb:22};
my_color.setTransform(myColorTransform);
_root.spider.pickup = _root.spider.pickup + 2;
_root.GOR = _root.GOR + 2;
_root.spider.revertor = 0;
Symbol 506 MovieClip Frame 6
my_color = new Color(_root);
myColorTransform = {ra:100, rb:40, ga:100, gb:30, ba:100, bb:14};
my_color.setTransform(myColorTransform);
Symbol 506 MovieClip Frame 7
my_color = new Color(_root);
myColorTransform = {ra:100, rb:30, ga:100, gb:15, ba:100, bb:7};
my_color.setTransform(myColorTransform);
Symbol 506 MovieClip Frame 8
my_color = new Color(_root);
myColorTransform = {ra:100, rb:20, ga:100, gb:5, ba:100, bb:2};
my_color.setTransform(myColorTransform);
Symbol 506 MovieClip Frame 9
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 506 MovieClip Frame 100
stop();
Symbol 506 MovieClip Frame 105
gotoAndPlay (100);
Instance of Symbol 125 MovieClip in Symbol 558 MovieClip Frame 1
onClipEvent (load) {
_root.SOC = 1;
}
onClipEvent (enterFrame) {
if (_root.spider.weapon <= 1) {
_root.QS.WEA.gotoAndStop(2);
}
if (_root.spider.weapon == 2) {
_root.QS.WEA2.gotoAndStop(2);
}
if (_root.spider.weapon == 3) {
_root.QS.WEA3.gotoAndStop(2);
}
if (_root.spider.weapon == 4) {
_root.QS.WEA4.gotoAndStop(2);
}
if (_root.spider.weapon == 5) {
_root.QS.WEA5.gotoAndStop(2);
}
if (_root.spider.weapon == 6) {
_root.QS.WEA6.gotoAndStop(2);
}
if (_root.spider.weapon == 7) {
_root.QS.WEA7.gotoAndStop(2);
}
if (_root.spider.weapon == 8) {
_root.QS.WEA8.gotoAndStop(2);
}
if (_root.spider.weapon > 1) {
_root.QS.WEA.gotoAndStop(1);
}
if (_root.spider.weapon != 2) {
_root.QS.WEA2.gotoAndStop(1);
}
if (_root.spider.weapon != 3) {
_root.QS.WEA3.gotoAndStop(1);
}
if (_root.spider.weapon != 4) {
_root.QS.WEA4.gotoAndStop(1);
}
if (_root.spider.weapon != 5) {
_root.QS.WEA5.gotoAndStop(1);
}
if (_root.spider.weapon != 6) {
_root.QS.WEA6.gotoAndStop(1);
}
if (_root.spider.weapon != 7) {
_root.QS.WEA7.gotoAndStop(1);
}
if (_root.spider.weapon != 8) {
_root.QS.WEA8.gotoAndStop(1);
}
if (_root.WEAPON3 != true) {
_root.QS.WEA3._visible = false;
}
if (_root.WEAPON3 == true) {
_root.QS.WEA3._visible = true;
}
if (_root.WEAPON4 != true) {
_root.QS.WEA4._visible = false;
}
if (_root.WEAPON4 == true) {
_root.QS.WEA4._visible = true;
}
if (_root.WEAPON5 != true) {
_root.QS.WEA5._visible = false;
}
if (_root.WEAPON5 == true) {
_root.QS.WEA5._visible = true;
}
if (_root.WEAPON6 != true) {
_root.QS.WEA6._visible = false;
}
if (_root.WEAPON6 == true) {
_root.QS.WEA6._visible = true;
}
if (_root.WEAPON7 != true) {
_root.QS.WEA7._visible = false;
}
if (_root.WEAPON7 == true) {
_root.QS.WEA7._visible = true;
}
if (_root.WEAPON8 != true) {
_root.QS.WEA8._visible = false;
}
if (_root.WEAPON8 == true) {
_root.QS.WEA8._visible = true;
}
if (((((_root.spider.pause == true) && (_root.spider.completed != true)) && (ref != true)) && (key.IsDown(39))) && (_root.SOC < 8)) {
_root.SOC = _root.SOC + 1;
ref = true;
_root.soundFX.gotoAndPlay("nextOR");
lastkey = false;
}
if (((((_root.spider.pause == true) && (ref != true)) && (_root.spider.completed != true)) && (key.IsDown(39))) && (_root.SOC >= 8)) {
_root.SOC = 1;
ref = true;
_root.soundFX.gotoAndPlay("nextOR");
lastkey = false;
}
if (((((_root.spider.pause == true) && (_root.spider.completed != true)) && (ref != true)) && (key.IsDown(37))) && (_root.SOC > 1)) {
_root.SOC = _root.SOC - 1;
ref = true;
_root.soundFX.gotoAndPlay("nextOR");
lastkey = true;
}
if (((((_root.spider.pause == true) && (_root.spider.completed != true)) && (ref != true)) && (key.IsDown(37))) && (_root.SOC <= 1)) {
_root.SOC = 8;
ref = true;
_root.soundFX.gotoAndPlay("nextOR");
lastkey = false;
}
if (_root.SOC <= 1) {
_root.QS.SC.gotoAndStop(1);
this.ammo = _root.spider.ammo1;
this.full = _root.spider.gun1;
_root.QS.info.gotoAndStop(1);
}
if (((_root.SOC == 2) && (_root.weapon2 == true)) || (_root.SOC == 2)) {
_root.QS.SC.gotoAndStop(2);
this.ammo = _root.spider.ammo2;
this.full = _root.spider.gun2;
_root.QS.info.gotoAndStop(2);
}
if (((_root.SOC == 3) && (_root.weapon3 == true)) || (_root.SOC == 3)) {
this.ammo = _root.spider.ammo3;
this.full = _root.spider.gun3;
_root.QS.SC.gotoAndStop(3);
_root.QS.info.gotoAndStop(3);
}
if (((_root.SOC == 4) && (_root.weapon4 == true)) || (_root.SOC == 4)) {
_root.QS.SC.gotoAndStop(4);
this.ammo = _root.spider.ammo4;
this.full = _root.spider.gun4;
_root.QS.info.gotoAndStop(4);
}
if (((_root.SOC == 5) && (_root.weapon5 == true)) || (_root.SOC == 5)) {
_root.QS.SC.gotoAndStop(5);
this.ammo = _root.spider.ammo5;
this.full = _root.spider.gun5;
_root.QS.info.gotoAndStop(5);
}
if (((_root.SOC == 6) && (_root.weapon6 == true)) || (_root.SOC == 6)) {
this.ammo = _root.spider.ammo6;
this.full = _root.spider.gun6;
_root.QS.SC.gotoAndStop(6);
_root.QS.info.gotoAndStop(6);
}
if (((_root.SOC == 7) && (_root.weapon7 == true)) || (_root.SOC == 7)) {
this.ammo = _root.spider.ammo7;
this.full = _root.spider.gun7;
_root.QS.SC.gotoAndStop(7);
_root.QS.info.gotoAndStop(7);
}
if (((_root.SOC == 8) && (_root.weapon8 == true)) || (_root.SOC == 8)) {
_root.QS.SC.gotoAndStop(8);
this.ammo = _root.spider.ammo8;
this.full = _root.spider.gun8;
_root.QS.info.gotoAndStop(8);
}
if ((((key.IsDown(67) && (_root.spider.completed != true)) && (_root.SOC <= 1)) && (_root.spider.pause == true)) && (ref != true)) {
_root.spider.weapon = 1;
_root.soundFX.gotoAndPlay("ON");
ref = true;
}
if ((((key.IsDown(67) && (_root.spider.completed != true)) && (_root.SOC == 2)) && (_root.spider.pause == true)) && (ref != true)) {
_root.spider.weapon = 2;
_root.soundFX.gotoAndPlay("ON");
ref = true;
}
if ((((key.IsDown(67) && (_root.SOC == 3)) && (_root.weapon3 == true)) && (_root.spider.pause == true)) && (ref != true)) {
_root.spider.weapon = 3;
_root.soundFX.gotoAndPlay("ON");
ref = true;
}
if (((((key.IsDown(67) && (_root.spider.completed != true)) && (_root.SOC == 4)) && (_root.weapon4 == true)) && (_root.spider.pause == true)) && (ref != true)) {
_root.spider.weapon = 4;
_root.soundFX.gotoAndPlay("ON");
ref = true;
}
if (((((key.IsDown(67) && (_root.spider.completed != true)) && (_root.SOC == 5)) && (_root.weapon5 == true)) && (_root.spider.pause == true)) && (ref != true)) {
_root.spider.weapon = 5;
_root.soundFX.gotoAndPlay("ON");
ref = true;
}
if (((((key.IsDown(67) && (_root.spider.completed != true)) && (_root.SOC == 6)) && (_root.weapon6 == true)) && (_root.spider.pause == true)) && (ref != true)) {
_root.spider.weapon = 6;
_root.soundFX.gotoAndPlay("ON");
ref = true;
}
if (((((key.IsDown(67) && (_root.spider.completed != true)) && (_root.SOC == 7)) && (_root.weapon7 == true)) && (_root.spider.pause == true)) && (ref != true)) {
_root.spider.weapon = 7;
_root.soundFX.gotoAndPlay("ON");
ref = true;
}
if (((((key.IsDown(67) && (_root.spider.completed != true)) && (_root.SOC == 8)) && (_root.weapon8 == true)) && (_root.spider.pause == true)) && (ref != true)) {
_root.spider.weapon = 8;
_root.soundFX.gotoAndPlay("ON");
ref = true;
}
if (_root.SOC <= 1) {
this.gotoAndStop(1);
}
if ((_root.SOC == 2) && (_root.weapon2 == true)) {
this.gotoAndStop(2);
}
if ((_root.SOC == 3) && (_root.weapon3 == true)) {
this.gotoAndStop(3);
}
if ((_root.SOC == 4) && (_root.weapon4 == true)) {
this.gotoAndStop(4);
}
if ((_root.SOC == 5) && (_root.weapon5 == true)) {
this.gotoAndStop(5);
}
if ((_root.SOC == 6) && (_root.weapon6 == true)) {
this.gotoAndStop(6);
}
if ((_root.SOC == 7) && (_root.weapon7 == true)) {
this.gotoAndStop(7);
}
if ((_root.SOC == 8) && (_root.weapon8 == true)) {
this.gotoAndStop(8);
}
if (((_root.SOC == 3) && (_root.weapon3 != true)) && (lastkey != true)) {
_root.SOC = 4;
}
if (((_root.SOC == 4) && (_root.weapon4 != true)) && (lastkey != true)) {
_root.SOC = 5;
}
if (((_root.SOC == 5) && (_root.weapon5 != true)) && (lastkey != true)) {
_root.SOC = 6;
}
if (((_root.SOC == 6) && (_root.weapon6 != true)) && (lastkey != true)) {
_root.SOC = 7;
}
if (((_root.SOC == 7) && (_root.weapon7 != true)) && (lastkey != true)) {
_root.SOC = 8;
}
if (((_root.SOC == 8) && (_root.weapon8 != true)) && (lastkey != true)) {
_root.SOC = 1;
}
if (((_root.SOC == 3) && (_root.weapon3 != true)) && (lastkey == true)) {
_root.SOC = 2;
}
if (((_root.SOC == 4) && (_root.weapon4 != true)) && (lastkey == true)) {
_root.SOC = 3;
}
if (((_root.SOC == 5) && (_root.weapon5 != true)) && (lastkey == true)) {
_root.SOC = 4;
}
if (((_root.SOC == 6) && (_root.weapon6 != true)) && (lastkey == true)) {
_root.SOC = 5;
}
if (((_root.SOC == 7) && (_root.weapon7 != true)) && (lastkey == true)) {
_root.SOC = 6;
}
if (((_root.SOC == 8) && (_root.weapon8 != true)) && (lastkey == true)) {
_root.SOC = 7;
}
rock = rock + 1;
}
onClipEvent (keyUp) {
REF = false;
}
Symbol 565 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 250
stop();
_root.play();
Symbol 570 MovieClip Frame 1
stop();
Symbol 570 MovieClip Frame 250
stop();
_root.play();
_root.gotoAndPlay("GO");
Symbol 572 Button
on (release) {
play();
gotoAndStop (6);
}
Symbol 576 Button
on (release) {
var strOut = ((_root.playerName + "|") + _root.Score);
var strOut2 = _root.EncrpytString(strOut);
getURL ("http://www.heavygames.com/spider/hs.asp?" + strOut2, "_blank");
play();
}