Combined Code
movieClip 6 earth {
frame 41 {
stop();
}
}
movieClip 9 {
frame 21 {
stop();
}
}
movieClip 10 {
}
movieClip 11 hellfiresmoke {
instance of movieClip 10 {
onClipEvent (enterFrame) {
_rotation = _rotation + 5;
}
}
}
movieClip 13 {
}
movieClip 16 {
frame 14 {
_parent._parent.removeMovieClip();
}
}
movieClip 17 {
frame 1 {
stop();
}
frame 2 {
_root.rocketexplode.start();
stop();
}
}
movieClip 18 hellfireshoot2 {
instance hellfire of movieClip 17 {
onClipEvent (load) {
nofollow = 0;
}
onClipEvent (enterFrame) {
speed = 10;
endX = _parent._xmouse;
endY = _parent._ymouse;
if (nofollow == 0) {
_x = _x + (endX - _x) / speed;
_y = _y + (endY - _y) / speed;
_parent.attachMovie('hellfiresmoke', 'smokey' + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {'_x': _x, '_y': _y});
}
if (_xscale > 1) {
_xscale = _xscale - 2;
_yscale = _yscale - 2;
} else {
nofollow = 1;
this.gotoAndStop(2);
}
}
}
}
movieClip 19 hellfireshoot {
instance hellfire of movieClip 17 {
onClipEvent (load) {
nofollow = 0;
}
onClipEvent (enterFrame) {
speed = 10;
endX = _parent._xmouse;
endY = _parent._ymouse;
if (nofollow == 0) {
_x = _x + (endX - _x) / speed;
_y = _y + (endY - _y) / speed;
_parent.attachMovie('hellfiresmoke', 'smokey' + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {'_x': _x, '_y': _y});
}
if (_xscale > 1) {
_xscale = _xscale - 2;
_yscale = _yscale - 2;
} else {
nofollow = 1;
this.gotoAndStop(2);
}
}
}
}
movieClip 21 {
}
movieClip 22 {
frame 1 {
stop();
}
instance of movieClip 21 {
onClipEvent (enterFrame) {
this._rotation += 10;
}
}
}
movieClip 24 {
}
movieClip 26 {
frame 14 {
_parent._parent.removeMovieClip();
}
}
movieClip 27 {
frame 1 {
stop();
}
instance of movieClip 22 {
onClipEvent (enterFrame) {
if (_global.attackstr == 0) {
this.gotoAndStop(1);
} else {
if (_global.attackstr == 10) {
this.gotoAndStop(2);
} else {
if (_global.attackstr == 20) {
this.gotoAndStop(3);
} else {
if (_global.attackstr == 30) {
this.gotoAndStop(4);
} else {
if (_global.attackstr == 50) {
this.gotoAndStop(5);
}
}
}
}
}
}
}
frame 2 {
stop();
}
}
movieClip 28 cannonball {
frame 1 {
stop();
}
instance ball of movieClip 27 {
onClipEvent (load) {
_parent.dirx = Math.cos(_parent.angle * Math.PI / 180) * 900;
_parent.diry = Math.sin(_parent.angle * Math.PI / 180) * 900;
}
onClipEvent (enterFrame) {
scale = _parent.desty * -1 * 0.01;
if (_parent._y < _parent.desty) {
this.gotoAndStop(2);
} else {
if (_parent._x < -271) {
this.gotoAndStop(2);
} else {
if (_parent._x > 271) {
this.gotoAndStop(2);
} else {
if (_parent._y < -395) {
this.gotoAndStop(2);
} else {
_parent.diry += 1;
_parent._x += _parent.dirx / 50;
_parent._y += _parent.diry / 50;
_parent._xscale -= scale;
_parent._yscale -= scale;
}
}
}
}
}
}
}
movieClip 30 snow_mc {
}
movieClip 32 {
}
movieClip 34 {
frame 21 {
stop();
}
}
movieClip 56 {
frame 59 {
stop();
_parent.removeMovieClip();
}
}
movieClip 57 missileshoot {
frame 1 {
_root.rocketsound.start();
}
frame 89 {
_parent.removeMovieClip();
}
}
movieClip 102 {
frame 45 {
stop();
}
}
movieClip 104 {
}
movieClip 118 {
frame 58 {
stop();
}
}
movieClip 121 {
}
movieClip 123 {
frame 2 {
_root.mission10.shake = 4;
}
frame 9 {
_root.mission10.shake = 4;
}
frame 62 {
_parent.removeMovieClip();
}
}
movieClip 124 gexplosion2 {
instance explosion of movieClip 123 {
onClipEvent (enterFrame) {
if (Key.isDown(65) && _root.mission10.mission10main._x < 0) {
this._x += 20;
}
if (Key.isDown(68) && _root.mission10.mission10main._x > -1070) {
this._x -= 20;
}
}
}
}
movieClip 157 {
frame 45 {
stop();
}
}
movieClip 158 {
}
movieClip 171 {
frame 58 {
stop();
}
}
movieClip 174 {
}
movieClip 176 {
frame 2 {
_root.mission10.shake = 4;
}
frame 9 {
_root.mission10.shake = 4;
}
frame 62 {
_parent.removeMovieClip();
}
}
movieClip 177 gexplosion {
instance explosion of movieClip 176 {
onClipEvent (enterFrame) {
if (Key.isDown(65) && _root.mission10.mission10main._x < 0) {
this._x += 20;
}
if (Key.isDown(68) && _root.mission10.mission10main._x > -1070) {
this._x -= 20;
}
}
}
}
movieClip 187 {
}
movieClip 189 {
}
movieClip 202 {
frame 59 {
stop();
}
}
movieClip 204 {
frame 59 {
_parent._parent.removeMovieClip();
}
}
movieClip 206 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.mission8.shake = 4;
}
frame 3 {
_global.herolife -= 200;
_root.mission8.shake = 4;
stop();
}
}
movieClip 207 missilefly {
instance of movieClip 206 {
onClipEvent (load) {
alive = 1;
checker = 0;
move1 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1 && _xscale < 2000) {
this._rotation += 5;
if (_global.shooting == 1) {
if (this.hitTest(_root.gun.crosshair.dot) && checker == 0) {
alive = 0;
checker = 1;
_parent.stop();
this.gotoAndPlay(2);
}
}
_xscale = _xscale + 30;
_yscale = _yscale + 30;
if (random(20) == 1) {
move1 = 1;
} else {
if (random(20) == 5) {
move1 = 0;
}
}
if (move1 == 1) {
_x = _x + 3;
_y = _y - 2;
} else {
_x = _x - 3;
_y = _y + 2;
}
}
if (alive == 1 && _xscale >= 2000) {
alive = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
this.gotoAndStop(3);
}
}
}
}
movieClip 210 {
}
movieClip 212 {
}
movieClip 214 {
}
movieClip 219 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 220 {
instance of movieClip 219 {
onClipEvent (load) {
this.gotoAndStop(_parent._parent._parent.faceval);
}
}
}
movieClip 222 {
}
movieClip 228 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 229 {
instance of movieClip 228 {
onClipEvent (load) {
this.gotoAndStop(_parent._parent._parent.faceval);
}
}
}
movieClip 231 {
}
movieClip 234 {
}
movieClip 236 {
}
movieClip 244 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 245 {
instance of movieClip 244 {
onClipEvent (load) {
this.gotoAndStop(_parent._parent._parent.faceval);
}
}
}
movieClip 247 {
}
movieClip 248 Soldier (run) {
frame 3 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(100);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
frame 9 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(100);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
}
movieClip 250 {
}
movieClip 254 {
}
movieClip 255 {
}
movieClip 256 {
}
movieClip 259 {
}
movieClip 260 Soldier (shoot) {
frame 17 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
frame 38 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
}
movieClip 261 {
frame 9 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
frame 14 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
frame 19 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
frame 24 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
frame 29 {
r = random(3);
if (r == 1) {
_root.gun6sound.start();
} else {
if (r == 2) {
_root.gun4sound.start();
} else {
r == 3;
}
}
_root.gun6sound.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife -= _global.damage;
} else {
_global.shotmiss = 1;
}
}
}
movieClip 275 {
frame 29 {
stop();
}
}
movieClip 276 Soldier (hit) {
frame 8 {
_parent.gotoAndStop('run');
}
}
movieClip 277 {
}
movieClip 278 {
}
movieClip 279 {
}
movieClip 281 Soldier (die) {
frame 1 {
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else {
if (xx == 2) {
_root.hurt2.start();
} else {
if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
}
}
}
frame 85 {
stop();
_parent._parent.removeMovieClip();
}
}
movieClip 282 Soldier (die1) {
frame 1 {
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else {
if (xx == 2) {
_root.hurt2.start();
} else {
if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
}
}
}
frame 19 {
stop();
_parent._parent.removeMovieClip();
}
}
movieClip 285 Soldier (die2) {
frame 1 {
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else {
if (xx == 2) {
_root.hurt2.start();
} else {
if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
}
}
}
frame 90 {
stop();
_parent._parent.removeMovieClip();
}
}
movieClip 287 Soldier (die3) {
frame 1 {
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else {
if (xx == 2) {
_root.hurt2.start();
} else {
if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
}
}
}
frame 100 {
stop();
_parent._parent.removeMovieClip();
}
}
movieClip 289 {
}
movieClip 291 {
frame 19 {
spawnx = _parent._parent._x - 14;
spawny = _parent._parent._y - 46;
_root.mission8.sand.attachMovie('missilefly', 'missilefly_' + _root.mission8.sand.getNextHighestDepth(), _root.mission8.sand.getNextHighestDepth(), {'_x': spawnx, '_y': spawny});
}
frame 205 {
gotoAndPlay(6);
}
}
movieClip 292 {
}
movieClip 293 Soldier(object) {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
}
movieClip 294 enemy1 {
instance of movieClip 293 Soldier(object) {
onClipEvent (load) {
life = 100;
checker = 0;
checker2 = 0;
stopy = 150;
faceval = random(6);
grenadehit = 0;
confused = 0;
bazooka = 0;
if (_global.gamelevel == 5) {
if (random(2) == 1) {
this.gotoAndStop('run2');
} else {
this.gotoAndStop('run');
}
} else {
if (random(2) == 1) {
this.gotoAndStop('run2');
} else {
this.gotoAndStop('run');
}
}
}
onClipEvent (enterFrame) {
if (life > 1) {
if (this._parent._y >= 130) {
if (_global.gamelevel == 5) {
this._parent.swapDepths(_root.mission5.sand.getNextHighestDepth());
} else {
this._parent.swapDepths(_root.mission8.sand.sand2.getNextHighestDepth());
}
}
if (this._parent._y < stopy) {
this._parent._y += 0.5;
this._xscale += 0.5;
this._yscale += 0.5;
this._alpha += 1;
} else {
if (checker2 == 0) {
checker2 = 1;
if (bazooka == 0) {
if (random(2) == 1) {
this.gotoAndStop('attack');
} else {
this.gotoAndStop('attack2');
}
} else {
this._parent.swapDepths(_root.mission8.sand.getNextHighestDepth());
this.gotoAndStop('attack3');
}
}
}
}
if (this.etarget.hitTest(_root.gun.grenader.explosion)) {
grenadehit = 1;
life -= 2000;
}
if (life < 1 && checker == 0) {
if (_global.mission == 5) {
_root.mission5.shake = 4;
} else {
_root.mission8.shake = 4;
}
_global.soldiersummonkilled += 1;
_global.dessertkills += 1;
checker = 1;
if (grenadehit == 0) {
rand = random(5);
} else {
rand = 2;
}
if (rand == 1) {
this.gotoAndStop('dead1');
} else {
if (rand == 2) {
this.gotoAndStop('dead2');
} else {
if (rand == 3) {
this.gotoAndStop('dead3');
} else {
this.gotoAndStop('dead4');
}
}
}
}
if (_global.shooting == 1) {
if (this.etarget.hitTest(_root.gun.crosshair.dot) && life > 0) {
if (_global.gamelevel == 5) {
life -= 50;
} else {
life = 0;
}
checker2 = 0;
this.gotoAndStop('hurt');
}
}
}
}
}
movieClip 297 {
}
movieClip 298 {
frame 19 {
stop();
}
}
movieClip 302 {
frame 14 {
_parent.removeMovieClip();
}
}
movieClip 303 bulletshot {
}
movieClip 305 {
}
movieClip 306 {
}
movieClip 307 bulletbuttthrow2 {
frame 20 {
this.removeMovieClip();
}
}
movieClip 308 bulletbuttthrow {
frame 20 {
this.removeMovieClip();
}
}
movieClip 316 {
frame 1 {
stop();
}
frame 2 {
_global.shooting = 1;
}
frame 4 {
_global.shooting = 2;
}
frame 5 {
_global.shooting = 0;
}
}
movieClip 318 tank {
}
movieClip 320 snowflake1 {
}
movieClip 322 snowflake2 {
}
movieClip 324 snowflake6 {
}
movieClip 326 snowflake5 {
}
movieClip 328 snowflake4 {
}
movieClip 330 snowflake3 {
}
frame 1 {
Loaded = Math.round(getBytesLoaded());
total = Math.round(getBytesTotal());
percent = Loaded / total;
bar._width = percent * 150;
text = Math.round(percent * 100) + '%';
if (Loaded == total) {
gotoAndPlay(3);
}
}
movieClip 333 {
}
movieClip 334 {
}
movieClip 337 {
}
movieClip 338 {
}
movieClip 342 {
}
movieClip 343 {
}
movieClip 354 {
}
movieClip 371 {
}
movieClip 372 {
}
movieClip 373 {
}
// unknown tag 88 length 70
movieClip 378 {
}
button 383 {
on (release) {
_root.getURL('http://www.bubblebox.com', '_blank');
}
}
frame 2 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
movieClip 387 {
frame 232 {
_root.play();
}
}
frame 7 {
stop();
stopAllSounds();
Stage.showMenu = false;
_global.tracer = 0;
_global.mission = '';
_global.reloading = 0;
_global.zoomin = 0;
_global.gamelevel = 1;
_global.sniperbullet = 20;
_global.equipment = '';
domain_parts = _root._url.split('://');
real_domain = domain_parts[1].split('/');
final_domain = real_domain[0];
_global.playmoreURL = 'http://www.bubblebox.com/?utm_content=sponsor-button&utm_source=' + final_domain + '&utm_medium=brandedgames&utm_campaign=nastysniper';
_global.herolife = 1000;
_global.mgunbullets = 30;
_global.dessertkills = 0;
_global.coverup = 0;
_global.score = 0;
_global.damage = 20;
enemyshoot = new Sound();
enemyshoot.attachSound('enemyshoot');
enemyshoot2 = new Sound();
enemyshoot2.attachSound('enemyshoot2');
enemyshoot3 = new Sound();
enemyshoot3.attachSound('enemyshoot3');
explosion = new Sound();
explosion.attachSound('explosion');
explosion2 = new Sound();
explosion2.attachSound('explosion2');
hurt1 = new Sound();
hurt1.attachSound('hurt1');
hurt2 = new Sound();
hurt2.attachSound('hurt2');
hurt3 = new Sound();
hurt3.attachSound('hurt3');
hurt4 = new Sound();
hurt4.attachSound('hurt4');
bodyimpact = new Sound();
bodyimpact.attachSound('bodyimpact');
impact1 = new Sound();
impact1.attachSound('impact1');
impact2 = new Sound();
impact2.attachSound('impact2');
impact3 = new Sound();
impact3.attachSound('impact3');
impact4 = new Sound();
impact4.attachSound('impact4');
impact5 = new Sound();
impact5.attachSound('impact5');
stormbg = new Sound();
stormbg.attachSound('stormbg');
explosion = new Sound();
explosion.attachSound('explosion');
explosion2 = new Sound();
explosion2.attachSound('explosion2');
copter = new Sound();
copter.attachSound('copter');
snowstormwar = new Sound();
snowstormwar.attachSound('snowstormwar');
gun1sound = new Sound();
gun1sound.attachSound('gun1sound');
gun2sound = new Sound();
gun2sound.attachSound('gun2sound');
gun3sound = new Sound();
gun3sound.attachSound('gun3sound');
gun4sound = new Sound();
gun4sound.attachSound('gun4sound');
gun5sound = new Sound();
gun5sound.attachSound('gun5sound');
gun6sound = new Sound();
gun6sound.attachSound('gun6sound');
gun7sound = new Sound();
gun7sound.attachSound('gun7sound');
rocketexplode = new Sound();
rocketexplode.attachSound('rocketexplode');
rocketsound = new Sound();
rocketsound.attachSound('rocketsound');
computerroom = new Sound();
computerroom.attachSound('computerroom');
apachesound = new Sound();
apachesound.attachSound('apachesound');
missionsuccess = new Sound();
missionsuccess.attachSound('missionsuccess');
missionfailed = new Sound();
missionfailed.attachSound('missionfailed');
mission1bg = new Sound();
mission1bg.attachSound('mission1bg');
mission2bg = new Sound();
mission2bg.attachSound('mission2bg');
mission3bg = new Sound();
mission3bg.attachSound('mission3bg');
mission4bg = new Sound();
mission4bg.attachSound('mission4bg');
mission5bg = new Sound();
mission5bg.attachSound('mission5bg');
mission6bg = new Sound();
mission6bg.attachSound('mission6bg');
mission7bg = new Sound();
mission7bg.attachSound('mission7bg');
mission8bg = new Sound();
mission8bg.attachSound('mission8bg');
mission9bg = new Sound();
mission9bg.attachSound('mission9bg');
mission10bg = new Sound();
mission10bg.attachSound('mission10bg');
mission11bg = new Sound();
mission11bg.attachSound('mission11bg');
mission12bg = new Sound();
mission12bg.attachSound('mission12bg');
mission13bg = new Sound();
mission13bg.attachSound('mission13bg');
crickets = new Sound();
crickets.attachSound('crickets');
birdsound = new Sound();
birdsound.attachSound('birdsound');
missionbrief = new Sound();
missionbrief.attachSound('missionbrief');
introbg = new Sound();
introbg.attachSound('introbg');
endingloop = new Sound();
endingloop.attachSound('endingloop');
}
movieClip 392 {
}
movieClip 397 {
frame 10 {
stop();
}
}
button 398 {
on (release) {
_root.gotoAndStop('intro');
}
}
// unknown tag 88 length 220
button 401 {
on (release) {
getURL(_global.playmoreURL, '_blank', 'POST');
}
}
button 403 {
on (release) {
_root.gotoAndStop('credits');
}
}
button 407 {
on (release) {
if (this.lvlcode == 'breakfast blast') {
_global.gamelevel = 1;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'no fly zone') {
_global.gamelevel = 2;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'moving train target') {
_global.gamelevel = 3;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'lipstick gas') {
_global.gamelevel = 4;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'shooting gallery') {
_global.gamelevel = 5;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'helicopter hunting') {
_global.gamelevel = 6;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'ferris wheel flyby') {
_global.gamelevel = 7;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'humvee cannon') {
_global.gamelevel = 8;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'protect the minister') {
_global.gamelevel = 9;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'rocket grenade party') {
_global.gamelevel = 10;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'snow shootout') {
_global.gamelevel = 11;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'heat blast') {
_global.gamelevel = 12;
_root.gotoAndStop('missionobj');
} else {
if (this.lvlcode == 'drone missile strike') {
_global.gamelevel = 13;
_root.gotoAndStop('missionobj');
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 411 {
}
movieClip 412 {
}
button 413 {
on (release) {
_root.getURL('http://www.gonzo-games.com', '_blank');
}
}
button 414 {
on (release) {
_root.getURL('http://www.bubblebox.com', '_blank');
}
}
movieClip 415 {
frame 20 {
stop();
}
}
movieClip 460 {
frame 1 {
stop();
}
}
frame 8 {
stop();
_quality = 'MEDIUM';
_root.introbg.start(0, 0);
}
movieClip 463 {
}
// unknown tag 88 length 97
movieClip 471 {
frame 117 {
stop();
_parent.gotoAndStop('part2');
}
}
// unknown tag 88 length 103
button 475 {
on (release) {
_root.gotoAndStop('missionobj');
}
}
movieClip 479 {
}
movieClip 481 {
}
movieClip 484 {
frame 117 {
stop();
_parent.gotoAndStop('part3');
}
}
movieClip 487 {
}
movieClip 489 {
}
movieClip 491 {
}
movieClip 498 {
}
movieClip 501 {
}
movieClip 503 {
}
movieClip 506 {
}
movieClip 508 {
}
movieClip 510 {
}
movieClip 511 {
frame 220 {
stop();
_parent.gotoAndStop('part4');
}
}
movieClip 514 {
}
movieClip 517 {
}
movieClip 520 {
frame 312 {
stop();
_parent.gotoAndStop('part5');
}
}
movieClip 525 {
}
movieClip 526 {
}
movieClip 527 {
}
movieClip 531 {
frame 133 {
stop();
_parent.gotoAndStop('part6');
}
}
movieClip 534 {
}
movieClip 536 {
}
movieClip 543 {
}
movieClip 545 {
frame 268 {
stop();
_parent._parent.gotoAndStop('missionobj');
}
}
movieClip 546 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 549 {
frame 31 {
stop();
}
}
frame 9 {
stop();
stopAllSounds();
_root.missionbrief.start();
Mouse.show();
_global.mission = '';
_global.reloading = 0;
_global.zoomin = 0;
_global.sniperbullet = 10;
_global.herolife = 1000;
_global.mgunbullets = 30;
_global.dessertkills = 0;
_global.coverup = 0;
_global.throwgrenade = 0;
_global.grenades = 5;
_global.explodenum = 1;
_global.gadget = 'superscope';
}
button 560 {
on (release) {
_root.gotoAndStop('armory');
}
}
// unknown tag 88 length 220
movieClip 598 {
frame 28 {
stop();
glvl = _global.gamelevel;
gotoAndStop('obj' + glvl);
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
}
movieClip 601 {
}
movieClip 612 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
}
instance of movieClip 612 {
onClipEvent (enterFrame) {
this.gotoAndStop(_global.gamelevel);
}
}
// unknown tag 88 length 94
frame 10 {
stop();
Mouse.show();
}
movieClip 617 {
}
movieClip 619 {
}
movieClip 621 {
}
movieClip 623 {
}
movieClip 625 {
}
button 628 {
on (release) {
_root.devicedetails.gotoAndStop(2);
}
}
movieClip 629 {
}
movieClip 631 {
}
button 632 {
on (release) {
_root.devicedetails.gotoAndStop(3);
}
}
button 634 {
on (release) {
if (_global.gamelevel > 1) {
_global.gadget = 'superscope';
}
}
}
button 636 {
on (release) {
_root.devicedetails.gotoAndStop(4);
}
}
movieClip 637 {
}
button 639 {
on (release) {
_root.devicedetails.gotoAndStop(5);
}
}
movieClip 640 {
}
button 642 {
on (release) {
_root.devicedetails.gotoAndStop(7);
}
}
movieClip 643 {
}
button 645 {
on (release) {
_root.devicedetails.gotoAndStop(6);
}
}
movieClip 646 {
}
button 648 {
on (release) {
_root.devicedetails.gotoAndStop(10);
}
}
movieClip 649 {
}
button 651 {
on (release) {
_root.devicedetails.gotoAndStop(8);
}
}
movieClip 652 {
}
button 654 {
on (release) {
_root.devicedetails.gotoAndStop(11);
}
}
movieClip 655 {
}
button 657 {
on (release) {
_root.devicedetails.gotoAndStop(9);
}
}
movieClip 658 {
}
movieClip 659 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
}
movieClip 664 {
frame 1 {
stop();
if (_global.gamelevel == 8) {
gotoAndStop('humvee');
} else {
if (_global.gamelevel == 12) {
gotoAndStop('apache');
} else {
gotoAndPlay(2);
}
}
}
instance of movieClip 659 {
onClipEvent (enterFrame) {
if (_global.gamelevel == 1) {
this.gotoAndStop(1);
} else {
if (_global.gamelevel == 2) {
this.gotoAndStop(2);
} else {
if (_global.gamelevel == 3) {
this.gotoAndStop(3);
} else {
if (_global.gamelevel == 4) {
this.gotoAndStop(4);
} else {
if (_global.gamelevel == 5) {
this.gotoAndStop(5);
} else {
if (_global.gamelevel == 6) {
this.gotoAndStop(6);
} else {
if (_global.gamelevel == 7) {
this.gotoAndStop(7);
} else {
if (_global.gamelevel == 9) {
this.gotoAndStop(8);
} else {
if (_global.gamelevel == 10) {
this.gotoAndStop(9);
} else {
if (_global.gamelevel == 11) {
this.gotoAndStop(10);
} else {
if (_global.gamelevel == 13) {
this.gotoAndStop(11);
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 120 {
stop();
}
frame 121 {
stop();
_root.devicedetails.gotoAndStop(12);
}
frame 122 {
stop();
_root.devicedetails.gotoAndStop(13);
}
}
movieClip 670 {
}
button 671 {
on (release) {
_root.gotoAndStop('missionintro');
}
}
movieClip 677 {
}
movieClip 678 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
instance of movieClip 678 {
onClipEvent (enterFrame) {
if (_global.equipment == '') {
this.gotoAndStop(1);
} else {
if (_global.equipment == 'sniper') {
this.gotoAndStop(2);
}
}
}
}
movieClip 679 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_global.gadget == '') {
this.gotoAndStop(1);
} else {
if (_global.gadget == 'superscope') {
this.gotoAndStop(2);
}
}
}
}
movieClip 692 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
}
frame 11 {
stop();
stopAllSounds();
_root.missionsuccess.start();
Mouse.show();
_global.gamelevel += 1;
}
movieClip 696 {
}
button 698 {
on (release) {
if (_global.gamelevel > 13) {
_root.gotoAndStop('endingseq');
} else {
_root.gotoAndStop('missionobj');
}
}
}
button 699 {
on (release) {
getURL('http://www.bubblebox.com/home/shooting.htm', '_blank', 'POST');
}
}
movieClip 704 {
frame 1 {
lvlscore = _global.gamelevel * 500;
_global.score += lvlscore;
this.txtscore.text = _global.score;
}
}
frame 12 {
stop();
stopAllSounds();
_root.missionfailed.start();
Mouse.show();
}
movieClip 706 {
}
movieClip 709 {
}
button 711 {
on (release) {
_root.gotoAndStop('missionobj');
}
}
movieClip 726 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
}
movieClip 728 {
frame 1 {
lvlscore = _global.gamelevel * 100;
_global.score -= lvlscore;
if (_global.score <= 0) {
_global.score = 0;
}
this.txtscore.text = _global.score;
}
instance of movieClip 726 {
onClipEvent (enterFrame) {
this.gotoAndStop(_global.gamelevel);
}
}
}
frame 13 {
stop();
stopAllSounds();
Mouse.show();
}
movieClip 734 {
frame 65 {
_parent.gotoAndPlay('closer');
stop();
}
}
movieClip 736 {
}
movieClip 743 {
}
movieClip 745 {
}
movieClip 750 {
}
movieClip 751 {
}
movieClip 753 {
}
movieClip 755 {
}
movieClip 758 {
}
movieClip 760 {
}
movieClip 761 {
}
movieClip 763 {
}
movieClip 764 {
frame 84 {
stop();
}
}
movieClip 765 {
frame 6 {
stop();
}
}
movieClip 766 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 769 {
instance of movieClip 330 snowflake3 {
onClipEvent (load) {
if (random(2) == 1) {
speed = 5;
} else {
if (random(2) == 0) {
speed = 8;
} else {
speed = 3;
}
}
}
onClipEvent (enterFrame) {
this._rotation += 5;
if (this._y < 650) {
this._y += speed;
} else {
this._y = 97;
}
}
}
instance of movieClip 328 snowflake4 {
onClipEvent (load) {
if (random(2) == 1) {
speed = 5;
} else {
if (random(2) == 0) {
speed = 8;
} else {
speed = 3;
}
}
}
onClipEvent (enterFrame) {
this._rotation += 5;
if (this._y < 650) {
this._y += speed;
} else {
this._y = 97;
}
}
}
instance of movieClip 326 snowflake5 {
onClipEvent (load) {
if (random(2) == 1) {
speed = 5;
} else {
if (random(2) == 0) {
speed = 8;
} else {
speed = 3;
}
}
}
onClipEvent (enterFrame) {
this._rotation += 5;
if (this._y < 650) {
this._y += speed;
} else {
this._y = 97;
}
}
}
instance of movieClip 324 snowflake6 {
onClipEvent (load) {
if (random(2) == 1) {
speed = 5;
} else {
if (random(2) == 0) {
speed = 8;
} else {
speed = 3;
}
}
}
onClipEvent (enterFrame) {
this._rotation += 5;
if (this._y < 650) {
this._y += speed;
} else {
this._y = 97;
}
}
}
instance of movieClip 322 snowflake2 {
onClipEvent (load) {
if (random(2) == 1) {
speed = 5;
} else {
if (random(2) == 0) {
speed = 8;
} else {
speed = 3;
}
}
}
onClipEvent (enterFrame) {
this._rotation += 5;
if (this._y < 650) {
this._y += speed;
} else {
this._y = 97;
}
}
}
instance of movieClip 320 snowflake1 {
onClipEvent (load) {
if (random(2) == 1) {
speed = 5;
} else {
if (random(2) == 0) {
speed = 8;
} else {
speed = 3;
}
}
}
onClipEvent (enterFrame) {
this._rotation += 5;
if (this._y < 650) {
this._y += speed;
} else {
this._y = 97;
}
}
}
}
movieClip 773 {
}
movieClip 774 {
}
movieClip 776 {
}
movieClip 782 {
frame 18 {
stop();
glvl = _global.gamelevel;
gotoAndStop('intro' + glvl);
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
stopAllSounds();
_root.mission4bg.start(0, 5);
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
stopAllSounds();
_root.mission7bg.start(0, 99);
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
stopAllSounds();
_root.apachesound.start(0, 999);
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 46 {
missionval = 'mission' + _global.gamelevel;
_root.gotoAndStop(missionval);
}
}
frame 14 {
stop();
}
movieClip 790 {
frame 1 {
stop();
}
frame 8 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
}
movieClip 791 {
instance of movieClip 790 {
onClipEvent (load) {
this.gotoAndStop(_parent._parent._parent._parent.costume);
}
}
}
movieClip 816 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
}
movieClip 817 {
instance of movieClip 816 {
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent._parent._parent.costume);
}
}
}
movieClip 825 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
}
movieClip 826 {
instance of movieClip 825 {
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent._parent._parent.costume);
}
}
}
movieClip 837 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
}
movieClip 838 {
instance of movieClip 837 {
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent._parent._parent.costume);
}
}
}
movieClip 869 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
}
movieClip 871 {
}
movieClip 872 {
instance of movieClip 869 {
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent._parent._parent.costume);
}
}
instance of movieClip 871 {
onClipEvent (mouseDown) {
if (_global.gamelevel == 11) {
if (this.hitTest(_root.guns.crosshairmain.crosshair.dot)) {
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
_parent._parent._parent._parent.alive = 0;
_parent._parent._parent.gotoAndStop('dead2');
}
}
} else {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
_parent._parent._parent._parent.alive = 0;
_parent._parent._parent.gotoAndStop('dead2');
}
}
}
}
onClipEvent (enterFrame) {
if (_global.gamelevel == 11) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['gexplosion2_' + i])) {
_parent._parent._parent._parent.alive = 0;
_parent._parent._parent.gotoAndStop('dead2');
}
++i;
}
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['missileshoot_' + i].explosion)) {
_parent._parent._parent._parent.alive = 0;
_parent._parent._parent.gotoAndStop('dead2');
}
++i;
}
}
}
}
}
movieClip 903 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
}
movieClip 904 {
instance of movieClip 903 {
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent._parent._parent.costume);
}
onClipEvent (mouseDown) {
if (_global.gamelevel == 11) {
if (this.hitTest(_root.guns.crosshairmain.crosshair.dot)) {
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
_parent._parent._parent._parent.alive = 0;
_parent._parent._parent.gotoAndStop('dead');
}
}
} else {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
_parent._parent._parent._parent.alive = 0;
_parent._parent._parent.gotoAndStop('dead');
}
}
}
}
}
}
movieClip 912 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
}
movieClip 913 {
instance of movieClip 912 {
onClipEvent (load) {
this.gotoAndStop(_parent._parent._parent._parent.costume);
}
}
}
movieClip 914 {
}
movieClip 915 {
}
movieClip 921 {
frame 44 {
stop();
}
}
movieClip 923 {
frame 44 {
stop();
}
}
movieClip 925 {
}
movieClip 926 {
}
movieClip 927 {
}
movieClip 928 {
}
movieClip 929 {
}
movieClip 934 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 935 {
instance of movieClip 934 {
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent._parent._parent.guntype);
}
}
}
movieClip 936 {
}
movieClip 937 {
}
movieClip 938 {
}
movieClip 940 {
}
movieClip 941 {
}
movieClip 943 {
}
movieClip 947 {
}
movieClip 948 {
}
movieClip 952 {
}
movieClip 953 {
}
movieClip 955 {
}
movieClip 956 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
}
movieClip 957 {
}
movieClip 959 {
}
movieClip 962 {
}
movieClip 963 {
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 2;
this.mytarget.gotoAndStop('coffee2');
}
onClipEvent (enterFrame) {
if (alive == 0) {
if (_global.mission == '') {
_global.mission = 'success';
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 4;
this.mytarget.gotoAndStop('coffee1');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(25);
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x -= 1.5;
this._y += 0.3;
if (_x < -500) {
costume = random(23);
this._x = 367.7;
this._y = -157.8;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(25);
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x += 1.5;
this._y -= 0.3;
if (_x > 370) {
costume = random(23);
this._x = -449.5;
this._y = 2.3;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(25);
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x -= 1.5;
this._y += 0.3;
if (_x < -500) {
costume = random(23);
this._x = 367.7;
this._y = -157.8;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(25);
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x += 1.5;
this._y -= 0.3;
if (_x > 370) {
costume = random(23);
this._x = -449.5;
this._y = 2.3;
}
} else {
_global.mission = 'failed';
}
}
}
}
movieClip 965 {
frame 1 {
stop();
}
frame 105 {
if (_global.gamelevel == '13') {
_root.gotoAndStop('endingseq');
} else {
_root.gotoAndStop('success');
}
}
}
instance successmv of movieClip 965 {
onClipEvent (load) {
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.mission == 'success' && checker == 0) {
checker = 1;
this.gotoAndPlay(3);
}
}
}
movieClip 967 {
frame 1 {
stop();
}
frame 55 {
_root.gotoAndStop('failed');
}
}
instance failedmv of movieClip 967 {
onClipEvent (load) {
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.mission == 'failed' && checker == 0) {
checker = 1;
this.gotoAndPlay(3);
}
}
}
movieClip 970 {
}
movieClip 972 {
}
movieClip 974 {
}
movieClip 975 {
}
movieClip 976 {
frame 1 {
stop();
}
frame 4 {
_global.reloading = 1;
}
frame 25 {
_global.reloading = 0;
}
}
instance crosshairmain of movieClip 976 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
onClipEvent (mouseDown) {
if (_global.reloading == 0 && _global.sniperbullet > 0) {
_global.sniperbullet -= 1;
this.gotoAndPlay(2);
}
if (_global.sniperbullet < 1) {
_global.mission = 'failed';
}
}
}
movieClip 978 {
}
movieClip 981 {
}
instance of movieClip 981 {
onClipEvent (enterFrame) {
if (_global.equipment == 'sniper') {
this._x = 765;
this.txtsniperbullet = _global.sniperbullet;
} else {
this._x = 850;
}
}
}
frame 15 {
stop();
}
movieClip 984 {
}
movieClip 987 {
}
movieClip 989 {
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 8;
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < 47) {
this._x += 0.3;
} else {
_global.mission = 'failed';
}
} else {
if (_global.mission == '') {
_global.mission = 'success';
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 23;
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < 21.8) {
this._x += 0.3;
} else {
this.mytarget.gotoAndStop('stand');
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 23;
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < 11) {
this._x += 0.3;
} else {
this.mytarget.gotoAndStop('stand');
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 23;
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < -1.2) {
this._x += 0.3;
} else {
this.mytarget.gotoAndStop('stand');
}
} else {
_global.mission = 'failed';
}
}
}
}
movieClip 990 {
}
instance of movieClip 990 {
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
oldmx = this.mission._x;
oldmy = this.mission._y;
}
onClipEvent (enterFrame) {
if (_global.reloading == 0) {
if (Key.isDown(90) && _global.gadget == 'superscope') {
var z = {'x': _root._xmouse, 'y': _root._ymouse};
this.globalToLocal(z);
_x = _root._xmouse;
_y = _root._ymouse;
_root.scope.gotoAndStop(2);
mission._x -= z.x;
mission._y -= z.y;
if (_xscale < 800) {
_yscale = _yscale + 20;
_xscale = _yscale + 20;
}
}
if (Key.isDown(88)) {
if (_xscale > 100) {
this._xscale = 100;
this._yscale = 100;
this._x = oldx;
this._y = oldy;
this.mission._x = oldmx;
this.mission._y = oldmy;
}
}
}
}
}
frame 16 {
stop();
}
movieClip 993 {
}
movieClip 998 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1000 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1002 {
}
movieClip 1003 {
}
movieClip 1005 {
}
movieClip 1007 {
}
movieClip 1008 {
instance of movieClip 998 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'success';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
instance of movieClip 1000 {
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
_global.mission = 'failed';
this.gotoAndStop(2);
}
}
}
}
movieClip 1010 {
instance of movieClip 1008 {
onClipEvent (enterFrame) {
this._x -= 1;
}
}
}
movieClip 1011 {
}
instance of movieClip 1011 {
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
oldmx = this.mission._x;
oldmy = this.mission._y;
}
onClipEvent (enterFrame) {
if (_global.reloading == 0) {
if (Key.isDown(90) && _global.gadget == 'superscope') {
var z = {'x': _root._xmouse, 'y': _root._ymouse};
this.globalToLocal(z);
_x = _root._xmouse;
_y = _root._ymouse;
_root.scope.gotoAndStop(2);
mission._x -= z.x;
mission._y -= z.y;
if (_xscale < 800) {
_yscale = _yscale + 20;
_xscale = _yscale + 20;
}
}
if (Key.isDown(88)) {
if (_xscale > 100) {
this._xscale = 100;
this._yscale = 100;
this._x = oldx;
this._y = oldy;
this.mission._x = oldmx;
this.mission._y = oldmy;
}
}
}
}
}
frame 17 {
stop();
}
movieClip 1016 {
}
movieClip 1019 {
}
movieClip 1023 {
frame 3 {
stop();
}
}
movieClip 1024 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1029 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1030 {
}
movieClip 1032 {
frame 18 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 19 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 20 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 21 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 22 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 23 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 24 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 25 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 26 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 27 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 28 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 29 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 30 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 31 {
if (_root.mission4.hand._rotation > 30) {
_parent.gotoAndStop('caught');
}
}
frame 31 {
stop();
}
instance of movieClip 1029 {
onClipEvent (enterFrame) {
if (random(30) == 10) {
_parent.gotoAndPlay('ending');
}
}
}
frame 32 {
_parent.checker = 0;
_parent.gotoAndStop('idle');
}
}
movieClip 1040 {
frame 3 {
_global.caught = 1;
_root.mission4.nastya.gotoAndStop('caught');
}
frame 40 {
_global.mission = 'failed';
stop();
}
}
movieClip 1041 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1043 {
}
movieClip 1044 {
instance of movieClip 1029 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
frame 56 {
stop();
_global.sleep = 1;
_global.mission = 'success';
}
}
movieClip 1045 {
frame 1 {
stop();
}
instance of movieClip 1041 {
onClipEvent (load) {
checker = 0;
vars = 100;
}
onClipEvent (enterFrame) {
if (_global.sleepval > 5000) {
vars = 100;
} else {
vars = 200;
}
if (_global.sleep != 1) {
look = random(vars);
if (look == 10 && checker == 0) {
checker = 1;
this.gotoAndStop('check');
}
}
}
}
frame 2 {
stop();
}
}
movieClip 1057 {
}
movieClip 1058 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1062 {
}
movieClip 1068 {
}
movieClip 1070 {
}
movieClip 1072 {
}
movieClip 1074 {
instance of movieClip 1072 {
onClipEvent (enterFrame) {
if (_global.caught == 0) {
currlife = (_global.sleepval / 10000) * 100;
this._yscale = currlife;
if (this._yscale >= 100) {
this._yscale = 100;
_global.sleep = 1;
_root.mission4.victim.gotoAndStop('sleep');
}
}
}
}
}
movieClip 1075 {
frame 1 {
drag = 0.96;
speed = 0;
_global.sleep = 0;
_global.sleepval = 0;
_global.caught = 0;
slider.handle.onPress = function () {
spinning = false;
this.startDrag(true, slider.line._x - slider.handle._width / 2, slider.line._y - slider.handle._height / 2, slider.line._width - slider.handle._width / 2, slider.line._y - slider.handle._height / 2);
};
slider.handle.onReleaseOutside = function () {
this.stopDrag();
};
slider.handle.onRelease = slider.handle.onReleaseOutside;
_root.mission4.onEnterFrame = function () {
if (spinning) {
hand._rotation += speed;
speed *= drag;
if (Math.pow(speed, 2) < 0.0001) {
speed = 0;
}
} else {
hand._rotation = (slider.line._x + slider.handle._x + slider.handle._width / 2) / 8;
}
};
}
instance hand of movieClip 1058 {
onClipEvent (enterFrame) {
if (_global.caught == 0) {
if (this._rotation > 30) {
this.gotoAndStop(2);
_global.sleepval += this._rotation / 2;
} else {
if (_global.sleepval > 0) {
_global.sleepval -= 10;
}
this.gotoAndStop(1);
}
}
}
}
}
frame 18 {
stop();
_global.maxlife = 500;
_global.herolife = 500;
_root.stormbg.start(0, 999);
}
movieClip 1078 {
}
movieClip 1081 {
}
movieClip 1082 {
}
movieClip 1083 {
frame 1 {
ctr = 0;
ctr2 = 0;
delayer = 0;
_global.soldiers = 50;
_global.gamepaused = 0;
_global.soldiersummonkilled = 0;
onEnterFrame = function () {
if (_global.gamepaused == 0) {
if (ctr != _global.soldiers) {
if (ctr2 != 18) {
if (random(20) == 10) {
spawnenemy = 'enemy1';
if (delayer == 0) {
spawnx = Math.floor(Math.random() * 201) + -100;
spawnx *= 10;
spawny = 1;
_root.mission5.sand.attachMovie(spawnenemy, 'enemy_' + _root.mission5.sand.getNextHighestDepth(), _root.mission5.sand.getNextHighestDepth(), {'_x': spawnx, '_y': spawny});
}
++ctr;
++ctr2;
}
}
if (ctr2 == 18 && delayer == 0) {
delayer = 1;
}
if (_global.soldiersummonkilled == 18) {
_global.soldiersummonkilled = 0;
delayer = 0;
ctr2 = 0;
}
}
if (_global.stagekill == _global.soldiers && checking != 1) {
ctr = 0;
ctr2 = 0;
delayer = 0;
_global.soldiersummonkilled = 0;
_global.soldiers += 2;
_global.gamepaused = 1;
}
}
};
}
}
movieClip 1085 {
}
movieClip 1086 {
frame 1 {
stop();
}
frame 10 {
stop();
_global.coverup = 1;
}
frame 20 {
_global.coverup = 0;
}
}
movieClip 1087 {
instance sand of movieClip 1083 {
onClipEvent (enterFrame) {
if (_global.shotmiss == 1) {
r = random(100);
_global.shotmiss = 0;
if (r == 1) {
_root.impact1.start();
} else {
if (r == 2) {
_root.impact2.start();
} else {
if (r == 3) {
_root.impact3.start();
} else {
if (r == 4) {
_root.impact4.start();
} else {
if (r == 5) {
_root.impact5.start();
}
}
}
}
}
}
if (_global.throwgrenade == 0 && _global.herolife > 0) {
if (Key.isDown(65) && this._x < 1100) {
this._x += 20;
_parent.frontruin._x += 5;
_parent.bgmount._x -= 2;
}
if (Key.isDown(68) && this._x > -1100) {
this._x -= 20;
_parent.frontruin._x -= 5;
_parent.bgmount._x += 2;
}
}
if (this.hitTest(_root.gun.crosshair.dot) && _global.shooting == 1) {
_global.shooting = 0;
if (random(2) == 1) {
spawnx = _root.mission5.sand._xmouse + random(20);
} else {
spawnx = _root.mission5.sand._xmouse - random(20);
}
spawny = _root.mission5.sand._ymouse;
mscale = spawny / 2;
_root.mission5.sand.attachMovie('bulletshot', 'bulletshot' + _root.mission5.sand.getNextHighestDepth(), _root.mission5.sand.getNextHighestDepth(), {'_x': spawnx, '_y': spawny, '_xscale': mscale, '_yscale': mscale});
_root.gun.attachMovie('bulletbuttthrow', 'bulletbuttthrow' + _root.gun.getNextHighestDepth(), _root.gun.getNextHighestDepth(), {'_x': 406, '_y': 286});
}
}
}
instance frontruin of movieClip 1086 {
onClipEvent (enterFrame) {
if (_global.throwgrenade == 0 && _global.herolife > 0) {
}
}
}
}
instance mission5 of movieClip 1087 {
onClipEvent (load) {
this.shake = 0;
this.shakeFric = 0.9;
this.shakeDir = 1;
}
onClipEvent (enterFrame) {
if (this.shake < 0.6) {
this.shake = 0;
this._x = 390.3;
this._y = 286.4;
} else {
this._x -= this.shake * this.shakeDir;
this._y -= this.shake * this.shakeDir;
this.shakeDir *= -1;
this.shake *= this.shakeFric;
}
}
}
movieClip 1091 {
frame 2 {
_global.shooting = 1;
_root.gun3fire.start();
}
frame 3 {
_global.shooting = 0;
}
}
movieClip 1094 {
}
movieClip 1096 {
}
movieClip 1098 {
frame 1 {
_global.reloading = 1;
}
frame 30 {
_root.gun3reload.start();
}
frame 41 {
_global.reloading = 0;
_global.mgunbullets = 30;
_parent.gotoAndStop('idle');
}
}
movieClip 1099 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1101 {
}
movieClip 1104 {
}
movieClip 1105 {
frame 1 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1107 {
}
movieClip 1109 {
}
movieClip 1111 {
}
movieClip 1154 {
frame 66 {
stop();
}
}
movieClip 1177 {
frame 1 {
_root.explosion.start();
}
frame 36 {
stop();
}
}
movieClip 1178 {
frame 1 {
_global.throwgrenade = 1;
_global.reloading = 0;
}
frame 34 {
_root.explosion2.start();
}
frame 81 {
_root.mission5.shake = 4;
}
frame 96 {
_root.mission5.shake = 4;
}
frame 107 {
_root.mission5.shake = 4;
}
frame 113 {
_global.throwgrenade = 0;
_parent.gotoAndStop(1);
}
}
movieClip 1179 {
frame 1 {
stop();
}
instance of movieClip 1099 {
onClipEvent (mouseDown) {
shoot = 1;
_global.weaponpower = 40;
}
onClipEvent (mouseUp) {
shoot = 0;
_global.shooting = 0;
}
onClipEvent (enterFrame) {
if (_global.coverup == 0 && _global.herolife > 0) {
if (shoot == 1 && _global.reloading == 0 && _global.mgunbullets > 0) {
if (_global.shooting == 1) {
_global.mgunbullets -= 1;
}
_parent.crosshair.gotoAndPlay(2);
this.gotoAndStop('shoot');
} else {
if (shoot == 1 && _global.reloading == 0 && _global.mgunbullets < 1) {
shoot = 0;
_global.reloading = 1;
_parent.crosshair.gotoAndStop(4);
this.gotoAndStop('reload');
} else {
if (Key.isDown(82) == true && _global.reloading == 0 && _global.mgunbullets < 30) {
shoot = 0;
_global.reloading = 1;
_parent.crosshair.gotoAndStop(4);
this.gotoAndStop('reload');
} else {
if (shoot == 0 && _global.reloading == 0) {
_parent.crosshair.gotoAndStop(1);
this.gotoAndStop('idle');
}
}
}
}
} else {
this.gotoAndStop('idle');
}
}
}
frame 2 {
stop();
}
}
instance gun of movieClip 1179 {
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if (Key.isDown(32) == true && _global.throwgrenade == 0 && _global.grenades > 0) {
this._x = 364;
this._y = 218;
_global.throwgrenade = 1;
_global.grenades -= 1;
this.gotoAndStop(2);
}
if (_global.throwgrenade == 0) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
}
}
}
movieClip 1182 {
}
instance of movieClip 1182 {
onClipEvent (load) {
this.shakeFric = 0.9;
this.shakeDir = 1;
}
onClipEvent (enterFrame) {
this.shake = _root.mission5.shake;
if (this.shake < 0.6) {
this.shake = 0;
this._x = 407.3;
this._y = 243.4;
} else {
this._x -= this.shake * this.shakeDir;
this._y -= this.shake * this.shakeDir;
this.shakeDir *= -1;
this.shake *= this.shakeFric;
}
}
}
movieClip 1185 {
}
movieClip 1186 {
instance of movieClip 1185 {
onClipEvent (enterFrame) {
currlife = (_global.herolife / _global.maxlife) * 100;
this._xscale = currlife;
}
}
}
// unknown tag 88 length 79
movieClip 1194 {
}
instance of movieClip 1194 {
onClipEvent (load) {
enemycount = _global.soldiers;
}
onClipEvent (enterFrame) {
if (_global.herolife <= 0) {
stopAllSounds();
_global.mission = 'failed';
}
if (_global.dessertkills >= 50) {
stopAllSounds();
_global.mission = 'success';
}
this.txtenemy = _global.soldiers - _global.dessertkills;
this.txtbullet = _global.mgunbullets;
this.txtgrenades = _global.grenades;
}
}
movieClip 1197 {
frame 1 {
stop();
}
frame 2 {
_root.mission5.shake = 2;
gotoAndPlay(3);
}
}
frame 19 {
stop();
}
movieClip 1200 {
}
movieClip 1202 {
}
movieClip 1204 {
}
movieClip 1208 {
}
movieClip 1215 {
}
movieClip 1221 {
}
movieClip 1222 {
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(17);
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(17);
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(17);
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(17);
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
this.mytarget.gotoAndStop('walkwithgun');
walkup = 0;
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_x > -97.45 && walkup == 0) {
this._x -= 0.4;
this._y += 0.2;
}
if (_x <= -58 && walkup == 0) {
walkup = 1;
this._xscale *= -1;
}
if (_x < 138.8 && walkup == 1) {
this._x += 0.4;
this._y -= 0.2;
}
if (_x >= 138.8 && walkup == 1) {
walkup = 0;
this._x = 138.8;
this._y = -65.3;
this._xscale *= -1;
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 23;
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 24;
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 23;
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(17);
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(17);
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(17);
guntype = 1;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
guntype = 1;
this.mytarget.gotoAndStop('triggerman');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
}
movieClip 1223 {
}
movieClip 1225 {
}
movieClip 1226 {
}
movieClip 1227 {
}
movieClip 1228 {
}
movieClip 1235 {
}
movieClip 1236 {
}
movieClip 1237 {
instance mission of movieClip 1223 {
onClipEvent (load) {
this.shake = 2;
this.shakeFric = 0.9;
this.shakeDir = 1;
}
onClipEvent (enterFrame) {
if (this.shake < 0.6) {
this.shake = 2;
} else {
this._x -= this.shake * this.shakeDir;
this._y -= this.shake * this.shakeDir;
this.shakeDir *= -1;
this.shake *= this.shakeFric;
}
}
}
instance of movieClip 1236 {
onClipEvent (enterFrame) {
if (_global.boat1 == 1 && _global.boat2 == 1 && _global.boat3 == 1 && _global.boat4 == 1 && _global.boat5 == 1) {
} else {
r = random(100);
if (r == 1) {
im1.gotoAndPlay(2);
_root.metalimpact1.start();
} else {
if (r == 2) {
im2.gotoAndPlay(2);
_root.metalimpact2.start();
} else {
if (r == 3) {
im3.gotoAndPlay(2);
_root.metalimpact3.start();
} else {
if (r == 4) {
im4.gotoAndPlay(2);
_root.metalimpact1.start();
}
}
}
}
}
}
}
}
instance of movieClip 1237 {
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
oldmx = this.mission._x;
oldmy = this.mission._y;
}
onClipEvent (enterFrame) {
if (_global.reloading == 0) {
if (Key.isDown(90) && _global.gadget == 'superscope') {
var z = {'x': _root._xmouse, 'y': _root._ymouse};
this.globalToLocal(z);
_x = _root._xmouse;
_y = _root._ymouse;
_root.scope.gotoAndStop(2);
mission._x -= z.x;
mission._y -= z.y;
if (_xscale < 800) {
_yscale = _yscale + 20;
_xscale = _yscale + 20;
}
}
if (Key.isDown(88)) {
if (_xscale > 100) {
this._xscale = 100;
this._yscale = 100;
this._x = oldx;
this._y = oldy;
this.mission._x = oldmx;
this.mission._y = oldmy;
}
}
}
}
}
instance crosshairmain of movieClip 976 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
onClipEvent (mouseDown) {
if (_global.reloading == 0 && _global.sniperbullet > 0) {
_global.sniperbullet -= 1;
this.gotoAndPlay(2);
}
if (_global.sniperbullet < 1) {
_global.mission = 'failed';
}
}
}
instance of movieClip 981 {
onClipEvent (enterFrame) {
if (_global.equipment == 'sniper') {
this._x = 765;
this.txtsniperbullet = _global.sniperbullet;
} else {
this._x = 850;
}
}
}
// unknown tag 88 length 68
movieClip 1242 {
}
instance of movieClip 1242 {
onClipEvent (load) {
totaltime = 120;
port = 0;
}
onClipEvent (enterFrame) {
if (port == 0) {
totaltime -= 0.05;
hr = 0;
min = Math.floor((totaltime / 3600) * 60);
sec = Math.floor(((totaltime / 3600) * 60 - min) * 60);
this._parent.txtminutes = min;
this._parent.txtseconds = sec;
if (sec < 10) {
this._parent.txtseconds = '0' + sec;
}
if (min < 10) {
this._parent.txtminutes = '0' + min;
}
}
if (totaltime < 1) {
port = 1;
if (_global.mission == '') {
_global.mission = 'success';
}
}
}
}
movieClip 1244 {
}
movieClip 1248 {
}
instance of movieClip 1248 {
onClipEvent (load) {
_global.enemykilled = 0;
enemycount = 6;
}
onClipEvent (enterFrame) {
if (_global.enemykilled == 6) {
if (_global.mission == '') {
_global.mission = 'success';
}
}
this.txtenemy = enemycount - _global.enemykilled;
}
}
frame 20 {
stop();
}
movieClip 1253 {
}
movieClip 1254 {
instance of movieClip 1253 {
onClipEvent (enterFrame) {
this._rotation += 1;
}
}
}
movieClip 1258 {
frame 1 {
stop();
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
frame 2 {
stop();
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 3;
this.mytarget.gotoAndStop('sit');
}
onClipEvent (enterFrame) {
if (alive == 0) {
if (_global.mission == '') {
_global.mission = 'failed';
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 15;
this.mytarget.gotoAndStop('sit');
}
onClipEvent (enterFrame) {
if (alive == 0) {
if (_global.mission == '') {
_global.mission = 'failed';
}
}
}
}
frame 3 {
stop();
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 6;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
if (_global.mission == '') {
_global.mission = 'failed';
}
}
}
}
frame 4 {
stop();
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 16;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
if (_global.mission == '') {
_global.mission = 'failed';
}
}
}
}
frame 5 {
stop();
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 20;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 16;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
if (_global.mission == '') {
_global.mission = 'failed';
}
}
}
}
frame 6 {
stop();
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 14;
this.mytarget.gotoAndStop('kneel');
}
onClipEvent (enterFrame) {
if (alive == 0) {
if (_global.mission == '') {
_global.mission = 'failed';
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 19;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled += 1;
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
movieClip 1259 {
instance of movieClip 1258 {
onClipEvent (load) {
this.gotoAndStop(_parent.rider);
}
}
}
movieClip 1263 {
}
movieClip 1265 {
instance of movieClip 1259 {
onClipEvent (load) {
rider = 7;
}
}
instance of movieClip 1259 {
onClipEvent (load) {
rider = 4;
}
}
instance of movieClip 1259 {
onClipEvent (load) {
rider = 3;
}
}
instance of movieClip 1259 {
onClipEvent (load) {
rider = 8;
}
}
instance of movieClip 1259 {
onClipEvent (load) {
rider = 2;
}
}
instance of movieClip 1259 {
onClipEvent (load) {
rider = 1;
}
}
instance of movieClip 1259 {
onClipEvent (load) {
rider = 6;
}
}
instance of movieClip 1259 {
onClipEvent (load) {
rider = 5;
}
}
}
// unknown tag 88 length 79
movieClip 1270 {
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(20);
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x += 1;
if (_x > 445) {
costume = random(23);
this._x = -445;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(20);
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x -= 1.5;
if (_x < -445) {
costume = random(23);
this._x = 445;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(20);
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x += 1.5;
if (_x > 445) {
costume = random(23);
this._x = -445;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(20);
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x -= 1.5;
if (_x < -445) {
costume = random(23);
this._x = 445;
}
} else {
_global.mission = 'failed';
}
}
}
}
movieClip 1271 {
}
instance of movieClip 1271 {
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
oldmx = this.mission._x;
oldmy = this.mission._y;
}
onClipEvent (enterFrame) {
if (_global.reloading == 0) {
if (Key.isDown(90) && _global.gadget == 'superscope') {
var z = {'x': _root._xmouse, 'y': _root._ymouse};
this.globalToLocal(z);
_x = _root._xmouse;
_y = _root._ymouse;
_root.scope.gotoAndStop(2);
mission._x -= z.x;
mission._y -= z.y;
if (_xscale < 800) {
_yscale = _yscale + 20;
_xscale = _yscale + 20;
}
}
if (Key.isDown(88)) {
if (_xscale > 100) {
this._xscale = 100;
this._yscale = 100;
this._x = oldx;
this._y = oldy;
this.mission._x = oldmx;
this.mission._y = oldmy;
}
}
}
}
}
instance of movieClip 1248 {
onClipEvent (load) {
_global.enemykilled = 0;
enemycount = 6;
}
onClipEvent (enterFrame) {
if (_global.enemykilled == 6) {
if (_global.mission == '') {
_global.mission = 'success';
}
}
this.txtenemy = enemycount - _global.enemykilled;
}
}
frame 21 {
stop();
Mouse.hide();
_global.maxlife = 1500;
_global.herolife = 1500;
_global.mgunbullets = 400;
_global.dessertkills = 0;
_global.coverup = 0;
_global.temperature = 0;
_global.maxtemp = 100;
}
movieClip 1274 {
}
movieClip 1276 {
}
movieClip 1277 {
frame 1 {
ctr = 0;
ctr2 = 0;
delayer = 0;
_global.soldiers = 100;
_global.gamepaused = 0;
_global.soldiersummonkilled = 0;
onEnterFrame = function () {
if (_global.gamepaused == 0) {
if (ctr != _global.soldiers) {
if (ctr2 != 30) {
if (random(20) == 10) {
spawnenemy = 'enemy1';
if (delayer == 0) {
spawnx = Math.floor(Math.random() * 141) + -70;
spawnx *= 10;
spawny = 1;
_root.mission8.sand.sand2.attachMovie(spawnenemy, 'enemy_' + _root.mission8.sand.sand2.getNextHighestDepth(), _root.mission8.sand.sand2.getNextHighestDepth(), {'_x': spawnx, '_y': spawny});
}
++ctr;
++ctr2;
}
}
if (ctr2 == 30 && delayer == 0) {
delayer = 1;
}
if (_global.soldiersummonkilled == 30) {
_global.soldiersummonkilled = 0;
delayer = 0;
ctr2 = 0;
}
}
if (_global.stagekill == _global.soldiers && checking != 1) {
ctr = 0;
ctr2 = 0;
delayer = 0;
_global.soldiersummonkilled = 0;
_global.soldiers += 2;
_global.gamepaused = 1;
}
}
};
}
}
movieClip 1286 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
}
movieClip 1287 {
instance sand of movieClip 1277 {
onClipEvent (enterFrame) {
if (_global.shotmiss == 1) {
r = random(100);
_global.shotmiss = 0;
if (r == 1) {
_root.impact1.start();
} else {
if (r == 2) {
_root.impact2.start();
} else {
if (r == 3) {
_root.impact3.start();
} else {
if (r == 4) {
_root.impact4.start();
} else {
if (r == 5) {
_root.impact5.start();
}
}
}
}
}
}
this._x = _parent._xmouse * -2;
if (this.hitTest(_root.gun.crosshair.dot) && _global.shooting == 1) {
_global.shooting = 0;
_root.gun.attachMovie('bulletbuttthrow2', 'bulletbuttthrow2' + _root.gun.getNextHighestDepth(), _root.gun.getNextHighestDepth(), {'_x': -155, '_y': -90});
}
}
}
instance of movieClip 1286 {
onClipEvent (enterFrame) {
xx = _root._xmouse;
if (xx > 0 && xx < 114) {
this.gotoAndStop(7);
} else {
if (xx > 114 && xx < 228) {
this.gotoAndStop(6);
} else {
if (xx > 228 && xx < 342) {
this.gotoAndStop(5);
} else {
if (xx > 342 && xx < 456) {
this.gotoAndStop(4);
} else {
if (xx > 456 && xx < 570) {
this.gotoAndStop(3);
} else {
if (xx > 570 && xx < 684) {
this.gotoAndStop(2);
} else {
if (xx > 684 && xx < 800) {
this.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
}
instance mission8 of movieClip 1287 {
onClipEvent (load) {
this.shake = 0;
this.shakeFric = 0.9;
this.shakeDir = 1;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 300 && _root._ymouse < 450) {
this._y = _root._ymouse;
}
if (this.shake < 0.6) {
this.shake = 0;
this._x = 399.9;
} else {
this._x -= this.shake * this.shakeDir;
this._y -= this.shake * this.shakeDir;
this.shakeDir *= -1;
this.shake *= this.shakeFric;
}
}
}
movieClip 1291 {
}
movieClip 1292 {
instance of movieClip 1291 {
onClipEvent (enterFrame) {
currtemp = (_global.temperature / _global.maxtemp) * 100;
this._xscale = currtemp;
}
}
}
movieClip 1294 {
}
movieClip 1299 {
}
movieClip 1302 {
frame 2 {
_global.shooting = 1;
_root.gun1fire.start();
_global.mgunbullets -= 1;
}
instance of movieClip 1299 {
onClipEvent (enterFrame) {
if (_global.tracer > 2) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
}
frame 5 {
_global.shooting = 0;
if (_global.tracer >= 3) {
_global.tracer = 0;
}
}
frame 5 {
_global.tracer += 1;
}
}
// unknown tag 88 length 75
movieClip 1307 {
}
movieClip 1310 {
}
movieClip 1312 {
}
movieClip 1313 {
}
movieClip 1314 {
frame 1 {
_global.reloading = 1;
}
frame 37 {
_global.reloading = 0;
_global.mgunbullets = 400;
_parent.gotoAndStop('idle');
}
}
movieClip 1315 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1316 {
instance of movieClip 1315 {
onClipEvent (load) {
shoot = 0;
tempup = 0;
}
onClipEvent (mouseDown) {
shoot = 1;
tempup = 1;
_global.shooting = 1;
}
onClipEvent (mouseUp) {
shoot = 0;
tempup = 0;
_global.shooting = 0;
}
onClipEvent (enterFrame) {
if (tempup == 0 && _global.temperature > 0) {
_global.temperature -= 2;
if (_global.temperature < 0) {
_global.temperature = 0;
}
}
if (tempup == 1 && _global.temperature < 100) {
_global.temperature += 0.5;
if (_global.temperature > 100) {
_global.temperature = 100;
}
}
if (_global.herolife > 0) {
if (shoot == 1 && _global.reloading == 0 && _global.mgunbullets > 0 && _global.temperature < 100) {
_parent.crosshair.gotoAndPlay(2);
this.gotoAndStop('shoot');
} else {
if (shoot == 1 && _global.reloading == 0 && _global.mgunbullets > 0 && _global.temperature >= 100) {
_parent.crosshair.gotoAndPlay(4);
this.gotoAndStop('overheat');
} else {
if (shoot == 1 && _global.reloading == 0 && _global.mgunbullets < 1) {
shoot = 0;
_global.reloading = 1;
_parent.crosshair.gotoAndStop(4);
this.gotoAndStop('reload');
} else {
if (Key.isDown(82) == true && _global.reloading == 0 && _global.mgunbullets < 30) {
shoot = 0;
_global.reloading = 1;
_parent.crosshair.gotoAndStop(4);
this.gotoAndStop('reload');
} else {
if (shoot == 0 && _global.reloading == 0) {
_parent.crosshair.gotoAndStop(1);
this.gotoAndStop('idle');
}
}
}
}
}
} else {
this.gotoAndStop('idle');
}
}
}
}
movieClip 1320 {
}
instance of movieClip 1320 {
onClipEvent (load) {
enemycount = _global.soldiers;
_global.mgunbullets = 400;
}
onClipEvent (enterFrame) {
if (_global.herolife <= 0) {
stopAllSounds();
_global.mission = 'failed';
}
if (_global.dessertkills >= 100) {
stopAllSounds();
_global.mission = 'success';
}
this.txtenemy = _global.soldiers - _global.dessertkills;
this.txtbullet = _global.mgunbullets;
}
}
frame 22 {
stop();
_global.detectcount = 0;
_global.enemykilled = 0;
_global.ministerkilled = 0;
_global.scanon = 0;
_global.poweron = 0;
_global.detector = 1;
_global.eshow1 = 0;
_global.eshow2 = 0;
_global.eshow3 = 0;
_global.eshow4 = 0;
_global.eshow5 = 0;
_global.eshow6 = 0;
_global.eshow1dead = 0;
_global.eshow2dead = 0;
_global.eshow3dead = 0;
_global.eshow4dead = 0;
_global.eshow5dead = 0;
_global.eshow6dead = 0;
}
movieClip 1330 {
frame 66 {
hitx = random(50);
if (hitx == 1) {
_global.ministerkilled = 1;
}
}
frame 105 {
gotoAndPlay(8);
}
}
movieClip 1337 {
frame 15 {
stop();
}
}
movieClip 1338 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1340 {
}
movieClip 1342 {
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(20);
if (costume == 8) {
costume = 10;
}
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x += 1.5;
if (_x > 445) {
costume = random(23);
this._x = -445;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(20);
if (costume == 8) {
costume = 10;
}
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x += 1.5;
if (_x > 445) {
costume = random(23);
this._x = -445;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(20);
if (costume == 8) {
costume = 10;
}
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x -= 1.5;
if (_x < -445) {
costume = random(23);
this._x = 445;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = random(20);
if (costume == 8) {
costume = 10;
}
this.mytarget.gotoAndStop('walk');
}
onClipEvent (enterFrame) {
if (alive == 1) {
this._x -= 1.5;
if (_x < -445) {
costume = random(23);
this._x = 445;
}
} else {
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 8;
this.mytarget.gotoAndStop('feedbird');
}
onClipEvent (enterFrame) {
if (alive == 1 && _global.ministerkilled == 1) {
alive = 0;
this.mytarget.gotoAndStop('dead');
}
if (alive == 0) {
if (_global.mission == '') {
_global.mission = 'failed';
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 26;
guntype = 2;
this.mytarget.gotoAndStop('stand2');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 26;
guntype = 2;
this.mytarget.gotoAndStop('stand2');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.mission = 'failed';
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 26;
guntype = 2;
this.mytarget.gotoAndStop('stand2');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 0 && checker == 0) {
checker = 1;
_global.mission = 'failed';
}
}
}
instance of movieClip 1338 {
onClipEvent (load) {
alive = 1;
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.eshow1 == 1 && checker == 0) {
checker = 1;
this.gotoAndStop(2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot) && alive == 1 && _global.eshow1 == 1) {
alive = 0;
_global.eshow1dead = 1;
this.gotoAndStop('dead');
}
}
}
instance of movieClip 1338 {
onClipEvent (load) {
alive = 1;
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.eshow2 == 1 && checker == 0) {
checker = 1;
this.gotoAndStop(2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot) && alive == 1 && _global.eshow2 == 1) {
alive = 0;
_global.eshow2dead = 1;
this.gotoAndStop('dead');
}
}
}
instance of movieClip 1338 {
onClipEvent (load) {
alive = 1;
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.eshow3 == 1 && checker == 0) {
checker = 1;
this.gotoAndStop(2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot) && alive == 1 && _global.eshow3 == 1) {
alive = 0;
_global.eshow3dead = 1;
this.gotoAndStop('dead');
}
}
}
instance of movieClip 1338 {
onClipEvent (load) {
alive = 1;
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.eshow4 == 1 && checker == 0) {
checker = 1;
this.gotoAndStop(2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot) && alive == 1 && _global.eshow4 == 1) {
alive = 0;
_global.eshow4dead = 1;
this.gotoAndStop('dead');
}
}
}
instance of movieClip 1338 {
onClipEvent (load) {
alive = 1;
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.eshow5 == 1 && checker == 0) {
checker = 1;
this.gotoAndStop(2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot) && alive == 1 && _global.eshow5 == 1) {
alive = 0;
_global.eshow5dead = 1;
this.gotoAndStop('dead');
}
}
}
instance of movieClip 1338 {
onClipEvent (load) {
alive = 1;
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.eshow6 == 1 && checker == 0) {
checker = 1;
this.gotoAndStop(2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshairmain.crosshair.dot) && alive == 1 && _global.eshow6 == 1) {
alive = 0;
_global.eshow6dead = 1;
this.gotoAndStop('dead');
}
}
}
instance of movieClip 766 {
onClipEvent (load) {
alive = 1;
this.gotoAndStop(random(3));
}
onClipEvent (mouseDown) {
if (alive == 1) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
alive = 0;
_global.mission = 'failed';
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
this.gotoAndStop('dead');
}
}
}
}
}
instance of movieClip 766 {
onClipEvent (load) {
alive = 1;
this.gotoAndStop(random(3));
}
onClipEvent (mouseDown) {
if (alive == 1) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
alive = 0;
_global.mission = 'failed';
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
this.gotoAndStop('dead');
}
}
}
}
}
instance of movieClip 766 {
onClipEvent (load) {
alive = 1;
this.gotoAndStop(random(3));
}
onClipEvent (mouseDown) {
if (alive == 1) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
alive = 0;
_global.mission = 'failed';
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
this.gotoAndStop('dead');
}
}
}
}
}
instance of movieClip 766 {
onClipEvent (load) {
alive = 1;
this.gotoAndStop(random(3));
}
onClipEvent (mouseDown) {
if (alive == 1) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
alive = 0;
_global.mission = 'failed';
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
this.gotoAndStop('dead');
}
}
}
}
}
instance of movieClip 766 {
onClipEvent (load) {
alive = 1;
this.gotoAndStop(random(3));
}
onClipEvent (mouseDown) {
if (alive == 1) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
alive = 0;
_global.mission = 'failed';
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
this.gotoAndStop('dead');
}
}
}
}
}
instance of movieClip 766 {
onClipEvent (load) {
alive = 1;
this.gotoAndStop(random(3));
}
onClipEvent (mouseDown) {
if (alive == 1) {
if (this.hitTest(_root.crosshairmain.crosshair.dot)) {
alive = 0;
_global.mission = 'failed';
if (_global.reloading == 0 && _global.sniperbullet >= 0) {
this.gotoAndStop('dead');
}
}
}
}
}
}
movieClip 1343 {
}
instance of movieClip 1343 {
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
oldmx = this.mission._x;
oldmy = this.mission._y;
}
onClipEvent (enterFrame) {
if (_global.eshow1dead == 1 && _global.eshow2dead == 1 && _global.eshow3dead == 1 && _global.eshow4dead == 1 && _global.eshow5dead == 1 && _global.eshow6dead == 1) {
_global.mission = 'success';
}
if (_global.reloading == 0) {
if (Key.isDown(90) && _global.gadget == 'superscope' && _global.detector == 0) {
var z = {'x': _root._xmouse, 'y': _root._ymouse};
this.globalToLocal(z);
_x = _root._xmouse;
_y = _root._ymouse;
_root.scope.gotoAndStop(2);
mission._x -= z.x;
mission._y -= z.y;
if (_xscale < 800) {
_yscale = _yscale + 20;
_xscale = _yscale + 20;
}
}
if (Key.isDown(88)) {
if (_xscale > 100) {
this._xscale = 100;
this._yscale = 100;
this._x = oldx;
this._y = oldy;
this.mission._x = oldmx;
this.mission._y = oldmy;
}
}
}
}
}
instance crosshairmain of movieClip 976 {
onClipEvent (enterFrame) {
if (_global.detector == 0) {
this._alpha = 100;
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
} else {
this._alpha = 0;
Mouse.show();
}
}
onClipEvent (mouseDown) {
if (_global.detector == 0) {
if (_global.reloading == 0 && _global.sniperbullet > 0) {
_global.sniperbullet -= 1;
this.gotoAndPlay(2);
}
if (_global.sniperbullet < 1) {
_global.mission = 'failed';
}
}
}
}
instance of movieClip 981 {
onClipEvent (enterFrame) {
if (_global.equipment == 'sniper') {
this._x = 765;
this.txtsniperbullet = _global.sniperbullet;
} else {
this._x = 850;
}
}
}
movieClip 1362 {
}
movieClip 1372 {
}
movieClip 1373 {
}
movieClip 1378 {
}
movieClip 1381 {
}
movieClip 1384 {
}
movieClip 1386 {
}
movieClip 1387 {
frame 11 {
stop();
}
}
movieClip 1388 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1390 {
}
movieClip 1391 {
frame 60 {
_global.detectcount += 1;
}
}
movieClip 1392 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1393 {
frame 1 {
stop();
}
frame 66 {
stop();
}
instance of movieClip 1388 {
onClipEvent (enterFrame) {
if (_global.detectcount > 3 && _global.eshow1 == 0) {
_global.eshow1 = 1;
this.gotoAndStop(2);
}
if (_global.eshow1 == 1 && _global.eshow1dead == 1) {
this.gotoAndStop(3);
}
}
}
instance of movieClip 1388 {
onClipEvent (enterFrame) {
if (_global.detectcount > 20 && _global.eshow5 == 0) {
_global.eshow5 = 1;
this.gotoAndStop(2);
}
if (_global.eshow5 == 1 && _global.eshow5dead == 1) {
this.gotoAndStop(3);
}
}
}
instance of movieClip 1388 {
onClipEvent (enterFrame) {
if (_global.detectcount > 6 && _global.eshow2 == 0) {
_global.eshow2 = 1;
this.gotoAndStop(2);
}
if (_global.eshow2 == 1 && _global.eshow2dead == 1) {
this.gotoAndStop(3);
}
}
}
instance of movieClip 1388 {
onClipEvent (enterFrame) {
if (_global.detectcount > 9 && _global.eshow3 == 0) {
_global.eshow3 = 1;
this.gotoAndStop(2);
}
if (_global.eshow3 == 1 && _global.eshow3dead == 1) {
this.gotoAndStop(3);
}
}
}
instance of movieClip 1388 {
onClipEvent (enterFrame) {
if (_global.detectcount > 23 && _global.eshow6 == 0) {
_global.eshow6 = 1;
this.gotoAndStop(2);
}
if (_global.eshow6 == 1 && _global.eshow6dead == 1) {
this.gotoAndStop(3);
}
}
}
instance of movieClip 1388 {
onClipEvent (enterFrame) {
if (_global.detectcount > 14 && _global.eshow4 == 0) {
_global.eshow4 = 1;
this.gotoAndStop(2);
}
if (_global.eshow4 == 1 && _global.eshow4dead == 1) {
this.gotoAndStop(3);
}
}
}
instance of movieClip 1392 {
onClipEvent (enterFrame) {
if (_global.scanon == 1) {
this.gotoAndStop(2);
} else {
_global.detectcount = 0;
this.gotoAndStop(1);
}
}
}
}
movieClip 1396 {
}
button 1397 {
on (release) {
if (_global.poweron == 0) {
_global.poweron = 1;
detector.gotoAndPlay(2);
}
}
}
// unknown tag 88 length 143
button 1401 {
on (release) {
if (_global.scanon == 0) {
_global.scanon = 1;
}
}
}
movieClip 1404 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1405 {
instance of movieClip 1404 {
onClipEvent (enterFrame) {
if (_global.poweron == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 1404 {
onClipEvent (enterFrame) {
if (_global.poweron == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 1404 {
onClipEvent (enterFrame) {
if (_global.poweron == 1) {
this.gotoAndStop(2);
}
}
}
}
movieClip 1406 {
frame 10 {
stop();
}
frame 25 {
stop();
_global.detector = 0;
}
}
instance detector of movieClip 1406 {
onClipEvent (load) {
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.detectcount == 2 && checker == 0) {
checker = 1;
this.gotoAndPlay(11);
}
}
}
frame 23 {
stop();
_global.enemykill = 0;
_global.gnomove = 0;
_global.maxlife = 15000;
_global.herolife = 15000;
}
movieClip 1410 {
}
movieClip 1411 {
}
movieClip 1415 {
}
movieClip 1417 {
}
movieClip 1419 {
frame 1 {
stop();
}
}
movieClip 1431 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
}
movieClip 1440 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
}
movieClip 1442 {
}
movieClip 1443 {
instance of movieClip 1419 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1431 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1440 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
}
movieClip 1445 {
}
movieClip 1447 {
}
movieClip 1448 {
}
movieClip 1451 {
}
movieClip 1453 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
}
movieClip 1455 {
}
movieClip 1456 {
instance of movieClip 1453 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
}
movieClip 1459 {
frame 5 {
_global.herolife -= 100;
}
frame 10 {
_global.herolife -= 100;
}
frame 11 {
_global.herolife -= 100;
}
}
movieClip 1461 {
}
movieClip 1463 {
}
movieClip 1465 {
}
movieClip 1466 {
}
movieClip 1482 {
}
movieClip 1503 {
frame 1 {
_root.explodesound.start();
}
frame 36 {
stop();
}
}
movieClip 1537 {
frame 45 {
stop();
}
}
movieClip 1539 {
instance of movieClip 1440 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1431 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1440 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1419 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
frame 22 {
stop();
}
}
movieClip 1540 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1544 {
}
movieClip 1546 {
}
movieClip 1548 {
frame 1 {
stop();
}
}
movieClip 1558 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
movieClip 1565 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 1567 {
}
movieClip 1571 {
}
movieClip 1574 {
frame 1 {
_global.herolife -= 100;
}
instance of movieClip 1548 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1558 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1565 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1548 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
frame 20 {
_global.herolife -= 100;
}
}
movieClip 1576 {
}
movieClip 1578 {
}
movieClip 1580 {
}
movieClip 1582 {
}
movieClip 1583 {
frame 16 {
stop();
}
}
movieClip 1584 {
frame 34 {
stop();
}
}
movieClip 1587 {
}
movieClip 1588 {
frame 56 {
stop();
}
}
movieClip 1589 {
}
movieClip 1590 {
frame 41 {
stop();
}
}
movieClip 1591 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1593 {
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1591 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1591 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1591 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1591 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 31) + 80;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < targetpart) {
this._x += speed;
}
if (this._x >= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 190) + 611;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x > targetpart) {
this._x -= speed;
}
if (this._x <= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 190) + 611;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x > targetpart) {
this._x -= speed;
}
if (this._x <= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 190) + 611;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x > targetpart) {
this._x -= speed;
}
if (this._x <= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1540 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 190) + 611;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x > targetpart) {
this._x -= speed;
}
if (this._x <= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1591 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 190) + 611;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x > targetpart) {
this._x -= speed;
}
if (this._x <= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1591 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 190) + 611;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x > targetpart) {
this._x -= speed;
}
if (this._x <= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1591 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 190) + 611;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x > targetpart) {
this._x -= speed;
}
if (this._x <= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1591 {
onClipEvent (load) {
alive = 1;
speed = random(5);
if (speed < 2) {
speed = 3;
}
targetpart = Math.floor(Math.random() * 190) + 611;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x > targetpart) {
this._x -= speed;
}
if (this._x <= targetpart) {
this.gotoAndStop('attack');
}
}
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root['gexplosion_' + i].explosion.gtarget)) {
alive = 0;
_global.enemykill += 1;
this.gotoAndStop('dead');
}
++i;
}
}
}
}
instance of movieClip 1482 {
onClipEvent (enterFrame) {
if (_global.herolife < 12000) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
}
instance of movieClip 1482 {
onClipEvent (enterFrame) {
if (_global.herolife < 8000) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
}
instance of movieClip 1482 {
onClipEvent (enterFrame) {
if (_global.herolife < 10000) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
}
instance of movieClip 1482 {
onClipEvent (enterFrame) {
if (_global.herolife < 5000) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
}
instance of movieClip 1482 {
onClipEvent (enterFrame) {
if (_global.herolife < 3000) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
}
}
movieClip 1594 {
instance mission10main of movieClip 1593 {
onClipEvent (enterFrame) {
if (Key.isDown(65) && this._x < 0) {
this._x += 20;
}
if (Key.isDown(68) && this._x > -1070) {
this._x -= 20;
}
}
}
}
instance mission10 of movieClip 1594 {
onClipEvent (load) {
this.shake = 0;
this.shakeFric = 0.9;
this.shakeDir = 1;
}
onClipEvent (enterFrame) {
if (this.shake < 0.6) {
this.shake = 0;
this._x = 458.9;
this._y = 298.5;
} else {
this._x -= this.shake * this.shakeDir;
this._y -= this.shake * this.shakeDir;
this.shakeDir *= -1;
this.shake *= this.shakeFric;
}
}
}
movieClip 1596 {
}
movieClip 1597 {
}
movieClip 1610 {
frame 23 {
stop();
}
}
movieClip 1612 {
frame 1 {
_global.gnomove = 1;
_root.explosion2.start();
if (_global.gamelevel == 10) {
gx = _root.glauncher._x;
gy = _root.glauncher._y + 120;
gxscale = _root.glauncher._y / 2;
gyscale = _root.glauncher._y / 2;
} else {
if (_global.gamelevel == 11) {
gx = _parent._x;
gy = _parent._y + 120;
gxscale = _parent._y / 20;
gyscale = _parent._y / 20;
}
}
}
frame 2 {
_root.mission10.shake = 2;
}
frame 7 {
_global.explodenum += 1;
if (_global.explodenum > 5) {
_global.explodenum = 1;
}
if (_global.gamelevel == 10) {
_root.attachMovie('gexplosion', 'gexplosion_' + _global.explodenum, _root.getNextHighestDepth(), {'_x': gx, '_y': gy, '_xscale': gxscale, '_yscale': gyscale});
} else {
if (_global.gamelevel == 11) {
_parent._parent.weaponloader.attachMovie('gexplosion2', 'gexplosion2_' + _global.explodenum, _parent._parent.weaponloader.getNextHighestDepth(), {'_x': gx, '_y': gy, '_xscale': gxscale, '_yscale': gyscale});
}
}
_global.gnomove = 0;
}
frame 54 {
_parent.gotoAndStop('idle');
}
}
movieClip 1613 {
frame 1 {
stop();
}
instance of movieClip 1597 {
onClipEvent (enterFrame) {
if (_global.gamelevel == 10) {
if (_parent._y < 360) {
this._alpha = 100;
this._xscale = _parent._y / 4;
this._yscale = _parent._y / 4;
} else {
this._alpha = 0;
}
} else {
if (_global.gamelevel == 11) {
this._alpha = _parent._y / 10;
this._xscale = _parent._y / 10;
this._yscale = _parent._y / 10;
}
}
}
}
frame 2 {
stop();
}
}
instance glauncher of movieClip 1613 {
onClipEvent (enterFrame) {
if (_global.gnomove == 0) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
}
onClipEvent (mouseDown) {
this.gotoAndStop('shoot');
}
}
movieClip 1615 {
}
instance of movieClip 1186 {
onClipEvent (enterFrame) {
if (_global.herolife <= 0) {
stopAllSounds();
_global.mission = 'failed';
}
if (_global.enemykill >= 18) {
stopAllSounds();
_global.mission = 'success';
}
}
}
movieClip 1619 {
frame 64 {
stop();
}
}
frame 24 {
stop();
_global.gnomove = 0;
_global.alert = 0;
_global.sniperbullet = 50;
_root.stormbg.start(0, 999);
}
movieClip 1622 {
}
movieClip 1625 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
}
movieClip 1627 {
}
movieClip 1629 {
}
movieClip 1639 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
}
movieClip 1650 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
}
movieClip 1652 {
}
movieClip 1653 {
frame 1 {
if (random(50) > 5) {
gotoAndPlay(nextFrame);
} else {
gotoAndPlay(1);
}
}
instance of movieClip 1625 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1639 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1650 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
}
movieClip 1655 {
}
movieClip 1657 {
}
movieClip 1659 {
}
movieClip 1661 {
}
movieClip 1663 {
}
movieClip 1665 {
}
movieClip 1667 {
}
movieClip 1669 {
}
movieClip 1671 {
}
movieClip 1672 {
}
movieClip 1674 {
}
movieClip 1675 {
}
movieClip 1676 {
instance of movieClip 1625 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1639 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1650 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
instance of movieClip 1625 {
onClipEvent (load) {
this.gotoAndStop(this._parent._parent.looks);
}
}
frame 2 {
if (_global.gamepaused == 0) {
spawnx = Math.floor(Math.random() * 21) + 540;
spawny = Math.floor(Math.random() * 61) + 190;
_root.road.attachMovie('sparks', 'sparks' + _root.road.getNextHighestDepth(), _root.road.getNextHighestDepth(), {'_x': spawnx, '_y': spawny});
_global.life -= _parent.attackpower;
efire = random(3);
if (efire == 1) {
_root.enemyfire.start();
} else {
if (efire == 2) {
_root.enemyfire2.start();
} else {
_root.enemyfire3.start();
}
}
impact = random(30);
if (impact == 1) {
_root.metalimpact1.start();
} else {
if (impact == 2) {
_root.metalimpact2.start();
} else {
if (impact == 3) {
_root.metalimpact3.start();
}
}
}
rico = random(30);
if (rico == 1) {
_root.ricochet1.start();
} else {
if (rico == 2) {
_root.ricochet2.start();
} else {
if (rico == 3) {
_root.ricochet3.start();
} else {
if (rico == 4) {
_root.ricochet4.start();
}
}
}
}
}
}
}
movieClip 1677 {
frame 1 {
stop();
}
frame 133 {
_global.alert2 = 1;
stop();
}
}
movieClip 1695 {
}
movieClip 1704 {
}
movieClip 1705 {
}
movieClip 1707 {
}
movieClip 1710 {
}
movieClip 1711 {
frame 16 {
stop();
}
}
movieClip 1712 {
frame 34 {
stop();
}
}
movieClip 1715 {
}
movieClip 1716 {
frame 56 {
stop();
}
}
movieClip 1717 {
frame 1 {
_root.rocketexplode.start();
}
}
movieClip 1718 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1721 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1738 {
}
movieClip 1739 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1741 {
frame 1 {
function createSnow(container, numberOfFlakes) {
var v4 = 0;
while (v4 < numberOfFlakes) {
var v2 = container.attachMovie('snow_mc', 'snow' + container.getNextHighestDepth(), container.getNextHighestDepth());
v2.r = 1 + Math.random() * speed;
v2.k = -Math.PI + Math.random() * Math.PI;
v2.rad = 0;
var v3 = random(50) + 50;
v2._xscale = v3;
v2._yscale = v3;
v2._alpha = random(100) + 50;
v2._x = random(movieWidth);
v2._y = random(movieHeight);
v2.onEnterFrame = function () {
this.rad += (this.k / 180) * Math.PI;
this._x -= Math.cos(this.rad) + wind;
this._y += speed;
if (this._y >= movieHeight) {
this._y = -5;
}
if (this._x >= movieWidth) {
this._x = 1;
}
if (this._x <= 0) {
this._x = movieWidth - 1;
}
};
++v4;
}
}
var speed = 5;
var wind = -8;
var movieWidth = 800;
var movieHeight = 600;
createSnow(_root.mission11.mission.missionsnowy, 150);
}
instance of movieClip 1677 {
onClipEvent (load) {
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.alert == 1 && checker == 0) {
checker = 1;
this.gotoAndPlay(2);
}
}
}
instance of movieClip 1677 {
onClipEvent (load) {
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.alert2 == 1 && checker == 0) {
checker = 1;
this.gotoAndPlay(2);
}
}
}
instance of movieClip 1677 {
onClipEvent (load) {
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.alert2 == 1 && checker == 0) {
checker = 1;
this.gotoAndPlay(2);
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1 && checker2 == 0) {
checker2 = 1;
this.mytarget.gotoAndStop('shoot');
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1 && checker2 == 0) {
checker2 = 1;
this.mytarget.gotoAndStop('shoot');
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x > 470) {
this._x -= 1;
this.mytarget.gotoAndStop('runwithgun');
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x > 470) {
this._x -= 1;
this.mytarget.gotoAndStop('runwithgun');
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x > 510) {
this._x -= 1;
this.mytarget.gotoAndStop('runwithgun');
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x < 740) {
this._x += 0.5;
this.mytarget.gotoAndStop('runwithgun');
} else {
_global.mission = 'failed';
this.mytarget.gotoAndStop('standwithgun');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x < 670) {
this._x += 0.3;
this.mytarget.gotoAndStop('runwithgun');
} else {
_global.mission = 'failed';
this._alpha = 0;
this.mytarget.gotoAndStop('standwithgun');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x < 740) {
this._x += 0.5;
this.mytarget.gotoAndStop('runwithgun');
} else {
_global.mission = 'failed';
this.mytarget.gotoAndStop('standwithgun');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x < 670) {
this._x += 0.3;
this.mytarget.gotoAndStop('runwithgun');
} else {
_global.mission = 'failed';
this._alpha = 0;
this.mytarget.gotoAndStop('standwithgun');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x < 670) {
this._x += 0.3;
this.mytarget.gotoAndStop('runwithgun');
} else {
_global.mission = 'failed';
this._alpha = 0;
this.mytarget.gotoAndStop('standwithgun');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
alive = 0;
this.mytarget.gotoAndStop('dead2');
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_root.snowstormwar.start(0, 999);
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 25;
guntype = 2;
this.mytarget.gotoAndStop('runwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < 62) {
this._x += 1;
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1 && checker2 == 0) {
checker2 = 1;
this._xscale *= -1;
this.mytarget.gotoAndStop('shoot');
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1 && checker2 == 0) {
checker2 = 1;
this.mytarget.gotoAndStop('shoot');
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
checker3 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1 && checker2 == 0) {
checker2 = 1;
this.mytarget.gotoAndStop('shoot');
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 25;
guntype = 2;
this.mytarget.gotoAndStop('runwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < 60) {
this._x += 1;
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 25;
guntype = 2;
this.mytarget.gotoAndStop('runwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < 65) {
this._x += 1;
} else {
_global.alert = 1;
this.mytarget.gotoAndStop('shoot');
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 25;
guntype = 2;
this.mytarget.gotoAndStop('runwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < 62) {
this._x += 1;
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x > 286) {
this._x -= 1;
this.mytarget.gotoAndStop('runwithgun');
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 25;
guntype = 2;
this.mytarget.gotoAndStop('runwithgun');
checker = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (this._x < 62) {
this._x += 1;
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x > 286) {
this._x -= 1;
this.mytarget.gotoAndStop('runwithgun');
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 957 {
onClipEvent (load) {
alive = 1;
costume = 27;
guntype = 1;
this.mytarget.gotoAndStop('standwithgun');
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1) {
if (this._x > 320) {
this._x -= 1;
this.mytarget.gotoAndStop('runwithgun');
} else {
this.mytarget.gotoAndStop('shoot');
}
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.enemykilled -= 1;
}
}
}
instance of movieClip 1718 {
onClipEvent (load) {
alive = 1;
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1 && _global.enemykilled <= 12) {
if (this._x > 478) {
this._x -= 2;
} else {
if (this._x > -20) {
this._rotation = 8;
this._x -= 2;
this._y -= 1;
} else {
_global.mission = 'failed';
}
}
}
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['missileshoot_' + i].explosion)) {
alive = 0;
this.gotoAndStop(2);
}
++i;
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.planekilled -= 1;
}
}
}
instance of movieClip 1718 {
onClipEvent (load) {
alive = 1;
checker = 0;
checker2 = 0;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.alert == 1 && _global.enemykilled <= 14) {
if (this._x > 452) {
this._x -= 2;
} else {
if (this._x > -20) {
this._rotation = 8;
this._x -= 2;
this._y -= 1;
} else {
_global.mission = 'failed';
}
}
}
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['missileshoot_' + i].explosion)) {
alive = 0;
this.gotoAndStop(2);
}
++i;
}
}
if (alive == 0 && checker == 0) {
checker = 1;
_global.planekilled -= 1;
}
}
}
instance of movieClip 1721 {
onClipEvent (load) {
alive = 1;
}
onClipEvent (enterFrame) {
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['gexplosion2_' + i])) {
alive = 0;
_global.barracks -= 1;
this.gotoAndStop(2);
}
++i;
}
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['missileshoot_' + i].explosion)) {
alive = 0;
_global.barracks -= 1;
this.gotoAndStop(2);
}
++i;
}
}
}
}
instance of movieClip 1721 {
onClipEvent (load) {
alive = 1;
}
onClipEvent (enterFrame) {
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['gexplosion2_' + i])) {
alive = 0;
_global.barracks -= 1;
this.gotoAndStop(2);
}
++i;
}
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['missileshoot_' + i].explosion)) {
alive = 0;
_global.barracks -= 1;
this.gotoAndStop(2);
}
++i;
}
}
}
}
instance of movieClip 1721 {
onClipEvent (load) {
alive = 1;
}
onClipEvent (enterFrame) {
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['gexplosion2_' + i])) {
alive = 0;
_global.barracks -= 1;
this.gotoAndStop(2);
}
++i;
}
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['missileshoot_' + i].explosion)) {
alive = 0;
_global.barracks -= 1;
this.gotoAndStop(2);
}
++i;
}
}
}
}
instance of movieClip 1721 {
onClipEvent (load) {
alive = 1;
}
onClipEvent (enterFrame) {
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['gexplosion2_' + i])) {
alive = 0;
_global.barracks -= 1;
this.gotoAndStop(2);
}
++i;
}
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['missileshoot_' + i].explosion)) {
alive = 0;
_global.barracks -= 1;
this.gotoAndStop(2);
}
++i;
}
}
}
}
instance of movieClip 1739 {
onClipEvent (load) {
alive = 1;
}
onClipEvent (enterFrame) {
if (alive == 1) {
i = 1;
while (i <= 5) {
if (this.hitTest(_root.guns.weaponloader['gexplosion2_' + i])) {
alive = 0;
_global.armory -= 1;
this.gotoAndStop(2);
}
++i;
}
j = 1;
while (j <= 5) {
if (this.hitTest(_root.guns.weaponloader['missileshoot_' + j].explosion)) {
alive = 0;
_global.armory -= 1;
this.gotoAndStop(2);
}
++j;
}
}
}
}
}
movieClip 1742 {
}
movieClip 1743 {
}
instance mission11 of movieClip 1743 {
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
oldmx = this.mission._x;
oldmy = this.mission._y;
}
onClipEvent (enterFrame) {
if (_global.reloading == 0) {
if (Key.isDown(90) && _global.gadget == 'superscope' && _global.wep == 1) {
var z = {'x': _root._xmouse, 'y': _root._ymouse};
this.globalToLocal(z);
_x = _root._xmouse;
_y = _root._ymouse;
_root.scope.gotoAndStop(2);
mission._x -= z.x;
mission._y -= z.y;
if (_xscale < 800) {
_yscale = _yscale + 20;
_xscale = _yscale + 20;
}
}
if (Key.isDown(88)) {
if (_xscale > 100) {
this._xscale = 100;
this._yscale = 100;
this._x = oldx;
this._y = oldy;
this.mission._x = oldmx;
this.mission._y = oldmy;
}
}
}
}
}
movieClip 1745 {
}
movieClip 1747 {
}
movieClip 1748 {
}
movieClip 1751 {
frame 1 {
_global.gnomove = 1;
gx = _parent._x + 30;
gy = _parent._y + 100;
}
frame 2 {
_root.mission11.shake = 2;
}
frame 7 {
_global.explodenum += 1;
if (_global.explodenum > 5) {
_global.explodenum = 1;
}
_parent._parent.weaponloader.attachMovie('missileshoot', 'missileshoot_' + _global.explodenum, _parent._parent.weaponloader.getNextHighestDepth(), {'_x': gx, '_y': gy});
_global.gnomove = 0;
}
frame 44 {
_parent.gotoAndStop('idle');
}
}
movieClip 1752 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1753 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance crosshairmain of movieClip 976 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
onClipEvent (mouseDown) {
if (_global.reloading == 0 && _global.sniperbullet > 0) {
_global.sniperbullet -= 1;
this.gotoAndPlay(2);
}
if (_global.sniperbullet < 1) {
_global.mission = 'failed';
}
}
}
frame 3 {
stop();
}
instance glauncher of movieClip 1613 {
onClipEvent (enterFrame) {
if (_global.gnomove == 0) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
}
onClipEvent (mouseDown) {
this.gotoAndStop('shoot');
}
}
frame 4 {
stop();
}
instance of movieClip 1752 {
onClipEvent (enterFrame) {
if (_global.gnomove == 0) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
}
onClipEvent (mouseDown) {
this.gotoAndStop('shoot');
}
}
}
instance guns of movieClip 1753 {
onClipEvent (enterFrame) {
if (_global.alert == 1) {
if (Key.isDown(49)) {
Mouse.show();
_global.wep = 0;
_global.reloading = 0;
_global.gnomove = 0;
_root.mission11._xscale = 100;
_root.mission11._yscale = 100;
_root.mission11._x = _root.mission11.oldx;
_root.mission11._y = _root.mission11.oldy;
_root.mission11.mission._x = _root.mission11.oldmx;
_root.mission11.mission._y = _root.mission11.oldmy;
this.gotoAndStop(1);
} else {
if (Key.isDown(50)) {
Mouse.hide();
_global.wep = 1;
_global.reloading = 0;
_global.gnomove = 0;
_root.mission11._xscale = 100;
_root.mission11._yscale = 100;
_root.mission11._x = _root.mission11.oldx;
_root.mission11._y = _root.mission11.oldy;
_root.mission11.mission._x = _root.mission11.oldmx;
_root.mission11.mission._y = _root.mission11.oldmy;
this.gotoAndStop(2);
} else {
if (Key.isDown(51)) {
Mouse.hide();
_global.wep = 2;
_global.reloading = 0;
_global.gnomove = 0;
_root.mission11._xscale = 100;
_root.mission11._yscale = 100;
_root.mission11._x = _root.mission11.oldx;
_root.mission11._y = _root.mission11.oldy;
_root.mission11.mission._x = _root.mission11.oldmx;
_root.mission11.mission._y = _root.mission11.oldmy;
this.gotoAndStop(3);
} else {
if (Key.isDown(52)) {
Mouse.hide();
_global.wep = 3;
_global.reloading = 0;
_global.gnomove = 0;
_root.mission11._xscale = 100;
_root.mission11._yscale = 100;
_root.mission11._x = _root.mission11.oldx;
_root.mission11._y = _root.mission11.oldy;
_root.mission11.mission._x = _root.mission11.oldmx;
_root.mission11.mission._y = _root.mission11.oldmy;
this.gotoAndStop(4);
}
}
}
}
}
}
}
movieClip 1759 {
frame 282 {
stop();
}
}
movieClip 1766 {
}
instance of movieClip 1766 {
onClipEvent (load) {
_global.enemykilled = 17;
_global.planekilled = 2;
_global.barracks = 4;
_global.guardtower = 0;
_global.armory = 1;
}
onClipEvent (enterFrame) {
this.txtinsurgents = _global.enemykilled;
this.txtplanes = _global.planekilled;
this.txtbarracks = _global.barracks;
this.txtarmory = _global.armory;
if (_global.enemykilled == 0) {
if (_global.planekilled == 0) {
if (_global.barracks == 0) {
if (_global.guardtower == 0) {
if (_global.armory == 0) {
_global.mission = 'success';
}
}
}
}
}
}
}
frame 25 {
stop();
_quality = 'MEDIUM';
_global.enemykilled = 0;
_global.truckkilled = 0;
_global.warehousedestroyed = 0;
_global.w1destroyed = 0;
_global.w2destroyed = 0;
_global.truckmove = 0;
_global.cannonammo = 5000;
_global.hellfireammo = 30;
_global.apacheposition = 0;
_global.armycharge = 0;
_global.apachearmor = 2000;
_global.maxarmor = 2000;
}
movieClip 1772 {
}
movieClip 1775 {
}
movieClip 1776 {
frame 18 {
if (random(2) == 1) {
gotoAndPlay(21);
} else {
gotoAndPlay(5);
}
}
}
movieClip 1783 {
frame 1 {
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else {
if (xx == 2) {
_root.hurt2.start();
} else {
if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
}
}
}
frame 16 {
stop();
}
}
movieClip 1784 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1785 {
instance person of movieClip 1784 {
onClipEvent (load) {
alive = 1;
checker = 0;
if (_parent.people == 'enemyshoot') {
this.gotoAndStop('shoot');
}
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
alive = 0;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
alive = 0;
}
++st;
}
}
if (alive == 0 && checker == 0) {
checker = 1;
if (_parent.people == 'marines') {
_global.mission = 'failed';
} else {
_global.enemykilled += 1;
this.gotoAndStop('dead');
}
}
}
}
}
movieClip 1786 {
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
}
movieClip 1787 {
frame 1 {
stop();
}
frame 73 {
stop();
}
}
movieClip 1790 {
}
movieClip 1792 {
}
movieClip 1795 {
}
movieClip 1797 {
}
movieClip 1799 {
}
movieClip 1801 {
}
movieClip 1803 {
}
movieClip 1805 {
}
movieClip 1807 {
}
movieClip 1809 {
}
movieClip 1811 {
}
movieClip 1813 {
}
movieClip 1830 {
}
movieClip 1864 {
frame 45 {
stop();
}
}
movieClip 1865 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1867 {
}
movieClip 1870 {
}
movieClip 1874 {
}
movieClip 1876 {
frame 85 {
stop();
}
}
movieClip 1877 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1886 {
frame 3 {
_global.apachearmor -= 10;
}
frame 13 {
_global.apachearmor -= 5;
}
frame 22 {
_global.apachearmor -= 5;
}
}
movieClip 1887 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1888 {
instance of movieClip 1787 {
onClipEvent (load) {
checker = 0;
}
onClipEvent (enterFrame) {
if (_global.armycharge == 1 && checker == 0) {
checker = 1;
this.gotoAndPlay(2);
}
}
}
instance of movieClip 1865 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1 && _global.apacheposition > 2) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.w2destroyed = 1;
_global.warehousedestroyed += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1865 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1 && _global.apacheposition > 2) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.warehousedestroyed += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1865 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1 && _global.apacheposition > 2) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.warehousedestroyed += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1865 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1 && _global.apacheposition > 2) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.w1destroyed = 1;
_global.warehousedestroyed += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1865 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1 && _global.apacheposition > 2) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.warehousedestroyed += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1865 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1 && _global.apacheposition > 2) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.warehousedestroyed += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyguard';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyguard';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyguard';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyguard';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyguard';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyguard';
}
}
instance of movieClip 1877 {
onClipEvent (load) {
alive = 1;
life = 20;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.enemykilled += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1877 {
onClipEvent (load) {
alive = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.truckmove == 1) {
if (_x > -520) {
this._x -= 2;
} else {
_global.mission = 'failed';
}
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.truckkilled += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1877 {
onClipEvent (load) {
alive = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.truckmove == 1) {
if (_x > -520) {
this._x -= 2;
} else {
_global.mission = 'failed';
}
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.truckkilled += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1877 {
onClipEvent (load) {
alive = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.truckmove == 1) {
if (_x > -520) {
this._x -= 2;
} else {
_global.mission = 'failed';
}
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.truckkilled += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'marines';
}
}
instance of movieClip 1877 {
onClipEvent (load) {
alive = 1;
life = 100;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_global.truckmove == 1) {
if (_x > -520) {
this._x -= 2;
} else {
_global.mission = 'failed';
}
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 1;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
if (life < 1) {
alive = 0;
_global.truckkilled += 1;
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1887 {
onClipEvent (enterFrame) {
if (_global.apacheposition == 1 && _global.enemykilled < 5) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1887 {
onClipEvent (enterFrame) {
if (_global.apacheposition == 2 && _global.enemykilled < 5) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1887 {
onClipEvent (enterFrame) {
if (_global.apacheposition == 3 && _global.enemykilled < 5) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
onClipEvent (enterFrame) {
if (_global.w2destroyed == 1) {
this.person.alive = 0;
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
onClipEvent (enterFrame) {
if (_global.w2destroyed == 1) {
this.person.alive = 0;
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_global.apacheposition == 3) {
this._alpha = 100;
}
if (_global.w1destroyed == 1) {
this.person.alive = 0;
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_global.apacheposition == 3) {
this._alpha = 100;
}
if (_global.w1destroyed == 1) {
this.person.alive = 0;
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_global.apacheposition == 3) {
this._alpha = 100;
}
if (_global.w1destroyed == 1) {
this.person.alive = 0;
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_global.apacheposition == 3) {
this._alpha = 100;
}
if (_global.w1destroyed == 1) {
this.person.alive = 0;
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
}
instance of movieClip 1887 {
onClipEvent (enterFrame) {
if (_global.apacheposition == 3 && _global.enemykilled < 5) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 1785 {
onClipEvent (load) {
people = 'enemyshoot';
}
onClipEvent (enterFrame) {
if (_global.w2destroyed == 1) {
this.person.alive = 0;
}
}
}
}
movieClip 1890 {
}
movieClip 1892 {
frame 1 {
function onEnterFrame() {
if (_global.apacheweapon == 'cannon') {
if (_global.cannonammo > 0) {
if (shooting == 1) {
if (_global.shooting == 0) {
tank.cannon.gotoAndPlay(2);
}
}
if (_global.shooting == 2) {
_global.cannonball += 1;
if (_global.cannonball > 30) {
_global.cannonball = 1;
}
aaa = _parent.apache.nastyacursor._y;
desty = aaa;
_global.cannonammo -= 1;
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + 48 * Math.cos(angle * Math.PI / 180);
start_ball_y = tank._y + 48 * Math.sin(angle * Math.PI / 180);
_root.mission12.camera.cannonplace.attachMovie('cannonball', 'cannonball_' + _global.cannonball, _root.mission12.camera.cannonplace.getNextHighestDepth(), {'_x': start_ball_x, '_y': start_ball_y, 'desty': desty, 'angle': angle});
}
}
} else {
if (_global.hellfireammo > 0) {
if (shootdelay > 0) {
shootdelay -= 1;
}
if (shootdelay < 0) {
shootdelay = 0;
}
if (shooting == 1 && shootdelay == 0) {
shootdelay = 20;
_global.cannonball += 1;
if (_global.cannonball > 30) {
_global.cannonball = 1;
}
shooting = 0;
if (shootright == 1) {
shootright = 0;
start_ball_x = 251;
start_ball_y = -98;
angle = 0;
_root.rocketsound.start();
_global.hellfireammo -= 1;
_root.mission12.camera.cannonplace.attachMovie('hellfireshoot', 'cannonball_' + _global.cannonball, _root.mission12.camera.cannonplace.getNextHighestDepth(), {'_x': start_ball_x, '_y': start_ball_y, 'desty': desty, 'angle': angle});
} else {
shootright = 1;
start_ball_x = -251;
start_ball_y = -98;
angle = 0;
_root.rocketsound.start();
_global.hellfireammo -= 1;
_root.mission12.camera.cannonplace.attachMovie('hellfireshoot2', 'cannonball_' + _global.cannonball, _root.mission12.camera.cannonplace.getNextHighestDepth(), {'_x': start_ball_x, '_y': start_ball_y, 'desty': desty, 'angle': angle});
}
}
}
}
}
function onMouseDown() {
shooting = 1;
}
function onMouseUp() {
shooting = 0;
}
_global.cannonball = 0;
_global.shooting = 0;
gravity = 0;
shootright = 1;
shootdelay = 0;
tank.onEnterFrame = function () {
if (_global.apacheweapon == 'cannon') {
shootdelay = 0;
mousex = _xmouse - this._x;
mousey = (_ymouse - this._y) * -1;
angle = Math.atan(mousey / mousex) / 0.0174532925199433;
if (mousex < 0) {
angle += 180;
}
if (mousex >= 0 && mousey < 0) {
angle += 360;
}
if (angle > 160) {
angle = 160;
}
if (angle < 20) {
angle = 20;
}
firepower = Math.sqrt(mousex * mousex + mousey * mousey);
firepower = 900;
this.cannon._rotation = angle * -1;
}
};
}
}
movieClip 1895 {
}
movieClip 1897 {
}
movieClip 1898 {
}
movieClip 1899 {
}
movieClip 1900 {
}
movieClip 1901 {
frame 1 {
stop();
this.pauseFrames = Math.floor(Math.random() * 30 * 1) * 1;
this.onEnterFrame = function () {
--this.pauseFrames;
if (this.pauseFrames <= 0) {
play();
this.onEnterFrame = undefined;
}
};
}
}
movieClip 1910 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1916 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 1910 {
onClipEvent (enterFrame) {
if (_global.hellfireammo > 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
}
movieClip 1920 {
}
movieClip 1921 {
instance of movieClip 1920 {
onClipEvent (enterFrame) {
currlife = (_global.apachearmor / _global.maxarmor) * 100;
this._xscale = currlife;
}
}
}
movieClip 1923 {
instance of movieClip 1916 {
onClipEvent (load) {
_global.apacheweapon = 'cannon';
_global.alert = 1;
}
onClipEvent (enterFrame) {
this.txtcannonammo = _global.cannonammo;
this.txthellfireammo = _global.hellfireammo;
if (_global.alert == 1) {
if (Key.isDown(49)) {
_global.apacheweapon = 'cannon';
this.gotoAndStop(1);
} else {
if (Key.isDown(50)) {
_global.apacheweapon = 'hellfire';
this.gotoAndStop(2);
}
}
}
}
}
instance of movieClip 1921 {
onClipEvent (enterFrame) {
if (_global.apachearmor <= 0) {
stopAllSounds();
_global.mission = 'failed';
}
}
}
}
movieClip 1925 {
}
movieClip 1926 {
instance nastyacursor of movieClip 1925 {
onClipEvent (load) {
_x = 21;
_y = -358;
speed = 10;
}
onClipEvent (enterFrame) {
endX = _parent._xmouse;
endY = _parent._ymouse;
if (endX < -271) {
endX = -271;
}
if (endX > 271) {
endX = 271;
}
if (endY < -395) {
endY = -395;
}
if (endY > -140) {
endY = -140;
}
_x = _x + (endX - _x) / speed;
_y = _y + (endY - _y) / speed;
Mouse.hide();
}
}
}
movieClip 1928 {
}
movieClip 1929 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = true;
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 messager of movieClip 1928 {
onClipEvent (enterFrame) {
if (showmsg == 1 && showtime > 0) {
showtime -= 1;
}
if (showmsg == 1 && showtime <= 0) {
showmsg = 0;
}
if (showmsg == 0) {
if (this._alpha > 0) {
this._alpha -= 2;
}
}
if (showmsg == 1) {
if (this._alpha < 100) {
this._alpha += 2;
}
}
}
}
}
movieClip 1931 {
}
movieClip 1932 {
}
movieClip 1934 {
}
movieClip 1935 {
}
movieClip 1936 {
frame 118 {
stop();
_global.mission = 'success';
}
}
movieClip 1937 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1938 {
frame 1 {
stop();
}
instance of movieClip 1937 {
onClipEvent (load) {
alive = 1;
life = 5000;
}
onClipEvent (enterFrame) {
if (life < 1000) {
this._alpha = 80;
}
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].ball.explosion)) {
life -= 5;
}
++st;
}
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission12.camera.cannonplace['cannonball_' + st].hellfire.explosion)) {
life -= 200;
}
++st;
}
this._alpha = 100;
if (life < 1) {
_parent._parent.camera.messager.showmsg = 1;
_parent._parent.camera.messager.showtime = 150;
_root.radio29.start();
_parent._parent.camera.messager.txtmsg = 'Great shooting Nastya! Were already low on fuel, lets report back to HQ.';
alive = 0;
_parent._rotation = 0;
_parent._parent.stop();
this.gotoAndStop('dead');
}
}
}
}
}
movieClip 1939 {
frame 1 {
stop();
camera.messager.showmsg = 1;
camera.messager.showtime = 50;
_root.radio1.start();
camera.messager.txtmsg = 'Good evening Nastya, before we headout, lets do a little mission review.';
camera.messager.onEnterFrame = function () {
if (camera.messager.showtime <= 0 && camera.messager._alpha <= 0 && showme != 1) {
showme = 1;
camera.messager.showmsg = 1;
camera.messager.showtime = 100;
_root.radio2.start();
camera.messager.txtmsg = 'INTEL reports, that there are terrorist hiding allover the city. Our job is to find and eliminate the terrorist threat while supporting our ground units as well.';
}
if (camera.messager.showtime <= 0 && camera.messager._alpha <= 0 && showme2 != 1 && showme == 1) {
showme2 = 1;
camera.messager.showmsg = 1;
camera.messager.showtime = 120;
_root.radio3.start();
camera.messager.txtmsg = 'Were currently hovering behind the mountains. Your job is to put weapons on targets that I identify.';
}
if (camera.messager.showtime <= 0 && camera.messager._alpha <= 0 && showme3 != 1 && showme2 == 1) {
showme3 = 1;
camera.messager.showmsg = 1;
camera.messager.showtime = 100;
_root.radio4.start();
camera.messager.txtmsg = 'Aim at your targets with the white cursor.Remember the rules of engagement - only fire on positively identified threats.';
}
if (camera.messager.showtime <= 0 && camera.messager._alpha <= 0 && showme4 != 1 && showme3 == 1) {
showme4 = 1;
camera.messager.showmsg = 1;
camera.messager.showtime = 100;
_root.radio5.start();
camera.messager.txtmsg = 'Ok lets move out! Get your trigger finger ready and listen to my commands.';
}
if (camera.messager.showtime <= 0 && camera.messager._alpha <= 0 && showme5 != 1 && showme4 == 1) {
showme5 = 1;
play();
}
};
}
frame 323 {
camera.messager.showmsg = 1;
camera.messager.showtime = 130;
_root.radio6.start();
camera.messager.txtmsg = 'We got movement spotted along the eastern part of the city... Are they ours or civilians? Checking... hold your fire.';
}
frame 488 {
camera.messager.showmsg = 1;
camera.messager.showtime = 150;
_root.radio7.start();
camera.messager.txtmsg = '-\tNastya. Target. Straight ahead. Enemy. Hit [1] to switch to the 30mm cannon. Take out those terrorist.';
}
frame 500 {
xx = random(7);
if (xx == 0) {
_root.gun1sound.start();
} else {
if (xx == 1) {
_root.gun2sound.start();
} else {
if (xx == 2) {
_root.gun3sound.start();
} else {
if (xx == 3) {
_root.gun4sound.start();
} else {
if (xx == 4) {
_root.gun5sound.start();
} else {
if (xx == 5) {
_root.gun6sound.start();
} else {
if (xx == 6) {
_root.gun7sound.start();
}
}
}
}
}
}
}
}
frame 535 {
if (_global.enemykilled == 7) {
play();
} else {
gotoAndPlay('target1');
}
}
frame 554 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 250;
_root.radio8.start();
camera.messager.txtmsg = 'Good Job!!! Lets move on to the city then. Keep your eyes open and listen to my commands.';
}
frame 671 {
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio9.start();
camera.messager.txtmsg = 'People on the roof, they are armed with sniper rifles... are they enemy or ours? Checking...';
}
frame 795 {
camera.messager.showmsg = 1;
camera.messager.showtime = 150;
_root.radio10.start();
camera.messager.txtmsg = 'Hold your fire, these are our guys... Looks like they are watching over the terrorist from up there until we arrived...';
}
frame 886 {
stop();
showme = 0;
camera.messager.onEnterFrame = function () {
if (camera.messager.showtime <= 0 && showme != 1) {
showme = 1;
play();
}
};
}
frame 960 {
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio11.start();
camera.messager.txtmsg = 'We have reports that a truck delivering ammo to a terror hideout was spotted';
}
frame 1139 {
camera.messager.showmsg = 1;
camera.messager.showtime = 180;
_root.radio12.start();
camera.messager.txtmsg = 'Our guys are already in place to raid the hide-out. Lets fly over the place and see what we can do.';
}
frame 1407 {
camera.messager.showmsg = 1;
camera.messager.showtime = 250;
_root.radio13.start();
camera.messager.txtmsg = 'Our guys are charging from the left. Shoot down the truck with a hellfire missile [2], and kill all the guards so our guys can infiltrate the building.';
}
frame 1518 {
_root.gun7sound.start();
}
frame 1575 {
if (_global.enemykilled >= 7) {
play();
} else {
gotoAndPlay('target2');
}
}
frame 1591 {
_global.armycharge = 1;
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 150;
_root.radio14.start();
camera.messager.txtmsg = 'Great shooting! Our guys are now clear to take-down the terrorist inside that facility... Moving on...';
}
frame 1749 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 100;
_root.radio15.start();
camera.messager.txtmsg = 'People on the roof are they enemies or civilians?';
}
frame 1914 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 100;
_root.radio16.start();
camera.messager.txtmsg = 'Hold your fire, they\'re civilians partying at the rooftop.';
}
frame 2102 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio17.start();
camera.messager.txtmsg = 'More trucks from the east trying to get away from the city. We must not let them escape to the tunnels.';
}
frame 2237 {
_global.enemykilled = 0;
_global.truckmove = 1;
}
frame 2247 {
_global.apacheposition = 1;
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 100;
_root.radio18.start();
camera.messager.txtmsg = 'Were being shot at! Take care of them quick!';
}
frame 2261 {
_root.gun7sound.start();
}
frame 2273 {
if (_global.enemykilled >= 5) {
play();
} else {
gotoAndPlay('target3');
}
}
frame 2284 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 100;
_root.radio19.start();
camera.messager.txtmsg = 'They think they can get away from us huh. Blast all the trucks Nastya!';
}
frame 2372 {
_global.apacheposition = 2;
camera.messager.showmsg = 1;
camera.messager.showtime = 100;
_root.radio20.start();
camera.messager.txtmsg = 'More hostiles! Shoot them!';
}
frame 2373 {
_root.gun7sound.start();
}
frame 2406 {
if (_global.truckkilled >= 4 && _global.enemykilled >= 5) {
play();
} else {
gotoAndPlay('target4');
}
}
frame 2407 {
_global.apacheposition = 0;
}
frame 2421 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio21.start();
camera.messager.txtmsg = 'That was a close one! Too bad for them, our baby here is loaded!';
}
frame 2504 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio22.start();
camera.messager.txtmsg = 'Let\'s go search for the warehouse where the trucks came from. Keep your eyes open Nastya, we just blew up their trucks so expect maximum hostility.';
}
frame 2687 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio23.start();
camera.messager.txtmsg = 'Hostiles spotted, kill them all and destroy the warehouses';
}
frame 2696 {
_global.apacheposition = 3;
}
frame 2705 {
_root.gun7sound.start();
}
frame 2735 {
if (_global.enemykilled >= 6) {
play();
} else {
gotoAndPlay('target5');
}
}
frame 2807 {
_global.apacheposition = 4;
}
frame 2999 {
if (_global.enemykilled >= 13 && _global.warehousedestroyed == 6) {
play();
} else {
gotoAndPlay('target6');
}
}
frame 3018 {
camera.messager.showmsg = 1;
camera.messager.showtime = 180;
_root.radio24.start();
camera.messager.txtmsg = 'Good Job! These should take care of all the ammo left inside those warehouses. I guess this is it Nastya, lets call it a night.';
}
frame 3195 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 180;
_root.radio25.start();
camera.messager.txtmsg = 'Nastya we got reports that the terrorist leader is escaping on a helicopter, we must bring him down at all cost!';
}
frame 3360 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio26.start();
camera.messager.txtmsg = 'Helicopter spotted; shoot down the chopper before it escapes! Our fuel is already low and pursuit over the ocean is not an option.';
}
frame 3626 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio27.start();
camera.messager.txtmsg = 'Dang it! This guy is slippery! Shoot it down Nastya!';
}
frame 4343 {
_global.enemykilled = 0;
camera.messager.showmsg = 1;
camera.messager.showtime = 200;
_root.radio28.start();
camera.messager.txtmsg = 'S***! All our efforts tonight just got wasted... Sorry Nastya but you\'ll be sleeping alone tonight...';
}
frame 4419 {
stop();
_global.mission = 'failed';
}
}
frame 26 {
stopAllSounds();
stop();
_global.dronefly = 0;
_global.hellfireammo = 50;
_global.victims = 0;
_global.truck = 0;
_global.tank = 0;
_global.plane = 0;
_root.computerroom.start(0, 999);
}
movieClip 1942 {
}
movieClip 1947 {
}
movieClip 1948 {
}
movieClip 1949 {
}
movieClip 1950 {
}
movieClip 1951 {
}
movieClip 1952 {
}
movieClip 1953 {
}
movieClip 1954 {
}
movieClip 1982 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
}
movieClip 1983 {
instance of movieClip 1982 {
onClipEvent (load) {
speed = 0;
maxspeed = 50;
smally = 171;
bigy = 613;
ctr = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (speed < maxspeed) {
speed += 0.1;
}
} else {
if (speed > 0) {
speed -= 0.1;
}
}
if (_y < bigy) {
this._xscale += speed / 3;
this._yscale += speed / 3;
this._y += speed;
} else {
this._y = smally;
this._xscale = 1;
this._yscale = 1;
ctr += 1;
if (ctr == 15) {
_global.dronefly = 1;
}
this.gotoAndStop(ctr);
}
}
}
}
// unknown tag 88 length 138
movieClip 1987 {
frame 1 {
alphabet = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
this.onEnterFrame = function () {
variableText = '0';
i = 0;
while (i <= 10) {
variableText += alphabet[random(10)];
numText.text = variableText;
++i;
}
};
}
}
movieClip 1988 {
}
movieClip 1989 {
frame 1 {
stop();
this.pauseFrames = Math.floor(Math.random() * 30 * 1) * 1;
this.onEnterFrame = function () {
--this.pauseFrames;
if (this.pauseFrames <= 0) {
play();
this.onEnterFrame = undefined;
}
};
}
}
movieClip 1991 {
}
movieClip 1995 {
}
movieClip 2037 {
}
movieClip 2039 {
frame 1 {
stop();
lights._visible = this.lightsOn;
}
frame 2 {
stop();
}
}
movieClip 2040 {
instance of movieClip 2039 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.truck += 1;
_parent._parent.stop();
this.gotoAndStop(2);
}
}
}
}
movieClip 2041 {
frame 2100 {
stop();
}
}
movieClip 2042 {
frame 2113 {
stop();
}
}
movieClip 2045 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2046 {
instance of movieClip 2045 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.victims += 1;
_parent._parent.stop();
this.gotoAndStop(2);
}
}
}
}
movieClip 2049 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2052 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2055 {
instance of movieClip 2049 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.plane += 1;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2049 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.plane += 1;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2052 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.tank += 1;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2049 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.plane += 1;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2052 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.tank += 1;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2052 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.tank += 1;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2049 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.plane += 1;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2049 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.plane += 1;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2049 {
onClipEvent (load) {
alive = 1;
life = 1000;
}
onClipEvent (enterFrame) {
if (alive == 1) {
st = 0;
while (st <= 30) {
if (this.hitTest(_root.mission13.droneweapon['cannonball_' + st].hellfire.explosion)) {
life = 0;
}
++st;
}
}
if (life < 1 && alive == 1) {
alive = 0;
_global.plane += 1;
this.gotoAndStop(2);
}
}
}
}
movieClip 2056 {
}
movieClip 2058 {
frame 1 {
function onEnterFrame() {
if (_global.hellfireammo < 1) {
_global.mission = 'failed';
}
if (_global.hellfireammo > 0) {
if (shootdelay > 0) {
shootdelay -= 1;
}
if (shootdelay < 0) {
shootdelay = 0;
}
if (shooting == 1 && shootdelay == 0) {
shootdelay = 20;
_global.cannonball += 1;
if (_global.cannonball > 30) {
_global.cannonball = 1;
}
shooting = 0;
if (shootright == 1) {
shootright = 0;
start_ball_x = 446;
start_ball_y = 161;
angle = 0;
_global.hellfireammo -= 1;
_root.mission13.droneweapon.attachMovie('hellfireshoot', 'cannonball_' + _global.cannonball, _root.mission13.droneweapon.getNextHighestDepth(), {'_x': start_ball_x, '_y': start_ball_y, 'desty': desty, 'angle': angle});
} else {
shootright = 1;
start_ball_x = -434;
start_ball_y = 161;
angle = 0;
_global.hellfireammo -= 1;
_root.mission13.droneweapon.attachMovie('hellfireshoot2', 'cannonball_' + _global.cannonball, _root.mission13.droneweapon.getNextHighestDepth(), {'_x': start_ball_x, '_y': start_ball_y, 'desty': desty, 'angle': angle});
}
}
}
}
function onMouseDown() {
shooting = 1;
}
function onMouseUp() {
shooting = 0;
}
_global.cannonball = 0;
_global.shooting = 0;
shootright = 1;
shootdelay = 0;
}
}
movieClip 2060 {
}
movieClip 2061 {
}
movieClip 2062 {
}
movieClip 2063 {
}
movieClip 2064 {
}
movieClip 2065 {
}
movieClip 2066 {
}
movieClip 2067 {
}
movieClip 2068 {
frame 1 {
hit._visible = false;
}
}
movieClip 2070 {
}
movieClip 2071 {
}
movieClip 2073 {
}
movieClip 2075 {
}
movieClip 2076 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 2077 {
frame 10 {
stop();
}
instance arrowmove of movieClip 2076 {
onClipEvent (enterFrame) {
if (Key.isDown(87)) {
this.gotoAndStop(2);
} else {
if (Key.isDown(83)) {
this.gotoAndStop(3);
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
}
frame 20 {
stop();
}
}
movieClip 2078 {
frame 10 {
stop();
}
instance arrowmove of movieClip 2076 {
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
this.gotoAndStop(3);
} else {
if (Key.isDown(68)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
}
frame 20 {
stop();
}
}
movieClip 2085 {
}
// unknown tag 88 length 215
movieClip 2095 {
}
movieClip 2098 {
}
movieClip 2102 {
frame 92 {
stop();
}
instance of movieClip 1983 {
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (_global.dronefly == 1) {
if (speed < 10) {
speed += 0.2;
}
if (this._y < 350) {
this._y += speed;
} else {
_parent.gotoAndPlay('missionmap');
}
}
}
}
frame 180 {
stop();
}
instance of movieClip 2056 {
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
this._x += speed;
if (_x > 3735) {
_x = 3735;
}
}
if (Key.isDown(68)) {
this._x -= speed;
if (_x < -3736) {
_x = -3736;
}
}
if (Key.isDown(87)) {
this._y += speed;
if (_y > 3747) {
_y = 3747;
}
}
if (Key.isDown(83)) {
this._y -= speed;
if (_y < -3756) {
_y = -3756;
}
}
}
}
instance crosshair of movieClip 2068 {
onClipEvent (load) {
_x = 21;
_y = -358;
speed = 10;
}
onClipEvent (enterFrame) {
endX = _parent._xmouse;
endY = _parent._ymouse;
_x = _x + (endX - _x) / speed;
_y = _y + (endY - _y) / speed;
Mouse.hide();
}
}
instance of movieClip 2085 {
onClipEvent (enterFrame) {
if (_global.hellfireammo < 1) {
_global.hellfireammo = 0;
}
this.txthellfire = _global.hellfireammo;
}
}
instance of movieClip 1242 {
onClipEvent (load) {
totaltime = 360;
port = 0;
checker = 0;
}
onClipEvent (enterFrame) {
if (port == 0) {
totaltime -= 0.05;
hr = 0;
min = Math.floor((totaltime / 3600) * 60);
sec = Math.floor(((totaltime / 3600) * 60 - min) * 60);
this._parent.txtminutes = min;
this._parent.txtseconds = sec;
if (sec < 10) {
this._parent.txtseconds = '0' + sec;
}
if (min < 10) {
this._parent.txtminutes = '0' + min;
}
}
if (totaltime < 1) {
port = 1;
if (checker == 0) {
checker = 1;
_parent.gotoAndPlay('gameover');
}
}
}
}
instance of movieClip 2095 {
onClipEvent (load) {
planenum = 6;
tanknum = 3;
trucknum = 9;
infantrynum = 65;
varinfantry = 0;
vartruck = 0;
vartank = 0;
varplane = 0;
}
onClipEvent (enterFrame) {
varinfantry = infantrynum - _global.victims;
vartruck = trucknum - _global.truck;
vartank = tanknum - _global.tank;
varplane = planenum - _global.plane;
this.txtinfantry = varinfantry;
this.txttruck = vartruck;
this.txttank = vartank;
this.txtplane = varplane;
if (varinfantry == 0 && vartruck == 0 && vartank == 0 && varplane == 0) {
_global.mission = 'success';
}
}
}
frame 287 {
stop();
_global.mission = 'failed';
}
}
frame 30 {
stop();
stopAllSounds();
endingloop.start(0, 99);
}
movieClip 2105 {
}
movieClip 2120 {
frame 16 {
stop();
this.txtscore.text = _global.score;
}
}
movieClip 2121 {
frame 557 {
stop();
}
}
frame 31 {
stop();
stopAllSounds();
}
button 2124 {
on (release) {
_root.gotoAndStop('title');
}
}
// unknown tag 88 length 69