Combined Code
movieClip 6 {
}
movieClip 9 {
}
movieClip 17 achievement {
instance of movieClip 9 {
onClipEvent (enterFrame) {
_parent._alpha -= 5;
}
}
frame 213 {
this.removeMovieClip();
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
_root.achievement._alpha -= 5;
}
}
}
movieClip 21 {
}
movieClip 25 {
}
movieClip 26 {
}
movieClip 27 {
}
movieClip 28 {
}
movieClip 29 {
}
movieClip 32 {
}
movieClip 33 {
}
movieClip 35 {
}
movieClip 36 HeliCopterMinigun {
instance of movieClip 29 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.airstrikeboss.air2.boss)) {
_root.hit.gotoAndPlay(1);
_root.bossHP -= 1;
if (_root.bossHP <= 0) {
if (_root.airstrikeboss.air2.boss._currentframe < 65) {
_root.airstrikeboss.air2.boss.gotoAndPlay('death');
}
}
++_root.buffer;
if (random(4) == 2) {
var Blood = _root.airstrikeboss.air2.attachMovie('Blood', 'bullet' + c, _root.buffer, {'_x': _root.airstrikeboss.air2.boss._x - 0 + random(120), '_y': _root.airstrikeboss.air2.boss._y - 225 + random(200)});
Blood._xscale = random(100);
Blood._yscale = random(100);
Blood._rotation = -20 + random(40);
Blood._alpha = random(100);
}
}
}
}
instance htiBox of movieClip 33 {
onClipEvent (load) {
i = 1;
while (i < 1000) {
if (this.hitTest(_root.airstrike.air2.bg['targ' + i])) {
_root.airstrike.air2.bg['targ' + i].gotoAndStop('dead');
if (_root.airstrike.air2.bg['targ' + i]._currentframe < 36) {
_root.airstrike.air2.bg['targ' + i]._rotation += -40 + random(80);
}
}
++i;
}
if (this.hitTest(_root.airstrike.air2.bg.chopper.hitBox)) {
_root.damage(1 * _root.difficulty);
rand = random(100);
if (rand == 1) {
_root.sounds.gotoAndPlay('Friendly_Fire3');
}
if (rand == 2) {
_root.sounds.gotoAndPlay('Friendly_Fire2');
}
}
}
}
frame 14 {
this.removeMovieClip();
}
}
movieClip 39 {
}
movieClip 40 AC130HitMinigun {
instance of movieClip 39 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.airstrikeboss.air2.boss)) {
_root.hit.gotoAndPlay(1);
_root.bossHP -= 1;
if (_root.bossHP <= 0) {
if (_root.airstrikeboss.air2.boss._currentframe < 65) {
_root.airstrikeboss.air2.boss.gotoAndPlay('death');
}
}
++_root.buffer;
if (random(4) == 2) {
var Blood = _root.airstrikeboss.air2.attachMovie('Blood', 'bullet' + c, _root.buffer, {'_x': _root.airstrikeboss.air2.boss._x - 0 + random(120), '_y': _root.airstrikeboss.air2.boss._y - 225 + random(200)});
Blood._xscale = random(100);
Blood._yscale = random(100);
Blood._rotation = -20 + random(40);
Blood._alpha = random(100);
}
}
}
}
instance htiBox of movieClip 33 {
onClipEvent (load) {
if (this.hitTest(_root.airstrike.air2.bg.game.player)) {
_root.health -= 7;
}
i = 1;
while (i < 1000) {
if (_root.airstrike.air2.bg['targ' + i].isSniper != true) {
if (this.hitTest(_root.airstrike.air2.bg['targ' + i])) {
_root.airstrike.air2.bg['targ' + i].gotoAndStop('dead');
if (_root.airstrike.air2.bg['targ' + i]._currentframe < 36) {
_root.airstrike.air2.bg['targ' + i]._rotation += -40 + random(80);
}
}
} else {
if (this.hitTest(_root.airstrike.air2.bg['targ' + i].hitBox)) {
_root.airstrike.air2.bg['targ' + i].gotoAndStop('dead');
if (_root.airstrike.air2.bg['targ' + i]._currentframe < 36) {
_root.airstrike.air2.bg['targ' + i]._rotation += -40 + random(80);
}
}
}
++i;
}
}
}
frame 33 {
this.removeMovieClip();
}
}
movieClip 42 {
}
movieClip 43 {
}
movieClip 47 {
}
movieClip 49 {
}
movieClip 50 {
}
movieClip 52 {
}
movieClip 54 {
}
movieClip 56 {
}
movieClip 60 {
}
movieClip 62 AC130Hit105mm {
frame 1 {
_root.mmm = false;
}
instance of movieClip 26 {
}
instance of movieClip 26 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.airstrike.air2.bg.game.chopper.hitBox)) {
_root.airstrike.air2.bg.game.chopper.gotoAndPlay(2);
_parent.removeMovieClip();
}
}
}
instance htiBox of movieClip 33 {
onClipEvent (load) {
if (this.hitTest(_root.airstrike.air2.bg.game.player)) {
_root.health -= 140;
}
i = 1;
while (i < 1000) {
if (_root.airstrike.air2.bg['targ' + i].isSniper != true) {
if (this.hitTest(_root.airstrike.air2.bg['targ' + i])) {
xDiff = _root.airstrike.air2.bg['targ' + i]._x - this._x;
yDiff = _root.airstrike.air2.bg['targ' + i]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg['targ' + i]._x - this.center._x);
ydist = Math.round(_root.airstrike.air2.bg['targ' + i]._y - this.center._y);
distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist));
force = (1 / distancefromthis) * 2000 + 2;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg['targ' + i].gotoAndStop('dead');
_root.airstrike.air2.bg['targ' + i].xMov = xMov;
_root.airstrike.air2.bg['targ' + i].yMov = yMov;
_root.airstrike.air2.bg['targ' + i].force = force;
}
} else {
if (this.hitTest(_root.airstrike.air2.bg['targ' + i.hitBox])) {
xDiff = _root.airstrike.air2.bg['targ' + i]._x - this._x;
yDiff = _root.airstrike.air2.bg['targ' + i]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg['targ' + i]._x - this.center._x);
ydist = Math.round(_root.airstrike.air2.bg['targ' + i]._y - this.center._y);
distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist));
force = (1 / distancefromthis) * 2000 + 2;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg['targ' + i].gotoAndStop('dead');
_root.airstrike.air2.bg['targ' + i].xMov = xMov;
_root.airstrike.air2.bg['targ' + i].yMov = yMov;
_root.airstrike.air2.bg['targ' + i].force = force;
}
}
++i;
}
}
}
frame 181 {
_root.sounds.gotoAndPlay('Cannon_Ready');
}
frame 221 {
this.removeMovieClip();
}
}
movieClip 69 AC130Hit {
instance of movieClip 26 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.airstrike.air2.bg.game.chopper.hitBox)) {
_root.airstrike.air2.bg.game.chopper.gotoAndPlay(2);
_parent.removeMovieClip();
}
}
}
instance hitBox of movieClip 33 {
onClipEvent (load) {
if (this.hitTest(_root.airstrike.air2.bg.game.player)) {
_root.health -= 70;
}
f = 1;
while (f < 1000) {
if (_root.airstrike.air2.bg['targ' + f].isSniper != true) {
if (this.hitTest(_root.airstrike.air2.bg['targ' + f])) {
xDiff = _root.airstrike.air2.bg['targ' + f]._x - this._x;
yDiff = _root.airstrike.air2.bg['targ' + f]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg['targ' + f]._x - this._x);
ydist = Math.round(_root.airstrike.air2.bg['targ' + f]._y - this._y);
distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist));
force = (1 / distancefromthis) * 900;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg['targ' + f].gotoAndStop('dead');
_root.airstrike.air2.bg['targ' + f].xMov = xMov;
_root.airstrike.air2.bg['targ' + f].yMov = yMov;
_root.airstrike.air2.bg['targ' + f].force = force;
}
} else {
if (this.hitTest(_root.airstrike.air2.bg['targ' + f].hitBox)) {
xDiff = _root.airstrike.air2.bg['targ' + f]._x - this._x;
yDiff = _root.airstrike.air2.bg['targ' + f]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg['targ' + f]._x - this._x);
ydist = Math.round(_root.airstrike.air2.bg['targ' + f]._y - this._y);
distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist));
force = (1 / distancefromthis) * 900;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg['targ' + f].gotoAndStop('dead');
_root.airstrike.air2.bg['targ' + f].xMov = xMov;
_root.airstrike.air2.bg['targ' + f].yMov = yMov;
_root.airstrike.air2.bg['targ' + f].force = force;
}
}
++f;
}
}
}
frame 140 {
this.removeMovieClip();
}
}
movieClip 71 {
}
movieClip 73 {
}
movieClip 107 {
}
movieClip 108 {
frame 31 {
stop();
}
}
movieClip 109 TruckUnit {
frame 1 {
stop();
if (random(3) == 1) {
_root.sounds.gotoAndPlay('tru1');
} else {
_root.sounds.gotoAndPlay('tru2');
}
}
instance of movieClip 71 {
onClipEvent (load) {
z = 0;
total = 0;
}
onClipEvent (enterFrame) {
++z;
if (z > 32) {
if (total < 8) {
z = 0;
++total;
_root.spawnFromTruck(_parent);
}
}
}
}
frame 3 {
_root.tote -= 1;
if (_root.tote <= 0) {
_root.airstrike.air2.bg.game.play();
}
_root.sounds.gotoAndPlay('truckDown');
if (_root.sandbox == false) {
_root.scorepts(400);
}
}
instance counter of movieClip 108 {
onClipEvent (load) {
f = 0;
}
onClipEvent (enterFrame) {
++f;
if (f > 530) {
_parent.removeMovieClip();
removeMovieClip(_parent);
}
}
}
}
movieClip 111 {
}
movieClip 125 {
frame 156 {
_root.health -= 20;
}
}
movieClip 135 {
frame 1 {
stop();
}
}
movieClip 136 {
frame 9 {
stop();
}
instance of movieClip 135 {
onClipEvent (load) {
this.gotoAndStop(random(4));
}
}
}
movieClip 137 SniperUnit {
frame 2 {
_root.tote -= 1;
if (_root.tote == 0) {
_root.airstrike.air2.bg.game.play();
}
stop();
if (_root.sandbox == false) {
_root.scorepts(100);
}
rand = random(30);
if (rand == 5) {
_root.sounds.gotoAndPlay('gs');
}
if (rand == 6) {
_root.sounds.gotoAndPlay('gs2');
}
if (rand == 7) {
_root.sounds.gotoAndPlay('gs3');
}
}
instance of movieClip 136 {
onClipEvent (load) {
z = 0;
}
onClipEvent (enterFrame) {
++z;
_parent.alpha -= 0.1;
if (z > 620) {
_parent.removeMovieClip();
}
this._x += dirX;
this._y += dirY;
}
}
}
movieClip 140 {
}
movieClip 142 {
}
movieClip 144 {
}
movieClip 146 {
}
movieClip 149 {
}
movieClip 162 {
}
movieClip 164 {
}
movieClip 165 {
frame 191 {
_root.rpg();
}
frame 219 {
_parent.removeMovieClip();
}
}
movieClip 167 {
}
movieClip 168 RPGUnit {
frame 1 {
_root.rpgWarning.gotoAndStop(2);
if (_root.speech._currentframe != 21) {
_root.speech.gotoAndStop(16);
}
}
frame 2 {
_root.rpgWarning.gotoAndStop(1);
}
frame 2 {
_root.tote -= 1;
if (_root.tote == 0) {
_root.airstrike.air2.bg.game.play();
}
stop();
if (_root.sandbox == false) {
_root.scorepts(100);
}
rand = random(30);
if (rand == 5) {
_root.sounds.gotoAndPlay('gs');
}
if (rand == 6) {
_root.sounds.gotoAndPlay('gs2');
}
if (rand == 7) {
_root.sounds.gotoAndPlay('gs3');
}
}
instance of movieClip 136 {
onClipEvent (load) {
z = 0;
}
onClipEvent (enterFrame) {
++z;
_parent.alpha -= 0.1;
if (z > 620) {
_parent.removeMovieClip();
}
this._x += dirX;
this._y += dirY;
}
}
}
movieClip 170 {
}
movieClip 172 {
}
movieClip 174 {
}
movieClip 182 {
frame 1 {
_root.health -= 1;
}
}
movieClip 183 FootUnit2 {
frame 34 {
gotoAndPlay(1);
}
frame 36 {
_root.multikill += 1;
if (_root.multikill >= 7) {
_root.achievement(1);
}
if (_root.multikill >= 12) {
_root.achievement(2);
}
if (_root.multikill >= 16) {
_root.achievement(3);
}
if (_root.multikill >= 20) {
_root.achievement(4);
}
stop();
if (_root.sandbox == false) {
_root.scorepts(100);
}
rand = random(30);
if (rand == 5) {
_root.sounds.gotoAndPlay('gs');
}
if (rand == 6) {
_root.sounds.gotoAndPlay('gs2');
}
if (rand == 7) {
_root.sounds.gotoAndPlay('gs3');
}
}
instance of movieClip 136 {
onClipEvent (load) {
z = 0;
}
onClipEvent (enterFrame) {
++z;
_parent.alpha -= 0.1;
if (z > 620) {
_parent.removeMovieClip();
}
this._x += dirX;
this._y += dirY;
}
}
}
movieClip 186 {
}
movieClip 187 100pts {
frame 15 {
this.removeMovieClip();
}
}
movieClip 190 ChopperC {
}
movieClip 192 {
}
movieClip 194 spark {
frame 8 {
this.removeMovieClip();
}
}
movieClip 196 FootUnit {
frame 34 {
gotoAndPlay(1);
}
frame 36 {
_root.tote -= 1;
_root.multikill += 1;
if (_root.tote == 0) {
_root.airstrike.air2.bg.game.play();
}
if (_root.multikill >= 7) {
_root.achievement(1);
}
if (_root.multikill >= 12) {
_root.achievement(2);
}
if (_root.multikill >= 16) {
_root.achievement(3);
}
if (_root.multikill >= 20) {
_root.achievement(4);
}
stop();
if (_root.sandbox == false) {
_root.scorepts(100);
}
rand = random(30);
if (rand == 5) {
_root.sounds.gotoAndPlay('gs');
}
if (rand == 6) {
_root.sounds.gotoAndPlay('gs2');
}
if (rand == 7) {
_root.sounds.gotoAndPlay('gs3');
}
}
instance of movieClip 136 {
onClipEvent (load) {
z = 0;
}
onClipEvent (enterFrame) {
++z;
_parent.alpha -= 0.1;
if (z > 620) {
_parent.removeMovieClip();
}
this._x += dirX;
this._y += dirY;
}
}
}
button 202 {
on (release) {
com.newgrounds.API.loadNewgrounds();
}
}
movieClip 215 {
}
button 221 {
on (release) {
nextFrame();
}
}
button 222 {
on (release) {
prevFrame();
}
}
button 226 {
on (release) {
selectPeriod('Today');
}
}
button 229 {
on (release) {
selectPeriod('This Week');
}
}
button 232 {
on (release) {
selectPeriod('This Month');
}
}
button 235 {
on (release) {
selectPeriod('This Year');
}
}
button 238 {
on (release) {
selectPeriod('All-Time');
}
}
movieClip 239 {
frame 1 {
function selectPeriod(p) {
_parent.loadScores(10, p);
period = p;
gotoAndStop(1);
}
stop();
}
}
movieClip 240 Score Board (NewgroundsAPI) {
#initclip
Object.registerClass('Score Board (NewgroundsAPI)', com.newgrounds.components.ScoreTable);
#endinitclip
frame 1 {
loadScores(10);
}
}
movieClip 268 {
frame 1 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2892 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -160 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 121;
continue;
if ( == 713) {
for (;;) {
+= 93;
if ( == 540) {
+= 246;
}
if ( != 922) break;
-= 382;
if ( == 983) {
-= 147;
}
+= 208;
+= 89;
-= 786;
+= 713;
+= 421;
+= 632;
+= 170;
-= 505;
-= 131;
+= 308;
var = 1;
-= 763;
-= 219;
-= 263;
+= 510;
+= 775;
-= 327;
+= 46;
-= 421;
+= 250;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 177;
true;
}
}
movieClip 270 {
frame 10 {
stop();
}
}
movieClip 272 {
frame 37 {
_parent.setGotoFrame('done');
stop();
}
}
movieClip 274 {
}
movieClip 276 NewgroundsAPIAsset_Medal_Icon_Placeholder {
}
movieClip 283 NewgroundsAPIAsset_Medal_Popup {
frame 1 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (737 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 9 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 132;
continue;
if ( == 894) {
for (;;) {
-= 891;
var eval( != 235) = true;
if ( == 434) {
+= 345;
// An attempt to read a value from empty stack
if (!undefined) {
goto 286;
}
+= 29;
label 286:
}
+= 166;
+= 77;
+= 206;
-= 422;
-= 355;
-= 135;
-= 235;
-= 105;
-= 669;
+= 29;
-= 171;
-= 128;
+= 953;
-= 490;
+= 556;
-= 54;
-= 408;
+= 401;
+= 185;
+= 252;
+= 541;
+= 568;
-= 293;
-= 318;
-= 688;
-= 425;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 235;
true;
}
frame 2 {
medal.attachIcon(icon);
}
frame 10 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2142 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 78 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( != 176) break;
+= 609;
if ( == 293) {
for (;;) {
+= 436;
if ( == 306) {
+= 231;
}
if ( != 832) break;
+= 5;
if ( == 890) {
+= 93;
}
+= 176;
+= 286;
-= 784;
+= 356;
+= 909;
-= 455;
+= 716;
-= 447;
+= 515;
+= 342;
+= 890;
-= 600;
-= 210;
var eval(1) = true;
-= 347;
-= 25;
-= 224;
-= 252;
-= 791;
-= 170;
-= 121;
-= 150;
-= 549;
-= 124;
-= 859;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
true;
}
frame 21 {
this.removeMovieClip();
_visible = false;
stop();
}
}
movieClip 289 NewgroundsAPIAsset_Login_Warning {
frame 1 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2309 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 253 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 105;
continue;
if ( == 39) {
for (;;) {
+= 855;
if ( == 413) {
+= 520;
if (!'') {
goto 291;
}
-= 739;
label 291:
}
+= 184;
-= 889;
-= 443;
var = != 194;
-= 669;
-= 472;
+= 117;
+= 423;
+= 503;
-= 308;
+= 574;
-= 739;
+= 231;
-= 419;
+= 63;
-= 24;
+= 346;
-= 46;
+= 151;
+= 275;
-= 2;
-= 338;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 518;
true;
}
frame 10 {
stop();
}
frame 21 {
this.removeMovieClip();
_visible = false;
stop();
}
}
movieClip 292 NewgroundsAPIAsset_Connection_Error {
frame 1 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1793 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 705 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 568;
continue;
if ( == 764) {
for (;;) {
+= 3;
if ( == 920) {
-= 156;
}
if ( == 28) {
+= 917;
}
if ( != 698) break;
-= 334;
+= 421;
-= 509;
+= 266;
+= 482;
+= 39;
+= 216;
-= 595;
var eval(!true) = eval( != 277);
-= 616;
-= 339;
+= 62;
-= 73;
-= 724;
+= 346;
-= 468;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 965;
true;
}
frame 10 {
stop();
}
frame 21 {
this.removeMovieClip();
_visible = false;
stop();
}
}
movieClip 294 {
}
movieClip 296 {
}
movieClip 298 {
}
movieClip 300 {
}
movieClip 302 {
}
movieClip 304 {
}
movieClip 306 {
}
movieClip 308 {
}
movieClip 310 {
}
movieClip 312 {
}
movieClip 313 NewgroundsAPIAsset_big_popup_background {
frame 1 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (827 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 669 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 86;
continue;
if ( == 4) {
for (;;) {
+= 812;
if ( == 545) {
+= 156;
if (!true) {
goto 303;
}
-= 450;
label 303:
}
-= 229;
-= 400;
-= 450;
+= 77;
-= 377;
+= 565;
-= 221;
-= 116;
-= 534;
+= 234;
-= 553;
+= 145;
-= 96;
+= 96;
+= 666;
+= 162;
+= 199;
+= 165;
-= 47;
-= 105;
+= 166;
var = 1;
-= 111;
-= 30;
+= 364;
-= 18;
-= 779;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 985;
true;
}
}
button 317 {
on (release) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2726 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 118 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( == 289) {
+= 703;
true;
}
if ( == 628) {
for (;;) {
-= 63;
// An attempt to read a value from empty stack
if (undefined) break;
continue;
+= 53;
if ( != 859) break;
+= 37;
// An attempt to read a value from empty stack
-= 852;
-= 553;
-= 15;
+= 840;
+= 107;
-= 319;
-= 280;
-= 74;
+= 115;
+= 315;
+= 448;
+= 215;
-= 481;
-= 40;
-= 136;
+= 357;
+= 53;
-= 355;
var eval(true) = true;
-= 221;
-= 732;
+= 183;
-= 21;
-= 243;
+= 530;
+= 682;
-= 833;
}
!undefined;
eval( != 896);
true;
'';
'';
1;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 323 {
on (release) {
getURL(official_version_url, '_blank');
}
}
movieClip 325 NewgroundsAsset_New_Version_Available {
frame 1 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (980 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -291 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( == 178) {
+= 237;
true;
}
if ( == 100) {
for (;;) {
+= 80;
// An attempt to read a value from empty stack
if (undefined) break;
continue;
+= 713;
if ( != 893) break;
-= 86;
-= 744;
-= 541;
+= 96;
+= 723;
-= 947;
// An attempt to read a value from empty stack
var eval(undefined) = eval( == 844);
+= 553;
+= 317;
+= 419;
+= 713;
+= 16;
-= 541;
+= 471;
-= 807;
+= 75;
-= 332;
-= 116;
}
'';
1;
true;
'';
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 326 {
on (release) {
getURL(official_version_url, '_blank');
}
}
movieClip 330 NewgroundsAsset_Illegal_Host {
frame 1 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2307 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -142 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 383;
continue;
if ( == 505) {
for (;;) {
+= 45;
if ( == 418) {
+= 276;
}
if ( == 661) {
-= 104;
var eval( != 121) = true ::: !true;
}
if ( != 134) break;
+= 305;
+= 176;
+= 243;
+= 6;
-= 560;
+= 388;
+= 359;
+= 409;
-= 527;
+= 561;
-= 903;
-= 615;
-= 315;
+= 89;
-= 203;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 121;
true;
}
}
movieClip 331 API Connector (NewgroundsAPI) {
#initclip
Object.registerClass('API Connector (NewgroundsAPI)', com.newgrounds.components.APIConnector);
#endinitclip
frame 20 {
_visible = false;
}
}
frame 1 {
if (_url.substring(0, 4) != 'file') {
x = new LoadVars();
x.id = 'cloud2ground';
x.ui = _url;
x.sendAndLoad('http://track.g-bot.net/track.php', x, 'POST');
}
}
movieClip 337 {
}
instance of movieClip 337 {
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() / _root.getBytesTotal() > 0.25) {
_root.play();
}
}
}
movieClip 340 {
}
movieClip 342 {
}
movieClip 343 {
}
movieClip 344 {
}
button 346 {
on (release) {
getURL('http://www.gamepirate.com', '');
}
}
movieClip 197 __Packages.com.newgrounds.components.ScoreTable {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1203 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 616 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 581;
continue;
if ( == 27) {
for (;;) {
+= 683;
if ( == 450) {
-= 423;
}
if ( == 357) {
+= 245;
}
if ( != 869) break;
-= 419;
var eval( != 797) = eval(true);
-= 347;
-= 147;
+= 267;
-= 53;
+= 439;
+= 178;
-= 183;
+= 355;
-= 566;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 797;
true;
#endinitclip
}
movieClip 241 __Packages.com.newgrounds.APIError {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (678 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 334 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 48;
continue;
if ( == 215) {
for (;;) {
+= 492;
if ( == 895) {
-= 713;
}
-= 296;
if ( == 549) {
break;
}
+= 405;
+= 614;
-= 866;
+= 525;
+= 405;
-= 100;
-= 521;
-= 607;
+= 329;
+= 556;
-= 109;
+= 562;
-= 716;
+= 939;
+= 443;
+= 98;
-= 182;
-= 136;
+= 153;
var eval(eval(true)) = '';
-= 654;
-= 976;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 501;
true;
#endinitclip
}
movieClip 242 __Packages.com.newgrounds.APIEvent {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1375 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 491 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( != 844) break;
-= 510;
if ( == 74) {
for (;;) {
+= 788;
if ( != 123) break;
+= 790;
if (!true) {
} else {
-= 824;
}
-= 302;
-= 28;
+= 369;
+= 599;
-= 112;
-= 824;
-= 155;
-= 596;
+= 34;
-= 185;
-= 49;
+= 313;
-= 105;
-= 658;
-= 134;
-= 99;
+= 280;
var eval(eval(!true)) = true;
-= 230;
+= 43;
-= 625;
-= 688;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
true;
#endinitclip
}
movieClip 243 __Packages.com.newgrounds.API {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1221 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -124 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( != 75) break;
-= 2;
if ( == 34) {
for (;;) {
+= 873;
if ( == 644) {
-= 166;
}
if ( != 774) break;
-= 198;
if ( == 291) {
-= 23;
}
-= 2;
+= 506;
-= 165;
-= 39;
-= 518;
-= 616;
+= 404;
+= 30;
-= 168;
-= 233;
+= 6;
-= 571;
-= 371;
-= 24;
+= 400;
-= 310;
var eval(!eval( != 478)) = true;
+= 137;
-= 108;
-= 171;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
true;
#endinitclip
}
movieClip 244 __Packages.com.newgrounds.Bridge {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1997 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -85 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 70;
continue;
if ( == 745) {
for (;;) {
+= 224;
if ( == 565) {
-= 487;
}
if ( != 127) break;
+= 618;
if ( == 969) {
-= 490;
var = 1;
}
-= 518;
-= 35;
-= 154;
+= 366;
+= 383;
+= 300;
-= 287;
-= 102;
+= 627;
+= 192;
+= 35;
-= 220;
-= 100;
-= 78;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 379;
true;
#endinitclip
}
movieClip 245 __Packages.com.newgrounds.SaveFile {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1727 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -55 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 289;
continue;
if ( == 270) {
for (;;) {
+= 502;
if ( == 326) {
+= 446;
}
if ( != 951) break;
-= 253;
if ( == 772) {
-= 546;
}
-= 85;
+= 39;
+= 170;
+= 307;
+= 725;
-= 268;
-= 476;
+= 392;
-= 457;
+= 99;
+= 384;
+= 491;
+= 155;
-= 669;
-= 191;
-= 135;
-= 188;
-= 550;
+= 561;
+= 83;
+= 781;
-= 44;
var eval(true) = true;
+= 453;
-= 581;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 139;
true;
#endinitclip
}
movieClip 246 __Packages.com.newgrounds.SaveGroup {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1082 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -27 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( == 33) {
+= 408;
true;
}
if ( == 462) {
for (;;) {
-= 333;
// An attempt to read a value from empty stack
if (undefined) break;
continue;
+= 36;
if ( == 165) {
+= 281;
}
-= 224;
+= 36;
+= 148;
-= 150;
+= 281;
+= 299;
-= 293;
-= 282;
-= 262;
+= 690;
+= 266;
+= 205;
-= 883;
+= 5;
+= 192;
-= 741;
-= 301;
+= 473;
-= 823;
var = true;
-= 327;
+= 240;
+= 492;
-= 250;
+= 878;
-= 18;
-= 125;
}
!= 869;
true;
true;
'';
eval(!1);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
#endinitclip
}
movieClip 247 __Packages.com.newgrounds.ValidationTools {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (872 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 209 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( != 570) break;
+= 407;
if ( == 588) {
for (;;) {
+= 333;
if ( == 945) {
-= 518;
}
if ( != 643) break;
+= 302;
+= 2;
if ( != 977) goto 372;
label 372:
-= 336;
+= 455;
+= 175;
-= 336;
+= 420;
-= 921;
-= 22;
-= 800;
+= 326;
+= 298;
-= 362;
-= 244;
+= 221;
var = !1;
-= 220;
+= 347;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
true;
#endinitclip
}
movieClip 248 __Packages.com.newgrounds.SaveGroupQuery {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1695 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 421 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 204;
continue;
if ( == 661) {
for (;;) {
-= 34;
if ( == 868) {
-= 762;
}
+= 171;
if ( == 787) {
} else {
-= 90;
}
-= 90;
-= 70;
-= 309;
+= 788;
+= 231;
+= 121;
+= 346;
-= 252;
-= 512;
+= 490;
+= 17;
-= 345;
var eval(eval(true)) = '';
-= 552;
+= 53;
-= 370;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 583;
true;
#endinitclip
}
movieClip 249 __Packages.com.newgrounds.encoders.BaseN {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (263 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 299 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 403;
continue;
if ( == 245) {
for (;;) {
+= 52;
if ( == 200) {
+= 325;
}
if ( != 46) break;
+= 833;
if ( == 29) {
+= 527;
}
+= 269;
var eval(1 ::: eval(1)) = != 297;
-= 765;
+= 470;
+= 332;
+= 41;
+= 149;
-= 537;
-= 676;
+= 577;
+= 112;
-= 273;
-= 581;
-= 634;
-= 497;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 562;
true;
#endinitclip
}
movieClip 250 __Packages.com.newgrounds.encoders.ImageScanner {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2740 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 685 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 455;
continue;
if ( == 269) {
for (;;) {
+= 296;
if ( != 415) break;
-= 41;
if (!true) {
goto 1324;
}
-= 61;
label 1324:
-= 568;
-= 61;
+= 883;
var eval( != 870) = != 837;
+= 688;
// An attempt to read a value from empty stack
-= 151;
-= 114;
+= 143;
-= 732;
+= 82;
-= 50;
-= 647;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 870;
true;
#endinitclip
}
movieClip 251 __Packages.com.newgrounds.encoders.SerialXML {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2879 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -58 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 423;
continue;
if ( == 650) {
for (;;) {
-= 578;
if ( == 694) {
-= 583;
if (!true) {
goto 285;
}
+= 400;
label 285:
}
+= 259;
+= 10;
+= 400;
+= 729;
-= 272;
+= 664;
-= 434;
+= 39;
-= 390;
-= 88;
-= 115;
+= 419;
+= 145;
-= 169;
var eval(1) = !true;
-= 61;
+= 265;
-= 20;
-= 54;
+= 85;
+= 29;
-= 229;
+= 164;
+= 242;
+= 91;
-= 262;
-= 914;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 266;
true;
#endinitclip
}
movieClip 252 __Packages.com.newgrounds.encoders.LZW2 {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1433 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -183 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 628;
continue;
if ( == 546) {
for (;;) {
-= 425;
if ( == 301) {
-= 203;
}
if ( == 209) {
-= 88;
}
-= 233;
if ( == 856) {
}
-= 322;
+= 297;
-= 322;
+= 11;
-= 542;
-= 744;
-= 108;
+= 412;
-= 786;
+= 443;
-= 491;
+= 460;
-= 389;
+= 581;
-= 448;
var = 1;
+= 298;
-= 15;
+= 323;
+= 481;
-= 724;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 228;
true;
#endinitclip
}
movieClip 253 __Packages.com.newgrounds.encoders.LZW {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (423 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 264 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 521;
continue;
if ( == 239) {
for (;;) {
-= 183;
if ( != 166) break;
-= 96;
if (!true) {
goto 498;
}
+= 343;
label 498:
-= 30;
+= 239;
-= 52;
+= 165;
-= 601;
-= 666;
+= 343;
-= 139;
var eval(true) = '';
-= 589;
+= 775;
+= 21;
+= 23;
-= 385;
+= 201;
+= 712;
-= 832;
+= 2;
+= 42;
-= 578;
-= 221;
+= 463;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 687;
true;
#endinitclip
}
movieClip 254 __Packages.com.newgrounds.Medal {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1006 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 27 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 73;
continue;
if ( == 157) {
for (;;) {
+= 134;
if ( != 438) break;
-= 431;
if (!true) {
goto 298;
}
+= 261;
label 298:
-= 475;
-= 141;
-= 165;
+= 159;
+= 145;
-= 325;
-= 291;
var eval(true) = '';
+= 488;
+= 152;
+= 261;
-= 379;
-= 775;
+= 952;
+= 23;
-= 285;
-= 295;
-= 377;
-= 312;
+= 686;
+= 237;
+= 495;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 522;
true;
#endinitclip
}
movieClip 255 __Packages.com.newgrounds.ScoreBoard {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1967 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -285 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 13;
continue;
if ( == 389) {
for (;;) {
-= 92;
if ( == 470) {
-= 190;
}
if ( == 868) {
-= 291;
}
if ( != 871) break;
-= 482;
+= 73;
-= 318;
+= 610;
+= 45;
-= 228;
-= 133;
-= 487;
-= 318;
-= 80;
-= 134;
+= 367;
+= 135;
+= 554;
var eval(true) = !true;
+= 474;
+= 137;
-= 75;
-= 538;
-= 510;
-= 26;
+= 834;
+= 189;
-= 688;
+= 615;
-= 622;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 149;
true;
#endinitclip
}
movieClip 256 __Packages.com.newgrounds.encoders.RC4 {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (38 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 295 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( == 333) {
+= 438;
true;
}
if ( == 783) {
for (;;) {
-= 417;
// An attempt to read a value from empty stack
if (undefined) break;
continue;
+= 254;
if ( == 61) {
+= 722;
// An attempt to read a value from empty stack
!undefined;
}
+= 847;
+= 97;
+= 39;
+= 22;
+= 428;
var eval( != 144) = '';
+= 303;
+= 807;
-= 62;
-= 542;
-= 291;
-= 806;
-= 541;
+= 254;
-= 361;
-= 404;
+= 282;
+= 327;
-= 28;
+= 441;
+= 764;
+= 207;
-= 746;
-= 478;
-= 142;
-= 351;
-= 326;
}
eval(true);
true;
true;
'';
1;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
#endinitclip
}
movieClip 257 __Packages.com.newgrounds.encoders.JSON {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (1418 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 14 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 391;
continue;
if ( == 448) {
for (;;) {
+= 143;
if ( == 539) {
-= 505;
}
if ( == 315) {
+= 112;
}
+= 627;
if ( == 19) {
}
-= 198;
+= 233;
-= 198;
-= 587;
-= 212;
-= 179;
-= 195;
-= 765;
-= 340;
-= 40;
var eval(true) = '';
+= 447;
-= 157;
-= 25;
+= 575;
+= 272;
+= 112;
+= 138;
+= 11;
+= 400;
-= 434;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 410;
true;
#endinitclip
}
movieClip 258 __Packages.com.newgrounds.APIEventDispatcher {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (595 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 240 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 240;
continue;
if ( == 635) {
for (;;) {
+= 101;
if ( == 513) {
+= 17;
}
if ( != 245) break;
+= 436;
if ( == 303) {
+= 433;
}
+= 89;
-= 505;
-= 62;
-= 158;
-= 288;
-= 530;
-= 515;
-= 668;
+= 630;
var = eval(1);
+= 168;
+= 125;
+= 295;
+= 7;
-= 31;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 324;
true;
#endinitclip
}
movieClip 259 __Packages.com.newgrounds.encoders.MD5 {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2764 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 750 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
while ( == 959) {
-= 281;
continue;
if ( == 419) {
for (;;) {
-= 77;
if ( == 816) {
-= 462;
}
-= 340;
if ( == 678) {
break;
}
-= 261;
-= 261;
+= 234;
+= 177;
+= 132;
-= 632;
-= 918;
-= 48;
+= 340;
+= 574;
+= 74;
+= 175;
var eval(1) = true;
+= 713;
+= 481;
+= 341;
-= 709;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
true;
#endinitclip
}
movieClip 260 __Packages.com.newgrounds.Score {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (145 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 543 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
-= 276;
continue;
if ( == 967) {
for (;;) {
-= 668;
if ( == 704) {
+= 197;
}
if ( == 236) {
+= 63;
}
if ( != 846) break;
+= 104;
+= 303;
+= 278;
+= 425;
-= 569;
+= 564;
-= 231;
+= 337;
-= 664;
-= 590;
-= 671;
-= 570;
var eval(true ::: !true) = != 412;
-= 72;
+= 388;
-= 45;
+= 196;
-= 376;
+= 391;
-= 845;
+= 9;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 688;
true;
#endinitclip
}
movieClip 261 __Packages.com.newgrounds.components.APIConnector {
#initclip
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
Unknown action: 0xfc
function () {
= (2421 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -320 + ();
// An attempt to read a value from empty stack
while (!undefined) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
+= 233;
continue;
if ( == 608) {
for (;;) {
-= 3;
if ( == 269) {
+= 360;
}
-= 110;
if ( == 290) {
} else {
+= 810;
}
-= 470;
+= 197;
+= 218;
+= 141;
-= 340;
+= 810;
-= 14;
var = !true;
+= 40;
-= 374;
-= 617;
-= 352;
-= 158;
+= 247;
-= 2;
-= 68;
+= 468;
+= 478;
-= 117;
+= 115;
+= 317;
+= 110;
+= 69;
+= 291;
-= 50;
-= 507;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
!= 57;
true;
#endinitclip
}
frame 2 {
function deadClick() {}
function gotoMenu() {
stopAllSounds();
_root.gotoAndStop('mm');
}
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem('© 2010 Scott Productions', deadClick);
var mySiteLink = new ContextMenuItem('Cloud to Ground Lightning II - Main Menu', gotoMenu);
myMenu.customItems.push(mySiteLink, copyrightNotice);
_root.menu = myMenu;
so = SharedObject.getLocal('c2gl');
af1 = so.data.af1;
af2 = so.data.af2;
af3 = so.data.af3;
af4 = so.data.af4;
af5 = so.data.af5;
af6 = so.data.af6;
af7 = so.data.af7;
af8 = so.data.af8;
af9 = so.data.af9;
beatGame = so.data.beatGame;
if (af1 == undefined) {
af1 = false;
af2 = false;
af3 = false;
af4 = false;
af5 = false;
af6 = false;
af7 = false;
af8 = false;
af9 = false;
beatGame = false;
}
}
movieClip 351 {
}
movieClip 352 {
}
movieClip 353 {
}
movieClip 356 {
}
movieClip 360 {
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this._xscale > 0) {
this._yscale -= 0.01;
this._xscale -= 0.01;
} else {
this._visible = false;
}
}
}
movieClip 361 {
}
movieClip 364 {
}
instance of movieClip 364 {
onClipEvent (enterFrame) {
this.pertext.text = Math.floor(_root.percent) + '%';
}
}
movieClip 366 {
}
movieClip 367 {
instance of movieClip 366 {
onClipEvent (enterFrame) {
_root.percent = 100 * (_root.getBytesLoaded() / _root.getBytesTotal());
this._xscale = _root.percent;
if (_root.percent >= 100) {
_root.play();
}
}
}
}
frame 3 {
stop();
}
movieClip 375 {
frame 95 {
_root.play();
}
}
frame 4 {
Mouse.show();
}
frame 4 {
inCheat = '';
timeGame = false;
}
frame 4 {
stop();
}
movieClip 378 {
}
movieClip 379 {
}
movieClip 380 {
frame 1 {
stop();
}
}
button 390 {
on (release) {
_root.play();
}
}
button 394 {
on (release) {
_root.gotoAndPlay('creds');
}
}
button 402 {
on (release) {
stopAllSounds();
_root.timeGame = true;
_root.gotoAndStop('startGame');
}
}
movieClip 403 {
frame 1 {
stop();
}
}
instance of movieClip 403 {
onClipEvent (enterFrame) {
if (_root.intCheat.text == 'Put me in the title AC130') {
_root.cheatFound.play();
}
if (_root.beatGame == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
button 408 {
on (release) {
getURL('http://www.gamepirate.com/exclusive-games.html', '');
}
}
movieClip 411 {
}
movieClip 413 {
frame 1 {
stop();
}
frame 2 {
_root.cheat = true;
_root.intCheat.text = '';
}
}
movieClip 417 {
}
movieClip 419 {
}
frame 64 {
stop();
}
movieClip 425 {
}
button 437 {
on (release) {
_root.play();
}
}
movieClip 440 {
frame 46 {
stop();
}
}
movieClip 453 {
}
movieClip 504 {
frame 149 {
stop();
}
}
movieClip 513 {
}
movieClip 515 {
}
frame 301 {
function rpg() {
if (flaresNum > 0) {
flares.play();
flaresNum -= 1;
} else {
rpgFail.play();
}
}
function spawnSniper() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('SniperUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.snipespawn._x, '_y': _root.airstrike.air2.bg.snipespawn._y + random(105)});
_root.airstrike.air2.bg['targ' + i].isSniper = true;
v3.gotoAndStop(1);
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.targBigHouse._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.targBigHouse._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 2) {
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawnRpg() {
++i;
tote += 1;
if (random(2) == 1) {
var v3 = _root.airstrike.air2.bg.attachMovie('RPGUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.rpgSpawn1._x, '_y': _root.airstrike.air2.bg.rpgSpawn1._y});
} else {
var v3 = _root.airstrike.air2.bg.attachMovie('RPGUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.rpgSpawn2._x, '_y': _root.airstrike.air2.bg.rpgSpawn2._y});
}
_root.airstrike.air2.bg['targ' + i].isSniper = true;
v3.gotoAndStop(1);
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.targBigHouse._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.targBigHouse._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 2) {
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawn() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.spawnBigHouse._x, '_y': _root.airstrike.air2.bg.spawnBigHouse._y + random(75)});
v3.gotoAndPlay(random(35));
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.targBigHouse._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.targBigHouse._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.targBigHouse)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
this.gotoAndStop('attack');
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawnz() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.spawnPoolOne._x, '_y': _root.airstrike.air2.bg.spawnPoolOne._y + random(75)});
v3.gotoAndPlay(random(35));
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.clearPoint._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.clearPoint._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.clearPoint)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
_root.health -= 5;
this.removeMovieClip();
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawnz2() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.spawnBigHouse2._x, '_y': _root.airstrike.air2.bg.spawnBigHouse2._y + random(75)});
v3.gotoAndPlay(random(35));
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.clearPoint._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.clearPoint._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.clearPoint)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
_root.health -= 5;
this.removeMovieClip();
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawnz3() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.s3._x, '_y': _root.airstrike.air2.bg.s3._y + random(75)});
v3.gotoAndPlay(random(35));
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.clearPoint._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.clearPoint._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.clearPoint)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
_root.health -= 5;
this.removeMovieClip();
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawnTrucks() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('TruckUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.east._x, '_y': _root.airstrike.air2.bg.east._y});
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.safehouse._x + random(100) - v3._x;
v3.yDiff = _root.airstrike.air2.bg.safehouse._y + random(100) - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 3;
v3.yMov = Math.sin(v3.angle) * 3;
v3.onEnterFrame = function () {
if (this.counter.f > 500) {
this.removeMovieClip();
}
if (this._currentframe <= 2) {
if (!this.hitTest(_root.airstrike.air2.bg.hitBox2)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
this.gotoAndStop('attack');
}
} else {
this._x += this.xMov * this.adv * this.force / 2;
this._y += this.yMov * this.adv * this.force / 2;
if (this.force > 0) {
this.force -= 0.1;
} else {
this.force = 0;
}
}
};
}
function spawn2() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.spawnPoolOne._x + random(30), '_y': _root.airstrike.air2.bg.spawnPoolOne._y + random(75)});
v3.gotoAndPlay(random(35));
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.targPoolOne._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.targPoolOne._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.targPoolOne)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
this.gotoAndStop('attack');
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawnlol() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.spawnPoolOne._x + random(30), '_y': _root.airstrike.air2.bg.spawnPoolOne._y + random(75)});
v3.gotoAndPlay(random(35));
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.targBigHouse._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.targBigHouse._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.targBigHouse)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
this.gotoAndStop('attack');
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawn3() {
++i;
tote += 1;
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.spawnBigHouse1._x + random(30), '_y': _root.airstrike.air2.bg.spawnBigHouse1._y + random(75)});
v3.gotoAndPlay(random(35));
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.targBigHouse1._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.targBigHouse1._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.targBigHouse1)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
this.gotoAndStop('attack');
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
++i;
tote += 1;
v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.spawnBigHouse2._x + random(30), '_y': _root.airstrike.air2.bg.spawnBigHouse2._y + random(75)});
v3.gotoAndPlay(random(35));
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.targBigHouse1._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.targBigHouse1._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.targBigHouse1)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
this.gotoAndStop('attack');
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawn4() {
++i;
tote += 1;
rand = random(3);
if (rand <= 1) {
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.s1._x + random(30), '_y': _root.airstrike.air2.bg.s1._y + random(75)});
}
if (rand == 2) {
v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.s2._x + random(30), '_y': _root.airstrike.air2.bg.s2._y + random(75)});
}
if (rand == 3) {
v3 = _root.airstrike.air2.bg.attachMovie('FootUnit', 'targ' + i, i, {'_x': _root.airstrike.air2.bg.s3._x + random(30), '_y': _root.airstrike.air2.bg.s3._y + random(75)});
}
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.safehouse._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.safehouse._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle) * 1.5;
v3.yMov = Math.sin(v3.angle) * 1.5;
v3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.safehouse)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
this.gotoAndStop('attack');
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
this._rotation += this.force * 2;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
function spawnFromTruck(truck) {
++i;
var v3 = _root.airstrike.air2.bg.attachMovie('FootUnit2', 'targ' + i, i, {'_x': truck._x + random(120), '_y': truck._y + random(120)});
v3.swapDepths(truck);
v3.adv = 2;
v3.force = 0;
v3.xDiff = _root.airstrike.air2.bg.safehouse._x - v3._x;
v3.yDiff = _root.airstrike.air2.bg.safehouse._y - v3._y;
v3.angle = Math.atan2(v3.yDiff, v3.xDiff);
v3.degrees = 360 * v3.angle / 6.283185307179586 - 180;
v3._rotation = v3.degrees;
v3.xMov = Math.cos(v3.angle);
v3.yMov = Math.sin(v3.angle);
v3.onEnterFrame = function () {
if (this._currentframe < 36) {
if (!this.hitTest(_root.airstrike.air2.bg.safehouse)) {
this._x += this.xMov;
this._y += this.yMov;
} else {
this.gotoAndStop('attack');
}
} else {
this._x += this.xMov * this.adv * this.force;
this._y += this.yMov * this.adv * this.force;
if (this.force > 0) {
this.force -= 0.15;
} else {
this.force = 0;
}
}
};
}
i = 0;
stop();
flaresNum = 2;
health = 100;
}
frame 301 {
function restart() {
i = 0;
while (i < 1000) {
_root.airstrike.air2.bg['targ' + i].removeMovieClip();
++i;
}
_root.i = 0;
Mouse.hide();
_root.dead = false;
_root.fail.gotoAndStop(1);
_root.rpgFail.gotoAndStop(1);
_root.airstrike.air2.bg._xscale = 100;
_root.airstrike.air2.bg._yscale = 100;
_root.music.setVolume(100);
_root.rpgWarning.gotoAndStop(1);
_root.flares = 2;
_root.tote = 0;
_root.music.start(0, 0);
_root.health = _root.newHealth;
_root.airstrike.air2.bg._rotation = _root.newRot;
_root.airstrike.air2.bg.game.gotoAndPlay(_root.newLoad);
}
Mouse.hide();
tote = 0;
newRot = 0;
newLoad = 1;
newHealth = 100;
}
frame 301 {
function achievement(index) {
if (index == 1) {
if (achievementFound1 != true) {
ap += 10;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = 'Efficient Ammo';
achievements.description = 'Kill more than 7 targets with one shot.';
achievements.points = 10;
achievements.play();
achievementFound1 = true;
so.data.af1 = true;
}
}
if (index == 2) {
if (achievementFound2 != true) {
ap += 10;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = 'Efficient Ammo II';
achievements.description = 'Kill more than 12 targets with one hit.';
achievements.points = 10;
achievements.play();
achievementFound2 = true;
so.data.af2 = true;
}
}
if (index == 3) {
if (achievementFound3 != true) {
ap += 10;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = 'Efficient Ammo III';
achievements.description = 'Kill more than 16 targets with one hit.';
achievements.points = 10;
achievements.play();
achievementFound3 = true;
so.data.af3 = true;
}
}
if (index == 4) {
if (achievementFound4 != true) {
ap += 10;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = 'Obliteration';
achievements.description = 'Kill more than 20 targets with one hit.';
achievements.points = 50;
achievements.play();
achievementFound4 = true;
so.data.af4 = true;
}
}
if (index == 5) {
if (achievementFound5 != true) {
ap += 50;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = 'Bringin\' the Boys Home';
achievements.description = 'Destroy the enemy F4 Phantom.';
achievements.points = 50;
achievements.play();
achievementFound5 = true;
so.data.af5 = true;
}
}
if (index == 6) {
if (achievementFound6 != true) {
ap += 10;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = 'Chopper Down';
achievements.description = 'Destroy the enemy attack helicopter.';
achievements.points = 10;
achievements.play();
achievementFound6 = true;
so.data.af6 = true;
}
}
if (index == 7) {
if (achievementFound7 != true) {
ap += 10;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = 'Perfection Incarnate';
achievements.description = 'Beat the game without your ground squad losing a single point of health.';
achievements.points = 100;
achievements.play();
achievementFound7 = true;
so.data.af7 = true;
}
}
if (index == 8) {
if (achievementFound8 != true) {
ap += 10;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = '40mm Specialist';
achievements.description = 'Beat the game while using only the 40mm cannon.';
achievements.points = 10;
achievements.play();
achievementFound8 = true;
so.data.af8 = true;
}
}
if (index == 9) {
if (achievementFound9 != true) {
ap += 10;
this.attachMovie('achievement', 'achievements', 2, {'_x': 420, '_y': 520});
achievements.heading = 'Preservationist';
achievements.description = 'Beat the game without using any RPG-deterring flares.';
achievements.points = 50;
achievements.play();
achievementFound9 = true;
so.data.af9 = true;
}
}
so.flush();
}
function checkPoint(frame) {
if (health > 0) {
checks.play();
newLoad = frame;
newRot = _root.airstrike.air2.bg._rotation;
newHealth = health;
}
}
stop();
if (timeGame == false) {
music = new Sound();
music.attachSound('Mainme');
music.start(0, 9999);
}
this.onEnterFrame = function () {
if (health <= 0) {
_root.fail.play();
}
};
}
frame 301 {
Mouse.hide();
attack = 2;
si = 0;
seconds = 0;
minutes = 0;
realSec = 0;
di = 0;
_root.createEmptyMovieClip('movFrameRate', 100);
_root.movFrameRate.onEnterFrame = function () {
this.t = getTimer();
this.frameRate = Math.round(1000 / (this.t - this.o));
this.o = this.t;
if (this.frameRate < 24) {
if (_root.dead == false) {
_root._quality = 'low';
}
}
_root.fpsD = 'FPS: ' + this.frameRate;
};
}
movieClip 520 {
frame 1 {
stop();
}
frame 34 {
gotoAndPlay(1);
}
frame 36 {
stop();
if (_root.sandbox == false) {
_root.scorepts(100);
}
rand = random(30);
if (rand == 5) {
_root.sounds.gotoAndPlay('gs');
}
if (rand == 6) {
_root.sounds.gotoAndPlay('gs2');
}
if (rand == 7) {
_root.sounds.gotoAndPlay('gs3');
}
}
instance of movieClip 136 {
onClipEvent (load) {
i = 100;
z = 0;
}
onClipEvent (enterFrame) {
++z;
_parent.alpha -= 0.1;
if (z > 620) {
_parent.removeMovieClip();
}
this._x += dirX;
this._y += dirY;
}
}
}
movieClip 521 {
frame 34 {
gotoAndPlay(1);
}
}
movieClip 523 {
}
movieClip 532 {
}
movieClip 554 {
}
movieClip 556 {
}
movieClip 558 {
}
movieClip 565 {
frame 1 {
stop();
}
frame 2 {
_parent.game.play();
play();
}
instance htiBox of movieClip 33 {
onClipEvent (load) {
i = 1;
while (i < 1000) {
if (this.hitTest(_root.airstrike.air2.bg['targ' + i])) {
xDiff = _root.airstrike.air2.bg['targ' + i]._x - this._x;
yDiff = _root.airstrike.air2.bg['targ' + i]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg['targ' + i]._x - this.center._x);
ydist = Math.round(_root.airstrike.air2.bg['targ' + i]._y - this.center._y);
distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist));
force = (1 / distancefromthis) * 2000 + 2;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg['targ' + i].gotoAndStop('dead');
_root.airstrike.air2.bg['targ' + i].xMov = xMov;
_root.airstrike.air2.bg['targ' + i].yMov = yMov;
_root.airstrike.air2.bg['targ' + i].force = force;
}
++i;
}
}
}
frame 163 {
_parent.gotoAndPlay(2019);
this.removeMovieClip();
}
}
movieClip 587 {
frame 1 {
if (_root.timeGame == true) {
gotoAndStop(4134);
}
}
frame 58 {
_root.speech.gotoAndStop(2);
}
frame 482 {
_root.speech.gotoAndStop(3);
}
frame 659 {
_root.speech.gotoAndStop(4);
}
frame 688 {
g1.gotoAndStop(36);
}
instance g1 of movieClip 520 {
onClipEvent (load) {
this.gotoAndStop(36);
}
}
instance g2 of movieClip 520 {
onClipEvent (load) {
this.gotoAndStop(36);
}
}
instance g3 of movieClip 520 {
onClipEvent (load) {
this.gotoAndStop(36);
}
}
frame 696 {
g2.gotoAndStop(36);
}
frame 702 {
g3.gotoAndStop(36);
}
frame 784 {
_root.speech.gotoAndStop(5);
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 7) {
++i;
if (i > 31) {
_root.spawn();
i = 0;
++total;
}
}
}
}
frame 938 {
_root.speech.gotoAndStop(6);
}
frame 941 {
stop();
}
frame 942 {
_root.checkPoint(942);
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 15) {
++i;
if (i > 31) {
_root.spawn2();
i = 0;
++total;
}
}
}
}
frame 1159 {
stop();
}
frame 1160 {
_root.checkPoint(1160);
}
frame 1210 {
g4.gotoAndStop(36);
}
frame 1227 {
_root.speech.gotoAndStop(7);
}
frame 1227 {
g4.gotoAndStop(36);
}
frame 1317 {
_root.speech.gotoAndStop(7);
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 10) {
++i;
if (i > 35) {
_root.spawn3();
i = 0;
++total;
}
}
}
}
frame 1423 {
stop();
}
frame 1424 {
_root.checkPoint(1424);
}
frame 1428 {
_root.speech.gotoAndStop(8);
}
frame 1557 {
_root.tip.play();
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 5) {
++i;
if (i > 100) {
_root.spawnTrucks();
i = 0;
++total;
}
}
}
}
frame 1666 {
stop();
}
frame 1667 {
_root.checkPoint(1667);
i = 0;
while (i < 1000) {
_root.airstrike.air2.bg['targ' + i].removeMovieClip();
++i;
}
}
frame 1668 {
stop();
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 15) {
++i;
if (i > 30) {
_root.spawn4();
i = 0;
++total;
}
}
}
}
frame 1670 {
_root.checkPoint(1670);
i = 0;
while (i < 1000) {
_root.airstrike.air2.bg['targ' + i].removeMovieClip();
++i;
}
_root.speech.gotoAndStop(9);
}
frame 1824 {
_root.health -= 7;
}
frame 1836 {
_root.health -= 2;
}
frame 1850 {
_root.health -= 2;
}
frame 1909 {
_root.health -= 2;
}
frame 1915 {
_root.health -= 2;
}
frame 2018 {
gotoAndPlay(1724);
}
frame 2019 {
_root.checkPoint(2019);
i = 0;
while (i < 1000) {
_root.airstrike.air2.bg['targ' + i].removeMovieClip();
++i;
}
_root.achievement(6);
}
frame 2071 {
_root.speech.gotoAndStop(10);
}
frame 2140 {
_root.speech.gotoAndStop(11);
}
frame 2316 {
_root.speech.gotoAndStop(12);
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 30) {
++i;
if (i > 27) {
_root.spawnlol();
_root.spawn();
if (total == 10) {
_root.spawnSniper();
}
if (total == 20) {
_root.spawnSniper();
}
if (total == 27) {
_root.spawnSniper();
}
i = 0;
++total;
}
}
}
}
frame 2608 {
stop();
}
frame 2608 {
_root.speech.gotoAndStop(13);
}
frame 2609 {
_root.checkpoint(2609);
i = 0;
while (i < 1000) {
_root.airstrike.air2.bg['targ' + i].removeMovieClip();
++i;
}
}
frame 2662 {
stop();
_root.speech.gotoAndStop(17);
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 30) {
++i;
if (i > 43) {
_root.spawnlol();
_root.spawn();
if (total == 10) {
_root.spawnRpg();
}
if (total == 20) {
_root.spawnRpg();
}
if (total == 27) {
_root.spawnRpg();
}
i = 0;
++total;
}
}
}
}
frame 2663 {
_root.checkPoint(2663);
i = 0;
while (i < 1000) {
_root.airstrike.air2.bg['targ' + i].removeMovieClip();
++i;
}
_root.speech.gotoAndStop(18);
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 31) {
++i;
if (i > 43) {
_root.spawnz();
_root.spawnz2();
if (total == 3) {
_root.spawnSniper();
}
if (total == 14) {
_root.spawnRpg();
}
if (total == 20) {
_root.spawnRpg();
}
if (total == 30) {
_root.spawnRpg();
}
i = 0;
++total;
}
}
}
}
frame 2896 {
_root.speech.gotoAndStop(19);
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 31) {
++i;
if (i > 43) {
_root.spawnz();
_root.spawnz2();
if (total == 7) {
_root.spawnSniper();
}
if (total == 14) {
_root.spawnRpg();
}
if (total == 20) {
_root.spawnRpg();
}
if (total == 30) {
_root.spawnRpg();
}
i = 0;
++total;
}
}
}
}
frame 3541 {
_root.checkpoint(3541);
}
instance of movieClip 532 {
onClipEvent (load) {
i = 0;
total = 0;
}
onClipEvent (enterFrame) {
if (total < 31) {
++i;
if (i > 43) {
_root.spawnz();
_root.spawnz2();
_root.spawnz3();
if (total == 5) {
_root.spawnSniper();
}
if (total == 10) {
_root.spawnRpg();
}
if (total == 15) {
_root.spawnRpg();
}
if (total == 20) {
_root.spawnRpg();
}
if (total == 25) {
_root.spawnRpg();
}
if (total == 30) {
_root.spawnRpg();
}
i = 0;
++total;
}
}
}
}
frame 3692 {
_root.speech.gotoAndStop(20);
}
frame 4133 {
_root.checkpoint(4133);
}
frame 4133 {
stop();
_root.speech.gotoAndStop(21);
}
}
movieClip 589 {
}
movieClip 590 {
}
movieClip 592 {
}
movieClip 593 {
}
movieClip 594 {
}
movieClip 604 {
frame 1 {
stop();
}
}
movieClip 608 {
frame 1 {
stop();
}
}
movieClip 609 {
frame 1 {
stop();
}
instance air2 of movieClip 594 {
onClipEvent (load) {
offset = 0;
offsetx = 0;
offsety = 0;
vp = 1;
offsetAMT = 0.4;
i = 0;
c = 0;
z = 0;
d = 180;
bigCannon = true;
f = 0;
}
onClipEvent (enterFrame) {
if (_root.dead != true) {
if (Key.isDown(32)) {
this.bg._rotation += offsetAMT;
}
++d;
this.bg._rotation += offsetAMT / 3;
this._x = (-_root._xmouse + offsetx) * vp;
this._y = (-_root._ymouse + offsety) * vp;
if (down == true) {
if (_root.attack == 2) {
if (_root.cheat != true) {
++i;
if (i > 16) {
if (_root.cd1._currentframe == 1) {
++c;
i = 0;
_root.cd1.play();
var bullet = attachMovie('AC130Hit', 'cannon' + c, c, {'_x': 1.85 * _root._xmouse - 280, '_y': 1.85 * _root._ymouse - 230});
}
}
} else {
++c;
i = 0;
_root.cd1.play();
var bullet = attachMovie('AC130Hit', 'cannon' + c, c, {'_x': 1.85 * _root._xmouse - 280, '_y': 1.85 * _root._ymouse - 230});
}
} else {
if (_root.attack == 1) {
++c;
var bullet = attachMovie('AC130HitMinigun', 'bullet' + c, c, {'_x': 1.5 * _root._xmouse - 200 + random(60) + 80, '_y': 1.5 * _root._ymouse + 0 - random(20) - 100});
} else {
if (_root.attack == 3) {
if (_root.cheat != true) {
if (d > 181) {
++c;
d = 0;
var bullet = attachMovie('AC130Hit105mm', 'explos' + c, c, {'_x': 1.85 * _root._xmouse - 280, '_y': 1.85 * _root._ymouse - 230});
_root.cd2.play();
}
} else {
++c;
d = 0;
var bullet = attachMovie('AC130Hit105mm', 'explos' + c, c, {'_x': 1.85 * _root._xmouse - 280, '_y': 1.85 * _root._ymouse - 230});
_root.cd2.play();
}
}
}
}
}
}
}
onClipEvent (mouseDown) {
down = true;
}
onClipEvent (mouseUp) {
down = false;
i = 17;
}
}
instance crosshair of movieClip 608 {
onClipEvent (enterFrame) {
this._x = _root._xmouse - 580;
this._y = _root._ymouse - 260;
}
}
}
instance airstrike of movieClip 609 {
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
this.crosshair.gotoAndStop(2);
this.air2.offsetx = -60;
this.air2.offsety = -30;
this.air2.vp = 2;
_root.attack = 1;
this.air2.offsetAMT = 0.8;
this.air2._xscale = 200;
this.air2._yscale = 200;
}
if (Key.isDown(50)) {
this.crosshair.gotoAndStop(1);
this.air2.offsetx = 0;
this.air2.offsety = 0;
this.air2.vp = 1;
this.air2.offsetAMT = 0.4;
_root.attack = 2;
this.air2._xscale = 100;
this.air2._yscale = 100;
}
if (Key.isDown(51)) {
this.air2.vp = 0.06;
this.crosshair.gotoAndStop(3);
this.air2.offsetx = -2200;
this.air2.offsety = -1800;
this.air2.offsetAMT = 0.4;
_root.attack = 3;
this.air2._xscale = 50;
this.air2._yscale = 50;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(17)) {
if (_root.sandbox == true) {
_root.airstrike.air2.bg.win1.play();
}
}
}
}
movieClip 617 {
frame 1 {
stop();
}
}
instance of movieClip 617 {
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
this.gotoAndStop(1);
}
if (Key.isDown(50)) {
this.gotoAndStop(2);
}
if (Key.isDown(51)) {
this.gotoAndStop(3);
}
}
}
movieClip 619 {
}
instance of movieClip 619 {
onClipEvent (enterFrame) {
_root.multikill = 0;
}
}
movieClip 623 {
}
movieClip 624 {
frame 1 {
stop();
}
frame 19 {
_root.gotoAndPlay('fail');
}
}
movieClip 627 {
frame 1 {
stop();
}
}
movieClip 629 {
frame 1 {
stop();
}
}
movieClip 648 {
}
movieClip 649 {
frame 1 {
stop();
}
}
movieClip 651 {
}
movieClip 653 {
frame 1 {
stop();
}
}
movieClip 654 {
instance of movieClip 653 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.health);
}
}
}
movieClip 658 {
frame 65 {
_parent.gotoAndStop(1);
}
}
movieClip 662 {
frame 157 {
_parent.gotoAndStop(1);
}
}
movieClip 665 {
frame 63 {
_parent.gotoAndStop(1);
}
}
movieClip 667 {
frame 159 {
_parent.gotoAndStop(1);
}
}
movieClip 670 {
frame 170 {
_parent.gotoAndStop(1);
}
}
movieClip 673 {
frame 170 {
_parent.gotoAndStop(1);
}
}
movieClip 676 {
frame 132 {
_parent.gotoAndStop(1);
}
}
movieClip 679 {
frame 132 {
_parent.gotoAndStop(1);
}
}
movieClip 682 {
frame 98 {
_parent.gotoAndStop(1);
}
}
movieClip 685 {
frame 171 {
_parent.gotoAndStop(1);
}
}
movieClip 690 {
frame 221 {
_parent.gotoAndStop(1);
}
}
movieClip 694 {
frame 258 {
_parent.gotoAndStop(1);
}
}
movieClip 696 {
frame 138 {
_parent.gotoAndStop(1);
}
}
movieClip 699 {
frame 138 {
_parent.gotoAndStop(1);
}
}
movieClip 702 {
frame 138 {
_parent.gotoAndStop(1);
}
}
movieClip 705 {
frame 192 {
_parent.gotoAndStop(1);
}
}
movieClip 708 {
frame 192 {
_parent.gotoAndStop(1);
}
}
movieClip 712 {
frame 351 {
_parent.gotoAndStop(1);
}
}
movieClip 715 {
frame 182 {
_parent.gotoAndStop(1);
}
}
movieClip 723 {
frame 740 {
_root.play();
}
}
movieClip 724 {
frame 1 {
stop();
}
}
movieClip 725 {
}
movieClip 726 {
frame 41 {
stop();
}
}
movieClip 728 {
}
movieClip 729 {
}
movieClip 731 {
}
movieClip 733 {
frame 1 {
stop();
}
frame 2 {
if (_root.speech._currentframe != 21) {
_root.speech.gotoAndStop(14);
}
_root.flail = false;
}
}
movieClip 736 {
}
instance of movieClip 736 {
onClipEvent (enterFrame) {
if (_root.timeGame == true) {
_root.score += 1;
}
}
onClipEvent (load) {
if (_root.timeGame == true) {
this._visible = true;
_root.score = 0;
} else {
this._visible = false;
}
}
}
movieClip 737 {
}
button 743 {
on (release) {
_root.restart();
}
}
button 747 {
on (release) {
stopAllSounds();
gotoAndPlay('mm');
}
}
button 751 {
on (release) {
getURL('http://www.gamepirate.com', '');
}
}
button 752 {
on (release) {
stopAllSounds();
_root.gotoAndPlay('mm');
}
}
movieClip 753 {
frame 1 {
stop();
}
frame 2 {
if (_root.speech._currentframe != 21) {
_root.speech.gotoAndStop(15);
_root.airstrike.air2.bg.game.stop();
}
Mouse.show();
}
instance of movieClip 737 {
onClipEvent (load) {
vol = 100;
}
onClipEvent (enterFrame) {
_root.airstrike.air2.bg._rotation += 10;
_root.airstrike.air2.bg._xscale += 2;
_root.airstrike.air2.bg._yscale += 2;
if (vol > 0) {
_root.music.setVolume(vol);
--vol;
}
}
}
frame 61 {
_root.music.setVolume(100);
_root.music.stop();
}
instance of movieClip 737 {
onClipEvent (load) {
vol = 100;
}
onClipEvent (enterFrame) {
_root.airstrike.air2.bg._rotation += 10;
_root.airstrike.air2.bg._xscale += 2;
_root.airstrike.air2.bg._yscale += 2;
}
}
frame 62 {
_root.music.setVolume(100);
}
frame 282 {
gotoAndPlay(280);
}
}
movieClip 755 {
}
movieClip 756 {
frame 1 {
stop();
}
}
movieClip 758 {
}
movieClip 762 {
instance of movieClip 360 {
onClipEvent (enterFrame) {
this._x -= 0.3;
}
}
}
movieClip 764 {
}
movieClip 774 {
frame 1 {
stop();
}
}
movieClip 775 {
instance of movieClip 774 {
onClipEvent (load) {
this.gotoAndStop(random(6));
}
}
}
movieClip 777 {
frame 1 {
_root.dead = false;
}
frame 1 {
stop();
}
frame 2 {
_root.music.setVolume(90);
_root._quality = 'high';
_root.dead = true;
_root.airstrike.air2.bg.game.stop();
Mouse.show();
}
frame 7 {
_root.music.setVolume(80);
}
frame 12 {
_root.music.setVolume(70);
}
frame 17 {
_root.music.setVolume(60);
}
frame 22 {
_root.music.setVolume(50);
}
frame 27 {
_root.music.setVolume(40);
}
frame 32 {
_root.music.setVolume(30);
}
frame 38 {
_root.music.setVolume(20);
}
frame 44 {
_root.music.setVolume(10);
}
frame 50 {
_root.music.stop();
}
frame 51 {
_root.music.setVolume(100);
}
instance of movieClip 762 {
onClipEvent (load) {
amt = 0.1;
}
onClipEvent (enterFrame) {
amt /= 1.1;
this._xscale -= amt;
this._yscale -= amt;
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
this._x -= 0.3;
}
}
instance of movieClip 762 {
onClipEvent (load) {
amt = 0.1;
}
onClipEvent (enterFrame) {
this._xscale -= amt;
this._yscale -= amt;
}
}
instance of movieClip 762 {
onClipEvent (enterFrame) {
this._xscale += 0.2;
this._yscale += 0.2;
}
}
frame 280 {
gotoAndPlay(278);
}
}
movieClip 779 {
}
movieClip 784 {
}
movieClip 786 {
}
movieClip 787 {
}
movieClip 788 {
frame 1 {
stop();
}
}
movieClip 790 {
}
movieClip 791 {
frame 536 {
stop();
}
}
instance of movieClip 791 {
onClipEvent (load) {
if (_root.timeGame != true) {
this.play();
} else {
this.stop();
}
}
}
movieClip 793 {
}
instance of movieClip 793 {
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if (_root.timeGame == true) {
if (_root.health <= 0) {
_root.gotoAndStop('chaosFail');
}
++i;
if (i > 10) {
i = 0;
_root.spawnz();
_root.spawnz2();
_root.spawnz3();
if (random(5) == 2) {
_root.spawnRpg();
}
}
}
}
}
movieClip 794 {
}
instance of movieClip 794 {
onClipEvent (load) {
vol = 100;
}
onClipEvent (enterFrame) {
_root.music.setVolume(vol);
--vol;
}
}
frame 376 {
music.setVolume(100);
}
frame 376 {
stop();
k = 0;
}
frame 376 {
fHealth = 350;
}
movieClip 796 {
}
movieClip 797 {
}
movieClip 798 {
}
movieClip 799 {
instance of movieClip 798 {
onClipEvent (load) {
this.gotoAndPlay(random(20));
}
}
instance of movieClip 798 {
onClipEvent (load) {
this.gotoAndPlay(random(20));
}
}
instance of movieClip 798 {
onClipEvent (load) {
this.gotoAndPlay(random(20));
}
}
instance of movieClip 798 {
onClipEvent (load) {
this.gotoAndPlay(random(20));
}
}
instance of movieClip 798 {
onClipEvent (load) {
this.gotoAndPlay(random(20));
}
}
instance of movieClip 798 {
onClipEvent (load) {
this.gotoAndPlay(random(20));
}
}
instance of movieClip 798 {
onClipEvent (load) {
this.gotoAndPlay(random(20));
}
}
}
movieClip 802 {
}
movieClip 803 {
}
movieClip 804 {
}
instance of movieClip 804 {
onClipEvent (enterFrame) {
this._rotation = -_root._xmouse / 10 - 140;
this._y = -_root._ymouse * 2 + 850;
}
}
movieClip 808 {
}
movieClip 812 {
}
movieClip 813 {
frame 1 {
stop();
}
}
movieClip 814 {
instance of movieClip 813 {
onClipEvent (enterFrame) {
if (_root.shake.down == true) {
if (_root.shake.hitBox.hitTest(this)) {
_root.fHealth -= 1;
this.play();
++_root.k;
var spark = this.attachMovie('spark', 'spark' + _root.k, _root.k);
spark._rotation = random(360);
}
}
}
}
}
movieClip 817 {
}
movieClip 847 {
frame 916 {
gotoAndPlay(397);
}
}
instance enemy of movieClip 847 {
onClipEvent (enterFrame) {
this._rotation = -_root._xmouse / 10 + 30;
this._y = -_root._ymouse * 2 + 850;
if (_root.fHealth <= 0) {
_root.play();
}
}
}
movieClip 850 {
}
movieClip 862 {
}
movieClip 863 {
}
movieClip 864 {
}
movieClip 866 {
frame 1 {
stop();
}
}
instance shake of movieClip 866 {
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (mouseDown) {
down = true;
}
onClipEvent (mouseUp) {
down = false;
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
if (down == true) {
this.play();
_root.b1.play();
_root.b2.play();
}
}
}
movieClip 869 {
frame 99 {
stop();
}
}
movieClip 872 {
frame 1 {
stop();
}
}
movieClip 874 {
frame 21 {
stop();
}
}
frame 377 {
_root.beatGame = true;
so.data.beatGame = true;
so.flush();
}
instance htiBox of movieClip 33 {
onClipEvent (load) {
i = 1;
while (i < 1000) {
if (_root.airstrike.air2.bg['targ' + i].isSniper != true) {
if (this.hitTest(_root.airstrike.air2.bg['targ' + i])) {
xDiff = _root.airstrike.air2.bg['targ' + i]._x - this._x;
yDiff = _root.airstrike.air2.bg['targ' + i]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg['targ' + i]._x - this.center._x);
ydist = Math.round(_root.airstrike.air2.bg['targ' + i]._y - this.center._y);
distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist));
force = (1 / distancefromthis) * 2000 + 2;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg['targ' + i].gotoAndStop('dead');
_root.airstrike.air2.bg['targ' + i].xMov = xMov;
_root.airstrike.air2.bg['targ' + i].yMov = yMov;
_root.airstrike.air2.bg['targ' + i].force = force;
}
} else {
if (this.hitTest(_root.airstrike.air2.bg['targ' + i.hitBox])) {
xDiff = _root.airstrike.air2.bg['targ' + i]._x - this._x;
yDiff = _root.airstrike.air2.bg['targ' + i]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg['targ' + i]._x - this.center._x);
ydist = Math.round(_root.airstrike.air2.bg['targ' + i]._y - this.center._y);
distancefromthis = Math.round(Math.sqrt(xdist * xdist + ydist * ydist));
force = (1 / distancefromthis) * 2000 + 2;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg['targ' + i].gotoAndStop('dead');
_root.airstrike.air2.bg['targ' + i].xMov = xMov;
_root.airstrike.air2.bg['targ' + i].yMov = yMov;
_root.airstrike.air2.bg['targ' + i].force = force;
}
}
++i;
}
}
}
frame 395 {
_root.achievement(5);
}
movieClip 884 {
frame 99 {
stop();
}
}
frame 498 {
_root.sounds.gotoAndPlay('Cannon_Ready');
}
frame 538 {
this.removeMovieClip();
}
frame 556 {
if (_root.health >= 100) {
_root.achievement(7);
}
}
frame 711 {
_quality = 'high';
}
frame 795 {
if (_root.mmm != false) {
_root.achievement(8);
}
}
movieClip 891 {
}
movieClip 894 {
}
frame 1027 {
if (_root.flail != false) {
_root.achievement(9);
}
}
frame 1600 {
_root.gotoAndStop('mm');
}
frame 1601 {
play();
}
movieClip 897 {
}
movieClip 898 {
frame 40 {
stop();
}
}
frame 1802 {
_root.gotoAndStop('realGame');
}
frame 1803 {
Mouse.show();
_quality = 'high';
}
movieClip 901 {
}
button 907 {
on (release) {
gotoAndPlay('startGame');
}
}
button 910 {
on (release) {
stopAllSounds();
gotoAndStop('mm');
}
}