Frame 1
function sound(targ) {
if (_root.pause == false) {
sfx.attachSound(targ);
sfx.start();
}
}
function shoot(xx, yy, bb) {
if (_root.pause == false) {
d++;
bullet++;
attachMovie("bullet", "b" + bullet, d);
this["b" + bullet]._x = xx;
this["b" + bullet].gotoAndStop(bb);
if ((_root.player._currentframe > 1) && (_root.player._currentframe < 16)) {
this["b" + bullet]._y = yy;
if ((wep == 2) && (laser == true)) {
this["b" + bullet]._rotation = (-_root.player._currentframe) + 90;
} else {
this["b" + bullet]._rotation = (((-_root.player._currentframe) + 90) + random(11)) - 5;
}
} else if (_root.player._currentframe > 15) {
this["b" + bullet]._y = yy + 10;
if ((wep == 2) && (laser == true)) {
this["b" + bullet]._rotation = _root.player._currentframe + 90;
} else {
this["b" + bullet]._rotation = ((_root.player._currentframe + 90) + random(11)) - 5;
}
} else {
this["b" + bullet]._y = yy;
if ((wep == 2) && (laser == true)) {
this["b" + bullet]._rotation = 90;
} else {
this["b" + bullet]._rotation = (90 + random(11)) - 5;
}
}
}
}
function misile(mx, my) {
if (_root.pause == false) {
m++;
attachMovie("mis", "m" + m, m);
this["m" + m]._x = mx;
this["m" + m]._y = my;
}
}
function plasma(px, py) {
if (_root.pause == false) {
d++;
attachMovie("plas", "p" + d, d);
this["p" + d]._x = px;
this["p" + d]._y = py;
}
}
function shot(shx, shy, shs, type) {
if (_root.pause == false) {
d++;
attachMovie("guns", "g" + d, d);
this["g" + d]._x = shx;
this["g" + d]._y = shy;
this["g" + d]._xscale = shs;
if (type == 1) {
if ((_root.wep == 2) && (_root.laser == false)) {
this["g" + d].g.gotoAndStop(3);
} else {
this["g" + d].g.gotoAndStop(_root.wep);
}
} else if (type == 2) {
this["g" + d].g.gotoAndStop(1);
}
}
}
function sparks(sx, sy, sr, type) {
if (_root.pause == false) {
d++;
attachMovie("spark", "s" + d, d);
this["s" + d]._x = sx;
this["s" + d]._y = sy;
this["s" + d]._rotation = (-sr) + 90;
this["s" + d].gotoAndStop(type);
}
}
function enShoot(esx, esy, esr, fra) {
if (_root.pause == false) {
d++;
attachMovie("enbul", "eb" + d, d);
this["eb" + d]._x = esx;
this["eb" + d]._y = esy;
this["eb" + d]._rotation = esr - 90;
this["eb" + d].gotoAndStop(fra);
}
}
function explo(exx, exy, exfra) {
if (_root.pause == false) {
d++;
attachMovie(exfra, "ex" + d, d);
this["ex" + d]._x = exx;
this["ex" + d]._y = exy;
}
}
function debris(xx, yy, c) {
if (_root.pause == false) {
d++;
attachMovie("debris", "de" + d, d);
this["de" + d]._x = xx;
this["de" + d]._y = yy;
this["de" + d].col = c;
}
}
function water(wx, wy, ws) {
if (_root.pause == false) {
d++;
attachMovie("waters", "w" + d, d);
this["w" + d]._x = wx;
this["w" + d]._y = wy;
this["w" + d]._xscale = ws;
}
}
function sand(sax, say, sw) {
if (_root.pause == false) {
d++;
attachMovie("sands", "s" + d, d);
this["s" + d]._x = sax;
this["s" + d]._y = say;
this["s" + d]._xscale = sw;
}
}
function dirt(dx, dy, dw) {
if (_root.pause == false) {
d++;
attachMovie("dirts", "d" + d, d);
this["d" + d]._x = dx;
this["d" + d]._y = dy;
this["d" + d]._xscale = dw;
}
}
function addItm(ix, iy, targ) {
if (_root.pause == false) {
dd++;
attachMovie(targ, "itm" + dd, dd);
this["itm" + dd]._x = ix;
this["itm" + dd]._y = iy;
}
}
function addEn(enx, eny, targ) {
if (_root.pause == false) {
en++;
attachMovie(targ, "en" + en, en);
this["en" + en]._x = enx;
this["en" + en]._y = eny;
}
}
function buy() {
if (_root.item == "mspd") {
_root.shootspd--;
_root.cash = _root.cash - 1000;
} else if (_root.item == "mlev") {
_root.gunLevel++;
_root.gunPow = _root.gunPow + 2;
_root.cash = _root.cash - 1500;
} else if (_root.item == "lspd") {
_root.shoootspd2--;
_root.cash = _root.cash - 1500;
} else if (_root.item == "llev") {
_root.laserLevel++;
_root.laserPow = _root.laserPow + 2;
_root.cash = _root.cash - 1800;
} else if (_root.item == "pspd") {
_root.shootspd3--;
_root.cash = _root.cash - 2000;
} else if (_root.item == "plev") {
_root.plasmaLevel++;
_root.plasmaPow = _root.plasmaPow + 2;
_root.cash = _root.cash - 2000;
} else if (_root.item == "plSpd") {
_root.planeSpd = _root.planeSpd + 2;
_root.planeXspd = _root.planeXspd + 2;
_root.cash = _root.cash - 1500;
} else if (_root.item == "plHp") {
_root.maxhp = _root.maxhp + 25;
_root.cash = _root.cash - 2000;
} else if (_root.item == "laser") {
_root.laser = true;
_root.wepmax++;
_root.cash = _root.cash - 4000;
} else if (_root.item == "plasma") {
_root.wepmax++;
_root.cash = _root.cash - 5000;
} else if (_root.item == "sheild") {
_root.sheilds++;
_root.cash = _root.cash - 1000;
}
}
function win() {
_root.pause = true;
if (_root.level == 1) {
_root.level = 2;
} else if (_root.level == 2) {
_root.level = 3;
} else if (_root.level == 3) {
_root.level = 4;
} else if (_root.level == 4) {
_root.level = 5;
} else if (_root.level == 5) {
_root.level = 6;
}
_root.lFra = "start";
_root.hud.fades.fade.play();
_root.cash = _root.cash + (_root.score / 2);
}
function saveGame() {
game = SharedObject.getLocal("fire_storm2");
game.data.savegame = 1;
game.data.sfxv = _root.sfxvol;
game.data.v = _root.vol;
game.data.lev = _root.level;
game.data.mhp = _root.maxhp;
game.data.sc = _root.score;
game.data.tsc = _root.totscore;
game.data.ca = _root.cash;
game.data.bom = _root.bombs;
game.data.plcol = _root.planeCol;
game.data.w = _root.wep;
game.data.wm = _root.wepmax;
game.data.lasa = _root.laser;
game.data.mis = _root.missiles;
game.data.lasbl = _root.laserblast;
game.data.plbur = _root.plasmaburst;
game.data.plspd = _root.planeSpd;
game.data.plxspd = _root.planeXspd;
game.data.shspd = _root.shootspd;
game.data.shspd2 = _root.shootspd2;
game.data.shspd3 = _root.shootspd3;
game.data.gLev = _root.gunLevel;
game.data.lLev = _root.laserLevel;
game.data.pLev = _root.plasmaLevel;
game.data.gPow = _root.gunPow;
game.data.lPow = _root.laserPow;
game.data.pPow = _root.plasmaPow;
game.data.she = _root.sheilds;
game.data.flush();
}
function loadGame() {
game = SharedObject.getLocal("fire_storm2");
_root.sfxvol = game.data.sfxv;
_root.vol = game.data.v;
_root.level = game.data.lev;
_root.maxhp = game.data.mhp;
_root.score = game.data.sc;
_root.totscore = game.data.tsc;
_root.cash = game.data.ca;
_root.bombs = game.data.bom;
_root.planeCol = game.data.plcol;
_root.wep = game.data.w;
_root.wepmax = game.data.wm;
_root.laser = game.data.lasa;
_root.missiles = game.data.mis;
_root.laserblast = game.data.lasbl;
_root.plasmaburst = game.data.plbur;
_root.planeSpd = game.data.plspd;
_root.planeXspd = game.data.plxspd;
_root.shootspd = game.data.shspd;
_root.shootspd2 = game.data.shspd2;
_root.shootspd3 = game.data.shspd3;
_root.gunLevel = game.data.gLev;
_root.laserLevel = game.data.lLev;
_root.plasmaLevel = game.data.pLev;
_root.gunPow = game.data.gPow;
_root.laserPow = game.data.lPow;
_root.plasmaPow = game.data.pPow;
_root.sheilds = game.data.she;
}
function blur(tog, targ, bx, by) {
if (tog) {
rect = targ;
blurX = bx;
blurY = by;
filter = new flash.filters.BlurFilter(blurX, blurY, 1);
filterArray = new Array();
filterArray.push(filter);
rect.filters = filterArray;
}
}
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
stop();
Stage.showMenu = false;
MochiAd.showPreGameAd({id:"464f87fc3e53cee7", res:"600x400"});
music = new Sound(createEmptyMovieClip("music", 10000));
sfx = new Sound(createEmptyMovieClip("sfx", 9999));
vol = 200;
sfxvol = 200;
pause = false;
level = 1;
hp = 100;
maxhp = 100;
score = 0;
totscore = 0;
cash = 0;
hpPack = false;
bombPack = false;
bombs = 4;
bombing = false;
planeCol = 1;
wep = 1;
wepmax = 1;
bomb = wep;
missiles = 4;
laserblast = 3;
plasmaburst = 2;
planeSpd = 8;
planeXspd = 8;
shootspd = 4;
shootspd2 = 3;
shootspd3 = 5;
gunLevel = 1;
laserLevel = 1;
plasmaLevel = 1;
gunPow = 5;
laserPow = 10;
plasmaPow = 20;
sheilds = 1;
sheild = false;
sheildEn = 0;
laser = false;
d = 30;
bul = 100;
bullet = 0;
m = 500;
en = 10;
dd = 0;
onEnterFrame = function () {
if (planeCol > 9) {
planeCol = 1;
}
if (planeCol < 1) {
planeCol = 9;
}
if (bul > 105) {
bul = 100;
}
if (m > 504) {
m = 500;
}
if (d > 90) {
d = 30;
}
if (en > 19) {
en = 10;
}
if (dd > 9) {
dd = 0;
}
if (bullet > 19) {
bullet = 0;
}
};
Frame 2
stop();
game = SharedObject.getLocal("Fire_Storm2");
_root.saved = game.data.savegame;
if (_root.saved == 1) {
_root.loade = true;
} else {
_root.loade = false;
}
Instance of Symbol 196 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (blur == true) {
timer = random(5) + 1;
if (timer == 1) {
_root.blur(true, this, 20 + random(30), 0);
} else {
_root.blur(true, this, 0, 0);
}
}
}
Instance of Symbol 230 MovieClip in Frame 4
onClipEvent (load) {
if (_root.loade == true) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 241 MovieClip in Frame 5
/* no clip actions */
Instance of Symbol 257 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.qu = _root._quality;
}
Frame 9
pause = false;
hpPack = false;
bombPack = false;
ca = "Cash:" + _root.cash;
sc = "Score:" + _root.score;
_root.totscore = _root.score;
Instance of Symbol 269 MovieClip in Frame 9
onClipEvent (load) {
gotoAndStop(_root.bomb);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.bomb);
}
Instance of Symbol 279 MovieClip in Frame 9
onClipEvent (load) {
gotoAndStop(_root.planeCol);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.planeCol);
}
Instance of Symbol 321 MovieClip "guns" in Frame 9
onClipEvent (load) {
gotoAndStop(_root.wep);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.wep);
}
Instance of Symbol 381 MovieClip in Frame 9
onClipEvent (load) {
gotoAndStop(_root.level);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.level);
}
Frame 10
ca = "Cash:" + _root.cash;
Instance of Symbol 400 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.laser == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 405 MovieClip in Frame 10
onClipEvent (enterFrame) {
if ((_root.wepmax == 3) || ((_root.wepmax == 2) && (_root.laser == false))) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 438 MovieClip "upgrade" in Frame 10
onClipEvent (load) {
if (_root.shootspd == 2) {
ing.enabled = false;
} else {
ing.enabled = true;
}
if (_root.gunLevel == 3) {
ing2.enabled = false;
} else {
ing2.enabled = true;
}
if (_root.shootspd2 == 2) {
inl.enabled = false;
} else {
inl.enabled = true;
}
if (_root.laserLevel == 3) {
inl2.enabled = false;
} else {
inl2.enabled = true;
}
if (_root.shootspd3 == 3) {
inp.enabled = false;
} else {
inp.enabled = true;
}
if (_root.plasmaLevel == 2) {
inp2.enabled = false;
} else {
inp2.enabled = true;
}
if (_root.planeSpd == 12) {
inpl.enabled = false;
} else {
inpl.enabled = true;
}
if (_root.maxhp == 200) {
inpl2.enabled = false;
} else {
inpl2.enabled = true;
}
}
onClipEvent (enterFrame) {
if (_root.shootspd == 2) {
ing.enabled = false;
} else {
ing.enabled = true;
}
if (_root.gunLevel == 3) {
ing2.enabled = false;
} else {
ing2.enabled = true;
}
if (_root.shootspd2 == 2) {
inl.enabled = false;
} else {
inl.enabled = true;
}
if (_root.laserLevel == 3) {
inl2.enabled = false;
} else {
inl2.enabled = true;
}
if (_root.shootspd3 == 3) {
inp.enabled = false;
} else {
inp.enabled = true;
}
if (_root.plasmaLevel == 2) {
inp2.enabled = false;
} else {
inp2.enabled = true;
}
if (_root.planeSpd == 12) {
inpl.enabled = false;
} else {
inpl.enabled = true;
}
if (_root.maxhp == 200) {
inpl2.enabled = false;
} else {
inpl2.enabled = true;
}
}
Instance of Symbol 451 MovieClip in Frame 10
onClipEvent (enterFrame) {
_root.ca = "Cash:" + _root.cash;
}
Frame 11
ca = "Cash:" + _root.cash;
Instance of Symbol 458 MovieClip in Frame 11
onClipEvent (load) {
if (_root.laser == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.laser == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 460 MovieClip in Frame 11
onClipEvent (load) {
if ((_root.wepmax == 3) || ((_root.wepmax == 2) && (_root.laser == false))) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if ((_root.wepmax == 3) || ((_root.wepmax == 2) && (_root.laser == false))) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 466 MovieClip in Frame 11
onClipEvent (load) {
if (_root.sheilds == 5) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.sheilds == 5) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Frame 12
_root.totscore = _root.score;
scc = "Score:" + _root.totscore;
Instance of Symbol 475 MovieClip in Frame 12
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
if (_root.stat != "") {
timer++;
if (timer > 20) {
timer = 0;
_root.stat = "";
}
}
}
Frame 14
music.attachSound("music2");
music.start(0, 100000);
hpPack = false;
bombPack = false;
Frame 20
music.attachSound("music1");
music.start(0, 100000);
lvlspd = 30;
lvllife = 10;
endmg = 2;
oldhp = _root.hp;
oldlevel = "lvl1";
oldscore = _root.score;
oldsheild = _root.sheilds;
fType = "water";
Instance of Symbol 525 MovieClip "cam" in Frame 20
onClipEvent (enterFrame) {
if (_root.pause == false) {
ydist = _root.player._y;
ypos = ydist - _y;
_y = (_y + (ypos / 10));
}
}
Instance of Symbol 546 MovieClip "player" in Frame 20
onClipEvent (load) {
_root.hp = _root.maxhp;
spd = 0;
xspd = 0;
xspdM = _root.planeXspd;
spdM = _root.planeSpd;
odep = getDepth();
shoot = false;
die = false;
stimer = 0;
stimermax = _root.shootspd;
ytimer = 0;
dtimer = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.bombing == false) {
if (Key.isDown(69)) {
if (!ss) {
_root.wep++;
_root.bomb++;
}
ss = true;
} else {
ss = false;
}
}
if (_root.wep > _root.wepmax) {
_root.wep = 1;
_root.bomb = 1;
}
if (_root.wep == 1) {
stimermax = _root.shootspd;
} else if (_root.wep == 2) {
stimermax = _root.shootspd2;
} else if (_root.wep == 3) {
stimermax = _root.shootspd3;
}
if (die == false) {
if (Key.isDown(40)) {
if (spd < spdM) {
spd++;
}
_y = (_y + spd);
if ((_currentframe < 16) && (_currentframe > 1)) {
if (_currentframe > 2) {
prevFrame();
}
if (_currentframe == 2) {
gotoAndStop (17);
}
} else {
if (_currentframe == 1) {
gotoAndStop (16);
}
if (_currentframe != 30) {
nextFrame();
}
}
} else if (Key.isDown(38)) {
if (spd > (-spdM)) {
spd--;
}
_y = (_y + spd);
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndPlay (2);
}
} else if (_currentframe != 15) {
nextFrame();
}
} else {
if (spd < 0) {
spd = spd + 0.5;
_y = (_y + spd);
}
if (spd > 0) {
_y = (_y + spd);
spd = spd - 0.5;
}
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndStop (1);
}
}
if ((_currentframe == 15) || (_currentframe < 15)) {
prevFrame();
}
}
if (Key.isDown(39)) {
if (xspd < xspdM) {
xspd++;
}
_x = (_x + xspd);
} else if (Key.isDown(37)) {
if (xspd > (-xspdM)) {
xspd--;
}
_x = (_x + xspd);
} else {
if (xspd > 0) {
_x = (_x + xspd);
xspd = xspd - 0.5;
}
if (xspd < 0) {
xspd = xspd + 0.5;
_x = (_x + xspd);
}
}
if (Key.isDown(83)) {
stimer++;
if (stimer > stimermax) {
if (_root.wep == 1) {
_root.sound("shoot");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.gunLevel == 1) {
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 2) {
_root.shoot(_x + 80, _y + 15, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 3) {
_root.shoot(_x + 80, _y - 15, _root.wep);
_root.shoot(_x + 80, _y, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
}
}
if ((_root.wep == 2) && (_root.laser == true)) {
_root.sound("las");
_root.shot(_x + 100, _y + 15, _xscale, 1);
_root.shoot(_x + 100, _y + 15, _root.wep);
}
if ((_root.wep == 3) || ((_root.wep == 2) && (_root.laser == false))) {
_root.sound("plasSh");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.plasmaLevel == 1) {
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 2) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 3) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
}
}
stimer = 0;
}
}
if (_root.bombing == false) {
if (Key.isDown(68)) {
if (!b) {
if (_root.missiles > 0) {
if (_root.bomb == 1) {
_root.missiles--;
_root.misile(_x + 100, _y);
}
}
if (_root.laserblast > 0) {
if ((_root.bomb == 2) && (_root.laser == true)) {
_root.laserblast--;
this.bomb2.play();
}
}
if (_root.plasmaburst > 0) {
if ((_root.bomb == 3) || ((_root.bomb == 2) && (_root.laser == false))) {
_root.bombing = true;
_root.plasmaburst--;
_root.plasma(_x + 200, _y);
}
}
b = true;
} else {
b = false;
}
}
}
if (_root.sheilds > 0) {
if (Key.isDown(70) && (_root.sheild == false)) {
_root.sheilds--;
_root.sheildEn = 100;
_root.sheild = true;
}
}
while (_x < 0) {
_x = (_x+1);
}
while (_x > 650) {
_x = (_x-1);
}
while (_y < -100) {
_y = (_y+1);
}
if (_y > 350) {
ytimer++;
if (ytimer > 4) {
_root.water(_x, _y);
ytimer = 0;
}
}
while (_y > 400) {
_y = (_y-1);
}
}
if (_root.hp < 1) {
die = true;
}
if (die == true) {
_root.hud.fades.fade.play();
_root.lFra = "ded";
if (!ex) {
_root.explo(_x, _y, "explo");
ex = true;
}
if (_root.hud.fades.fade._currentframe == 28) {
stopAllSounds();
}
_visible = false;
}
}
}
Instance of Symbol 546 MovieClip in Frame 20
onClipEvent (load) {
_x = _root.player;
_alpha = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.player._currentframe);
_x = _root.player._x;
if (_root.player._y >= (_y - 200)) {
_alpha = (_root.player._y - ((_y - 200) + 1));
}
while (_alpha > 60) {
_alpha = (_alpha-1);
}
if (_alpha < 5) {
_alpha = 0;
}
}
Instance of Symbol 547 MovieClip in Frame 20
onClipEvent (load) {
timer = 0;
timer2 = 0;
en = 0;
p = "plane";
f = "diag";
s = "speed";
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
enem = [p, p, p, p, s, s, p, f, f, f, f, f, s, p, s, p, s, s, s, f, f, p, p, f, p, f, p, s, s, p, f, s, p, s, p, s, s, f, f, p, f, p, p, p, f, s, f, s, s, p, s, f, p, s, p];
timer++;
if (timer > 5) {
timer = 0;
timer2++;
}
t = timer2;
if ((((((((((((((((((((((((((((((((((((((((((((((((((((((t == 10) || (t == 15)) || (t == 25)) || (t == 50)) || (t == 65)) || (t == 75)) || (t == 80)) || (t == 90)) || (t == 91)) || (t == 92)) || (t == 93)) || (t == 94)) || (t == 95)) || (t == 105)) || (t == 120)) || (t == 135)) || (t == 150)) || (t == 165)) || (t == 175)) || (t == 185)) || (t == 190)) || (t == 193)) || ((t == 200) | (t == 220))) || (t == 230)) || (t == 240)) || (t == 245)) || (t == 260)) || (t == 280)) || (t == 300)) || (t == 310)) || (t == 315)) || (t == 330)) || (t == 340)) || (t == 350)) || (t == 365)) || (t == 375)) || (t == 380)) || (t == 390)) || (t == 395)) || (t == 397)) || (t == 399)) || (t == 408)) || (t == 415)) || (t == 430)) || (t == 440)) || (t == 450)) || (t == 455)) || (t == 465)) || (t == 475)) || (t == 480)) || (t == 485)) || (t == 495)) || (t == 505)) || (t == 515)) {
if (!ee) {
en++;
pick = enem[en - 1];
_root.addEn(720, -100 + random(400), pick);
ee = true;
}
} else {
ee = false;
}
if (en > 47) {
_root.win();
en = 0;
}
}
}
Instance of Symbol 582 MovieClip "hud" in Frame 20
onClipEvent (enterFrame) {
bb = "Bombs:" + _root.bom;
sc = "Score:" + _root.score;
sh = _root.sheilds;
}
Instance of Symbol 583 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.wep == 1) {
_root.bom = _root.missiles;
_root.bombs = _root.missiles;
} else if ((_root.wep == 2) && (_root.laser == true)) {
_root.bom = _root.laserblast;
_root.bombs = _root.laserblast;
} else if ((_root.wep == 3) || ((_root.wep == 2) && (_root.laser == false))) {
_root.bom = _root.plasmaburst;
_root.bombs = _root.plasmaburst;
}
}
Instance of Symbol 584 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.hp < 50) {
hpchance = random(50) + 1;
} else {
hpchance = random(350) + 1;
}
bombchance = random(350) + 1;
if (hpchance == 1) {
if (_root.hpPack == false) {
if (_root.hp < _root.maxhp) {
_root.addItm(680, (_root.player._y + 100) - random(400), "hp");
_root.hpPack = true;
}
}
}
if (bombchance == 1) {
if (_root.bombPack == false) {
if (_root.bombs < 1) {
_root.addItm(680, (_root.player._y + 100) - random(400), "bombP");
_root.bombPack = true;
}
}
}
}
Instance of Symbol 588 MovieClip in Frame 20
onClipEvent (load) {
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
if (_root.sheild == true) {
_x = _root.player._x;
_y = _root.player._y;
} else {
_x = xs;
}
}
Instance of Symbol 604 MovieClip "pau" in Frame 20
onClipEvent (load) {
odep = getDepth();
}
onClipEvent (enterFrame) {
if (_root.hud.fades.fade._currentframe == 15) {
swapDepths(200);
} else {
gotoAndStop (1);
swapDepths(odep);
}
qu = "-" + _root._quality;
if (Key.isDown(80) && (_root.pause == false)) {
gotoAndStop (2);
_root.pause = true;
}
}
Frame 21
music.attachSound("music2");
music.start(0, 100000);
lvlspd = 30;
lvllife = 10;
endmg = 2;
oldhp = _root.hp;
oldlevel = "lvl2";
oldscore = _root.score;
oldsheild = _root.sheilds;
fType = "water";
Instance of Symbol 547 MovieClip in Frame 21
onClipEvent (load) {
timer = 0;
timer2 = 0;
en = 0;
p = "plane";
p2 = "plane2";
h = "heli";
f = "diag";
s = "speed";
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
enem = [h, p2, h, h, p, f, f, s, p, p2, p2, h, s, f, s, f, f, f, s, s, h, h, p2, p2, p, p, p2, p, p2, h, f, f, h, s, p, p2, h, p, s, f, s, p2, p2, p2, p, p, h, h, h, s, f, f, s, p, p2];
timer++;
if (timer > 5) {
timer = 0;
timer2++;
}
t = timer2;
if ((((((((((((((((((((((((((((((((((((((((((((((((((((((t == 10) || (t == 15)) || (t == 25)) || (t == 50)) || (t == 65)) || (t == 75)) || (t == 80)) || (t == 90)) || (t == 91)) || (t == 92)) || (t == 93)) || (t == 94)) || (t == 95)) || (t == 105)) || (t == 120)) || (t == 135)) || (t == 150)) || (t == 165)) || (t == 175)) || (t == 185)) || (t == 190)) || (t == 193)) || ((t == 200) | (t == 220))) || (t == 230)) || (t == 240)) || (t == 245)) || (t == 260)) || (t == 280)) || (t == 300)) || (t == 310)) || (t == 315)) || (t == 330)) || (t == 340)) || (t == 350)) || (t == 365)) || (t == 375)) || (t == 380)) || (t == 390)) || (t == 395)) || (t == 397)) || (t == 399)) || (t == 408)) || (t == 415)) || (t == 430)) || (t == 440)) || (t == 450)) || (t == 455)) || (t == 465)) || (t == 475)) || (t == 480)) || (t == 485)) || (t == 495)) || (t == 505)) || (t == 515)) {
if (!ee) {
en++;
pick = enem[en - 1];
_root.addEn(720, -100 + random(400), pick);
ee = true;
}
} else {
ee = false;
}
if (en > 53) {
_root.win();
en = 0;
}
}
}
Instance of Symbol 582 MovieClip "hud" in Frame 21
onClipEvent (enterFrame) {
bb = "Bombs:" + _root.bom;
sc = "Score:" + _root.score;
sh = _root.sheilds;
}
Instance of Symbol 583 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.wep == 1) {
_root.bom = _root.missiles;
_root.bombs = _root.missiles;
} else if ((_root.wep == 2) && (_root.laser == true)) {
_root.bom = _root.laserblast;
_root.bombs = _root.laserblast;
} else if ((_root.wep == 3) || ((_root.wep == 2) && (_root.laser == false))) {
_root.bom = _root.plasmaburst;
_root.bombs = _root.plasmaburst;
}
}
Instance of Symbol 588 MovieClip in Frame 21
onClipEvent (load) {
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
if (_root.sheild == true) {
_x = _root.player._x;
_y = _root.player._y;
} else {
_x = xs;
}
}
Instance of Symbol 604 MovieClip "pau" in Frame 21
onClipEvent (load) {
odep = getDepth();
}
onClipEvent (enterFrame) {
if (_root.hud.fades.fade._currentframe == 15) {
swapDepths(200);
} else {
gotoAndStop (1);
swapDepths(odep);
}
qu = "-" + _root._quality;
if (Key.isDown(80) && (_root.pause == false)) {
gotoAndStop (2);
_root.pause = true;
}
}
Frame 22
music.attachSound("music1");
music.start(0, 100000);
lvlspd = 20;
lvllife = 15;
endmg = 2;
oldhp = _root.hp;
oldlevel = "lvl3";
oldscore = _root.score;
oldsheild = _root.sheilds;
fType = "none";
Instance of Symbol 546 MovieClip "player" in Frame 22
onClipEvent (load) {
_root.hp = _root.maxhp;
spd = 0;
xspd = 0;
xspdM = _root.planeXspd;
spdM = _root.planeSpd;
odep = getDepth();
shoot = false;
die = false;
stimer = 0;
stimermax = _root.shootspd;
ytimer = 0;
dtimer = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.bombing == false) {
if (Key.isDown(69)) {
if (!ss) {
_root.wep++;
_root.bomb++;
}
ss = true;
} else {
ss = false;
}
}
if (_root.wep > _root.wepmax) {
_root.wep = 1;
_root.bomb = 1;
}
if (_root.wep == 1) {
stimermax = _root.shootspd;
} else if (_root.wep == 2) {
stimermax = _root.shootspd2;
} else if (_root.wep == 3) {
stimermax = _root.shootspd3;
}
if (die == false) {
if (Key.isDown(40)) {
if (spd < spdM) {
spd++;
}
_y = (_y + spd);
if ((_currentframe < 16) && (_currentframe > 1)) {
if (_currentframe > 2) {
prevFrame();
}
if (_currentframe == 2) {
gotoAndStop (17);
}
} else {
if (_currentframe == 1) {
gotoAndStop (16);
}
if (_currentframe != 30) {
nextFrame();
}
}
} else if (Key.isDown(38)) {
if (spd > (-spdM)) {
spd--;
}
_y = (_y + spd);
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndPlay (2);
}
} else if (_currentframe != 15) {
nextFrame();
}
} else {
if (spd < 0) {
spd = spd + 0.5;
_y = (_y + spd);
}
if (spd > 0) {
_y = (_y + spd);
spd = spd - 0.5;
}
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndStop (1);
}
}
if ((_currentframe == 15) || (_currentframe < 15)) {
prevFrame();
}
}
if (Key.isDown(39)) {
if (xspd < xspdM) {
xspd++;
}
_x = (_x + xspd);
} else if (Key.isDown(37)) {
if (xspd > (-xspdM)) {
xspd--;
}
_x = (_x + xspd);
} else {
if (xspd > 0) {
_x = (_x + xspd);
xspd = xspd - 0.5;
}
if (xspd < 0) {
xspd = xspd + 0.5;
_x = (_x + xspd);
}
}
if (Key.isDown(83)) {
stimer++;
if (stimer > stimermax) {
if (_root.wep == 1) {
_root.sound("shoot");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.gunLevel == 1) {
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 2) {
_root.shoot(_x + 80, _y + 15, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 3) {
_root.shoot(_x + 80, _y - 15, _root.wep);
_root.shoot(_x + 80, _y, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
}
}
if ((_root.wep == 2) && (_root.laser == true)) {
_root.sound("las");
_root.shot(_x + 100, _y + 15, _xscale, 1);
_root.shoot(_x + 100, _y + 15, _root.wep);
}
if ((_root.wep == 3) || ((_root.wep == 2) && (_root.laser == false))) {
_root.sound("plasSh");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.plasmaLevel == 1) {
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 2) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 3) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
}
}
stimer = 0;
}
}
if (_root.bombing == false) {
if (Key.isDown(68)) {
if (!b) {
if (_root.missiles > 0) {
if (_root.bomb == 1) {
_root.missiles--;
_root.misile(_x + 100, _y);
}
}
if (_root.laserblast > 0) {
if ((_root.bomb == 2) && (_root.laser == true)) {
_root.laserblast--;
this.bomb2.play();
}
}
if (_root.plasmaburst > 0) {
if ((_root.bomb == 3) || ((_root.bomb == 2) && (_root.laser == false))) {
_root.bombing = true;
_root.plasmaburst--;
_root.plasma(_x + 200, _y);
}
}
b = true;
} else {
b = false;
}
}
}
if (_root.sheilds > 0) {
if (Key.isDown(70) && (_root.sheild == false)) {
_root.sheilds--;
_root.sheildEn = 100;
_root.sheild = true;
}
}
while (_x < 0) {
_x = (_x+1);
}
while (_x > 650) {
_x = (_x-1);
}
while (_y < -100) {
_y = (_y+1);
}
while (_y > 400) {
_y = (_y-1);
}
}
if (_root.hp < 1) {
die = true;
}
if (die == true) {
_root.hud.fades.fade.play();
_root.lFra = "ded";
if (!ex) {
_root.explo(_x, _y, "explo");
ex = true;
}
if (_root.hud.fades.fade._currentframe == 28) {
stopAllSounds();
}
_visible = false;
}
}
}
Instance of Symbol 582 MovieClip "hud" in Frame 22
onClipEvent (enterFrame) {
bb = "Bombs:" + _root.bom;
sc = "Score:" + _root.score;
sh = _root.sheilds;
}
Instance of Symbol 583 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.wep == 1) {
_root.bom = _root.missiles;
_root.bombs = _root.missiles;
} else if ((_root.wep == 2) && (_root.laser == true)) {
_root.bom = _root.laserblast;
_root.bombs = _root.laserblast;
} else if ((_root.wep == 3) || ((_root.wep == 2) && (_root.laser == false))) {
_root.bom = _root.plasmaburst;
_root.bombs = _root.plasmaburst;
}
}
Instance of Symbol 588 MovieClip in Frame 22
onClipEvent (load) {
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
if (_root.sheild == true) {
_x = _root.player._x;
_y = _root.player._y;
} else {
_x = xs;
}
}
Instance of Symbol 604 MovieClip "pau" in Frame 22
onClipEvent (load) {
odep = getDepth();
}
onClipEvent (enterFrame) {
if (_root.hud.fades.fade._currentframe == 15) {
swapDepths(200);
} else {
gotoAndStop (1);
swapDepths(odep);
}
qu = "-" + _root._quality;
if (Key.isDown(80) && (_root.pause == false)) {
gotoAndStop (2);
_root.pause = true;
}
}
Instance of Symbol 546 MovieClip in Frame 22
onClipEvent (load) {
_x = _root.player;
_alpha = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.player._currentframe);
_x = _root.player._x;
if (_root.player._y >= (_y - 200)) {
_alpha = (_root.player._y - ((_y - 200) + 1));
}
while (_alpha > 60) {
_alpha = (_alpha-1);
}
if (_alpha < 5) {
_alpha = 0;
}
}
Instance of Symbol 547 MovieClip in Frame 22
onClipEvent (load) {
timer = 0;
timer2 = 0;
btimer = 0;
en = 0;
_root.bded = false;
boss = false;
p = "plane";
p2 = "plane2";
p3 = "plane3";
h = "heli";
f = "diag";
s = "speed";
b = "boss1";
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
enem = [p2, p2, p3, p3, p, p, h, p, h, s, s, f, p3, f, h, h, h, h, f, s, f, f, s, s, p2, p, p2, p3, p3, p2, p2, p, p, f, f, f, h, h, f, h, s, s, f, s, h, s, f, p, p3, h, f, s, f, f, h, s, p2, p2];
if (boss == false) {
timer++;
if (timer > 5) {
timer = 0;
timer2++;
}
}
t = timer2;
if (timer2 == 549) {
boss = true;
}
if (boss == true) {
if (!bbb) {
_root.addEn(720, 200, "boss1");
bbb = true;
}
}
if (((((((((((((((((((((((((((((((((((((((((((((((((((((((((t == 5) || (t == 10)) || (t == 20)) || (t == 40)) || (t == 55)) || (t == 65)) || (t == 70)) || (t == 80)) || (t == 91)) || (t == 92)) || (t == 93)) || (t == 94)) || (t == 95)) || (t == 105)) || (t == 120)) || (t == 135)) || (t == 150)) || (t == 165)) || (t == 175)) || (t == 185)) || (t == 190)) || (t == 193)) || ((t == 200) | (t == 220))) || (t == 230)) || (t == 240)) || (t == 245)) || (t == 260)) || (t == 280)) || (t == 300)) || (t == 310)) || (t == 315)) || (t == 330)) || (t == 340)) || (t == 350)) || (t == 365)) || (t == 375)) || (t == 380)) || (t == 390)) || (t == 395)) || (t == 397)) || (t == 399)) || (t == 408)) || (t == 415)) || (t == 430)) || (t == 440)) || (t == 450)) || (t == 455)) || (t == 465)) || (t == 475)) || (t == 480)) || (t == 485)) || (t == 495)) || (t == 505)) || (t == 515)) || (t == 525)) || (t == 530)) || (t == 540)) {
if (!ee) {
en++;
pick = enem[en - 1];
_root.addEn(720, -100 + random(400), pick);
ee = true;
}
} else {
ee = false;
}
if (_root.bded == true) {
btimer++;
if (btimer > 25) {
if (!w) {
_root.win();
w = true;
}
en = 0;
}
}
}
}
Frame 23
music.attachSound("music2");
music.start(0, 100000);
lvlspd = 30;
lvllife = 15;
endmg = 3;
oldhp = _root.hp;
oldlevel = "lvl4";
oldscore = _root.score;
oldsheild = _root.sheilds;
fType = "dirt";
Instance of Symbol 546 MovieClip "player" in Frame 23
onClipEvent (load) {
_root.hp = _root.maxhp;
spd = 0;
xspd = 0;
xspdM = _root.planeXspd;
spdM = _root.planeSpd;
odep = getDepth();
shoot = false;
die = false;
stimer = 0;
stimermax = _root.shootspd;
ytimer = 0;
dtimer = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.bombing == false) {
if (Key.isDown(69)) {
if (!ss) {
_root.wep++;
_root.bomb++;
}
ss = true;
} else {
ss = false;
}
}
if (_root.wep > _root.wepmax) {
_root.wep = 1;
_root.bomb = 1;
}
if (_root.wep == 1) {
stimermax = _root.shootspd;
} else if (_root.wep == 2) {
stimermax = _root.shootspd2;
} else if (_root.wep == 3) {
stimermax = _root.shootspd3;
}
if (die == false) {
if (Key.isDown(40)) {
if (spd < spdM) {
spd++;
}
_y = (_y + spd);
if ((_currentframe < 16) && (_currentframe > 1)) {
if (_currentframe > 2) {
prevFrame();
}
if (_currentframe == 2) {
gotoAndStop (17);
}
} else {
if (_currentframe == 1) {
gotoAndStop (16);
}
if (_currentframe != 30) {
nextFrame();
}
}
} else if (Key.isDown(38)) {
if (spd > (-spdM)) {
spd--;
}
_y = (_y + spd);
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndPlay (2);
}
} else if (_currentframe != 15) {
nextFrame();
}
} else {
if (spd < 0) {
spd = spd + 0.5;
_y = (_y + spd);
}
if (spd > 0) {
_y = (_y + spd);
spd = spd - 0.5;
}
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndStop (1);
}
}
if ((_currentframe == 15) || (_currentframe < 15)) {
prevFrame();
}
}
if (Key.isDown(39)) {
if (xspd < xspdM) {
xspd++;
}
_x = (_x + xspd);
} else if (Key.isDown(37)) {
if (xspd > (-xspdM)) {
xspd--;
}
_x = (_x + xspd);
} else {
if (xspd > 0) {
_x = (_x + xspd);
xspd = xspd - 0.5;
}
if (xspd < 0) {
xspd = xspd + 0.5;
_x = (_x + xspd);
}
}
if (Key.isDown(83)) {
stimer++;
if (stimer > stimermax) {
if (_root.wep == 1) {
_root.sound("shoot");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.gunLevel == 1) {
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 2) {
_root.shoot(_x + 80, _y + 15, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 3) {
_root.shoot(_x + 80, _y - 15, _root.wep);
_root.shoot(_x + 80, _y, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
}
}
if ((_root.wep == 2) && (_root.laser == true)) {
_root.sound("las");
_root.shot(_x + 100, _y + 15, _xscale, 1);
_root.shoot(_x + 100, _y + 15, _root.wep);
}
if ((_root.wep == 3) || ((_root.wep == 2) && (_root.laser == false))) {
_root.sound("plasSh");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.plasmaLevel == 1) {
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 2) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 3) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
}
}
stimer = 0;
}
}
if (_root.bombing == false) {
if (Key.isDown(68)) {
if (!b) {
if (_root.missiles > 0) {
if (_root.bomb == 1) {
_root.missiles--;
_root.misile(_x + 100, _y);
}
}
if (_root.laserblast > 0) {
if ((_root.bomb == 2) && (_root.laser == true)) {
_root.laserblast--;
this.bomb2.play();
}
}
if (_root.plasmaburst > 0) {
if ((_root.bomb == 3) || ((_root.bomb == 2) && (_root.laser == false))) {
_root.bombing = true;
_root.plasmaburst--;
_root.plasma(_x + 200, _y);
}
}
b = true;
} else {
b = false;
}
}
}
if (_root.sheilds > 0) {
if (Key.isDown(70) && (_root.sheild == false)) {
_root.sheilds--;
_root.sheildEn = 100;
_root.sheild = true;
}
}
while (_x < 0) {
_x = (_x+1);
}
while (_x > 650) {
_x = (_x-1);
}
while (_y < -100) {
_y = (_y+1);
}
if (_y > 350) {
ytimer++;
if (ytimer > 4) {
_root.dirt(_x, _y);
ytimer = 0;
}
}
while (_y > 400) {
_y = (_y-1);
}
}
if (_root.hp < 1) {
die = true;
}
if (die == true) {
_root.hud.fades.fade.play();
_root.lFra = "ded";
if (!ex) {
_root.explo(_x, _y, "explo");
ex = true;
}
if (_root.hud.fades.fade._currentframe == 28) {
stopAllSounds();
}
_visible = false;
}
}
}
Instance of Symbol 547 MovieClip in Frame 23
onClipEvent (load) {
timer = 0;
timer2 = 0;
en = 0;
p = "plane";
p2 = "plane2";
p3 = "plane3";
h = "heli";
f = "diag";
s = "speed";
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
enem = [p3, p2, h, h, p, p, h, p, h, s, s, f, p3, p, f, h, f, h, f, s, f, f, s, s, p2, p, p2, p3, p3, p2, p2, p, p, f, p2, f, h, p3, f, h, f, s, f, s, h, s, s, p, p3, h, f, s, f, f, h, s, p2, p2];
timer++;
if (timer > 5) {
timer = 0;
timer2++;
}
t = timer2;
if (((((((((((((((((((((((((((((((((((((((((((((((((((((((((t == 5) || (t == 10)) || (t == 20)) || (t == 40)) || (t == 55)) || (t == 65)) || (t == 70)) || (t == 80)) || (t == 91)) || (t == 92)) || (t == 93)) || (t == 94)) || (t == 95)) || (t == 105)) || (t == 120)) || (t == 135)) || (t == 150)) || (t == 165)) || (t == 175)) || (t == 185)) || (t == 190)) || (t == 193)) || ((t == 200) | (t == 220))) || (t == 230)) || (t == 240)) || (t == 245)) || (t == 260)) || (t == 280)) || (t == 300)) || (t == 310)) || (t == 315)) || (t == 330)) || (t == 340)) || (t == 350)) || (t == 365)) || (t == 375)) || (t == 380)) || (t == 390)) || (t == 395)) || (t == 397)) || (t == 399)) || (t == 408)) || (t == 415)) || (t == 430)) || (t == 440)) || (t == 450)) || (t == 455)) || (t == 465)) || (t == 475)) || (t == 480)) || (t == 485)) || (t == 495)) || (t == 505)) || (t == 515)) || (t == 525)) || (t == 530)) || (t == 540)) {
if (!ee) {
en++;
pick = enem[en - 1];
_root.addEn(720, -100 + random(400), pick);
ee = true;
}
} else {
ee = false;
}
if (en == 58) {
_root.win();
en = 0;
}
}
}
Frame 24
music.attachSound("music2");
music.start(0, 100000);
lvlspd = 25;
lvllife = 15;
endmg = 3;
oldhp = _root.hp;
oldlevel = "lvl5";
oldscore = _root.score;
oldsheild = _root.sheilds;
fType = "dirt";
Instance of Symbol 547 MovieClip in Frame 24
onClipEvent (load) {
timer = 0;
timer2 = 0;
en = 0;
p = "plane";
p2 = "plane2";
p3 = "plane3";
h = "heli";
f = "diag";
s = "speed";
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
enem = [s, s, h, f, p, p3, p, f, h, h, f, f, s, p2, p2, p3, p, p, h, h, s, p, f, p3, p3, p3, p3, p2, p2, p, p2, h, s, f, h, s, f, p2, p3, p, p2, p3, p, p2, p3, p3, h, f, s, p, s, f, h];
timer++;
if (timer > 5) {
timer = 0;
timer2++;
}
t = timer2;
if (((((((((((((((((((((((((((((((((((((((((((((((((((((((((t == 5) || (t == 10)) || (t == 20)) || (t == 40)) || (t == 55)) || (t == 65)) || (t == 70)) || (t == 80)) || (t == 91)) || (t == 92)) || (t == 93)) || (t == 94)) || (t == 95)) || (t == 105)) || (t == 120)) || (t == 135)) || (t == 150)) || (t == 165)) || (t == 175)) || (t == 185)) || (t == 190)) || (t == 193)) || ((t == 200) | (t == 220))) || (t == 230)) || (t == 240)) || (t == 245)) || (t == 260)) || (t == 280)) || (t == 300)) || (t == 310)) || (t == 315)) || (t == 330)) || (t == 340)) || (t == 350)) || (t == 365)) || (t == 375)) || (t == 380)) || (t == 390)) || (t == 395)) || (t == 397)) || (t == 399)) || (t == 408)) || (t == 415)) || (t == 430)) || (t == 440)) || (t == 450)) || (t == 455)) || (t == 465)) || (t == 475)) || (t == 480)) || (t == 485)) || (t == 495)) || (t == 505)) || (t == 515)) || (t == 525)) || (t == 530)) || (t == 540)) {
if (!ee) {
en++;
pick = enem[en - 1];
_root.addEn(720, -100 + random(400), pick);
ee = true;
}
} else {
ee = false;
}
if (en == 54) {
_root.win();
en = 0;
}
}
}
Frame 25
music.attachSound("music3");
music.start(0, 100000);
lvlspd = 25;
lvllife = 15;
endmg = 3;
oldhp = _root.hp;
oldlevel = "lvl6";
oldscore = _root.score;
oldsheild = _root.sheilds;
fType = "sand";
Instance of Symbol 546 MovieClip "player" in Frame 25
onClipEvent (load) {
_root.hp = _root.maxhp;
spd = 0;
xspd = 0;
xspdM = _root.planeXspd;
spdM = _root.planeSpd;
odep = getDepth();
shoot = false;
die = false;
stimer = 0;
stimermax = _root.shootspd;
ytimer = 0;
dtimer = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.bombing == false) {
if (Key.isDown(69)) {
if (!ss) {
_root.wep++;
_root.bomb++;
}
ss = true;
} else {
ss = false;
}
}
if (_root.wep > _root.wepmax) {
_root.wep = 1;
_root.bomb = 1;
}
if (_root.wep == 1) {
stimermax = _root.shootspd;
} else if (_root.wep == 2) {
stimermax = _root.shootspd2;
} else if (_root.wep == 3) {
stimermax = _root.shootspd3;
}
if (die == false) {
if (Key.isDown(40)) {
if (spd < spdM) {
spd++;
}
_y = (_y + spd);
if ((_currentframe < 16) && (_currentframe > 1)) {
if (_currentframe > 2) {
prevFrame();
}
if (_currentframe == 2) {
gotoAndStop (17);
}
} else {
if (_currentframe == 1) {
gotoAndStop (16);
}
if (_currentframe != 30) {
nextFrame();
}
}
} else if (Key.isDown(38)) {
if (spd > (-spdM)) {
spd--;
}
_y = (_y + spd);
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndPlay (2);
}
} else if (_currentframe != 15) {
nextFrame();
}
} else {
if (spd < 0) {
spd = spd + 0.5;
_y = (_y + spd);
}
if (spd > 0) {
_y = (_y + spd);
spd = spd - 0.5;
}
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndStop (1);
}
}
if ((_currentframe == 15) || (_currentframe < 15)) {
prevFrame();
}
}
if (Key.isDown(39)) {
if (xspd < xspdM) {
xspd++;
}
_x = (_x + xspd);
} else if (Key.isDown(37)) {
if (xspd > (-xspdM)) {
xspd--;
}
_x = (_x + xspd);
} else {
if (xspd > 0) {
_x = (_x + xspd);
xspd = xspd - 0.5;
}
if (xspd < 0) {
xspd = xspd + 0.5;
_x = (_x + xspd);
}
}
if (Key.isDown(83)) {
stimer++;
if (stimer > stimermax) {
if (_root.wep == 1) {
_root.sound("shoot");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.gunLevel == 1) {
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 2) {
_root.shoot(_x + 80, _y + 15, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 3) {
_root.shoot(_x + 80, _y - 15, _root.wep);
_root.shoot(_x + 80, _y, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
}
}
if ((_root.wep == 2) && (_root.laser == true)) {
_root.sound("las");
_root.shot(_x + 100, _y + 15, _xscale, 1);
_root.shoot(_x + 100, _y + 15, _root.wep);
}
if ((_root.wep == 3) || ((_root.wep == 2) && (_root.laser == false))) {
_root.sound("plasSh");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.plasmaLevel == 1) {
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 2) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 3) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
}
}
stimer = 0;
}
}
if (_root.bombing == false) {
if (Key.isDown(68)) {
if (!b) {
if (_root.missiles > 0) {
if (_root.bomb == 1) {
_root.missiles--;
_root.misile(_x + 100, _y);
}
}
if (_root.laserblast > 0) {
if ((_root.bomb == 2) && (_root.laser == true)) {
_root.laserblast--;
this.bomb2.play();
}
}
if (_root.plasmaburst > 0) {
if ((_root.bomb == 3) || ((_root.bomb == 2) && (_root.laser == false))) {
_root.bombing = true;
_root.plasmaburst--;
_root.plasma(_x + 200, _y);
}
}
b = true;
} else {
b = false;
}
}
}
if (_root.sheilds > 0) {
if (Key.isDown(70) && (_root.sheild == false)) {
_root.sheilds--;
_root.sheildEn = 100;
_root.sheild = true;
}
}
while (_x < 0) {
_x = (_x+1);
}
while (_x > 650) {
_x = (_x-1);
}
while (_y < -100) {
_y = (_y+1);
}
if (_y > 350) {
ytimer++;
if (ytimer > 4) {
_root.sand(_x, _y);
ytimer = 0;
}
}
while (_y > 400) {
_y = (_y-1);
}
}
if (_root.hp < 1) {
die = true;
}
if (die == true) {
_root.hud.fades.fade.play();
_root.lFra = "ded";
if (!ex) {
_root.explo(_x, _y, "explo");
ex = true;
}
if (_root.hud.fades.fade._currentframe == 28) {
stopAllSounds();
}
_visible = false;
}
}
}
Instance of Symbol 582 MovieClip "hud" in Frame 25
onClipEvent (load) {
odep = getDepth();
swapDepths(199);
}
onClipEvent (enterFrame) {
if (fade.fades._currentframe > 15) {
swapDepths(odep);
}
bb = "Bombs:" + _root.bom;
sc = "Score:" + _root.score;
sh = _root.sheilds;
}
Instance of Symbol 604 MovieClip "pau" in Frame 25
onClipEvent (load) {
odep = getDepth();
}
onClipEvent (enterFrame) {
if (_root.hud.fades.fade._currentframe == 15) {
swapDepths(200);
} else {
_root.pause = false;
gotoAndStop (1);
swapDepths(odep);
}
qu = "-" + _root._quality;
if (Key.isDown(80) && (_root.pause == false)) {
gotoAndStop (2);
_root.pause = true;
}
}
Instance of Symbol 547 MovieClip in Frame 25
onClipEvent (load) {
timer = 0;
timer2 = 0;
btimer = 0;
en = 0;
_root.bded = false;
boss = false;
p = "plane";
p2 = "plane2";
p3 = "plane3";
h = "heli";
f = "diag";
s = "speed";
b = "boss2";
}
onClipEvent (enterFrame) {
timer = 0;
if (_root.pause == false) {
enem = [s, s, h, f, p, p3, p, f, h, h, f, f, s, p2, p2, p3, p, p, h, h, s, p, f, p3, p3, p3, p3, p2, p2, p, p2, h, s, f, h, s, f, p2, p3, p, p2, p3, p, p2, p3, p3, h, f, s, p, s, f, h];
if (boss == false) {
timer++;
if (timer > 5) {
timer = 0;
timer2++;
}
}
t = timer2;
if (timer2 == 549) {
boss = true;
}
if (boss == true) {
if (!bbb) {
_root.addEn(700, 200, "boss1");
bbb = true;
}
}
if (((((((((((((((((((((((((((((((((((((((((((((((((((((((((t == 5) || (t == 10)) || (t == 20)) || (t == 40)) || (t == 55)) || (t == 65)) || (t == 70)) || (t == 80)) || (t == 91)) || (t == 92)) || (t == 93)) || (t == 94)) || (t == 95)) || (t == 105)) || (t == 120)) || (t == 135)) || (t == 150)) || (t == 165)) || (t == 175)) || (t == 185)) || (t == 190)) || (t == 193)) || ((t == 200) | (t == 220))) || (t == 230)) || (t == 240)) || (t == 245)) || (t == 260)) || (t == 280)) || (t == 300)) || (t == 310)) || (t == 315)) || (t == 330)) || (t == 340)) || (t == 350)) || (t == 365)) || (t == 375)) || (t == 380)) || (t == 390)) || (t == 395)) || (t == 397)) || (t == 399)) || (t == 408)) || (t == 415)) || (t == 430)) || (t == 440)) || (t == 450)) || (t == 455)) || (t == 465)) || (t == 475)) || (t == 480)) || (t == 485)) || (t == 495)) || (t == 505)) || (t == 515)) || (t == 525)) || (t == 530)) || (t == 540)) {
if (!ee) {
en++;
pick = enem[en - 1];
_root.addEn(720, -100 + random(400), pick);
ee = true;
}
} else {
ee = false;
}
if (_root.bded == true) {
btimer++;
if (btimer > 25) {
if (!w) {
_root.win();
w = true;
}
en = 0;
}
}
}
}
Frame 26
music.attachSound("music3");
music.start(0, 100000);
lvlspd = 25;
lvllife = 15;
endmg = 3;
oldhp = _root.hp;
oldlevel = "lvl7";
oldscore = _root.score;
oldsheild = _root.sheilds;
fType = "water";
Instance of Symbol 546 MovieClip "player" in Frame 26
onClipEvent (load) {
_root.hp = _root.maxhp;
spd = 0;
xspd = 0;
xspdM = _root.planeXspd;
spdM = _root.planeSpd;
odep = getDepth();
shoot = false;
die = false;
stimer = 0;
stimermax = _root.shootspd;
ytimer = 0;
dtimer = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.bombing == false) {
if (Key.isDown(69)) {
if (!ss) {
_root.wep++;
_root.bomb++;
}
ss = true;
} else {
ss = false;
}
}
if (_root.wep > _root.wepmax) {
_root.wep = 1;
_root.bomb = 1;
}
if (_root.wep == 1) {
stimermax = _root.shootspd;
} else if (_root.wep == 2) {
stimermax = _root.shootspd2;
} else if (_root.wep == 3) {
stimermax = _root.shootspd3;
}
if (die == false) {
if (Key.isDown(40)) {
if (spd < spdM) {
spd++;
}
_y = (_y + spd);
if ((_currentframe < 16) && (_currentframe > 1)) {
if (_currentframe > 2) {
prevFrame();
}
if (_currentframe == 2) {
gotoAndStop (17);
}
} else {
if (_currentframe == 1) {
gotoAndStop (16);
}
if (_currentframe != 30) {
nextFrame();
}
}
} else if (Key.isDown(38)) {
if (spd > (-spdM)) {
spd--;
}
_y = (_y + spd);
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndPlay (2);
}
} else if (_currentframe != 15) {
nextFrame();
}
} else {
if (spd < 0) {
spd = spd + 0.5;
_y = (_y + spd);
}
if (spd > 0) {
_y = (_y + spd);
spd = spd - 0.5;
}
if (_currentframe > 16) {
prevFrame();
if (_currentframe == 16) {
gotoAndStop (1);
}
}
if ((_currentframe == 15) || (_currentframe < 15)) {
prevFrame();
}
}
if (Key.isDown(39)) {
if (xspd < xspdM) {
xspd++;
}
_x = (_x + xspd);
} else if (Key.isDown(37)) {
if (xspd > (-xspdM)) {
xspd--;
}
_x = (_x + xspd);
} else {
if (xspd > 0) {
_x = (_x + xspd);
xspd = xspd - 0.5;
}
if (xspd < 0) {
xspd = xspd + 0.5;
_x = (_x + xspd);
}
}
if (Key.isDown(83)) {
stimer++;
if (stimer > stimermax) {
if (_root.wep == 1) {
_root.sound("shoot");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.gunLevel == 1) {
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 2) {
_root.shoot(_x + 80, _y + 15, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
} else if (_root.gunLevel == 3) {
_root.shoot(_x + 80, _y - 15, _root.wep);
_root.shoot(_x + 80, _y, _root.wep);
_root.shoot(_x + 80, _y + 15, _root.wep);
}
}
if ((_root.wep == 2) && (_root.laser == true)) {
_root.sound("las");
_root.shot(_x + 100, _y + 15, _xscale, 1);
_root.shoot(_x + 100, _y + 15, _root.wep);
}
if ((_root.wep == 3) || ((_root.wep == 2) && (_root.laser == false))) {
_root.sound("plasSh");
_root.shot(_x + 80, _y + 15, _xscale, 1);
if (_root.plasmaLevel == 1) {
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 2) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
} else if (_root.plasmaLevel == 3) {
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
_root.shoot(_x + 80, _y + 15, 3);
}
}
stimer = 0;
}
}
if (_root.bombing == false) {
if (Key.isDown(68)) {
if (!b) {
if (_root.missiles > 0) {
if (_root.bomb == 1) {
_root.missiles--;
_root.misile(_x + 100, _y);
}
}
if (_root.laserblast > 0) {
if ((_root.bomb == 2) && (_root.laser == true)) {
_root.laserblast--;
this.bomb2.play();
}
}
if (_root.plasmaburst > 0) {
if ((_root.bomb == 3) || ((_root.bomb == 2) && (_root.laser == false))) {
_root.bombing = true;
_root.plasmaburst--;
_root.plasma(_x + 200, _y);
}
}
b = true;
} else {
b = false;
}
}
}
if (_root.sheilds > 0) {
if (Key.isDown(70) && (_root.sheild == false)) {
_root.sheilds--;
_root.sheildEn = 100;
_root.sheild = true;
}
}
while (_x < 0) {
_x = (_x+1);
}
while (_x > 650) {
_x = (_x-1);
}
while (_y < -100) {
_y = (_y+1);
}
if (_y > 350) {
ytimer++;
if (ytimer > 4) {
_root.water(_x, _y);
ytimer = 0;
}
}
while (_y > 400) {
_y = (_y-1);
}
}
if (_root.hp < 1) {
die = true;
}
if (die == true) {
_root.hud.fades.fade.play();
_root.lFra = "ded";
if (!ex) {
_root.explo(_x, _y, "explo");
ex = true;
}
if (_root.hud.fades.fade._currentframe == 28) {
stopAllSounds();
}
_visible = false;
}
}
}
Instance of Symbol 547 MovieClip in Frame 26
onClipEvent (load) {
timer = 0;
timer2 = 0;
btimer = 0;
en = 0;
p = "plane";
p2 = "plane2";
p3 = "plane3";
h = "heli";
f = "diag";
s = "speed";
b = "boss2";
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
enem = [s, s, h, f, p, p3, p, f, h, h, f, f, s, p2, p2, p3, p, p, h, h, s, p, f, p3, p3, p3, p3, p2, p2, p, p2, h, s, f, h, s, f, p2, p3, p, p2, p3, p, p2, p3, p3, h, f, s, p, s, f, h];
timer++;
if (timer > 5) {
timer = 0;
timer2++;
}
t = timer2;
if (timer2 == 549) {
boss = true;
}
if (((((((((((((((((((((((((((((((((((((((((((((((((((((((((t == 5) || (t == 10)) || (t == 20)) || (t == 40)) || (t == 55)) || (t == 65)) || (t == 70)) || (t == 80)) || (t == 91)) || (t == 92)) || (t == 93)) || (t == 94)) || (t == 95)) || (t == 105)) || (t == 120)) || (t == 135)) || (t == 150)) || (t == 165)) || (t == 175)) || (t == 185)) || (t == 190)) || (t == 193)) || ((t == 200) | (t == 220))) || (t == 230)) || (t == 240)) || (t == 245)) || (t == 260)) || (t == 280)) || (t == 300)) || (t == 310)) || (t == 315)) || (t == 330)) || (t == 340)) || (t == 350)) || (t == 365)) || (t == 375)) || (t == 380)) || (t == 390)) || (t == 395)) || (t == 397)) || (t == 399)) || (t == 408)) || (t == 415)) || (t == 430)) || (t == 440)) || (t == 450)) || (t == 455)) || (t == 465)) || (t == 475)) || (t == 480)) || (t == 485)) || (t == 495)) || (t == 505)) || (t == 515)) || (t == 525)) || (t == 530)) || (t == 540)) {
if (!ee) {
en++;
pick = enem[en - 1];
_root.addEn(720, -100 + random(400), pick);
ee = true;
}
} else {
ee = false;
}
if (en > 45) {
btimer++;
if (btimer > 25) {
if (!w) {
_root.win();
w = true;
}
en = 0;
}
}
}
}
Symbol 12 MovieClip Frame 1
onEnterFrame = function () {
if (_root.pause == true) {
stop();
} else {
play();
}
};
Symbol 30 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
if (hitTest(_root.b1)) {
_root.sound("hit");
_root.b1.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b2)) {
_root.sound("hit");
_root.b2.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b3)) {
_root.sound("hit");
_root.b3.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b4)) {
_root.sound("hit");
_root.b4.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b5)) {
_root.sound("hit");
_root.b5.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b6)) {
_root.sound("hit");
_root.b6.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b7)) {
_root.sound("hit");
_root.b7.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b8)) {
_root.sound("hit");
_root.b8.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b9)) {
_root.sound("hit");
_root.b9.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b10)) {
_root.sound("hit");
_root.b10.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b11)) {
_root.sound("hit");
_root.b11.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b12)) {
_root.sound("hit");
_root.b12.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b13)) {
_root.sound("hit");
_root.b13.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b14)) {
_root.sound("hit");
_root.b14.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b15)) {
_root.sound("hit");
_root.b15.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b16)) {
_root.sound("hit");
_root.b16.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b17)) {
_root.sound("hit");
_root.b17.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b18)) {
_root.sound("hit");
_root.b18.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b19)) {
_root.sound("hit");
_root.b19.hit();
_parent.health = _parent.health - _root.pow;
}
if (hitTest(_root.b20)) {
_root.sound("hit");
_root.b20.hit();
_parent.health = _parent.health - _root.pow;
}
};
Symbol 31 MovieClip [plane] Frame 1
function hurt() {
health = health - _root.pow;
}
onEnterFrame = function () {
if (!setVars) {
go = true;
health = 20 + _root.lvllife;
body = random(3) + 1;
ych = random(2) + 1;
gotimer = 0;
goTmax = 400 + random(200);
if (ych == 1) {
ydist = _root.player._y - random(10);
} else {
ydist = _root.player._y + random(10);
}
xdist = 300 + random(200);
spd = 2 + random(10);
yspdS = 5 + random(10);
setVars = true;
}
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
if (hitTest(_root.end)) {
this.removeMovieClip();
}
shootch = random(30) + 1;
if (shootch == 1) {
_root.sound("shoot");
_root.enShoot(_x - 100, _y, _rotation, 1);
_root.shot(_x - 100, _y, -_xscale, 2);
}
ychange = random(100) + 1;
if (ychange == 1) {
ydist = ydist * -1;
}
rota = Math.atan2(_root.player._y - _y, _root.player._x - _x);
xyrot = Math.round(((rota * 360) / 6.283185) - 180);
_rotation = xyrot;
if ((random(50) + 1) == 1) {
if (_root.player._y > (_y + ydist)) {
yspd = yspdS;
_y = (_y + yspd);
} else if (_root.player._y < (_y + ydist)) {
yspd = yspdS;
_y = (_y - yspd);
}
}
xchange = random(100) + 1;
if (xchange == 1) {
xdist = 300 + random(200);
}
if ((random(1) + 1) == 1) {
if ((_x > _root.player._x) || (_x < _root.player._x)) {
_x = (_x - spd);
}
if ((random(20) + 1) == 1) {
if (_x < (_root.player._x + xdist)) {
_x = (_x + spd);
}
}
}
if (hitTest(_root.mis)) {
_root.mis.enhit();
health = health - 100;
}
if (hitTest(_root.mis2)) {
_root.mis2.enhit();
health = health - 100;
}
if (hitTest(_root.mis3)) {
_root.mis3.enhit();
health = health - 100;
}
if (_root.misexplo == true) {
health = 0;
}
if (hitTest(_root.player.bomb2) && (_root.bombing == true)) {
health = 0;
}
if (hitTest(_root.plasma)) {
_root.plasmahit();
health = health - 3;
}
if (hitTest(_root.plasma2)) {
_root.plasma2.hit();
health = 0;
}
if (hitTest(_root.plasma3)) {
_root.plasma3.hit();
health = 0;
}
if (health < 1) {
d = 0;
while (d < 10) {
_root.debris(_x, _y, body);
d++;
}
_root.score = _root.score + 100;
_root.explo(_x, _y, "explo");
this.removeMovieClip();
}
if (_x < _root.player._x) {
_rotation = 0;
}
while (_rotation < -40) {
_rotation = (_rotation+1);
}
while (_rotation > 40) {
_rotation = (_rotation-1);
}
while (_y > 500) {
_y = (_y-1);
}
while (_y < -100) {
_y = (_y+1);
}
}
};
Instance of Symbol 16 MovieClip in Symbol 31 MovieClip [plane] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.body);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Instance of Symbol 20 MovieClip in Symbol 31 MovieClip [plane] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.body);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Instance of Symbol 24 MovieClip in Symbol 31 MovieClip [plane] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.body);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Instance of Symbol 28 MovieClip in Symbol 31 MovieClip [plane] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.body);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Symbol 36 MovieClip [speed] Frame 1
function hurt() {
health = health - _root.pow;
}
onEnterFrame = function () {
if (!setVars) {
go = true;
health = 30 + _root.lvllife;
body = random(3) + 1;
ych = random(2) + 1;
gotimer = 0;
goTmax = 400 + random(200);
if (ych == 1) {
ydist = _root.player._y - random(10);
} else {
ydist = _root.player._y + random(10);
}
xdist = 300 + random(200);
spd = 6;
yspdS = 5 + random(10);
setVars = true;
}
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
shootch = random(20) + 1;
if (shootch == 1) {
_root.sound("shoot");
_root.enShoot(_x - 100, _y, _rotation, 3);
_root.shot(_x - 100, _y, -_xscale, 2);
}
ychange = random(100) + 1;
if (ychange == 1) {
ydist = ydist * -1;
}
rota = Math.atan2(_root.player._y - _y, _root.player._x - _x);
xyrot = Math.round(((rota * 360) / 6.283185) - 180);
_rotation = xyrot;
if ((random(50) + 1) == 1) {
if (_root.player._y > (_y + ydist)) {
yspd = yspdS;
_y = (_y + yspd);
} else if (_root.player._y < (_y + ydist)) {
yspd = yspdS;
_y = (_y - yspd);
}
}
xchange = random(100) + 1;
if (xchange == 1) {
xdist = 300 + random(200);
}
if ((random(1) + 1) == 1) {
if ((_x > _root.player._x) || (_x < _root.player._x)) {
_x = (_x - spd);
}
if ((random(20) + 1) == 1) {
if (_x < (_root.player._x + xdist)) {
_x = (_x + spd);
}
}
}
if (hitTest(_root.mis)) {
_root.mis.enhit();
health = health - 100;
}
if (hitTest(_root.mis2)) {
_root.mis2.enhit();
health = health - 100;
}
if (hitTest(_root.mis3)) {
_root.mis3.enhit();
health = health - 100;
}
if (_root.misexplo == true) {
health = 0;
}
if (hitTest(_root.player.bomb2) && (_root.bombing == true)) {
health = health - 3;
}
if (hitTest(_root.plasma)) {
_root.plasmahit();
health = 0;
}
if (hitTest(_root.plasma2)) {
_root.plasma2.hit();
health = 0;
}
if (hitTest(_root.plasma3)) {
_root.plasma3.hit();
health = 0;
}
if (health < 1) {
d = 0;
while (d < 10) {
_root.debris(_x, _y, body);
d++;
}
_root.score = _root.score + 100;
_root.explo(_x, _y, "explo");
this.removeMovieClip();
}
if (_x < _root.player._x) {
_rotation = 0;
}
while (_rotation < -40) {
_rotation = (_rotation+1);
}
while (_rotation > 40) {
_rotation = (_rotation-1);
}
while (_y > 500) {
_y = (_y-1);
}
while (_y < -100) {
_y = (_y+1);
}
}
};
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip [speed] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.body);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Symbol 41 MovieClip [diag] Frame 1
function hurt() {
health = health - _root.pow;
}
onEnterFrame = function () {
if (!setVars) {
health = 10 + _root.lvllife;
body = random(3) + 1;
gotimer = 0;
goTmax = 50 + random(100);
xdist = (_root.player._x + 100) + random(300);
xt = 0;
spd = 3;
yspdS = 5 + random(10);
setVars = true;
}
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
xt++;
shootch = random(20) + 1;
if (shootch == 1) {
_root.sound("shoot");
_root.enShoot(_x - 20, _y, _rotation, 2);
_root.shot(_x - 20, _y, -_xscale, 2);
}
if (_x > _root.player._x) {
rota = Math.atan2(_root.player._y - _y, _root.player._x - _x);
xyrot = Math.round(((rota * 360) / 6.283185) - 180);
_rotation = xyrot;
} else {
_rotation = 0;
}
if (go == true) {
_x = (_x - spd);
} else {
if ((((random(5) + 1) == 1) && (xt > 10)) && (hitTest(_root.cam))) {
if (_root.player._y > _y) {
yspd = yspdS;
_y = (_y + yspd);
} else if (_root.player._y < _y) {
yspd = yspdS;
_y = (_y - yspd);
}
}
if (_y < (_root.player._y + ydist)) {
_y = (_y + yspd);
}
if (_y > (_root.player._y + ydist)) {
_y = (_y - yspd);
}
if ((_x > _root.player._x) || (_x < _root.player._x)) {
_x = (_x - spd);
}
}
if (hitTest(_root.mis)) {
_root.mis.enhit();
health = health - 100;
}
if (hitTest(_root.mis2)) {
_root.mis2.enhit();
health = health - 100;
}
if (hitTest(_root.mis3)) {
_root.mis3.enhit();
health = health - 100;
}
if (_root.misexplo == true) {
health = 0;
}
if (hitTest(_root.player.bomb2) && (_root.bombing == true)) {
health = health - 3;
}
if (hitTest(_root.plasma)) {
_root.plasmahit();
health = 0;
}
if (hitTest(_root.plasma2)) {
_root.plasma2.hit();
health = 0;
}
if (hitTest(_root.plasma3)) {
_root.plasma3.hit();
health = 0;
}
if (health < 1) {
d = 0;
while (d < 10) {
_root.debris(_x, _y, body);
d++;
}
_root.score = _root.score + 100;
_root.explo(_x, _y, "explo");
this.removeMovieClip();
}
while (_rotation < -40) {
_rotation = (_rotation+1);
}
while (_rotation > 40) {
_rotation = (_rotation-1);
}
while (_y > 500) {
_y = (_y-1);
}
while (_y < -100) {
_y = (_y+1);
}
}
};
Instance of Symbol 40 MovieClip in Symbol 41 MovieClip [diag] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.body);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Symbol 51 MovieClip [bullet] Frame 1
function hit() {
this.removeMovieClip();
}
function floorHit() {
_root.sparks(_x, _y, _rotation, _root.fType, 100);
this.removeMovieClip();
}
if (_root.wep == 1) {
_root.pow = _root.gunPow;
spd = 40;
} else if (_root.wep == 2) {
_root.pow = _root.laserPow;
spd = 60;
} else if (_root.wep == 3) {
_root.pow = _root.plasmaPow;
spd = 50;
}
onEnterFrame = function () {
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
if (_rotation > 180) {
_y = (_y + (Math.cos((Math.PI/180) * _rotation) * spd));
_x = (_x - (Math.sin((Math.PI/180) * _rotation) * spd));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (!hitTest(_root.cam)) {
this.removeMovieClip();
}
if (hitTest(_root.floor)) {
floorHit();
}
}
};
Instance of Symbol 47 MovieClip in Symbol 51 MovieClip [bullet] Frame 2
onClipEvent (load) {
gotoAndStop(_root.laserLevel);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.laserLevel);
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [bullet] Frame 3
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Symbol 57 MovieClip Frame 11
_parent.removeMovieClip();
Symbol 58 MovieClip [spark] Frame 1
onEnterFrame = function () {
if (_root.pause == false) {
_x = (_x - _root.lvlspd);
}
};
Instance of Symbol 57 MovieClip in Symbol 58 MovieClip [spark] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Instance of Symbol 57 MovieClip in Symbol 58 MovieClip [spark] Frame 3
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Symbol 60 MovieClip Frame 11
_parent.removeMovieClip();
Symbol 61 MovieClip [waters] Frame 1
onEnterFrame = function () {
if (_root.pause == false) {
_x = (_x - _root.lvlspd);
}
};
Instance of Symbol 60 MovieClip in Symbol 61 MovieClip [waters] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Symbol 63 MovieClip [mis] Frame 1
function hit() {
_root.bombing = false;
if (_root.mis == this) {
_root.mis = false;
}
if (_root.mis2 == this) {
_root.mis2 = false;
}
if (_root.mis3 == this) {
_root.mis3 = false;
}
this.removeMovieClip();
}
function enhit() {
_root.explo(_x, _y, "bigexplo");
if (_root.mis == this) {
_root.mis = false;
}
if (_root.mis2 == this) {
_root.mis2 = false;
}
if (_root.mis3 == this) {
_root.mis3 = false;
}
this.removeMovieClip();
}
_root.bombing = true;
onEnterFrame = function () {
if (_root.pause == false) {
if (!_root.mis) {
_root.mis = this;
lol = true;
}
if (!_root.mis2) {
if (!lol) {
_root.mis2 = this;
rofl = true;
}
}
if (!_root.mis3) {
if (!lol) {
if (!rofl) {
_root.mis3 = this;
rofl = true;
}
}
}
if (!setVs) {
speed = -5;
setVs = true;
}
speed++;
_x = (_x + speed);
if (_x > 700) {
hit();
}
}
};
Symbol 69 MovieClip [enbul] Frame 1
function playerhit() {
if (_root.sheild == true) {
_root.sheildEn = _root.sheildEn - pow;
} else {
_root.hp = _root.hp - pow;
}
this.removeMovieClip();
}
function hit() {
this.removeMovieClip();
}
function floorHit() {
_root.sparks(_x, _y, _rotation, _root.fType, -100);
this.removeMovieClip();
}
if (_currentframe == 1) {
pow = 1 + _root.endmg;
spd = 20;
} else if (_currentframe == 2) {
pow = 2 + _root.endmg;
spd = 15;
} else if (_currentframe == 3) {
pow = 2 + _root.endmg;
spd = 20;
}
onEnterFrame = function () {
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
if (_rotation > 180) {
_y = (_y + (Math.cos((Math.PI/180) * _rotation) * spd));
_x = (_x - (Math.sin((Math.PI/180) * _rotation) * spd));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (!hitTest(_root.cam)) {
this.removeMovieClip();
}
if (hitTest(_root.player)) {
playerhit();
}
if (hitTest(_root.floor)) {
floorHit();
}
}
};
Symbol 78 MovieClip Frame 16
_parent.removeMovieClip();
Symbol 79 MovieClip [explo] Frame 1
_root.sound("ex");
Instance of Symbol 78 MovieClip in Symbol 79 MovieClip [explo] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Symbol 87 MovieClip [debris] Frame 1
spch = random(2) + 1;
gch = random(2) + 1;
xch = random(2) + 1;
if (spch == 1) {
spd = 10 + random(20);
} else {
spd = -20 - random(20);
}
if (gch == 1) {
grav = -10 - random(10);
} else {
grav = 0;
}
if (xch == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
onEnterFrame = function () {
if (_root.pause == false) {
_alpha = (_alpha - 5);
if (_alpha < 5) {
this.removeMovieClip();
}
_x = (_x + spd);
_rotation = (_rotation + (spd * 2));
if (spd > 0) {
spd--;
} else if (spd < 0) {
spd++;
}
grav = grav + 3;
_y = (_y + grav);
}
};
Instance of Symbol 86 MovieClip in Symbol 87 MovieClip [debris] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.col);
}
Instance of Symbol 92 MovieClip in Symbol 93 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
}
Symbol 94 MovieClip [guns] Frame 3
this.removeMovieClip();
Symbol 107 MovieClip Frame 4
_root.misexplo = true;
Symbol 107 MovieClip Frame 14
_root.misexplo = false;
Symbol 107 MovieClip Frame 26
_root.bombing = false;
_parent.removeMovieClip();
Symbol 108 MovieClip [bigexplo] Frame 1
_root.sound("ex2");
Instance of Symbol 107 MovieClip in Symbol 108 MovieClip [bigexplo] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Symbol 112 MovieClip [plasmab] Frame 1
function hit() {
if (_root.plasma == this) {
_root.plasma = false;
}
if (_root.plasma2 == this) {
_root.plasma2 = false;
}
if (_root.plasma3 == this) {
_root.plasma3 = false;
}
this.removeMovieClip();
}
function floorHit() {
_root.sparks(_x, _y, _rotation, _root.fType, 100);
if (_root.plasma == this) {
_root.plasma = false;
}
if (_root.plasma2 == this) {
_root.plasma2 = false;
}
if (_root.plasma3 == this) {
_root.plasma3 = false;
}
this.removeMovieClip();
}
spd = 50;
onEnterFrame = function () {
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
if (!_root.plasma) {
_root.plasma = this;
lol = true;
}
if (!_root.plasma2) {
if (!lol) {
_root.plasma2 = this;
rofl = true;
}
}
if (!_root.plasma3) {
if (!lol) {
if (!rofl) {
_root.plasma3 = this;
rofl = true;
}
}
}
if (_rotation > 180) {
_y = (_y + (Math.cos((Math.PI/180) * _rotation) * spd));
_x = (_x - (Math.sin((Math.PI/180) * _rotation) * spd));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (!hitTest(_root.cam)) {
this.removeMovieClip();
}
if (hitTest(_root.floor)) {
floorHit();
}
}
};
Instance of Symbol 111 MovieClip in Symbol 112 MovieClip [plasmab] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Symbol 113 MovieClip [plas] Frame 1
onEnterFrame = function () {
if (_root.pause == true) {
stop();
} else {
play();
}
};
Symbol 113 MovieClip [plas] Frame 2
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 4
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 6
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 8
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 10
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 12
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 14
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 16
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 18
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 20
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 22
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 24
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 26
_root.bul++;
_root.attachMovie("plasmab", "pl" + _root.bul, _root.bul);
_root["pl" + _root.bul]._x = _root.player._x + 100;
_root["pl" + _root.bul]._y = (_root.player._y + 50) - random(100);
_root["pl" + _root.bul]._rotation = (90 + random(11)) - 5;
Symbol 113 MovieClip [plas] Frame 28
_root.bombing = false;
this.removeMovieClip();
Symbol 115 MovieClip [hp] Frame 1
if (_y < -100) {
_y = 20;
}
if (_y > 400) {
_y = 380;
}
onEnterFrame = function () {
if (_root.pause == false) {
spd = 5;
_x = (_x - spd);
if (hitTest(_root.end)) {
_root.hpPack = false;
this.removeMovieClip();
}
if (hitTest(_root.player)) {
_root.hpPack = false;
_root.hp = _root.hp + (10 + random(30));
this.removeMovieClip();
}
}
if (_root.sheild == true) {
_root.hpPack = false;
this.removeMovieClip();
}
if (_root.hud.fades.fade._currentframe > 15) {
_root.hpPack = false;
this.removeMovieClip();
}
};
Symbol 117 MovieClip [bombP] Frame 1
if (_y < -100) {
_y = 20;
}
if (_y > 400) {
_y = 380;
}
onEnterFrame = function () {
if (_root.pause == false) {
spd = 5;
_x = (_x - spd);
if (hitTest(_root.end)) {
_root.bombPack = false;
this.removeMovieClip();
}
if (hitTest(_root.player)) {
if (_root.wep == 1) {
_root.missiles = _root.missiles + (2 + random(3));
} else if (_root.wep == 2) {
_root.laserblast = _root.laserblast + (1 + random(2));
} else if (_root.wep == 3) {
_root.plasmaburst = _root.plasmaburst + (2 + random(3));
}
_root.bombPack = false;
this.removeMovieClip();
}
}
if (_root.hud.fades.fade._currentframe > 15) {
_root.bombPack = false;
this.removeMovieClip();
}
};
Symbol 126 MovieClip [plane2] Frame 1
function hurt() {
health = health - _root.pow;
}
onEnterFrame = function () {
if (!setVars) {
go = true;
health = 30 + _root.lvllife;
body = random(3) + 1;
ych = random(2) + 1;
gotimer = 0;
goTmax = 400 + random(200);
if (ych == 1) {
ydist = _root.player._y - random(10);
} else {
ydist = _root.player._y + random(10);
}
xdist = 300 + random(200);
spd = 2 + random(10);
yspdS = 5 + random(10);
setVars = true;
}
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
if (hitTest(_root.end)) {
this.removeMovieClip();
}
shootch = random(20) + 1;
if (shootch == 1) {
_root.sound("shoot");
_root.enShoot(_x - 100, _y, _rotation, 1);
_root.shot(_x - 100, _y, -_xscale, 2);
}
ychange = random(100) + 1;
if (ychange == 1) {
ydist = ydist * -1;
}
rota = Math.atan2(_root.player._y - _y, _root.player._x - _x);
xyrot = Math.round(((rota * 360) / 6.283185) - 180);
_rotation = xyrot;
if ((random(50) + 1) == 1) {
if (_root.player._y > (_y + ydist)) {
yspd = yspdS;
_y = (_y + yspd);
} else if (_root.player._y < (_y + ydist)) {
yspd = yspdS;
_y = (_y - yspd);
}
}
xchange = random(100) + 1;
if (xchange == 1) {
xdist = 300 + random(200);
}
if ((random(1) + 1) == 1) {
if ((_x > _root.player._x) || (_x < _root.player._x)) {
_x = (_x - spd);
}
if ((random(20) + 1) == 1) {
if (_x < (_root.player._x + xdist)) {
_x = (_x + spd);
}
}
}
if (hitTest(_root.mis)) {
_root.mis.enhit();
health = health - 100;
}
if (hitTest(_root.mis2)) {
_root.mis2.enhit();
health = health - 100;
}
if (hitTest(_root.mis3)) {
_root.mis3.enhit();
health = health - 100;
}
if (_root.misexplo == true) {
health = 0;
}
if (hitTest(_root.player.bomb2) && (_root.bombing == true)) {
health = health - 3;
}
if (hitTest(_root.plasma)) {
_root.plasmahit();
health = 0;
}
if (hitTest(_root.plasma2)) {
_root.plasma2.hit();
health = 0;
}
if (hitTest(_root.plasma3)) {
_root.plasma3.hit();
health = 0;
}
if (health < 1) {
d = 0;
while (d < 10) {
_root.debris(_x, _y, body);
d++;
}
_root.score = _root.score + 100;
_root.explo(_x, _y, "explo");
this.removeMovieClip();
}
if (_x < _root.player._x) {
_rotation = 0;
}
while (_rotation < -40) {
_rotation = (_rotation+1);
}
while (_rotation > 40) {
_rotation = (_rotation-1);
}
while (_y > 500) {
_y = (_y-1);
}
while (_y < -100) {
_y = (_y+1);
}
}
};
Symbol 133 MovieClip [boss1] Frame 1
function hurt() {
health = health - _root.pow;
}
_y = 186;
_x = 705.95;
xs = _x - 200;
ys = _y;
xx = 0;
yy = 0;
move = true;
_root.boss = true;
_root.bosshp = 3000;
_root.bosshpmax = 3000;
onEnterFrame = function () {
if (!setVars) {
go = true;
health = 3000;
ych = random(2) + 1;
gotimer = 0;
goTmax = 400 + random(200);
if (ych == 1) {
ydist = _root.player._y - random(10);
} else {
ydist = _root.player._y + random(10);
}
xdist = 300 + random(200);
spd = 2 + random(10);
yspdS = 5 + random(10);
shootable = false;
setVars = true;
}
if (_root.pause == false) {
_root.bosshp = health;
if (hitTest(_root.end)) {
this.removeMovieClip();
}
if (shootable == true) {
shootch = random(10) + 1;
if (shootch == 1) {
_root.sound("shoot");
_root.enShoot(_x - 100, _y, body._rotation, 1);
_root.shot(_x - 100, _y, -_xscale, 2);
}
}
if (move == true) {
if (xx == 0) {
_x = (_x - 5);
} else if (xx == 1) {
_x = (_x - 5);
} else if (xx == 2) {
_x = (_x - 0);
} else if (xx == 3) {
_x = (_x + 5);
} else if (xx == 4) {
} else if (xx == 5) {
_x = (_x - 5);
}
if (yy == 0) {
} else if (yy == 1) {
_y = (_y - 5);
} else if (yy == 2) {
_y = (_y + 5);
} else if (yy == 3) {
_y = (_y - 5);
} else if (yy == 4) {
_y = (_y + 5);
} else if (yy == 5) {
_y = (_y - 5);
}
}
if ((_x == (xs - 100)) && (xx == 5)) {
yy = 0;
xx = 0;
_x = (xs - 100);
_y = ys;
move = false;
}
if ((((((_x == (xs - 100)) && (xx == 0)) || ((_x == 305.95) && (_y == 86))) || ((_x == 305.95) && (_y == 386))) || ((_x == (xs + 100)) && (_y == (ys - 100)))) || ((_x == (xs + 100)) && (_y == (ys + 200)))) {
move = false;
shootable = true;
m = random(50) + 1;
if (m == 1) {
m = 50;
yy++;
xx++;
move = true;
}
}
if (hitTest(_root.mis)) {
_root.mis.enhit();
health = health - 50;
}
if (hitTest(_root.mis2)) {
_root.mis2.enhit();
health = health - 50;
}
if (hitTest(_root.mis3)) {
_root.mis3.enhit();
health = health - 50;
}
if (_root.misexplo == true) {
health = health - 5;
}
if (hitTest(_root.player.bomb2) && (_root.bombing == true)) {
health = health - 1;
}
if (hitTest(_root.plasma)) {
_root.plasmahit();
health = 20;
}
if (hitTest(_root.plasma2)) {
_root.plasma2.hit();
health = health - 20;
}
if (hitTest(_root.plasma3)) {
_root.plasma3.hit();
health = health - 20;
}
if (health < 1) {
d = 0;
while (d < 10) {
_root.debris(_x, _y, body);
d++;
}
_root.bded = true;
_root.score = _root.score + 1000;
_root.explo(_x, _y, "explo");
_root.explo(_x + 100, _y, "explo");
_root.explo(_x - 100, _y, "explo");
this.removeMovieClip();
}
if (_x < _root.player._x) {
_rotation = 0;
}
}
};
Instance of Symbol 132 MovieClip "body" in Symbol 133 MovieClip [boss1] Frame 1
onClipEvent (enterFrame) {
rota = Math.atan2((_root.player._y - _parent._y) - _y, (_root.player._x - _parent._x) - _x);
xyrot = Math.round(((rota * 360) / 6.283185) - 180);
_rotation = xyrot;
while (_rotation < -40) {
_rotation = (_rotation+1);
}
while (_rotation > 40) {
_rotation = (_rotation-1);
}
}
Symbol 144 MovieClip [heli] Frame 1
function hurt() {
health = health - _root.pow;
}
onEnterFrame = function () {
if (!setVars) {
go = true;
health = 10 + _root.lvllife;
body = random(3) + 1;
ych = random(2) + 1;
gotimer = 0;
goTmax = 400 + random(200);
if (ych == 1) {
ydist = _root.player._y - random(10);
} else {
ydist = _root.player._y + random(10);
}
xdist = 300 + random(200);
spd = 2 + random(10);
yspdS = 5 + random(10);
setVars = true;
}
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
if (hitTest(_root.end)) {
this.removeMovieClip();
}
shootch = random(10) + 1;
if (shootch == 1) {
_root.sound("shoot");
_root.enShoot(_x - 100, _y, _rotation, 1);
_root.shot(_x - 100, _y, -_xscale, 2);
}
ychange = random(100) + 1;
if (ychange == 1) {
ydist = ydist * -1;
}
rota = Math.atan2(_root.player._y - _y, _root.player._x - _x);
xyrot = Math.round(((rota * 360) / 6.283185) - 180);
_rotation = xyrot;
if ((random(50) + 1) == 1) {
if (_root.player._y > (_y + ydist)) {
yspd = yspdS;
_y = (_y + yspd);
} else if (_root.player._y < (_y + ydist)) {
yspd = yspdS;
_y = (_y - yspd);
}
}
xchange = random(100) + 1;
if (xchange == 1) {
xdist = 300 + random(200);
}
if ((random(1) + 1) == 1) {
if ((_x > _root.player._x) || (_x < _root.player._x)) {
_x = (_x - spd);
}
if ((random(20) + 1) == 1) {
if (_x < (_root.player._x + xdist)) {
_x = (_x + spd);
}
}
}
if (hitTest(_root.mis)) {
_root.mis.enhit();
health = health - 100;
}
if (hitTest(_root.mis2)) {
_root.mis2.enhit();
health = health - 100;
}
if (hitTest(_root.mis3)) {
_root.mis3.enhit();
health = health - 100;
}
if (_root.misexplo == true) {
health = 0;
}
if (hitTest(_root.player.bomb2) && (_root.bombing == true)) {
health = health - 3;
}
if (hitTest(_root.plasma)) {
_root.plasmahit();
health = 0;
}
if (hitTest(_root.plasma2)) {
_root.plasma2.hit();
health = 0;
}
if (hitTest(_root.plasma3)) {
_root.plasma3.hit();
health = 0;
}
if (health < 1) {
d = 0;
while (d < 10) {
_root.debris(_x, _y, body);
d++;
}
_root.score = _root.score + 100;
_root.explo(_x, _y, "explo");
this.removeMovieClip();
}
if (_x < _root.player._x) {
_rotation = 0;
}
while (_rotation < -40) {
_rotation = (_rotation+1);
}
while (_rotation > 40) {
_rotation = (_rotation-1);
}
while (_y > 500) {
_y = (_y-1);
}
while (_y < -100) {
_y = (_y+1);
}
}
};
Instance of Symbol 137 MovieClip in Symbol 144 MovieClip [heli] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.body);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Instance of Symbol 140 MovieClip in Symbol 144 MovieClip [heli] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Instance of Symbol 143 MovieClip in Symbol 144 MovieClip [heli] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Symbol 161 MovieClip [plane3] Frame 1
function hurt() {
health = health - _root.pow;
}
onEnterFrame = function () {
if (!setVars) {
go = true;
health = 25 + _root.lvllife;
body = random(3) + 1;
ych = random(2) + 1;
gotimer = 0;
goTmax = 400 + random(200);
if (ych == 1) {
ydist = _root.player._y - random(10);
} else {
ydist = _root.player._y + random(10);
}
xdist = 300 + random(200);
spd = 2 + random(10);
yspdS = 5 + random(10);
setVars = true;
}
if (_root.hud.fades.fade._currentframe > 15) {
_alpha = (_alpha - 10);
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (_root.pause == false) {
if (hitTest(_root.end)) {
this.removeMovieClip();
}
shootch = random(30) + 1;
if (shootch == 1) {
_root.sound("shoot");
_root.enShoot(_x - 100, _y, _rotation, 1);
_root.shot(_x - 100, _y, -_xscale, 2);
}
ychange = random(100) + 1;
if (ychange == 1) {
ydist = ydist * -1;
}
rota = Math.atan2(_root.player._y - _y, _root.player._x - _x);
xyrot = Math.round(((rota * 360) / 6.283185) - 180);
_rotation = xyrot;
if ((random(50) + 1) == 1) {
if (_root.player._y > (_y + ydist)) {
yspd = yspdS;
_y = (_y + yspd);
} else if (_root.player._y < (_y + ydist)) {
yspd = yspdS;
_y = (_y - yspd);
}
}
xchange = random(100) + 1;
if (xchange == 1) {
xdist = 300 + random(200);
}
if ((random(1) + 1) == 1) {
if ((_x > _root.player._x) || (_x < _root.player._x)) {
_x = (_x - spd);
}
if ((random(20) + 1) == 1) {
if (_x < (_root.player._x + xdist)) {
_x = (_x + spd);
}
}
}
if (hitTest(_root.mis)) {
_root.mis.enhit();
health = health - 100;
}
if (hitTest(_root.mis2)) {
_root.mis2.enhit();
health = health - 100;
}
if (hitTest(_root.mis3)) {
_root.mis3.enhit();
health = health - 100;
}
if (_root.misexplo == true) {
health = 0;
}
if (hitTest(_root.player.bomb2) && (_root.bombing == true)) {
health = health - 3;
}
if (hitTest(_root.plasma)) {
_root.plasmahit();
health = 0;
}
if (hitTest(_root.plasma2)) {
_root.plasma2.hit();
health = 0;
}
if (hitTest(_root.plasma3)) {
_root.plasma3.hit();
health = 0;
}
if (health < 1) {
d = 0;
while (d < 10) {
_root.debris(_x, _y, body);
d++;
}
_root.score = _root.score + 100;
_root.explo(_x, _y, "explo");
this.removeMovieClip();
}
if (_x < _root.player._x) {
_rotation = 0;
}
while (_rotation < -40) {
_rotation = (_rotation+1);
}
while (_rotation > 40) {
_rotation = (_rotation-1);
}
while (_y > 500) {
_y = (_y-1);
}
while (_y < -100) {
_y = (_y+1);
}
}
};
Instance of Symbol 148 MovieClip in Symbol 161 MovieClip [plane3] Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Instance of Symbol 152 MovieClip in Symbol 161 MovieClip [plane3] Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Instance of Symbol 156 MovieClip in Symbol 161 MovieClip [plane3] Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip [plane3] Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent.body);
}
Symbol 162 MovieClip [sands] Frame 1
onEnterFrame = function () {
if (_root.pause == false) {
_x = (_x - _root.lvlspd);
}
};
Instance of Symbol 60 MovieClip in Symbol 162 MovieClip [sands] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Symbol 163 MovieClip [dirts] Frame 1
onEnterFrame = function () {
if (_root.pause == false) {
_x = (_x - _root.lvlspd);
}
};
Instance of Symbol 57 MovieClip in Symbol 163 MovieClip [dirts] Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Instance of Symbol 169 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Instance of Symbol 169 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
Symbol 179 MovieClip [boss2] Frame 1
function hurt() {
health = health - _root.pow;
}
_y = 186;
_x = 705.95;
xs = _x - 200;
ys = _y;
xx = 0;
yy = 0;
move = true;
_root.boss = true;
_root.bosshp = 6000;
_root.bosshpmax = 6000;
onEnterFrame = function () {
if (!setVars) {
go = true;
health = 6000;
ych = random(2) + 1;
gotimer = 0;
goTmax = 400 + random(200);
if (ych == 1) {
ydist = _root.player._y - random(10);
} else {
ydist = _root.player._y + random(10);
}
xdist = 300 + random(200);
spd = 2 + random(10);
yspdS = 5 + random(10);
shootable = false;
setVars = true;
}
if (_root.pause == false) {
_root.bosshp = health;
if (hitTest(_root.end)) {
this.removeMovieClip();
}
if (shootable == true) {
shootch = random(10) + 1;
if (shootch == 1) {
_root.sound("shoot");
_root.enShoot(_x - 100, _y, body._rotation, 1);
_root.shot(_x - 100, _y, -_xscale, 2);
}
}
if (move == true) {
if (xx == 0) {
_x = (_x - 5);
} else if (xx == 1) {
_x = (_x - 5);
} else if (xx == 2) {
_x = (_x - 0);
} else if (xx == 3) {
_x = (_x + 5);
} else if (xx == 4) {
} else if (xx == 5) {
_x = (_x - 5);
}
if (yy == 0) {
} else if (yy == 1) {
_y = (_y - 5);
} else if (yy == 2) {
_y = (_y + 5);
} else if (yy == 3) {
_y = (_y - 5);
} else if (yy == 4) {
_y = (_y + 5);
} else if (yy == 5) {
_y = (_y - 5);
}
}
if ((_x == (xs - 100)) && (xx == 5)) {
yy = 0;
xx = 0;
_x = (xs - 100);
_y = ys;
move = false;
}
if ((((((_x == (xs - 100)) && (xx == 0)) || ((_x == 305.95) && (_y == 86))) || ((_x == 305.95) && (_y == 386))) || ((_x == (xs + 100)) && (_y == (ys - 100)))) || ((_x == (xs + 100)) && (_y == (ys + 200)))) {
move = false;
shootable = true;
m = random(50) + 1;
if (m == 1) {
m = 50;
yy++;
xx++;
move = true;
}
}
if (hitTest(_root.mis)) {
_root.mis.enhit();
health = health - 50;
}
if (hitTest(_root.mis2)) {
_root.mis2.enhit();
health = health - 50;
}
if (hitTest(_root.mis3)) {
_root.mis3.enhit();
health = health - 50;
}
if (_root.misexplo == true) {
health = health - 5;
}
if (hitTest(_root.player.bomb2) && (_root.bombing == true)) {
health = health - 1;
}
if (hitTest(_root.plasma)) {
_root.plasmahit();
health = 20;
}
if (hitTest(_root.plasma2)) {
_root.plasma2.hit();
health = health - 20;
}
if (hitTest(_root.plasma3)) {
_root.plasma3.hit();
health = health - 20;
}
if (health < 1) {
d = 0;
while (d < 10) {
_root.debris(_x, _y, body);
d++;
}
_root.bded = true;
_root.score = _root.score + 1000;
_root.explo(_x, _y, "explo");
_root.explo(_x + 100, _y, "explo");
_root.explo(_x - 100, _y, "explo");
this.removeMovieClip();
}
if (_x < _root.player._x) {
_rotation = 0;
}
}
};
Instance of Symbol 178 MovieClip "body" in Symbol 179 MovieClip [boss2] Frame 1
onClipEvent (enterFrame) {
rota = Math.atan2((_root.player._y - _parent._y) - _y, (_root.player._x - _parent._x) - _x);
xyrot = Math.round(((rota * 360) / 6.283185) - 180);
_rotation = xyrot;
while (_rotation < -40) {
_rotation = (_rotation+1);
}
while (_rotation > 40) {
_rotation = (_rotation-1);
}
}
Symbol 688 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 689 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.5");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 190 Button
on (press) {
play();
}
Symbol 195 Button
on (release) {
getURL ("http://www.freewebs.com/miked-games/index.htm", "_blank");
}
Symbol 196 MovieClip Frame 1
stop();
onEnterFrame = function () {
pc = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
bar._xscale = pc;
if (pc == 100) {
gotoAndStop (2);
}
};
Symbol 196 MovieClip Frame 2
onEnterFrame = null;
Symbol 196 MovieClip Frame 3
blur = true;
Instance of Symbol 193 MovieClip in Symbol 196 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.timer == 1) {
gotoAndStop(random(6) + 1);
} else {
gotoAndStop (7);
}
}
Symbol 196 MovieClip Frame 133
_root.fade.play();
Symbol 196 MovieClip Frame 151
_root.music.attachSound("music2");
_root.music.start(0, 100000);
_root.gotoAndStop("menu");
Symbol 200 MovieClip Frame 15
stop();
Symbol 204 Button
on (release) {
_root.gotoAndStop("start");
}
Symbol 208 Button
on (release) {
_root.gotoAndStop("ins");
}
Symbol 212 Button
on (release) {
_root.gotoAndStop("op");
}
Symbol 216 Button
on (release) {
_root.gotoAndStop("cr");
}
Symbol 220 Button
on (release) {
getURL ("http://rankz.armorbot.com/Fire_Storm2", "_blank");
}
Symbol 224 Button
on (release) {
getURL ("http://miked-games.co.nr/", "_blank");
}
Symbol 230 MovieClip Frame 2
_root.pl.enabled = false;
_root.h.enabled = false;
_root.op.enabled = false;
_root.cr.enabled = false;
_root.vi.enabled = false;
Symbol 230 MovieClip Frame 3
_root.loadGame();
Symbol 230 MovieClip Frame 45
_root.pl.enabled = true;
_root.h.enabled = true;
_root.op.enabled = true;
_root.cr.enabled = true;
_root.vi.enabled = true;
gotoAndStop (1);
Symbol 237 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 254 Button
on (release) {
if (_root._quality == "HIGH") {
_root._quality = "LOW";
} else if (_root._quality == "LOW") {
_root._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
_root._quality = "HIGH";
}
}
Instance of Symbol 264 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (load) {
if (_root.missiles < 4) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.missiles < 4) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 264 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (load) {
if (_root.missiles < 3) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.missiles < 3) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 264 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (load) {
if (_root.missiles < 2) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.missiles < 2) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 264 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (load) {
if (_root.missiles < 1) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.missiles < 1) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 269 MovieClip Frame 2
if (_root.laser == false) {
nextFrame();
} else {
stop();
}
Instance of Symbol 289 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.planeCol);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.planeCol);
}
Instance of Symbol 300 MovieClip in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.planeCol);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.planeCol);
}
Instance of Symbol 311 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.planeCol);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.planeCol);
}
Symbol 321 MovieClip Frame 2
if (_root.laser == false) {
nextFrame();
} else {
stop();
}
Symbol 326 Button
on (release) {
_root.planeCol++;
}
Symbol 327 Button
on (release) {
_root.planeCol--;
}
Symbol 333 Button
on (release) {
_root.gotoAndStop("shop");
}
Symbol 337 Button
on (release) {
_root.gotoAndStop("upgrade");
}
Symbol 341 Button
on (release) {
_root.gotoAndStop("submit");
}
Symbol 351 MovieClip Frame 1
stop();
Symbol 356 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("lvl1");
}
on (rollOver) {
_root.planet.gotoAndStop(1);
}
Symbol 360 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("lvl2");
}
on (rollOver) {
_root.planet.gotoAndStop(2);
}
Symbol 364 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("lvl3");
}
on (rollOver) {
_root.planet.gotoAndStop(3);
}
Symbol 368 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("lvl4");
}
on (rollOver) {
_root.planet.gotoAndStop(4);
}
Symbol 372 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("lvl5");
}
on (rollOver) {
_root.planet.gotoAndStop(5);
}
Symbol 376 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("lvl6");
}
on (rollOver) {
_root.planet.gotoAndStop(6);
}
Symbol 380 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("lvl7");
}
on (rollOver) {
_root.planet.gotoAndStop(7);
}
Symbol 385 Button
on (release) {
_root.gotoAndStop("save");
}
Symbol 388 Button
on (release) {
if (!_root.buying) {
_root.gotoAndStop("start");
}
}
Symbol 393 Button
on (release) {
if (!_root.buying) {
_root.upgrade.gotoAndStop("g");
}
}
Symbol 399 Button
on (release) {
if (!_root.buying) {
_root.upgrade.gotoAndStop("l");
}
}
Symbol 404 Button
on (release) {
if (!_root.buying) {
_root.upgrade.gotoAndStop("p");
}
}
Symbol 409 Button
on (release) {
if (!_root.buying) {
_root.upgrade.gotoAndStop("pl");
}
}
Symbol 413 Button
on (release) {
if (_root.cash > 999) {
_root.item = "mspd";
_root.bb.gotoAndStop(2);
}
}
on (rollOver) {
_root.pr = "Price:1000";
}
on (rollOut) {
_root.pr = "";
}
Symbol 417 Button
on (release) {
if (_root.cash > 1499) {
_root.item = "mlev";
_root.bb.gotoAndStop(2);
}
}
on (rollOver) {
_root.pr = "Price:1500";
}
on (rollOut) {
_root.pr = "";
}
Symbol 422 Button
on (release) {
if (_root.cash > 1499) {
_root.item = "lspd";
_root.bb.gotoAndStop(2);
}
}
on (rollOver) {
_root.pr = "Price:1500";
}
on (rollOut) {
_root.pr = "";
}
Symbol 423 Button
on (release) {
if (_root.cash > 1799) {
_root.item = "llev";
_root.bb.gotoAndStop(2);
}
}
on (rollOver) {
_root.pr = "Price:1800";
}
on (rollOut) {
_root.pr = "";
}
Symbol 424 Button
on (release) {
if (_root.cash > 1499) {
_root.item = "pspd";
_root.bb.gotoAndStop(2);
}
}
on (rollOver) {
_root.pr = "Price:1500";
}
on (rollOut) {
_root.pr = "";
}
Symbol 425 Button
on (release) {
if (_root.cash > 1799) {
_root.item = "plev";
_root.bb.gotoAndStop(2);
}
}
on (rollOver) {
_root.pr = "Price:1800";
}
on (rollOut) {
_root.pr = "";
}
Symbol 433 Button
on (release) {
if (_root.cash > 1499) {
_root.item = "plSpd";
_root.bb.gotoAndStop(2);
}
}
on (rollOver) {
_root.pr = "Price:1500";
}
on (rollOut) {
_root.pr = "";
}
Symbol 437 Button
on (release) {
if (_root.cash > 1999) {
_root.item = "plHp";
_root.bb.gotoAndStop(2);
}
}
on (rollOver) {
_root.pr = "Price:2000";
}
on (rollOut) {
_root.pr = "";
}
Symbol 438 MovieClip Frame 1
stop();
Symbol 444 Button
on (release) {
_root.buy();
gotoAndStop (1);
}
Symbol 448 Button
on (release) {
_root.item = "";
gotoAndStop (1);
}
Symbol 449 MovieClip Frame 1
stop();
_root.buying = false;
Symbol 449 MovieClip Frame 2
_root.buying = true;
Symbol 456 Button
on (release) {
if (!_root.buying) {
if (_root.cash > 3999) {
_root.item = "laser";
_root.bb.gotoAndStop(2);
}
}
}
on (rollOver) {
_root.pr = "Price:4000";
}
on (rollOut) {
_root.pr = "";
}
Symbol 459 Button
on (release) {
if (!_root.buying) {
if (_root.cash > 4999) {
_root.item = "plasma";
_root.bb.gotoAndStop(2);
}
}
}
on (rollOver) {
_root.pr = "Price:5000";
}
on (rollOut) {
_root.pr = "";
}
Symbol 464 Button
on (release) {
if (!_root.buying) {
if (_root.cash > 999) {
_root.item = "sheild";
_root.bb.gotoAndStop(2);
}
}
}
on (rollOver) {
_root.pr = "Price:1000";
}
on (rollOut) {
_root.pr = "";
}
Symbol 473 Button
on (release) {
_root.stat = "Score Submitted";
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.na;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.totscore;
_root.__rankz_send__("Mjg3NWolZSVhJW4lcw==", "ck9DWURJTk0=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
}
Symbol 476 Button
on (release) {
_root.gotoAndStop("start");
}
Symbol 481 MovieClip Frame 3
_root.saveGame();
Symbol 481 MovieClip Frame 52
_root.gotoAndStop("start");
Symbol 487 Button
on (release) {
stopAllSounds();
_root.hp = _root.oldhp;
_root.score = _root.oldscore;
_root.sheilds = _root.oldsheild;
_root.gotoAndStop(_root.oldlevel);
}
Symbol 491 Button
on (release) {
_root.gotoAndStop("start");
}
Symbol 494 MovieClip Frame 1
_x = (random(_parent.wid) - (_parent.wid / 2));
_y = (random(_parent.hig) - (_parent.hig / 2));
lol = random(20) + 50;
_xscale = lol;
_yscale = lol;
_rotation = random(360);
_alpha = (random(60) + 40);
onEnterFrame = function () {
if (_root.pause == false) {
_x = (_x - (_root.lvlspd / 15));
if (hitTest(_parent._parent.end)) {
_x = (700 - random(200));
}
}
};
Symbol 496 MovieClip Frame 1
_x = (random(_parent.wid) - (_parent.wid / 2));
_y = (random(_parent.hig) - (_parent.hig / 2));
lol = random(20) + 50;
_xscale = lol;
_yscale = lol;
_rotation = random(360);
_alpha = (random(60) + 40);
onEnterFrame = function () {
if (_root.pause == false) {
_x = (_x - (_root.lvlspd / 15));
if (hitTest(_parent._parent.end)) {
_x = (700 - random(200));
}
}
};
Symbol 498 MovieClip Frame 1
_x = (random(_parent.wid) - (_parent.wid / 2));
_y = (random(_parent.hig) - (_parent.hig / 2));
lol = random(20) + 50;
_xscale = lol;
_yscale = lol;
_rotation = random(360);
_alpha = (random(60) + 40);
onEnterFrame = function () {
if (_root.pause == false) {
_x = (_x - (_root.lvlspd / 15));
if (hitTest(_parent._parent.end)) {
_x = (700 - random(200));
}
}
};
Symbol 499 MovieClip Frame 1
s1d = 150;
s2d = 60;
s3d = 40;
d = 0;
wid = _parent._width;
hig = _parent._height;
while (s1d > d) {
d++;
s1.duplicateMovieClip("s" + d, d);
}
while ((s2d + s1d) > d) {
d++;
s2.duplicateMovieClip("s" + d, d);
}
while (((s3d + s2d) + s1d) > d) {
d++;
s3.duplicateMovieClip("s" + d, d);
}
while ((((s4d + s3d) + s2d) + s1d) > d) {
d++;
s4.duplicateMovieClip("s" + d, d);
}
Symbol 501 MovieClip Frame 1
_visible = false;
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 514 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (1000 + random(300));
}
}
}
Instance of Symbol 514 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (1000 + random(300));
}
}
}
Instance of Symbol 514 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (800 + random(300));
}
}
}
Instance of Symbol 520 MovieClip "ww" in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
}
Instance of Symbol 521 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 521 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 521 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 521 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 521 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 521 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Symbol 525 MovieClip Frame 1
function camControl() {
while (hitTest(_root.top)) {
_y = (_y+1);
}
while (hitTest(_root.bottom)) {
_y = (_y-1);
}
while (hitTest(_root.back)) {
_x = (_x+1);
}
while (hitTest(_root.front)) {
_x = (_x-1);
}
_root.hud._x = _x;
_root.hud._y = _y;
_root.pau._x = _x;
_root.pau._y = _y;
parentColor.setTransform(camColor.getTransform());
var _local5 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local5);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local5;
_parent._yscale = 100 * _local4;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 535 MovieClip in Symbol 536 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.planeCol);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.planeCol);
}
Symbol 545 MovieClip Frame 1
stop();
_root.bombing = false;
Symbol 545 MovieClip Frame 2
_root.bombing = true;
Instance of Symbol 269 MovieClip in Symbol 546 MovieClip Frame 1
onClipEvent (load) {
if ((_currentframe == 2) && (_root.laser == false)) {
gotoAndStop (3);
} else {
gotoAndStop(_root.bomb);
}
}
onClipEvent (enterFrame) {
if ((_currentframe == 2) && (_root.laser == false)) {
gotoAndStop (3);
} else {
gotoAndStop(_root.bomb);
}
}
Instance of Symbol 321 MovieClip "guns" in Symbol 546 MovieClip Frame 1
onClipEvent (load) {
if ((_currentframe == 2) && (_root.laser == false)) {
gotoAndStop (3);
} else {
gotoAndStop(_root.wep);
}
}
onClipEvent (enterFrame) {
if ((_currentframe == 2) && (_root.laser == false)) {
gotoAndStop (3);
} else {
gotoAndStop(_root.wep);
}
}
Instance of Symbol 545 MovieClip "bomb2" in Symbol 546 MovieClip Frame 1
onClipEvent (load) {
if (_currentframe > 1) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
}
Symbol 546 MovieClip Frame 15
stop();
Instance of Symbol 269 MovieClip in Symbol 546 MovieClip Frame 15
onClipEvent (load) {
gotoAndStop(_root.bomb);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.bomb);
}
Symbol 546 MovieClip Frame 30
stop();
Instance of Symbol 551 MovieClip in Symbol 554 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = ((_root.bosshp / _root.bosshpmax) * 100);
}
Symbol 554 MovieClip Frame 10
stop();
Instance of Symbol 551 MovieClip in Symbol 554 MovieClip Frame 10
onClipEvent (enterFrame) {
_alpha = 100;
_xscale = ((_root.bosshp / _root.bosshpmax) * 100);
}
Instance of Symbol 200 MovieClip "fade" in Symbol 581 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_currentframe == 30) {
_root.gotoAndStop(_root.lFra);
}
}
Instance of Symbol 554 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.boss == true) {
if (_currentframe < 10) {
play();
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 576 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
if (_root.maxhp == 100) {
gotoAndStop (10);
}
}
onClipEvent (enterFrame) {
if (_root.hp > _root.maxhp) {
_root.hp = _root.maxhp;
}
if (_root.hp == 0) {
gotoAndStop (1);
} else if ((_root.hp == 10) || ((_root.hp < 20) && (_root.hp > 9))) {
gotoAndStop (2);
} else if ((_root.hp == 20) || ((_root.hp < 30) && (_root.hp > 19))) {
gotoAndStop (3);
} else if ((_root.hp == 30) || ((_root.hp < 40) && (_root.hp > 29))) {
gotoAndStop (4);
} else if ((_root.hp == 40) || ((_root.hp < 50) && (_root.hp > 39))) {
gotoAndStop (5);
} else if ((_root.hp == 50) || ((_root.hp < 60) && (_root.hp > 49))) {
gotoAndStop (6);
} else if ((_root.hp == 60) || ((_root.hp < 70) && (_root.hp > 59))) {
gotoAndStop (7);
} else if ((_root.hp == 70) || ((_root.hp < 80) && (_root.hp > 69))) {
gotoAndStop (8);
} else if ((_root.hp == 80) || ((_root.hp < 90) && (_root.hp > 79))) {
gotoAndStop (9);
} else if ((_root.hp == 90) || ((_root.hp < 100) && (_root.hp > 89))) {
gotoAndStop (10);
} else if ((_root.hp == 100) || ((_root.hp < 110) && (_root.hp > 99))) {
gotoAndStop (11);
} else if ((_root.hp == 110) || ((_root.hp < 120) && (_root.hp > 109))) {
gotoAndStop (12);
} else if ((_root.hp == 120) || ((_root.hp < 130) && (_root.hp > 119))) {
gotoAndStop (13);
} else if ((_root.hp == 130) || ((_root.hp < 140) && (_root.hp > 129))) {
gotoAndStop (14);
} else if ((_root.hp == 140) || ((_root.hp < 150) && (_root.hp > 139))) {
gotoAndStop (15);
} else if ((_root.hp == 150) || ((_root.hp < 160) && (_root.hp > 149))) {
gotoAndStop (16);
} else if ((_root.hp == 160) || ((_root.hp < 170) && (_root.hp > 159))) {
gotoAndStop (17);
} else if ((_root.hp == 170) || ((_root.hp < 180) && (_root.hp > 169))) {
gotoAndStop (18);
} else if ((_root.hp == 180) || ((_root.hp < 190) && (_root.hp > 179))) {
gotoAndStop (19);
} else if ((_root.hp == 190) || ((_root.hp < 200) && (_root.hp > 189))) {
gotoAndStop (20);
} else if (_root.hp == 200) {
gotoAndStop (21);
}
}
Instance of Symbol 241 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = _root.sheildEn;
if (_root.sheild == true) {
if (_root.sheildEn < 1) {
_root.sheildEn = 0;
_root.sheild = false;
}
}
}
Instance of Symbol 581 MovieClip "fades" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 595 Button
on (release) {
gotoAndStop (1);
_root.pause = false;
}
Instance of Symbol 600 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (mouseDown) {
if (_root.pause == true) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_x > -1) {
if (_x < 201) {
gotoAndStop (2);
drag = true;
}
}
}
}
}
onClipEvent (mouseUp) {
drag = false;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (drag) {
_x = ((_root._xmouse - _parent._x) - _parent._parent._x);
}
if (_x < 0) {
_x = 0;
}
if (_x > 200) {
_x = 200;
}
}
onClipEvent (enterFrame) {
_root.vol = _x;
_root.music.setVolume(_x / 2);
}
onClipEvent (load) {
_x = _root.vol;
}
Instance of Symbol 600 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (mouseDown) {
if (_root.pause == true) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_x > -1) {
if (_x < 201) {
gotoAndStop (2);
drag = true;
}
}
}
}
}
onClipEvent (mouseUp) {
drag = false;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (drag) {
_x = ((_root._xmouse - _parent._x) - _parent._parent._x);
}
if (_x < 0) {
_x = 0;
}
if (_x > 200) {
_x = 200;
}
}
onClipEvent (enterFrame) {
_root.sfxvol = _x;
_root.sfx.setVolume(_x / 2);
}
onClipEvent (load) {
_x = _root.sfxvol;
}
Symbol 604 MovieClip Frame 1
stop();
Instance of Symbol 508 MovieClip in Symbol 605 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 605 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 605 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 605 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 605 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 610 MovieClip in Symbol 611 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (600 + random(300));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 610 MovieClip in Symbol 611 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (600 + random(300));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 514 MovieClip in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (1000 + random(300));
}
}
}
Instance of Symbol 514 MovieClip in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (1000 + random(300));
}
}
}
Instance of Symbol 514 MovieClip in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (800 + random(300));
}
}
}
Instance of Symbol 521 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 521 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 521 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 521 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (250 + random(400));
_y = (-50 + random(150));
this.ww.gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 617 MovieClip "r11" in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 5;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (_y > _parent.r2._y) {
this.getNextHighestDepth();
}
if (hitTest(_parent.end)) {
_x = (400 + random(500));
_y = (-50 + random(43));
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 617 MovieClip "r2" in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 5;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (_y > _parent.r1._y) {
this.getNextHighestDepth();
}
if (hitTest(_parent.end)) {
_x = (400 + random(500));
_y = (-50 + random(43));
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 617 MovieClip "r" in Symbol 619 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (_y > _parent.r2._y) {
this.getNextHighestDepth();
}
if (hitTest(_parent.end)) {
_x = (600 + random(600));
_y = (-80 + random(110));
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 617 MovieClip "r2" in Symbol 619 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (_y > _parent.r1._y) {
this.getNextHighestDepth();
}
if (hitTest(_parent.end)) {
_x = (600 + random(600));
_y = (-80 + random(110));
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 508 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 508 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 10;
gotoAndStop(random(3) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = (750 + random(200));
}
}
}
Instance of Symbol 610 MovieClip in Symbol 624 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (600 + random(300));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 610 MovieClip in Symbol 624 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (600 + random(300));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 631 MovieClip in Symbol 632 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = 1100;
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 631 MovieClip in Symbol 632 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = 1100;
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 635 MovieClip in Symbol 636 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
}
}
}
Instance of Symbol 635 MovieClip in Symbol 636 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(2) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(2) + 1);
}
}
}
Instance of Symbol 648 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
xs = _x;
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
}
}
}
Instance of Symbol 654 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 654 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 654 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 654 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 654 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 654 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 658 MovieClip in Symbol 659 MovieClip Frame 1
onClipEvent (load) {
xs = _x;
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
}
}
}
Instance of Symbol 654 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 654 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 654 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 654 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (550 + random(500));
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 648 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (load) {
xs = _x;
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
}
}
}
Instance of Symbol 667 MovieClip in Symbol 668 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 3;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = _parent.p2.xs;
}
}
}
Instance of Symbol 667 MovieClip "p2" in Symbol 668 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
spd = _root.lvlspd / 3;
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
gotoAndStop(random(3) + 1);
_x = xs;
}
}
}
Instance of Symbol 670 MovieClip in Symbol 671 MovieClip Frame 1
onClipEvent (load) {
xs = _x;
spd = _root.lvlspd / 2;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
}
}
}
Instance of Symbol 670 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) {
xs = _x;
spd = _root.lvlspd;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
}
}
}
Instance of Symbol 678 MovieClip "p1" in Symbol 679 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = _parent.p2.xs;
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 678 MovieClip "p2" in Symbol 679 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd;
gotoAndStop(random(4) + 1);
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
gotoAndStop(random(4) + 1);
}
}
}
Instance of Symbol 684 MovieClip "p1" in Symbol 685 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 2;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (_parent.p2.xs - 15);
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 684 MovieClip "p2" in Symbol 685 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd / 2;
gotoAndStop(random(2) + 1);
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 684 MovieClip "p1" in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd - 5;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (_parent.p2.xs - 15);
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 684 MovieClip "p2" in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd - 5;
gotoAndStop(random(2) + 1);
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 684 MovieClip "p1" in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd + 10;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = (_parent.p2.xs - 15);
gotoAndStop(random(3) + 1);
}
}
}
Instance of Symbol 684 MovieClip "p2" in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
spd = _root.lvlspd + 10;
gotoAndStop(random(2) + 1);
xs = _x;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - spd);
if (hitTest(_parent.end)) {
_x = xs;
gotoAndStop(random(3) + 1);
}
}
}