STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/43689596?noj=FRM43689596-22DC" width="1" height="1"></div>

Sierra 7.swf

This is the info page for
Flash #100239

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
movieClip 62 { } movieClip 74 { } movieClip 87 { } movieClip 102 { } movieClip 104 { } movieClip 107 { frame 10 { stop(); } } movieClip 108 { frame 1 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 2 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 3 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 4 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 5 { stop(); var s = 1 + random(7); impacted = new Sound(); impacted.attachSound('whiz' + s); impacted.start(); } } movieClip 109 coverShotclip { frame 1 { num = -6 + random(12); num2 = -6 + random(12); _root.bg._x += num; _root.bg._y += num2; _root.bg.cover._x += num; _root.bg._y += 4 + random(5); } instance of movieClip 108 { onClipEvent (load) { thisnum = 1 + random(5); this.gotoAndStop(thisnum); if (this._currentframe < 5) { this._x -= random(750); } else { if (this._currentframe == 5) { this._x -= 375; this._rotation += random(70); } } } } frame 15 { stop(); } } movieClip 111 { } movieClip 112 flake { } movieClip 114 { } movieClip 116 { } movieClip 117 bulletTrail { frame 1 { stop(); } } movieClip 119 particle { frame 1 { temp = random(4) + 1; if (temp == 1) { gotoAndPlay('1'); } else { if (temp == 2) { gotoAndPlay('2'); } else { if (temp == 3) { gotoAndPlay('3'); } else { if (temp == 4) { gotoAndPlay('4'); } } } } } frame 36 { gotoAndStop(112); } frame 56 { gotoAndStop(112); } frame 76 { gotoAndStop(112); } frame 111 { gotoAndStop(112); } } movieClip 134 { } movieClip 149 { } movieClip 164 { } movieClip 165 { frame 1 { stop(); } } movieClip 166 bloodSpray { instance of movieClip 165 { onClipEvent (load) { var num = 1 + random(3); this.gotoAndStop(num); this._rotation = random(360); } } frame 17 { stop(); } } movieClip 168 { } movieClip 180 { } movieClip 185 shellPistol { instance of movieClip 180 { onClipEvent (load) { this.gotoAndPlay(random(12)); } } frame 19 { var s = 1 + random(4); sheller = new Sound(); sheller.attachSound('shell' + s); sheller.start(); stop(); } } movieClip 193 { } movieClip 195 sparks { frame 30 { stop(); } } movieClip 203 { frame 50 { stop(); } } movieClip 211 { frame 50 { stop(); } } movieClip 219 { frame 50 { stop(); } } movieClip 227 { frame 50 { stop(); } } movieClip 235 { frame 50 { stop(); } } movieClip 236 { frame 1 { stop(); } } movieClip 237 bloodSplat { instance of movieClip 236 { onClipEvent (load) { num = 1 + random(5); this.gotoAndStop(num); this._rotation = random(360); } } frame 56 { stop(); } } movieClip 242 { } movieClip 245 { } movieClip 248 { } movieClip 249 { frame 1 { stop(); } } movieClip 251 shotClip { frame 1 { num = -10 + random(20); num2 = -3 + random(6); _root.bg._x += num; _root.bg._y += num2; var s = 1 + random(3); hit = new Sound(); hit.attachSound('hit' + s); hit.start(); } instance of movieClip 249 { onClipEvent (load) { num = 1 + random(3); this.gotoAndStop(num); this._rotation = random(360); this._x = random(750) - _parent._x; this._y = random(340) - _parent._y; } } frame 40 { stop(); } } movieClip 252 { frame 1 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 2 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 3 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 4 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 5 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 6 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 7 { stop(); var s = 1 + random(7); impacted = new Sound(); impacted.attachSound('whiz' + s); impacted.start(); } frame 8 { stop(); var s = 1 + random(7); impacted = new Sound(); impacted.attachSound('whiz' + s); impacted.start(); } frame 9 { stop(); var s = 1 + random(7); impacted = new Sound(); impacted.attachSound('whiz' + s); impacted.start(); } frame 10 { stop(); var s = 1 + random(7); impacted = new Sound(); impacted.attachSound('whiz' + s); impacted.start(); } frame 11 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 12 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 13 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 14 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 15 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } frame 16 { stop(); var s = 1 + random(4); impacted = new Sound(); impacted.attachSound('conc' + s); impacted.start(); } } movieClip 253 shotclipImpacts { frame 1 { num = -6 + random(12); num2 = -6 + random(12); _root.bg._x += num; _root.bg._y += num2; _root.coverClip._x -= num; _root.coverClip._y -= num2; } instance of movieClip 252 { onClipEvent (load) { if (_root.cover == false) { thisnum = 1 + random(10); } if (_root.cover == true && _root.missionselected !== 'somaliastreet') { thisnum = 11 + random(3); } if (_root.cover == true && _root.missionselected == 'somaliastreet') { thisnum = 14 + random(3); } this.gotoAndStop(thisnum); } } frame 15 { stop(); } } movieClip 255 { } movieClip 256 nvgBurn { frame 17 { stop(); } } movieClip 258 { frame 130 { stop(); } } movieClip 260 { } movieClip 268 { frame 10 { stop(); } } movieClip 278 { frame 10 { stop(); } } movieClip 288 { frame 10 { stop(); } } movieClip 302 { frame 18 { stop(); } } movieClip 303 { frame 1 { stop(); } } movieClip 306 { } movieClip 314 { } movieClip 334 { frame 7 { thisnum = random(5); } frame 9 { if (thisnum > 1) { _root.shot(); } } frame 15 { thisnum = random(5); } frame 17 { if (thisnum > 1) { _root.shot(); } } frame 21 { thisnum = random(5); } frame 23 { if (thisnum > 1) { _root.shot(); } } frame 25 { if (thisnum == 0) { gotoAndPlay(138); } } frame 31 { thisnum = random(5); } frame 33 { if (thisnum > 1) { _root.shot(); } } frame 35 { if (thisnum == 0) { gotoAndPlay(138); } } frame 38 { thisnum = random(5); } frame 40 { if (thisnum > 1) { _root.shot(); } } frame 42 { if (thisnum == 0) { gotoAndPlay(138); } } frame 48 { thisnum = random(5); } frame 50 { if (thisnum > 1) { _root.shot(); } } frame 52 { if (thisnum == 0) { gotoAndPlay(138); } } frame 58 { thisnum = random(5); } frame 60 { if (thisnum > 1) { _root.shot(); } } frame 62 { if (thisnum == 0) { gotoAndPlay(138); } } frame 65 { thisnum = random(5); } frame 67 { if (thisnum > 1) { _root.shot(); } } frame 69 { if (thisnum == 0) { gotoAndPlay(138); } } frame 73 { thisnum = random(5); } frame 75 { if (thisnum > 1) { _root.shot(); } } frame 77 { if (thisnum == 0) { gotoAndPlay(138); } } frame 83 { thisnum = random(5); } frame 85 { if (thisnum > 1) { _root.shot(); } } frame 87 { if (thisnum == 0) { gotoAndPlay(138); } } frame 91 { thisnum = random(5); } frame 93 { if (thisnum > 1) { _root.shot(); } } frame 102 { thisnum = random(5); } frame 104 { if (thisnum > 1) { _root.shot(); } } frame 136 { gotoAndPlay(1); } frame 141 { _parent.gotoAndStop('in1'); } } movieClip 336 { } movieClip 340 { frame 7 { thisnum = random(5); } frame 9 { if (thisnum > 1) { _root.shot(); } } frame 16 { thisnum = random(5); } frame 18 { if (thisnum > 1) { _root.shot(); } } frame 23 { thisnum = random(5); } frame 25 { if (thisnum > 1) { _root.shot(); } } frame 34 { thisnum = random(5); } frame 36 { if (thisnum > 1) { _root.shot(); } } frame 38 { if (thisnum == 0) { gotoAndPlay(115); } } frame 49 { thisnum = random(5); } frame 51 { if (thisnum > 1) { _root.shot(); } } frame 53 { if (thisnum == 0) { gotoAndPlay(115); } } frame 61 { thisnum = random(5); } frame 63 { if (thisnum > 1) { _root.shot(); } } frame 65 { if (thisnum == 0) { gotoAndPlay(115); } } frame 76 { thisnum = random(5); } frame 78 { if (thisnum > 1) { _root.shot(); } } frame 80 { if (thisnum == 0) { gotoAndPlay(115); } } frame 88 { thisnum = random(5); } frame 90 { if (thisnum > 1) { _root.shot(); } } frame 92 { if (thisnum == 0) { gotoAndPlay(115); } } frame 94 { thisnum = random(5); } frame 96 { if (thisnum > 1) { _root.shot(); } } frame 98 { if (thisnum == 0) { gotoAndPlay(115); } } frame 101 { thisnum = random(5); } frame 103 { if (thisnum > 1) { _root.shot(); } } frame 105 { if (thisnum == 0) { gotoAndPlay(115); } } frame 111 { thisnum = random(5); } frame 113 { if (thisnum > 1) { _root.shot(); } } frame 115 { if (thisnum == 0) { gotoAndPlay(115); } } frame 124 { _parent.gotoAndStop('in2'); } } movieClip 346 { frame 7 { thisnum = random(10); } frame 9 { if (thisnum > 1) { _root.shot(); } } frame 15 { thisnum = random(10); } frame 17 { if (thisnum > 1) { _root.shot(); } } frame 21 { thisnum = random(10); } frame 23 { if (thisnum > 1) { _root.shot(); } } frame 28 { thisnum = random(10); } frame 30 { if (thisnum > 1) { _root.shot(); } } frame 37 { thisnum = random(10); } frame 39 { if (thisnum > 1) { _root.shot(); } } frame 41 { if (thisnum == 2) { gotoAndPlay(95); } } frame 43 { thisnum = random(10); } frame 45 { if (thisnum > 1) { _root.shot(); } } frame 47 { if (thisnum == 2) { gotoAndPlay(95); } } frame 53 { thisnum = random(10); } frame 55 { if (thisnum > 1) { _root.shot(); } } frame 57 { if (thisnum == 2) { gotoAndPlay(95); } } frame 59 { thisnum = random(10); } frame 61 { if (thisnum > 1) { _root.shot(); } } frame 63 { if (thisnum == 2) { gotoAndPlay(95); } } frame 67 { thisnum = random(10); } frame 69 { if (thisnum > 1) { _root.shot(); } } frame 71 { if (thisnum == 2) { gotoAndPlay(95); } } frame 75 { thisnum = random(10); } frame 77 { if (thisnum > 1) { _root.shot(); } } frame 79 { if (thisnum == 2) { gotoAndPlay(95); } } frame 81 { thisnum = random(10); } frame 83 { if (thisnum > 1) { _root.shot(); } } frame 85 { if (thisnum == 2) { gotoAndPlay(95); } } frame 89 { thisnum = random(10); } frame 91 { if (thisnum > 1) { _root.shot(); } } frame 93 { if (thisnum == 2) { gotoAndPlay(95); } } frame 104 { _parent.gotoAndStop('in3'); } } movieClip 357 { frame 33 { stop(); } } movieClip 377 { frame 14 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 49 { ++_root.targetshit; } frame 51 { stop(); } } movieClip 401 { frame 11 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 52 { ++_root.targetshit; } frame 54 { stop(); } } movieClip 423 { frame 10 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 48 { ++_root.targetshit; } frame 50 { stop(); } } movieClip 447 { frame 13 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 50 { ++_root.targetshit; } frame 52 { stop(); } } movieClip 465 { frame 15 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 48 { ++_root.targetshit; } frame 50 { stop(); } } movieClip 466 { frame 1 { stop(); } } movieClip 480 { frame 11 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 46 { ++_root.targetshit; } frame 49 { stop(); } } movieClip 481 { frame 1 { stop(); } } movieClip 491 { frame 23 { ++_root.targetshit; } frame 25 { stop(); } } movieClip 492 { frame 1 { stop(); } } movieClip 493 { frame 10 { _parent.gotoAndStop('idle'); } } movieClip 494 { frame 10 { stop(); _parent.gotoAndStop(1); } } movieClip 495 { frame 10 { stop(); _parent.gotoAndStop(1); } } movieClip 503 { frame 10 { _parent.gotoAndStop('shoot1'); } } movieClip 511 { frame 10 { _parent.gotoAndStop('shoot2'); } } movieClip 514 { } movieClip 517 { } movieClip 555 { frame 51 { ++_root.targetshit; } frame 53 { stop(); } } movieClip 568 { } movieClip 605 { frame 58 { ++_root.targetshit; } frame 60 { stop(); } } movieClip 608 { } movieClip 611 { } movieClip 636 { frame 52 { ++_root.targetshit; } frame 54 { stop(); } } movieClip 637 { frame 1 { stop(); } } // unknown tag 88 length 55 movieClip 641 { frame 3 { thisnum = random(5); } frame 5 { if (thisnum > 1) { _root.shot(); } } frame 9 { if (thisnum > 1) { _root.shot(); } } frame 11 { if (thisnum == 0) { gotoAndPlay(88); } } frame 14 { if (thisnum > 1) { _root.shot(); } } frame 16 { if (thisnum == 0) { gotoAndPlay(88); } } frame 17 { if (thisnum > 1) { _root.shot(); } } frame 19 { if (thisnum == 0) { gotoAndPlay(88); } } frame 22 { if (thisnum > 1) { _root.shot(); } } frame 24 { if (thisnum == 0) { gotoAndPlay(88); } } frame 31 { if (thisnum > 1) { _root.shot(); } } frame 33 { if (thisnum == 0) { gotoAndPlay(88); } } frame 36 { if (thisnum > 1) { _root.shot(); } } frame 38 { if (thisnum == 0) { gotoAndPlay(88); } } frame 41 { if (thisnum > 1) { _root.shot(); } } frame 43 { if (thisnum == 0) { gotoAndPlay(88); } } frame 49 { if (thisnum > 1) { _root.shot(); } } frame 51 { if (thisnum == 0) { gotoAndPlay(88); } } frame 53 { if (thisnum > 1) { _root.shot(); } } frame 55 { if (thisnum == 0) { gotoAndPlay(88); } } frame 58 { if (thisnum > 1) { _root.shot(); } } frame 62 { if (thisnum > 1) { _root.shot(); } } frame 90 { _parent.gotoAndStop('in4'); } } movieClip 667 { frame 20 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 52 { ++_root.targetshit; } frame 54 { stop(); } } movieClip 668 { frame 1 { stop(); } } movieClip 669 { frame 13 { stop(); _parent.gotoAndStop(1); } } movieClip 679 { frame 10 { _parent.gotoAndStop('shoot4'); } } movieClip 680 { frame 1 { stop(); } instance timer of movieClip 258 { onClipEvent (load) { this.gotoAndPlay(random(100)); } onClipEvent (enterFrame) { if (_parent._visible == true && this._currentframe == 110) { _parent.gotoAndStop(2); trace('balls'); } } } instance of movieClip 303 { onClipEvent (load) { if (_root.crouch == false) { num = 1 + random(7); } else { if (_root.crouch == true) { num = 1 + random(10); } } this.gotoAndStop(num); } onClipEvent (enterFrame) { if (this._currentframe <= 4 && this.person._currentframe == 10) { _parent.gotoAndStop('shoot1'); } else { if (this._currentframe > 4 && this._currentframe < 7 && this.person._currentframe == 10) { _parent.gotoAndStop('shoot2'); } else { if (this._currentframe == 7 && this.person._currentframe == 10) { _parent.gotoAndStop('shoot3'); } else { if (this._currentframe > 7 && this.person._currentframe == 18) { _parent.gotoAndStop('shoot4'); } } } } } } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop('headshots'); } ++i; } } } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop('death2'); } ++i; } } } frame 6 { ++_root.kills; ++_root.mkills; _parent.main.dead = true; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } instance of movieClip 466 { onClipEvent (load) { num = 1 + random(5); this.gotoAndStop(num); } } frame 7 { ++_root.kills; ++_root.mkills; _parent.main.dead = true; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } instance of movieClip 481 { onClipEvent (load) { var num = 1 + random(2); this.gotoAndStop(num); } } frame 8 { ++_root.kills; ++_root.mkills; _parent.main.dead = true; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } instance of movieClip 492 { onClipEvent (load) { var num = 1 + random(2); this.gotoAndStop(num); } } frame 12 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop('headshots'); } ++i; } } } frame 13 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop('death2'); } ++i; } } } frame 14 { ++_root.kills; ++_root.mkills; _parent.main.dead = true; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(4); hs = new Sound(); hs.attachSound('headshot' + s); hs.start(); } instance of movieClip 637 { onClipEvent (load) { num = 1 + random(3); this.gotoAndStop(num); } } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop('death4'); } ++i; } } } frame 16 { ++_root.kills; ++_root.mkills; _parent.main.dead = true; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } frame 18 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } } movieClip 681 enemyArena1 { instance main of movieClip 680 { onClipEvent (load) { thishealth = 3; dead = false; } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true) && this._currentframe > 2 && this._currentframe !== 14 && this._visible == true) { thishealth -= _root.power; _root.bloodsplat(); _root.bloodspray(); ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); if (this._currentframe == 3 || this._currentframe == 9 || this._currentframe == 12) { this.gotoAndStop('wounded1'); } else { if (this._currentframe == 4 || this._currentframe == 10 || this._currentframe == 13) { this.gotoAndStop('wounded2'); } else { if (this._currentframe == 15 || this._currentframe == 17 || this._currentframe == 18) { this.gotoAndStop('wounded4'); } else { if (this._currentframe == 5 || this._currentframe == 11) { this.gotoAndStop('death3'); } } } } } if (thishealth <= 0 && this._currentframe !== 14) { if (this._currentframe == 3 || this._currentframe == 9 || this._currentframe == 12) { this.gotoAndStop('death1'); } else { if (this._currentframe == 4 || this._currentframe == 10 || this._currentframe == 13) { this.gotoAndStop('death2'); } else { if (this._currentframe == 15 || this._currentframe == 16 || this._currentframe == 17) { this.gotoAndStop('death4'); } } } } ++i; } } } } movieClip 698 { } movieClip 699 shellShotgun { frame 21 { var s = 1 + random(3); sheller = new Sound(); sheller.attachSound('shell' + s); sheller.start(); stop(); } } movieClip 700 sparksSmall { frame 30 { stop(); } } movieClip 704 whizClips { frame 1 { var s = 1 + random(4); num = -3 + random(6); num2 = -3 + random(6); _root.bg._x += num; _root.bg._y += num2; } frame 5 { stop(); } } movieClip 723 { frame 19 { stop(); } } movieClip 724 dust { frame 20 { stop(); } } movieClip 726 { } movieClip 728 { } movieClip 730 { } movieClip 731 m40bullet { frame 1 { stop(); } frame 4 { _parent.bulletactual._x += _root.windage / 5; } frame 5 { _parent.bulletactual._x += _root.windage / 5; } frame 6 { _parent.bulletactual._x += _root.windage / 4; } frame 7 { _parent.bulletactual._x += _root.windage / 4; } frame 8 { _parent.bulletactual._x += _root.windage / 4; } frame 9 { _parent.bulletactual._x += _root.windage / 3; } frame 10 { _parent.bulletactual._x += _root.windage / 3; } frame 11 { _parent.bulletactual._x += _root.windage / 3; } frame 12 { _parent.bulletactual._x += _root.windage / 3; } frame 13 { _parent.bulletactual._x += _root.windage / 3; } frame 16 { _root.m40impact(); } } movieClip 739 { frame 10 { stop(); } } movieClip 749 { frame 10 { stop(); } } movieClip 758 { frame 10 { stop(); } } movieClip 759 { frame 1 { stop(); } } movieClip 854 { frame 7 { thisnum = random(5); } frame 9 { if (thisnum > 2) { _root.smgShot(); } } frame 11 { if (thisnum > 2) { _root.smgShot(); } } frame 13 { if (thisnum > 2) { _root.smgShot(); } } frame 16 { if (thisnum == 0) { gotoAndPlay(110); } } frame 18 { thisnum = random(5); } frame 20 { if (thisnum > 2) { _root.smgShot(); } } frame 22 { if (thisnum > 2) { _root.smgShot(); } } frame 24 { if (thisnum > 2) { _root.smgShot(); } } frame 26 { if (thisnum > 2) { _root.smgShot(); } } frame 28 { if (thisnum > 2) { _root.smgShot(); } } frame 31 { if (thisnum == 0) { gotoAndPlay(110); } } frame 37 { thisnum = random(5); } frame 39 { if (thisnum > 2) { _root.smgShot(); } } frame 41 { if (thisnum > 2) { _root.smgShot(); } } frame 44 { if (thisnum == 0) { gotoAndPlay(110); } } frame 46 { if (thisnum > 2) { _root.smgShot(); } } frame 48 { if (thisnum > 2) { _root.smgShot(); } } frame 51 { if (thisnum == 0) { gotoAndPlay(110); } } frame 54 { thisnum = random(5); } frame 56 { if (thisnum > 2) { _root.smgShot(); } } frame 58 { if (thisnum > 2) { _root.smgShot(); } } frame 60 { if (thisnum > 2) { _root.smgShot(); } } frame 62 { if (thisnum > 2) { _root.smgShot(); } } frame 109 { gotoAndPlay(1); } frame 113 { _parent.gotoAndStop('in1'); } } movieClip 857 { frame 7 { thisnum = random(5); } frame 9 { _root.smgShot(); } frame 11 { _root.smgShot(); } frame 13 { _root.smgShot(); } frame 16 { if (thisnum == 0) { gotoAndPlay(110); } } frame 18 { thisnum = random(5); } frame 20 { _root.smgShot(); } frame 22 { _root.smgShot(); } frame 24 { _root.smgShot(); } frame 26 { _root.smgShot(); } frame 28 { _root.smgShot(); } frame 31 { if (thisnum == 0) { gotoAndPlay(110); } } frame 37 { thisnum = random(5); } frame 39 { _root.smgShot(); } frame 41 { _root.smgShot(); } frame 44 { if (thisnum > 2) { _root.smgShot(); } } frame 46 { _root.smgShot(); } frame 48 { _root.smgShot(); } frame 51 { if (thisnum == 0) { gotoAndPlay(110); } } frame 54 { thisnum = random(5); } frame 56 { _root.smgShot(); } frame 58 { _root.smgShot(); } frame 60 { _root.smgShot(); } frame 62 { _root.smgShot(); } frame 75 { _parent.gotoAndStop('in2'); } } movieClip 896 { frame 5 { thisnum = random(8); } frame 7 { if (thisnum < 3) { _root.smgShot(); } } frame 9 { if (thisnum < 3) { _root.smgShot(); } } frame 11 { if (thisnum < 3) { _root.smgShot(); } } frame 14 { if (thisnum > 3) { gotoAndPlay(70); } } frame 16 { thisnum = random(8); } frame 18 { if (thisnum < 3) { _root.smgShot(); } } frame 20 { if (thisnum < 3) { _root.smgShot(); } } frame 22 { if (thisnum < 3) { _root.smgShot(); } } frame 24 { if (thisnum < 3) { _root.smgShot(); } } frame 26 { if (thisnum < 3) { _root.smgShot(); } } frame 29 { if (thisnum > 3) { gotoAndPlay(70); } } frame 35 { thisnum = random(8); } frame 37 { if (thisnum < 3) { _root.smgShot(); } } frame 39 { if (thisnum < 3) { _root.smgShot(); } } frame 41 { if (thisnum > 3) { gotoAndPlay(70); } } frame 42 { thisnum = random(8); } frame 44 { if (thisnum < 3) { _root.smgShot(); } } frame 46 { if (thisnum < 3) { _root.smgShot(); } } frame 49 { if (thisnum > 3) { gotoAndPlay(70); } } frame 52 { thisnum = random(8); } frame 54 { if (thisnum < 3) { _root.smgShot(); } } frame 56 { if (thisnum < 3) { _root.smgShot(); } } frame 58 { if (thisnum < 3) { _root.smgShot(); } } frame 60 { if (thisnum < 3) { _root.smgShot(); } } frame 73 { _parent.gotoAndStop('in3'); } } movieClip 913 { frame 15 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 49 { ++_root.targetshit; } frame 51 { stop(); } } movieClip 927 { frame 12 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 49 { ++_root.targetshit; } frame 51 { stop(); } } movieClip 943 { frame 12 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 48 { ++_root.targetshit; } frame 50 { stop(); } } movieClip 961 { frame 13 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 51 { ++_root.targetshit; } frame 53 { stop(); } } movieClip 981 { frame 15 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 50 { ++_root.targetshit; } frame 52 { stop(); } } movieClip 982 { frame 1 { stop(); } } movieClip 997 { frame 10 { var s = 1 + random(4); falling = new Sound(); falling.attachSound('fall' + s); falling.start(); } frame 28 { ++_root.targetshit; } frame 31 { stop(); } } movieClip 998 { frame 1 { stop(); } } movieClip 1016 { frame 23 { ++_root.targetshit; } frame 25 { stop(); } } movieClip 1017 { frame 1 { stop(); } } movieClip 1020 { frame 10 { _parent.gotoAndStop('idle'); } } movieClip 1026 { frame 10 { stop(); _parent.gotoAndStop(1); } } movieClip 1035 { frame 10 { stop(); _parent.gotoAndStop(1); } } movieClip 1042 { frame 10 { _parent.gotoAndStop('shoot1'); } } movieClip 1051 { frame 10 { _parent.gotoAndStop('shoot2'); } } movieClip 1071 { frame 53 { ++_root.targetshit; } frame 55 { stop(); } } movieClip 1085 { frame 56 { ++_root.targetshit; } frame 58 { stop(); } } movieClip 1089 { } movieClip 1108 { frame 52 { ++_root.targetshit; } frame 54 { stop(); } } movieClip 1109 { frame 1 { stop(); } } movieClip 1110 { frame 1 { stop(); } instance timer of movieClip 258 { onClipEvent (load) { this.gotoAndPlay(random(100)); } onClipEvent (enterFrame) { if (_parent._visible == true && this._currentframe == 110) { _parent.gotoAndStop(2); trace('balls'); } } } instance of movieClip 759 { onClipEvent (load) { num = 1 + random(7); this.gotoAndStop(num); } onClipEvent (enterFrame) { if (this._currentframe <= 4 && this.person._currentframe == 10) { _parent.gotoAndStop('shoot1'); } else { if (this._currentframe > 4 && this._currentframe < 7 && this.person._currentframe == 10) { _parent.gotoAndStop('shoot2'); } else { if (this._currentframe == 7 && this.person._currentframe == 10) { _parent.gotoAndStop('shoot3'); } } } } } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop('headshots'); } ++i; } } } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop('death2'); } ++i; } } } frame 6 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } instance of movieClip 982 { onClipEvent (load) { num = 1 + random(5); this.gotoAndStop(num); } } frame 7 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } instance of movieClip 998 { onClipEvent (load) { var num = 1 + random(2); this.gotoAndStop(num); } } frame 8 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } instance of movieClip 1017 { onClipEvent (load) { var num = 1 + random(2); this.gotoAndStop(num); } } frame 12 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } frame 13 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } frame 14 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(4); hs = new Sound(); hs.attachSound('headshot' + s); hs.start(); } instance of movieClip 1109 { onClipEvent (load) { num = 1 + random(3); this.gotoAndStop(num); } } } movieClip 1111 enemysmg { instance main of movieClip 1110 { onClipEvent (load) { thishealth = 3; num = random(2); if (num == 1) { this._visible = true; ++_root.targetstotal; } else { this._visible = false; } } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true) && this._currentframe > 2 && this._currentframe !== 14 && this._visible == true) { thishealth -= _root.power; _root.bloodsplat(); _root.bloodspray(); ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); if (this._currentframe == 3 || this._currentframe == 9 || this._currentframe == 12) { this.gotoAndStop('wounded1'); } else { if (this._currentframe == 4 || this._currentframe == 10 || this._currentframe == 13) { this.gotoAndStop('wounded2'); } else { if (this._currentframe == 5 || this._currentframe == 11) { this.gotoAndStop('death3'); } } } } if (thishealth <= 0 && this._currentframe !== 14) { if (this._currentframe == 3 || this._currentframe == 9 || this._currentframe == 12) { this.gotoAndStop('death1'); } else { if (this._currentframe == 4 || this._currentframe == 10 || this._currentframe == 13) { this.gotoAndStop('death2'); } } } ++i; } } } } movieClip 1112 enemypistol { instance main of movieClip 680 { onClipEvent (load) { thishealth = 3; num = random(2); if (num == 1) { this._visible = true; ++_root.targetstotal; } else { this._visible = false; } } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true) && this._currentframe > 2 && this._currentframe !== 14 && this._visible == true) { thishealth -= _root.power; _root.bloodsplat(); _root.bloodspray(); ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); if (this._currentframe == 3 || this._currentframe == 9 || this._currentframe == 12) { this.gotoAndStop('wounded1'); } else { if (this._currentframe == 4 || this._currentframe == 10 || this._currentframe == 13) { this.gotoAndStop('wounded2'); } else { if (this._currentframe == 15 || this._currentframe == 17 || this._currentframe == 18) { this.gotoAndStop('wounded4'); } else { if (this._currentframe == 5 || this._currentframe == 11) { this.gotoAndStop('death3'); } } } } } if (thishealth <= 0 && this._currentframe !== 14) { if (this._currentframe == 3 || this._currentframe == 9 || this._currentframe == 12) { this.gotoAndStop('death1'); } else { if (this._currentframe == 4 || this._currentframe == 10 || this._currentframe == 13) { this.gotoAndStop('death2'); } else { if (this._currentframe == 15 || this._currentframe == 16 || this._currentframe == 17) { this.gotoAndStop('death4'); } } } } ++i; } } } } movieClip 1115 { } movieClip 1116 { } movieClip 1117 shotter { frame 1 { stop(); } instance of movieClip 1115 { onClipEvent (load) { num = random(2); if (num == 1) { this._visible = true; } else { this._visible = false; } } } } // unknown tag 88 length 68 movieClip 1122 fps { frame 1 { fps = 30; var timeinit = new Date(); var lasttime = timeinit.getMilliseconds(); onEnterFrame = function () { var v1 = new Date(); timepassed = v1.getMilliseconds() - lasttime >= 0 ? v1.getMilliseconds() - lasttime : 1000 + (v1.getMilliseconds() - lasttime); fps = Math.round(10000 / timepassed) / 10; lasttime = v1.getMilliseconds(); }; } } movieClip 1135 { } movieClip 1136 shellRifle { instance of movieClip 1135 { onClipEvent (load) { this.gotoAndPlay(random(12)); } } frame 21 { var s = 1 + random(3); if (_root._currentframe !== 1) { sheller = new Sound(); sheller.attachSound('shell' + s); sheller.start(); } stop(); } } movieClip 1138 { } movieClip 1142 gunFlash { frame 20 { stop(); } } frame 1 { Stage.showMenu = false; Stage.scaleMode = 'noScale'; Playtomic.Log.View(1604, '4b82ae9bc6804b5c', _root._url); } frame 1 { stop(); } frame 1 { function follow() { _root.curs._x = _root._xmouse; _root.curs._y = _root._ymouse; updateAfterEvent(); } } movieClip 1145 { } movieClip 1153 { instance of movieClip 1142 gunFlash { onClipEvent (load) { this._rotation = random(360); } } instance of movieClip 1136 shellRifle { onClipEvent (load) { this._rotation = random(30); } } instance of movieClip 1142 gunFlash { onClipEvent (load) { this._rotation = random(360); } } instance of movieClip 1136 shellRifle { onClipEvent (load) { this._rotation = random(30); } } instance of movieClip 1142 gunFlash { onClipEvent (load) { this._rotation = random(360); } } instance of movieClip 1136 shellRifle { onClipEvent (load) { this._rotation = random(30); } } } button 1156 { on (press) { getURL('http://www.armorgames.com', '_blank'); } } button 1157 { on (press) { getURL('http://www.simonhasondesign.com', '_blank'); } } movieClip 1161 { } movieClip 1167 { frame 7 { stop(); } } // unknown tag 88 length 4 movieClip 1192 { frame 1 { stop(); } } movieClip 1193 { } instance curs of movieClip 1193 { onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } } movieClip 1195 { } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 1202 { } instance of movieClip 1202 { onClipEvent (enterFrame) { this.loadbar._xscale = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.percentText = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (this.loadbar._xscale == 100) { _root.gotoAndStop(2); } } } movieClip 14073 __Packages.Playtomic.LogRequest { #initclip if (!_global.Playtomic) { _global.Playtomic = new Object(); } if (!_global.Playtomic.LogRequest) { var v1 = function () {}; Playtomic.LogRequest = v1; var v2 = v1.prototype; v2.Queue = function (data) { ++this.Pieces; this.Data += ((this.Data == '') ? '' : '~') + data; if (this.Pieces == 8 || this.Data.length > 300) { this.Pieces = 0; this.Ready = true; } }; v2.Send = function () { var v3 = function (success) { if (this.Data.indexOf('v/') == 0 || this.Data.indexOf('~v/') > -1) { Playtomic.Log.IncreaseViews(); } if (this.Data.indexOf('p/') == 0 || this.Data.indexOf('~p/') > -1) { Playtomic.Log.IncreasePlays(); } }; var v2 = new LoadVars(); v2.sendAndLoad('http://g' + Playtomic.Log.GUID + '.api.playtomic.com/Tracker/q.aspx?swfid=' + Playtomic.Log.SWFID + '&q=' + this.Data + '&url=' + Playtomic.Log.SourceUrl + '&' + Math.random() + 'z', v3, 'POST'); }; v2.Data = ''; v2.Ready = false; ASSetPropFlags(Playtomic.LogRequest.prototype, null, 1); } #endinitclip } movieClip 14074 __Packages.Playtomic.Log { #initclip if (!_global.Playtomic) { _global.Playtomic = new Object(); } if (!_global.Playtomic.Log) { var v1 = function () {}; Playtomic.Log = v1; var v2 = v1.prototype; v1.View = function (swfid, guid, defaulturl) { if (swfid == undefined) { swfid = 0; } if (guid == undefined) { guid = ''; } if (defaulturl == undefined) { defaulturl = ''; } if (Playtomic.Log.SWFID > 0) { return undefined; } Playtomic.Log.SWFID = swfid; Playtomic.Log.GUID = guid; Playtomic.Log.Enabled = true; if (Playtomic.Log.SWFID == 0 || Playtomic.Log.GUID == '') { Playtomic.Log.Enabled = false; return undefined; } if (defaulturl.indexOf('http://') != 0 && System.security.sandboxType != 'localWithNetwork' && System.security.sandboxType != 'localTrusted') { Playtomic.Log.Enabled = false; return undefined; } Playtomic.Log.SourceUrl = Playtomic.Log.GetUrl(defaulturl); if (Playtomic.Log.SourceUrl == null || Playtomic.Log.SourceUrl == '' || Playtomic.Log.SourceUrl.indexOf('https://') == 0) { Playtomic.Log.Enabled = false; return undefined; } Playtomic.Log.Cookie = SharedObject.getLocal('playtomic'); var v5 = Playtomic.Log.GetCookie('views'); Playtomic.Log.Send('v/' + (v5 + 1), true); _global.setTimeout(Playtomic.Log.PingServer, 60000); }; v1.ForceSend = function () { Playtomic.Log.Request.Send(); Playtomic.Log.Request = new Playtomic.LogRequest(); }; v1.IncreaseViews = function () { var v1 = Playtomic.Log.GetCookie('views'); ++v1; Playtomic.Log.SaveCookie('views', v1); }; v1.IncreasePlays = function () { ++Playtomic.Log.Plays; }; v1.Play = function () { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.LevelCounters = new Array(); Playtomic.Log.LevelAverages = new Array(); Playtomic.Log.LevelRangeds = new Array(); Playtomic.Log.Send('p/' + (Playtomic.Log.Plays + 1), true); }; v1.CustomMetric = function (name, group, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (group == null || group == undefined) { group = ''; } if (unique == null || unique == undefined) { unique = false; } if (unique) { if (Playtomic.Log.Customs.indexOf(name) > -1) { return undefined; } Playtomic.Log.Customs.push(name); } Playtomic.Log.Send('c/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group)); }; v1.Link = function (url, name, group, unique, total, fail) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('l/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + Playtomic.Log.Clean(url) + '/' + unique + '/' + total + '/' + fail); }; v1.LevelCounterMetric = function (name, level, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelCounters.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelCounters.push(name); } Playtomic.Log.Send('lc/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level)); }; v1.LevelRangedMetric = function (name, level, value, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelRangeds.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelRangeds.push(name); Playtomic.Log.SaveCookie('lr_' + name, 1); } Playtomic.Log.Send('lr/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value); }; v1.LevelAverageMetric = function (name, level, value, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelAverages.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelAverages.push(name); } Playtomic.Log.Send('la/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value); }; v1.PingServer = function () { if (!Playtomic.Log.Enabled) { return undefined; } ++Playtomic.Log.Pings; Playtomic.Log.Send('t/' + (Playtomic.Log.FirstPing ? 'y' : 'n') + '/' + Playtomic.Log.Pings, true); if (Playtomic.Log.FirstPing) { Playtomic.Log.FirstPing = false; setInterval(Playtomic.Log.PingServer, 60000); } }; v1.Send = function (s, view) { if (view == undefined) { view = false; } Playtomic.Log.Request.Queue(s); if (Playtomic.Log.Request.Ready || view || !Playtomic.Log.Queue) { Playtomic.Log.Request.Send(); Playtomic.Log.Request = new Playtomic.LogRequest(); } }; v1.GetCookie = function (n) { if (Playtomic.Log.Cookie.data[n] == undefined) { return 0; } else { return parseInt(Playtomic.Log.Cookie.data[n]); } }; v1.SaveCookie = function (n, v) { var v1 = SharedObject.getLocal('swfstats'); v1.data[n] = v.toString(); v1.flush(); }; v1.Clean = function (s) { while (s.indexOf('/') > -1) { s = s.replace('/', '\\'); } while (s.indexOf('~') > -1) { s = s.replace('~', '-'); } return escape(s); }; v1.Replace = function (str, find, replace) { return (str.split(find)).join(replace); }; v1.GetUrl = function (defaulturl) { return defaulturl; }; v1.Enabled = false; v1.Queue = true; v1.SWFID = 0; v1.GUID = ''; v1.Request = new Playtomic.LogRequest(); v1.FirstPing = true; v1.Pings = 0; v1.Plays = 0; v1.HighestGoal = 0; v1.Customs = new Array(); v1.LevelCounters = new Array(); v1.LevelAverages = new Array(); v1.LevelRangeds = new Array(); ASSetPropFlags(Playtomic.Log.prototype, null, 1); } #endinitclip } frame 2 { Stage.showMenu = false; Stage.scaleMode = 'noScale'; so = SharedObject.getLocal('Sierra7'); if (so.data.saved != undefined) { wins = so.data.wins; emblems = so.data.emblems; callsign = so.data.callsign; played = so.data.played; gamebeat = so.data.gamebeat; difficulty = so.data.difficulty; hits = so.data.hits; shots = so.data.shots; m40shotsTotal = so.data.m40shotsTotal; m40hitsTotal = so.data.m40hitsTotal; kills = so.data.kills; c_gunrun_score = so.data.c_gunrun_score; c_snipe_score = so.data.c_snipe_score; c_pistol_score = so.data.c_pistol_score; c_long_score = so.data.c_long_score; c_arena_score = so.data.c_arena_score; pistolkills = so.data.pistolkills; silentkills = so.data.silentkills; accuracy = so.data.accuracy; headshots = so.data.headshots; targets = so.data.targets; targetshit = so.data.targetshit; targetstotal = so.data.targetstotal; mission1a = so.data.mission1a; mission2a = so.data.mission2a; mission3a = so.data.mission3a; mission4a = so.data.mission4a; mission5a = so.data.mission5a; mission6a = so.data.mission6a; mission7a = so.data.mission7a; vestHave = so.data.vestHave; medHave = so.data.medHave; opHave = so.data.opHave; pHave = so.data.pHave; uspHave = so.data.uspHave; mkHave = so.data.mkHave; sdHave = so.data.sdHave; m4Have = so.data.m4Have; m4sfHave = so.data.m4sfHave; akHave = so.data.akHave; g36cHave = so.data.g36cHave; mossHave = so.data.mossHave; xmHave = so.data.xmHave; m60Have = so.data.m60Have; emspecialforces = so.data.emspecialforces; emsniperspecialist = so.data.emsniperspecialist; empistolsharpshooter = so.data.empistolsharpshooter; emmedicalofficer = so.data.emmedicalofficer; emmunitionsmanagement = so.data.emmunitionsmanagement; emcombataction = so.data.emcombataction; emsilenthunter = so.data.emsilenthunter; emcertifiedoperator = so.data.emcertifiedoperator; emaerialcombatant = so.data.emaerialcombatant; emtargetprecision = so.data.emtargetprecision; emcivilprotection = so.data.emcivilprotection; empurpleheart = so.data.empurpleheart; emenemycaptive = so.data.emenemycaptive; emexplosiveordnance = so.data.emexplosiveordnance; crosshair = so.data.crosshair; blurmode = so.data.blurmode; bmpset = so.data.bmpset; primary = so.data.primary; secondary = so.data.secondary; item1select = so.data.item1select; item1current = so.data.item1current; item2select = so.data.item2select; item2current = so.data.item2current; } else { wins = 0; emblems = 0; callsign = 'Callsign'; played = false; gamebeat = false; difficulty = 0; c_gunrun_score = 0; c_snipe_score = 0; c_arena_score = 0; c_pistol_score = 0; c_long_score = 0; hits = 0; shots = 0; m40shotsTotal = 0; m40hitsTotal = 0; kills = 0; pistolkills = 0; silentkills = 0; accuracy = 0; headshots = 0; targets = 0; targetshit = 0; targetstotal = 0; mission1a = false; mission2a = false; mission3a = false; mission4a = false; mission5a = false; mission6a = false; mission7a = false; vestHave = false; medHave = false; opHave = false; pHave = false; uspHave = false; mkHave = false; sdHave = false; m4Have = false; m4sfHave = false; akHave = false; g36cHave = false; mossHave = false; xmHave = false; m60Have = false; emspecialforces = false; emsniperspecialist = false; empistolsharpshooter = false; emmedicalofficer = false; emmunitionsmanagement = false; emcombataction = false; emsilenthunter = false; emcertifiedoperator = false; emaerialcombatant = false; emtargetprecision = false; emcivilprotection = false; empurpleheart = false; emenemycaptive = false; emexplosiveordnance = false; crosshair = 1; blurmode = false; bmpset = true; primary = 'mp5'; secondary = 'glock'; item1select = 1; item1current = 1; item2select = 1; item2current = 1; } var labelArray = new Array(); labelArray[0] = 'empty'; labelArray[1] = 'p'; labelArray[2] = 'op'; labelArray[3] = 'usp'; labelArray[4] = 'mk'; labelArray[5] = 'sd'; labelArray[6] = 'm4'; labelArray[7] = 'm4sf'; labelArray[8] = 'ak'; labelArray[9] = 'g36c'; labelArray[10] = 'moss'; labelArray[11] = 'xm'; labelArray[12] = 'm60'; labelArray[13] = 'vest'; labelArray[14] = 'med'; positionArray = []; showFps = false; musicOn = true; mhits = 0; mshots = 0; mkills = 0; cmissed = 0; mreload = false; maccuracy = 0; healthnum = 5; checkpoint = 'check1'; m40state = 'deploy'; windage = -4 + random(8); m40ammo = 5; m40sec = 0; m40c = true; zoomer = false; ambience1 = new Sound(); ambience1.attachSound('arcticAmbience'); mtarget1 = true; mtarget2 = true; mtarget3 = true; mtarget4 = true; mtarget5 = true; mctarget1 = true; mctarget2 = true; mctarget3 = true; mctarget4 = true; mctarget5 = true; mctarget6 = true; mctarget7 = true; mctarget8 = true; mctarget9 = true; mctarget10 = true; m40targets = 0; m40hits = 0; m40shots = 0; m40accuracy = 0; power = 1; mags = 4; pistolmode = false; heat = 0; guntype = 'primary'; suppressed = false; nvg = false; nvgon = false; lam = false; healed = false; pilling = false; newemblem = false; cover = false; tick = 0; snowing = true; crouch = true; _quality = 'HIGH'; plus = false; breaching = false; timing = false; gunspeed = 3; moused = false; health = 100; pauses = false; selector = 0; shotters = 9; heat = 0; } frame 2 { _root.stopAllSounds(); } movieClip 1209 { } movieClip 1217 { } movieClip 1233 { } movieClip 1236 { } movieClip 1243 { frame 25 { stop(); } } movieClip 1245 { } movieClip 1247 { } movieClip 1248 { } movieClip 1249 { } // unknown tag 88 length 81 movieClip 1255 { } button 1261 { on (press) { _root._quality = 'MEDIUM'; } } button 1262 { on (press) { _root._quality = 'HIGH'; } } button 1263 { on (press) { _root._quality = 'LOW'; } } movieClip 1271 { frame 1 { stop(); } } movieClip 1276 { frame 10 { stop(); } } movieClip 1277 { frame 9 { stop(); } } button 1278 { on (press) { _root.difficulty = 0; gotoAndStop(1); } } button 1279 { on (press) { _root.difficulty = 1; gotoAndStop(2); } } button 1280 { on (press) { _root.difficulty = 1; gotoAndStop(3); } } movieClip 1287 { frame 1 { stop(); } frame 1 { _root.difficulty == 0; } frame 2 { _root.difficulty == 1; } frame 3 { _root.difficulty == 2; } } button 1288 { on (press) { _root.callsign = _root.intros.step1.inputText; _root.played = true; gotoAndStop(3); } } button 1295 { on (press) { wins = 0; emblems = 0; callsign = 'Callsign'; played = false; gamebeat = false; difficulty = 0; c_gunrun_score = 0; c_snipe_score = 0; c_arena_score = 0; c_pistol_score = 0; c_long_score = 0; hits = 0; shots = 0; m40shotsTotal = 0; m40hitsTotal = 0; kills = 0; pistolkills = 0; silentkills = 0; accuracy = 0; headshots = 0; targets = 0; targetshit = 0; targetstotal = 0; mission1a = false; mission2a = false; mission3a = false; mission4a = false; mission5a = false; mission6a = false; mission7a = false; vestHave = false; medHave = false; opHave = false; pHave = false; uspHave = false; mkHave = false; sdHave = false; m4Have = false; m4sfHave = false; akHave = false; g36cHave = false; mossHave = false; xmHave = false; m60Have = false; emspecialforces = false; emsniperspecialist = false; empistolsharpshooter = false; emmedicalofficer = false; emmunitionsmanagement = false; emcombataction = false; emsilenthunter = false; emcertifiedoperator = false; emaerialcombatant = false; emtargetprecision = false; emcivilprotection = false; empurpleheart = false; emenemycaptive = false; emexplosiveordnance = false; crosshair = 1; blurmode = false; bmpset = true; primary = 'mp5'; secondary = 'glock'; _root.crosshair = 1; _root.blurmode = false; _root.bmpset = true; _root.primary = 'mp5'; _root.secondary = 'glock'; _root.missionselected = 'training'; item1select = 1; item1current = 1; item2select = 1; item2current = 1; _root.so.clear(); _root.gotoAndPlay(1); } } button 1296 { on (press) { gotoAndStop(1); } } movieClip 1297 { frame 1 { stop(); } } button 1298 { on (press) { _root.nextFrame(); } } button 1300 { on (press) { clearer.gotoAndStop(2); } } button 1305 { on (press) { _root.gotoAndStop('tutorial'); } } button 1306 { on (press) { _root.nextFrame(); } } movieClip 1307 { frame 1 { stop(); } instance of movieClip 1271 { onClipEvent (enterFrame) { if (_root._quality == 'LOW') { this.gotoAndStop(1); } else { if (_root._quality == 'MEDIUM') { this.gotoAndStop(2); } else { if (_root._quality == 'HIGH') { this.gotoAndStop(3); } } } } } frame 3 { _root.intros.step1.callsign = _root.callsign; } } button 1311 { on (press) { getURL('http://www.simonhasondesign.com', '_blank'); } } button 1312 { on (press) { getURL('http://armorgames.com/author/simonhason', '_blank'); } } button 1313 { on (press) { getURL('http://www.armorgames.com', '_blank'); } } movieClip 1316 { instance step1 of movieClip 1307 { onClipEvent (load) { this.callsign = _root.callsign; if (_root.played == false) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } frame 372 { stop(); } } instance of movieClip 1122 fps { onClipEvent (enterFrame) { if (_root.showFps == true) { this._visible = true; } else { this._visible = false; } } } movieClip 1320 { } instance of movieClip 1320 { onClipEvent (enterFrame) { accuracyCalc = (_root.hits / _root.shots) * 100; _root.accuracy = Math.round(accuracyCalc * 10) / 10; maccuracyCalc = (_root.mhits / _root.mshots) * 100; _root.maccuracy = Math.round(maccuracyCalc * 10) / 10; if (_root.accuracy > 100) { _root.accuracy = 100; } if (_root.maccuracy > 100) { _root.maccuracy = 100; } } } frame 3 { function follow() { _root.curs._x = _root._xmouse; _root.curs._y = _root._ymouse; updateAfterEvent(); } stop(); stopAllSounds(); if (_root.musicOn == true) { menuTheme = new Sound(); menuTheme.attachSound('menuTheme'); menuTheme.start(0, 99); } Mouse.show(); if (_root.tick == 0) { _quality = 'LOW'; _root.tick = 1; } _root.unlocks.gotoAndStop(_root.labelArray[_root.positionArray[0]]); _root.unlocks.nextBtn.onPress = function () { _root.positionArray.splice(0, 1); if (_root.positionArray.length > 0) { _root.unlocks.gotoAndStop(_root.labelArray[_root.positionArray[0]]); } else { _root.unlocks.gotoAndStop(1); _root.main.gotoAndStop('missions'); } }; _root.live = true; _root.healed = false; _root.cover = false; _root.nvg = false; _root.health = 100; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.cmissed = 0; _root.mreload = false; _root.maccuracy = 0; _root.pauses = false; _root.nvgon = false; _root.checkpoint = 'check1'; windage = -4 + random(8); m40ammo = 5; m40state = deploy; m40shots = 0; m40targets = 0; m40sec = 0; m40c = false; zoomer = false; mtarget1 = true; mtarget2 = true; mtarget3 = true; mtarget4 = true; mtarget5 = true; mctarget1 = true; mctarget2 = true; mctarget3 = true; mctarget4 = true; mctarget5 = true; mctarget6 = true; mctarget7 = true; mctarget8 = true; mctarget9 = true; mctarget10 = true; so.data.wins = _root.wins; so.data.emblems = _root.emblems; so.data.callsign = _root.callsign; so.data.played = _root.played; so.data.difficulty = _root.difficulty; so.data.hits = _root.hits; so.data.shots = _root.shots; so.data.m40shotsTotal = _root.m40shotsTotal; so.data.m40hitsTotal = _root.m40hitsTotal; so.data.kills = _root.kills; so.data.c_gunrun_score = _root.c_gunrun_score; so.data.c_snipe_score = _root.c_snipe_score; so.data.c_arena_score = _root.c_arena_score; so.data.c_pistol_score = _root.c_pistol_score; so.data.c_long_score = _root.c_long_score; so.data.pistolkills = _root.pistolkills; so.data.silentkills = _root.silentkills; so.data.accuracy = _root.accuracy; so.data.headshots = _root.headshots; so.data.targets = _root.targets; so.data.targetshit = _root.targetshit; so.data.targetstotal = _root.targetstotal; so.data.mission1a = _root.mission1a; so.data.mission2a = _root.mission2a; so.data.mission3a = _root.mission3a; so.data.mission4a = _root.mission4a; so.data.mission5a = _root.mission5a; so.data.mission6a = _root.mission6a; so.data.mission7a = _root.mission7a; so.data.vestHave = _root.vestHave; so.data.medHave = _root.medHave; so.data.opHave = _root.opHave; so.data.pHave = _root.pHave; so.data.uspHave = _root.uspHave; so.data.mkHave = _root.mkHave; so.data.sdHave = _root.sdHave; so.data.m4Have = _root.m4Have; so.data.m4sfHave = _root.m4sfHave; so.data.akHave = _root.akHave; so.data.g36cHave = _root.g36cHave; so.data.mossHave = _root.mossHave; so.data.xmHave = _root.xmHave; so.data.m60Have = _root.m60Have; so.data.emspecialforces = _root.emspecialforces; so.data.emsniperspecialist = _root.emsniperspecialist; so.data.empistolsharpshooter = _root.empistolsharpshooter; so.data.emmedicalofficer = _root.emmedicalofficer; so.data.emmunitionsmanagement = _root.emmunitionsmanagement; so.data.emcombataction = _root.emcombataction; so.data.emsilenthunter = _root.emsilenthunter; so.data.emcertifiedoperator = _root.emcertifiedoperator; so.data.emaerialcombatant = _root.emaerialcombatant; so.data.emtargetprecision = _root.emtargetprecision; so.data.emcivilprotection = _root.emcivilprotection; so.data.empurpleheart = _root.empurpleheart; so.data.emenemycaptive = _root.emenemycaptive; so.data.emexplosiveordnance = _root.emexplosiveordnance; so.data.crosshair = _root.crosshair; so.data.blurmode = _root.blurmode; so.data.bmpset = _root.bmpset; so.data.primary = _root.primary; so.data.secondary = _root.secondary; so.data.item1select = _root.item1select; so.data.item1current = _root.item1current; so.data.item2select = _root.item2select; so.data.item2current = _root.item2current; so.data.saved = true; so.flush(); } movieClip 1323 { } movieClip 1324 { } movieClip 1326 { } movieClip 1328 { } movieClip 1329 { } movieClip 1330 { } movieClip 1331 { } movieClip 1336 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 1336 { onClipEvent (load) { thisover = false; } onClipEvent (mouseDown) { if (thisover == true) { _root.main.gotoAndStop('missions'); } } onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { thisover = true; } else { thisover = false; } if (thisover == true && this._currentframe !== 10) { this.play(); } if (thisover == false && this._currentframe == 10) { this.play(); } } } movieClip 1340 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 1340 { onClipEvent (load) { thisover = false; } onClipEvent (mouseDown) { if (thisover == true) { _root.main.gotoAndStop('loadout'); } } onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { thisover = true; } else { thisover = false; } if (thisover == true && this._currentframe !== 10) { this.play(); } if (thisover == false && this._currentframe == 10) { this.play(); } } } movieClip 1342 { } movieClip 1345 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 1345 { onClipEvent (load) { thisover = false; } onClipEvent (mouseDown) { if (thisover == true) { _root.main.gotoAndStop('options'); } } onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { thisover = true; } else { thisover = false; } if (thisover == true && this._currentframe !== 10) { this.play(); } if (thisover == false && this._currentframe == 10) { this.play(); } } } movieClip 1350 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 1350 { onClipEvent (load) { thisover = false; } onClipEvent (mouseDown) { if (thisover == true) { _root.menuTheme.stop(); _root.gotoAndStop(_root.missionselected); } } onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { thisover = true; } else { thisover = false; } if (thisover == true && this._currentframe !== 10) { this.play(); } if (thisover == false && this._currentframe == 10) { this.play(); } } } movieClip 1352 { } movieClip 1355 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 1355 { onClipEvent (load) { thisover = false; } onClipEvent (mouseDown) { if (thisover == true) { _root.main.gotoAndStop('emblems'); } } onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { thisover = true; } else { thisover = false; } if (thisover == true && this._currentframe !== 10) { this.play(); } if (thisover == false && this._currentframe == 10) { this.play(); } } } movieClip 1357 { } movieClip 1360 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 1360 { onClipEvent (load) { thisover = false; } onClipEvent (mouseDown) { if (thisover == true) { _root.main.gotoAndStop('statistics'); } } onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { thisover = true; } else { thisover = false; } if (thisover == true && this._currentframe !== 10) { this.play(); } if (thisover == false && this._currentframe == 10) { this.play(); } } } movieClip 1362 { } movieClip 1363 { frame 9 { stop(); } } instance of movieClip 1363 { onClipEvent (enterFrame) { if (_root.newemblem == true) { this._visible = true; } else { this._visible = false; } } } movieClip 1368 { } movieClip 1369 { } movieClip 1370 { } movieClip 1372 { } movieClip 1375 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 1375 { onClipEvent (load) { thisover = false; } onClipEvent (mouseDown) { if (thisover == true) { _root.main.gotoAndStop('gallery'); } } onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { thisover = true; } else { thisover = false; } if (thisover == true && this._currentframe !== 10) { this.play(); } if (thisover == false && this._currentframe == 10) { this.play(); } } } movieClip 1377 { } movieClip 1380 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 1380 { onClipEvent (load) { thisover = false; } onClipEvent (mouseDown) { if (thisover == true) { _root.main.gotoAndStop('challenges'); } } onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { thisover = true; } else { thisover = false; } if (thisover == true && this._currentframe !== 10) { this.play(); } if (thisover == false && this._currentframe == 10) { this.play(); } } } movieClip 1385 { frame 12 { stop(); } } movieClip 1389 { frame 1 { stop(); } } movieClip 1392 { frame 5 { stop(); } } button 1396 { on (press) { _root.digital.start(0, 0); if (_root.item1select !== 1) { _root.item1select -= 1; } } } button 1397 { on (press) { _root.digital.start(0, 0); if (_root.item1select !== 5) { _root.item1select += 1; } } } button 1398 { on (press) { _root.digital.start(0, 0); if (_root.item2select !== 1) { --_root.item2select; } } } button 1399 { on (press) { _root.digital.start(0, 0); if (_root.item2select < 9) { ++_root.item2select; } } } movieClip 1416 { } movieClip 1420 { } movieClip 1424 { } movieClip 1428 { } movieClip 1429 { instance of movieClip 1416 { onClipEvent (enterFrame) { if (_root.opHave == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1420 { onClipEvent (enterFrame) { if (_root.pHave == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1424 { onClipEvent (enterFrame) { if (_root.mkHave == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1428 { onClipEvent (enterFrame) { if (_root.uspHave == false) { this._visible = true; } else { this._visible = false; } } } } movieClip 1431 { } movieClip 1438 { frame 1 { stop(); _root.item1current = 1; _root.secondary = 'glock'; } frame 10 { stop(); _root.item1current = 2; if (_root.pHave == true) { _root.secondary = 'p'; } } frame 20 { stop(); _root.item1current = 3; if (_root.opHave == true) { _root.secondary = 'op'; } } frame 30 { stop(); _root.item1current = 4; if (_root.mkHave == true) { _root.secondary = 'mk'; } } frame 40 { stop(); _root.item1current = 5; if (_root.uspHave == true) { _root.secondary = 'usp'; } } } movieClip 1460 { } movieClip 1464 { } movieClip 1468 { } movieClip 1472 { } movieClip 1476 { } movieClip 1480 { } movieClip 1484 { } movieClip 1488 { } movieClip 1489 { instance of movieClip 1460 { onClipEvent (enterFrame) { if (_root.xmHave == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1464 { onClipEvent (enterFrame) { if (_root.m4Have == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1468 { onClipEvent (enterFrame) { if (_root.m4sfHave == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1472 { onClipEvent (enterFrame) { if (_root.sdHave == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1476 { onClipEvent (enterFrame) { if (_root.mossHave == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1480 { onClipEvent (enterFrame) { if (_root.m60Have == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1484 { onClipEvent (enterFrame) { if (_root.akHave == false) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 1488 { onClipEvent (enterFrame) { if (_root.g36cHave == false) { this._visible = true; } else { this._visible = false; } } } } movieClip 1490 { frame 1 { stop(); _root.item2current = 1; _root.primary = 'mp5'; } frame 10 { stop(); _root.item2current = 2; if (_root.sdHave == true) { _root.primary = 'sd'; } } frame 20 { stop(); _root.item2current = 3; if (_root.mossHave == true) { _root.primary = 'moss'; } } frame 30 { stop(); _root.item2current = 4; if (_root.m4Have == true) { _root.primary = 'm4'; } } frame 40 { stop(); _root.item2current = 5; if (_root.m4sfHave == true) { _root.primary = 'm4sf'; } } frame 50 { stop(); _root.item2current = 6; if (_root.g36cHave == true) { _root.primary = 'g36c'; } } frame 60 { stop(); _root.item2current = 7; if (_root.akHave == true) { _root.primary = 'ak'; } } frame 70 { stop(); _root.item2current = 8; _root.primary = 'xm'; } frame 80 { stop(); _root.item2current = 9; if (_root.m60Have == true) { _root.primary = 'm60'; } } } movieClip 1491 { instance of movieClip 1438 { onClipEvent (load) { this.gotoAndStop(_root.secondary); } onClipEvent (enterFrame) { if (_root.item1select > _root.item1current) { this.nextFrame(); } if (_root.item1select < _root.item1current) { this.prevFrame(); } } } instance of movieClip 1490 { onClipEvent (load) { this.gotoAndStop(_root.primary); } onClipEvent (enterFrame) { if (_root.item2select > _root.item2current) { this.nextFrame(); } if (_root.item2select < _root.item2current) { this.prevFrame(); } } } } button 1498 { on (press) { _root.main.gotoAndStop(1); } } movieClip 1502 { } movieClip 1512 { frame 1 { stop(); _root.missionselected = 'training'; } frame 2 { stop(); _root.missionselected = 'safehouse'; } frame 3 { stop(); _root.missionselected = 'tangiershotel'; } frame 4 { stop(); _root.missionselected = 'rsaembassy'; } frame 5 { stop(); _root.missionselected = 'm40anim'; } frame 6 { stop(); _root.missionselected = 'kosovobase'; } frame 7 { stop(); _root.missionselected = 'somaliastreet'; } } button 1513 { on (press) { _root.missionselected = 'training'; } } button 1516 { on (press) { _root.missionselected = 'tangiershotel'; } } movieClip 1518 { frame 1 { stop(); } } button 1520 { on (press) { _root.missionselected = 'rsaembassy'; } } movieClip 1522 { frame 1 { stop(); } } button 1524 { on (press) { _root.missionselected = 'safehouse'; } } movieClip 1526 { frame 1 { stop(); } } button 1528 { on (press) { _root.missionselected = 'm40anim'; } } movieClip 1530 { frame 1 { stop(); } } button 1532 { on (press) { _root.missionselected = 'kosovobase'; } } movieClip 1534 { frame 1 { stop(); } } button 1536 { on (press) { _root.missionselected = 'somaliastreet'; } } movieClip 1538 { frame 1 { stop(); } } movieClip 1549 { instance of movieClip 1512 { onClipEvent (load) { this.gotoAndStop(_root.missionselected); } onClipEvent (enterFrame) { this.gotoAndStop(_root.missionselected); } } instance of movieClip 1518 { onClipEvent (load) { if (_root.mission2a == false) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 1522 { onClipEvent (load) { if (_root.mission3a == false) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 1526 { onClipEvent (load) { if (_root.mission1a == false) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 1530 { onClipEvent (load) { if (_root.mission4a == false) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 1534 { onClipEvent (load) { if (_root.mission5a == false) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 1538 { onClipEvent (load) { if (_root.mission6a == false) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } } movieClip 1552 { } button 1555 { on (press) { gotoAndStop(2); } } button 1556 { on (press) { gotoAndStop(1); } } movieClip 1562 { frame 1 { stop(); } frame 1 { _root.blurmode = false; } frame 2 { _root.blurmode = true; } } button 1563 { on (press) { if (_root.crosshair < 10) { ++_root.crosshair; } } } button 1564 { on (press) { if (_root.crosshair > 1) { --_root.crosshair; } } } movieClip 1576 { frame 1 { stop(); } } movieClip 1578 { instance of movieClip 1576 { onClipEvent (enterFrame) { this.gotoAndStop(_root.crosshair); } } } button 1580 { on (press) { gotoAndStop(2); } } button 1581 { on (press) { gotoAndStop(1); } } movieClip 1583 { frame 1 { _root.bmpset = false; } frame 2 { _root.bmpset = true; } } button 1584 { on (press) { _root.menuTheme.stop(); _root.stopAllSounds(); _root.gotoAndStop(2); } } button 1585 { on (press) { _root.menuTheme.stop(); _root.menuTheme.start(0, 99); gotoAndStop(1); } } button 1586 { on (press) { gotoAndStop(2); } } movieClip 1588 { frame 1 { _root.musicOn = true; } frame 2 { _root.musicOn = false; _root.menuTheme.stop(); } } button 1589 { on (press) { gotoAndStop(2); } } button 1590 { on (press) { gotoAndStop(1); } } movieClip 1592 { frame 1 { stop(); } frame 1 { _root.showFps = false; } frame 2 { _root.showFps = true; } } movieClip 1613 { frame 1 { stop(); } } movieClip 1616 { frame 1 { stop(); } } movieClip 1619 { frame 1 { stop(); } } movieClip 1632 { frame 1 { stop(); } } movieClip 1636 { frame 1 { stop(); } } movieClip 1640 { frame 1 { stop(); } } movieClip 1645 { frame 1 { stop(); } } movieClip 1649 { frame 1 { stop(); } } movieClip 1653 { frame 1 { stop(); } } movieClip 1657 { frame 1 { stop(); } } movieClip 1661 { frame 1 { stop(); } } movieClip 1665 { frame 10 { stop(); } } movieClip 1668 { } // unknown tag 88 length 63 button 1674 { on (press) { gotoAndStop(1); } } movieClip 1715 { frame 1 { stop(); } frame 1 { special.onRollOver = function () { _root.curs.box.gotoAndStop('emspecialforces'); }; special.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; sniper.onRollOver = function () { _root.curs.box.gotoAndStop('emsniperspecialist'); }; sniper.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; pistol.onRollOver = function () { _root.curs.box.gotoAndStop('empistolsharpshooter'); }; pistol.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; medical.onRollOver = function () { _root.curs.box.gotoAndStop('emmedicalofficer'); }; medical.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; munitions.onRollOver = function () { _root.curs.box.gotoAndStop('emmunitionsmanagement'); }; munitions.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; combat.onRollOver = function () { _root.curs.box.gotoAndStop('combat'); }; combat.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; silent.onRollOver = function () { _root.curs.box.gotoAndStop('silent'); }; silent.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; certified.onRollOver = function () { _root.curs.box.gotoAndStop('certified'); }; certified.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; aerial.onRollOver = function () { _root.curs.box.gotoAndStop('aerial'); }; aerial.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; target.onRollOver = function () { _root.curs.box.gotoAndStop('target'); }; target.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; explosive.onRollOver = function () { _root.curs.box.gotoAndStop('explosive'); }; explosive.onRollOut = function () { _root.curs.box.gotoAndStop(1); }; } instance of movieClip 1613 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emspecialforces == true && this._visible == true) { _parent.gotoAndStop(2); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emspecialforces == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1616 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emsniperspecialist == true && this._visible == true) { _parent.gotoAndStop(3); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emsniperspecialist == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1619 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.empistolsharpshooter == true && this._visible == true) { _parent.gotoAndStop(4); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.empistolsharpshooter == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1632 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emmedicalofficer == true && this._visible == true) { _parent.gotoAndStop(5); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emmedicalofficer == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1636 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emmunitionsmanagement == true && this._visible == true) { _parent.gotoAndStop(6); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emmunitionsmanagement == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1640 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emcombataction == true && this._visible == true) { _parent.gotoAndStop(7); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emcombataction == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1645 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emaerialcombatant == true && this._visible == true) { _parent.gotoAndStop(9); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emaerialcombatant == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1649 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emtargetprecision == true && this._visible == true) { _parent.gotoAndStop(10); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emtargetprecision == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1653 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emcertifiedoperator == true && this._visible == true) { _parent.gotoAndStop(8); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emcertifiedoperator == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1657 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emexplosiveordnance == true && this._visible == true) { _parent.gotoAndStop(14); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emexplosiveordnance == false) { this._visible = false; } else { this._visible = true; } } } instance of movieClip 1661 { onClipEvent (mouseDown) { if (this.hitTest(_root.curs.cursor) && _root.emcombataction == true && this._visible == true) { _parent.gotoAndStop(11); } } onClipEvent (enterFrame) { if (this.hitTest(_root.curs.cursor)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } if (_root.emsilenthunter == false) { this._visible = false; } else { this._visible = true; } } } } movieClip 1719 { } // unknown tag 88 length 81 // unknown tag 88 length 69 movieClip 1761 { instance of movieClip 1719 { onClipEvent (load) { if (_root.shots == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(Math.round(_root.accuracy)); } } } instance of movieClip 1719 { onClipEvent (load) { if (_root.kills == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(_root.kills * 4); } } } instance of movieClip 1719 { onClipEvent (load) { if (_root.headshots == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(_root.headshots * 2); } } } instance of movieClip 1719 { onClipEvent (load) { if (_root.targets == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(_root.targets * 2); } } } instance of movieClip 1719 { onClipEvent (load) { if (_root.pistolkills == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(_root.pistolkills * 2); } } } instance of movieClip 1719 { onClipEvent (load) { if (_root.m40shotsTotal == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(Math.round((_root.m40hitsTotal / _root.m40shotsTotal) * 100)); } } } instance of movieClip 1719 { onClipEvent (load) { if (_root.wins == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(_root.wins * 14); } } } instance of movieClip 1719 { onClipEvent (load) { if (_root.emblems == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(_root.emblems * 9); } } } instance of movieClip 1719 { onClipEvent (load) { if (_root.silentkills == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(_root.silentkills * 4); } } } } movieClip 1765 { } // unknown tag 88 length 69 movieClip 1774 { } movieClip 1776 { frame 1 { stop(); imgnext = true; } } movieClip 1779 { } movieClip 1781 { } movieClip 1783 { } movieClip 1785 { } movieClip 1787 { } movieClip 1789 { } movieClip 1791 { } movieClip 1793 { } movieClip 1796 { } movieClip 1798 { } movieClip 1801 { } movieClip 1802 { frame 1 { stop(); onEnterFrame = function () { if (transition._currentframe == 15 && transition.imgnext == true) { _root.main.gallery.nextFrame(); } else { if (transition._currentframe == 15 && transition.imgnext == false) { _root.main.gallery.prevFrame(); } } }; buttonNext.onPress = function () { if (transition._currentframe == 1) { transition.imgnext = true; transition.gotoAndPlay(2); } }; buttonPrev.onPress = function () { if (transition._currentframe == 1) { transition.imgnext = false; transition.gotoAndPlay(2); } }; } } button 1813 { on (press) { gotoAndStop(2); } } button 1814 { on (press) { gotoAndStop(3); } } button 1815 { on (press) { gotoAndStop(4); } } button 1816 { on (press) { gotoAndStop(5); } } button 1817 { on (press) { gotoAndStop(6); } } // unknown tag 88 length 69 // unknown tag 88 length 69 button 1837 { on (press) { _root.menuTheme.stop(); _root.m40state = 'idle'; _root.gotoAndStop('C_anims'); } } button 1838 { on (press) { gotoAndStop(1); } } movieClip 1841 { } button 1845 { on (press) { _root.menuTheme.stop(); _root.gotoAndStop('C_pistol'); } } button 1849 { on (press) { _root.menuTheme.stop(); _root.gotoAndStop('c_arena'); } } button 1853 { on (press) { _root.menuTheme.stop(); _root.gotoAndStop('C_gunrun'); } } button 1856 { on (press) { _root.menuTheme.stop(); _root.gotoAndStop('c_long'); } } movieClip 1857 { frame 1 { stop(); } instance of movieClip 1841 { onClipEvent (load) { this.score = _root.c_snipe_score; } } instance of movieClip 1841 { onClipEvent (load) { this.score = _root.c_pistol_score; } } instance of movieClip 1841 { onClipEvent (load) { this.score = _root.c_arena_score; } } instance of movieClip 1841 { onClipEvent (load) { this.score = _root.c_gunrun_score; } } instance of movieClip 1841 { onClipEvent (load) { this.score = _root.c_long_score; } } } movieClip 1858 { frame 1 { stop(); } instance of movieClip 1389 { onClipEvent (load) { this.gotoAndStop(_root.difficulty + 1); } } instance of movieClip 1392 { onClipEvent (load) { this.gotoAndPlay(1); } } instance of movieClip 1491 { onClipEvent (load) { _root.digital = new Sound(); _root.digital.attachSound('digital'); } } instance of movieClip 1271 { onClipEvent (enterFrame) { if (_root._quality == 'LOW') { this.gotoAndStop(1); } else { if (_root._quality == 'MEDIUM') { this.gotoAndStop(2); } else { if (_root._quality == 'HIGH') { this.gotoAndStop(3); } } } } } instance of movieClip 1562 { onClipEvent (load) { if (_root.blurmode == false) { this.gotoAndStop(1); } else { if (_root.blurmode == true) { this.gotoAndStop(2); } } } } instance of movieClip 1583 { onClipEvent (load) { if (_root.bmpset == false) { this.gotoAndStop(1); } else { if (_root.bmpset == true) { this.gotoAndStop(2); } } } } instance of movieClip 1588 { onClipEvent (load) { if (_root.musicOn == false) { this.gotoAndStop(2); } else { if (_root.musicOn == true) { this.gotoAndStop(1); } } } } instance of movieClip 1592 { onClipEvent (load) { if (_root.showFps == false) { this.gotoAndStop(1); } else { if (_root.showFps == true) { this.gotoAndStop(2); } } } } frame 5 { _root.newemblem = false; } instance of movieClip 1761 { onClipEvent (enterFrame) { this.shots = _root.shots; this.kills = _root.kills; this.mshots = _root.mshots; this.mkills = _root.mkills; this.hits = _root.hits; this.mhits = _root.mhits; this.pistolkills = _root.pistolkills; this.silentkills = _root.silentkills; if (_root.shots > 0) { this.accuracy = _root.accuracy; } else { this.accuracy = 0; } this.maccuracy = _root.maccuracy; this.headshots = _root.headshots; this.targets = _root.targets; this.wins = _root.wins; this.emblems = _root.emblems; this.m40shots = _root.m40shotsTotal; this.m40hits = _root.m40hitsTotal; if (_root.m40shotsTotal > 0) { this.m40accuracy = Math.round((_root.m40hitsTotal / _root.m40shotsTotal) * 100); } else { this.m40accuracy = 0; } } } instance of movieClip 1857 { onClipEvent (load) { this.gunrun = _root.c_gunrun_score; this.snipe = _root.c_snipe_score; this.arena = _root.c_arena_score; this.pistol = _root.c_pistol_score; this.long = _root.c_long_score; } } } instance main of movieClip 1858 { onClipEvent (load) { this.callsign = _root.callsign; if (_root.unlocks._currentframe == 1) { this.gotoAndStop('missions'); } else { this.gotoAndStop(1); } } } movieClip 1907 { frame 1 { stop(); } } movieClip 1909 { } instance curs of movieClip 1193 { onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } onClipEvent (mouseDown) { this.box.gotoAndStop(1); } } frame 4 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { num = random(5); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { num = random(6); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } if (_root.difficulty == 0) { _root.healthnum = 8 + random(10); } else { if (_root.difficulty == 1) { _root.healthnum = 16 + random(20); } else { if (_root.difficulty == 2) { _root.healthnum = 30 + random(30); } } } _root.selector = 1; } movieClip 1911 { } instance of movieClip 1911 { onClipEvent (enterFrame) { if (this.hitTest(_root.gun.accuracy.shotter1.shothit._x + _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter1.shothit._y + _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker(); } if (this.hitTest(_root.gun.accuracy.shotter2.shothit._x + _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter2.shothit._y + _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker2(); } if (this.hitTest(_root.gun.accuracy.shotter3.shothit._x + _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter3.shothit._y + _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker3(); } if (this.hitTest(_root.gun.accuracy.shotter4.shothit._x + _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter4.shothit._y + _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker4(); } if (this.hitTest(_root.gun.accuracy.shotter5.shothit._x + _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter5.shothit._y + _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker5(); } if (this.hitTest(_root.gun.accuracy.shotter6.shothit._x + _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter6.shothit._y + _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker6(); } if (this.hitTest(_root.gun.accuracy.shotter7.shothit._x + _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter7.shothit._y + _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker7(); } if (this.hitTest(_root.gun.accuracy.shotter8.shothit._x + _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter8.shothit._y + _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker8(); } if (this.hitTest(_root.gun.accuracy.shotter9.shothit._x + _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter9.shothit._y + _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker9(); } } } // unknown tag 88 length 63 movieClip 1943 { } movieClip 1950 { frame 1 { stop(); } instance of movieClip 1943 { onClipEvent (enterFrame) { if (this.hitTest(_root.gun.accuracy.shotter1.shothit._x + _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter1.shothit._y + _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, true)) { _parent.play(); } } } frame 2 { var s = 1 + random(5); hitter = new Sound(); hitter.attachSound('impact' + s); hitter.start(); } frame 7 { stop(); } } movieClip 1953 { } movieClip 1960 { frame 1 { stop(); } instance of movieClip 1953 { onClipEvent (enterFrame) { if (this.hitTest(_root.gun.accuracy.shotter1.shothit._x + _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter1.shothit._y + _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, true)) { _parent.play(); } } } frame 2 { var s = 1 + random(5); hitter = new Sound(); hitter.attachSound('impact' + s); hitter.start(); } frame 7 { stop(); } } movieClip 1963 { } movieClip 1969 { frame 1 { stop(); } instance of movieClip 1963 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _parent.play(); } ++i; } } } frame 2 { var s = 1 + random(5); hitter = new Sound(); hitter.attachSound('impact' + s); hitter.start(); } frame 7 { stop(); } } movieClip 1970 { } movieClip 1972 { } movieClip 1975 { frame 1 { stop(); } frame 2 { play(); } instance of movieClip 1972 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _parent.play(); ++_root.hits; ++_root.mhits; } ++i; } } } frame 10 { stop(); if (_root.parent.shot == true) { _parent.play(); } } frame 15 { ++_root.targets; } frame 35 { ++_root.targetshit; } frame 40 { stop(); } } movieClip 1978 { } movieClip 2222 { } movieClip 2224 { } movieClip 2630 { frame 1 { stop(); _root.actions.gotoAndStop(2); _root.targetshit = 0; _root.timing = false; _root.gun.gotoAndStop(_root.primary); _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; pausable = false; } frame 15 { _root.timer.mili = 0; _root.timer.secs = 0; _root.timer.mins = 0; _root.actions.gotoAndStop(1); _root.timing = true; } frame 20 { pausable = true; } frame 39 { pausable = false; } frame 41 { stop(); _root.bg.target1.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 1) { _parent.play(); } } } frame 56 { pausable = true; } frame 90 { stop(); _root.actions.gotoAndStop(3); } frame 92 { _root.actions.gotoAndStop(1); } frame 103 { pausable = false; } frame 107 { stop(); _root.bg.target1.gotoAndPlay(2); _root.bg.target2.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 3) { _parent.play(); } } } frame 118 { pausable = true; } frame 155 { stop(); _root.actions.gotoAndStop(3); } frame 157 { _root.actions.gotoAndStop(1); } frame 166 { pausable = false; } frame 172 { stop(); _root.bg.target1.gotoAndPlay(2); _root.bg.target2.gotoAndPlay(2); _root.bg.target3.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 6) { _parent.play(); } } } frame 188 { pausable = true; } frame 228 { pausable = false; } frame 231 { stop(); _root.bg.target1.gotoAndPlay(2); _root.bg.target2.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 8) { _parent.play(); } } } frame 244 { pausable = true; } frame 319 { pausable = false; } frame 322 { _root.breaching = true; _root.gun.gunsel.gotoAndStop('holster'); } frame 330 { stop(); _root.actions.gotoAndStop(4); } frame 331 { _root.actions.gotoAndStop(1); } frame 346 { stop(); _root.gun.gotoAndStop('breach'); } frame 389 { stop(); _root.bg.target1.gotoAndPlay(2); _root.bg.target2.gotoAndPlay(2); _root.bg.target3.gotoAndPlay(2); _root.bg.target4.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 12) { _root.bg.play(); } } } frame 402 { pausable = true; } frame 417 { _root.fader.gotoAndStop('lightoff'); } frame 436 { stop(); _root.actions.gotoAndStop(3); } frame 437 { _root.actions.gotoAndStop(1); } frame 459 { pausable = false; } frame 461 { stop(); _root.bg.target1.gotoAndPlay(2); _root.bg.target2.gotoAndPlay(2); _root.bg.target3.gotoAndPlay(2); _root.bg.target4.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 16) { _parent.play(); } } } frame 469 { pausable = true; } frame 477 { _root.fader.gotoAndStop('lighton'); } frame 500 { pausable = false; } frame 502 { stop(); _root.bg.target1.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 17) { _parent.play(); } } } frame 514 { pausable = true; } frame 548 { stop(); _root.actions.gotoAndStop(3); } frame 549 { _root.actions.gotoAndStop(1); } frame 570 { pausable = false; } frame 572 { stop(); _root.bg.target1.gotoAndPlay(2); _root.bg.target2.gotoAndPlay(2); _root.bg.target3.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 20) { _parent.play(); } } } frame 583 { pausable = true; } frame 602 { pausable = false; } frame 604 { stop(); _root.bg.target1.gotoAndPlay(2); _root.bg.target2.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 22) { _parent.play(); } } } frame 615 { pausable = true; } frame 691 { stop(); _root.actions.gotoAndStop(3); } frame 692 { _root.actions.gotoAndStop(1); } frame 706 { pausable = false; } frame 709 { stop(); _root.bg.target1.gotoAndPlay(2); _root.bg.target2.gotoAndPlay(2); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == 24) { _parent.play(); } } } frame 720 { pausable = true; } frame 740 { pausable = false; } frame 794 { _root.timing = false; _root.gun.gunsel.gotoAndStop('holster'); if (_root.timer.mins <= 1 && _root.timer.secs < 45) { if (_root.mission1a == false) { ++_root.wins; } _root.mission1a = true; _root.missionselected = 'safehouse'; if (_root.sdHave == false) { _root.sdHave = true; _root.pHave = true; _root.positionArray.push(1, 5); } if (_root.emcertifiedoperator == false) { ++_root.emblems; _root.emcertifiedoperator = true; _root.hud.emblemget.gotoAndPlay(2); } } else { if (_root.timer.mins >= 1 && _root.timer.secs > 45) { _root.bg.stop(); _root.fader.gotoAndStop('missionfail'); } } } frame 800 { _root.gun.gotoAndStop('empty'); } frame 941 { stop(); _root.fader.gotoAndStop('missionwin'); } } instance bg of movieClip 2630 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.hud.pending.gotoAndStop(2); } if (this.pausable == true && _root.hud.pending._currentframe == 2) { this.stop(); _root.timing = false; _root.pauses = true; _root.gameMenu.gotoAndStop(2); _root.curs._visible = true; _root.hud.pending.gotoAndStop(1); } } } movieClip 2632 { } movieClip 2635 { } movieClip 2637 { } movieClip 2639 { } movieClip 2641 { } movieClip 2643 { } movieClip 2646 { } movieClip 2662 { } movieClip 2670 { } movieClip 2671 { frame 1 { stop(); } frame 2 { num = -12 + random(24); num2 = -8 + random(12); _root.bg._x += num; _root.bg._y += num2; _root.bg.amt += 50; } } movieClip 2677 { } instance timer of movieClip 2677 { onClipEvent (enterFrame) { if (_root.timer.mili == 24) { _root.timer.mili = 1; ++_root.timer.secs; } if (_root.timer.secs == 60) { _root.timer.secs = 1; ++_root.timer.mins; } if (_root.timing == true) { ++_root.timer.mili; } } } movieClip 2682 { } movieClip 2684 { instance of movieClip 2682 { onClipEvent (load) { if (_root.bmpset == false) { this._visible = false; } else { this._visible = true; } } } } movieClip 2696 { frame 1 { stop(); } frame 2 { _root.nvgon = true; } frame 14 { stop(); } frame 15 { _root.nvgon = false; } frame 24 { gotoAndStop(1); } frame 27 { stop(); } frame 30 { gotoAndStop(1); } } instance nvgClip of movieClip 2696 { onClipEvent (load) { _x = 0; _y = 0; } onClipEvent (enterFrame) { if (_root.nvg == true) { this._visible = true; } else { if (_root.nvg == false) { this._visible = false; } } if (this._visible == true) { if (Key.isDown(86) && this._currentframe == 1) { this.play(); } if (Key.isDown(86) && this._currentframe == 14) { this.play(); } if (_root.lam == true) { if (Key.isDown(88) && this._currentframe == 1) { this.gotoAndPlay(25); } if (Key.isDown(88) && this._currentframe == 27) { this.play(); } } var speedy = _root.gunspeed + 4; endX = _root._xmouse; endY = _root._ymouse; _x = _x + (endX - _x) / speedy; _y = _y + (endY - _y) / speedy; } } } movieClip 2716 { frame 1 { stop(); } frame 5 { _root.pilling = false; } frame 25 { ++_root.health; } frame 26 { ++_root.health; } frame 27 { ++_root.health; } frame 28 { ++_root.health; } frame 29 { ++_root.health; } frame 30 { ++_root.health; } frame 31 { ++_root.health; } frame 32 { ++_root.health; } frame 33 { ++_root.health; } frame 34 { ++_root.health; } frame 35 { ++_root.health; } frame 36 { ++_root.health; } frame 37 { ++_root.health; } frame 38 { ++_root.health; } frame 39 { ++_root.health; } frame 40 { ++_root.health; } frame 41 { ++_root.health; } frame 42 { _root.health += 2; } frame 43 { _root.health += 2; } frame 44 { _root.health += 2; } frame 45 { _root.health += 2; } frame 46 { _root.health += 2; } frame 47 { _root.health += 2; } frame 48 { _root.health += 2; } frame 49 { _root.health += 2; } frame 50 { stop(); if (_root.guntype == 'primary') { _root.gun.gotoAndStop(_root.primary); } else { _root.gun.gotoAndStop(_root.secondary); } } } movieClip 2722 { } movieClip 2723 { } movieClip 2724 { frame 1 { stop(); } instance of movieClip 1576 { onClipEvent (load) { this.gotoAndStop(_root.crosshair); } } } movieClip 2725 { frame 1 { stop(); } } movieClip 2727 { } movieClip 2731 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 2732 { } movieClip 2736 { frame 1 { --_root.mag1; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 1.2; _root.accnum += 3; ++_parent.burstNum; mp5 = new Sound(); mp5.attachSound('mp5fire'); mp5.start(); _root.gun.crosshair._xscale += 70; _root.gun.crosshair._yscale += 70; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 1 + random(4); _root.gun.gunsel._y -= 1 + random(4); _root.sceneflash.play(); } frame 3 { if (_root.pauses == false && _root.mag1 >= 1 && _root.moused == true && _root.selector == 1 && _root.cover == false) { gotoAndPlay(1); } if (_root.pauses == false && _root.mag1 > 0 && _root.gun.gunsel.burstNum < 3 && _root.selector == 2 && _root.cover == false) { gotoAndPlay(1); } } frame 4 { _root.gun.gunsel.gotoAndStop('idle'); } } movieClip 2792 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 5 { if (_root.mag1 !== 0) { _root.plus = true; } else { _root.plus = false; } } frame 10 { _root.mag1 = 0; --_root.mags; } frame 43 { if (_root.plus == true) { _root.mag1 = 31; } else { _root.mag1 = 30; } } frame 51 { _root.gun.crosshair.gotoAndStop(1); } frame 53 { _parent.gotoAndStop('idle'); } } movieClip 2794 { frame 10 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 2802 { frame 4 { if (_root.selector == 0) { _root.selector = 1; } else { if (_root.selector == 1) { _root.selector = 2; } else { if (_root.selector == 2) { _root.selector = 0; } } } } frame 7 { _parent.gotoAndStop('idle'); } } movieClip 2803 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); burstNum = 0; } } movieClip 2805 { } movieClip 2806 { } movieClip 2809 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 2814 { frame 1 { --_root.mag1; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 1.2; _root.accnum += 3; ++_parent.burstNum; mp5 = new Sound(); mp5.attachSound('sdfire'); mp5.start(); _root.gun.crosshair._xscale += 70; _root.gun.crosshair._yscale += 70; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 1 + random(4); _root.gun.gunsel._y -= 1 + random(4); _root.sceneflash.play(); } frame 3 { if (_root.pauses == false && _root.mag1 >= 1 && _root.moused == true && _root.selector == 1 && _root.cover == false) { gotoAndPlay(1); } if (_root.pauses == false && _root.mag1 > 0 && _root.gun.gunsel.burstNum < 3 && _root.selector == 2 && _root.cover == false) { gotoAndPlay(1); } } frame 4 { _root.gun.gunsel.gotoAndStop('idle'); } } movieClip 2868 { frame 1 { _root.gun.crosshair.gotoAndStop(2); if (_root.mag1 !== 0) { _root.plus = true; } else { _root.plus = false; } } frame 10 { _root.mag1 = 0; --_root.mags; } frame 43 { if (_root.plus == true) { _root.mag1 = 31; } else { _root.mag1 = 30; } } frame 51 { _root.gun.crosshair.gotoAndStop(1); } frame 53 { _parent.gotoAndStop('idle'); } } movieClip 2869 { frame 10 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 2885 { frame 7 { if (_root.selector == 0) { _root.selector = 1; } else { if (_root.selector == 1) { _root.selector = 2; } else { if (_root.selector == 2) { _root.selector = 0; } } } } frame 15 { _parent.gotoAndStop('idle'); } } movieClip 2886 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); burstNum = 0; _root.gun.crosshair.gotoAndStop(1); } } movieClip 2899 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 2907 { frame 1 { --_root.mag1; ++_root.shots; ++_root.mshots; _root.rifleshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 1.2; _root.accnum += 3.5; _root.gun.crosshair._xscale += 85; _root.gun.crosshair._yscale += 85; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(4); _root.gun.gunsel._y -= 3 + random(4); _root.sceneflash.play(); } frame 3 { if (_root.pauses == false && _root.mag1 >= 1 && _root.moused == true && _root.selector == 1 && _root.cover == false) { gotoAndPlay(1); } } frame 4 { _root.gun.gunsel.gotoAndStop('idle'); } } movieClip 2982 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 3 { if (_root.mag1 !== 0) { _root.plus = true; } else { _root.plus = false; } } frame 6 { _root.mag1 = 0; --_root.mags; } frame 50 { if (_root.plus == true) { _root.mag1 = 31; } else { _root.mag1 = 30; } } frame 69 { _root.gun.crosshair.gotoAndStop(1); } frame 71 { _parent.gotoAndStop('idle'); } } movieClip 2990 { frame 10 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 2993 { frame 4 { if (_root.selector == 0) { _root.selector = 1; } else { _root.selector = 0; } } frame 7 { _parent.gotoAndStop('idle'); } } movieClip 2994 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3009 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3017 { frame 1 { --_root.mag1; ++_root.shots; ++_root.mshots; _root.rifleshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 1; _root.accnum += 3; _root.gun.crosshair._xscale += 60; _root.gun.crosshair._yscale += 60; _root.gun.crosshair._alpha -= 15; _root.gun.gunsel._x += 3 + random(3); _root.gun.gunsel._y -= 3 + random(3); _root.sceneflash.play(); } frame 3 { if (_root.pauses == false && _root.mag1 >= 1 && _root.moused == true && _root.selector == 1 && _root.cover == false) { gotoAndPlay(1); } } frame 4 { _root.gun.gunsel.gotoAndStop('idle'); } } movieClip 3063 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 3 { if (_root.mag1 !== 0) { _root.plus = true; } else { _root.plus = false; } } frame 5 { _root.mag1 = 0; --_root.mags; } frame 25 { if (_root.plus == true) { _root.mag1 = 31; } else { _root.mag1 = 30; } } frame 41 { _root.gun.crosshair.gotoAndStop(1); } frame 43 { _parent.gotoAndStop('idle'); } } movieClip 3073 { frame 9 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 3076 { frame 4 { if (_root.selector == 0) { _root.selector = 1; } else { _root.selector = 0; } } frame 7 { _parent.gotoAndStop('idle'); } } movieClip 3077 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3093 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3101 { frame 1 { --_root.mag1; ++_root.shots; ++_root.mshots; _root.rifleshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 1.2; _root.accnum += 4; _root.gun.crosshair._xscale += 100; _root.gun.crosshair._yscale += 100; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(4); _root.gun.gunsel._y -= 1 + random(4); _root.sceneflash.play(); } frame 3 { if (_root.pauses == false && _root.mag1 >= 1 && _root.moused == true && _root.selector == 1 && _root.cover == false) { gotoAndPlay(1); } } frame 4 { _root.gun.gunsel.gotoAndStop('idle'); } } movieClip 3167 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 3 { if (_root.mag1 !== 0) { _root.plus = true; } else { _root.plus = false; } } frame 8 { _root.mag1 = 0; --_root.mags; } frame 44 { if (_root.plus == true) { _root.mag1 = 31; } else { _root.mag1 = 30; } } frame 61 { _root.gun.crosshair.gotoAndStop(1); } frame 63 { _parent.gotoAndStop('idle'); } } movieClip 3178 { frame 10 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 3193 { frame 6 { if (_root.selector == 0) { _root.selector = 1; } else { _root.selector = 0; } } frame 13 { _parent.gotoAndStop('idle'); } } movieClip 3194 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3207 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3214 { frame 1 { --_root.mag1; ++_root.shots; ++_root.mshots; _root.rifleshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 1.2; _root.accnum += 3.5; _root.gun.crosshair._xscale += 85; _root.gun.crosshair._yscale += 85; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(4); _root.gun.gunsel._y -= 3 + random(4); _root.sceneflash.play(); } frame 3 { if (_root.pauses == false && _root.mag1 >= 1 && _root.moused == true && _root.selector == 1 && _root.cover == false) { gotoAndPlay(1); } } frame 4 { _root.gun.gunsel.gotoAndStop('idle'); } } movieClip 3289 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 3 { if (_root.mag1 !== 0) { _root.plus = true; } else { _root.plus = false; } } frame 26 { _root.mag1 = 0; --_root.mags; } frame 41 { if (_root.plus == true) { _root.mag1 = 31; } else { _root.mag1 = 30; } } frame 69 { _root.gun.crosshair.gotoAndStop(1); } frame 71 { _parent.gotoAndStop('idle'); } } movieClip 3299 { frame 10 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 3311 { frame 5 { if (_root.selector == 0) { _root.selector = 1; } else { _root.selector = 0; } } frame 11 { _parent.gotoAndStop('idle'); } } movieClip 3312 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3314 { } movieClip 3315 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3322 { frame 1 { --_root.mag1; _root.shots += 5; ++_root.mshots; _root.shotgunshooting(); _root.gun.gunsel._rotation += 2; _root.gun.crosshair._xscale += 190; _root.gun.crosshair._yscale += 190; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 5 + random(5); _root.gun.gunsel._y -= 5 + random(5); _root.sceneflash.play(); } frame 5 { _parent.gotoAndStop('pump'); } } movieClip 3371 { frame 1 { endclip = false; } frame 17 { ++_root.mag1; } frame 25 { if (_root.mag1 < 8 && endclip == false) { gotoAndPlay('start'); } else { if (_root.mag >= 8) { gotoAndPlay('end'); } else { if (endclip == true) { gotoAndPlay('end'); } } } } frame 47 { _parent.gotoAndStop('pump'); } } movieClip 3372 { frame 10 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 3394 { frame 8 { _root.shotgunshellcall(); } frame 20 { _parent.gotoAndStop('idle'); } } movieClip 3395 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } instance of movieClip 3371 { onClipEvent (mouseDown) { this.endclip = true; } } } movieClip 3409 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3418 { frame 1 { --_root.mag1; _root.shots += 5; ++_root.mshots; _root.shotgunshooting(); _root.shotgunshellcall(); _root.gun.gunsel._rotation += 2; _root.gun.crosshair._xscale += 190; _root.gun.crosshair._yscale += 190; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 5 + random(5); _root.gun.gunsel._y -= 5 + random(5); _root.sceneflash.play(); } frame 8 { if (_root.pauses == false && _root.mag1 >= 1 && _root.moused == true && _root.selector == 1 && _root.cover == false) { gotoAndPlay(1); } } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 3447 { frame 1 { _root.gun.crosshair.gotoAndStop(2); endclip = false; if (_root.mag1 !== 0) { _root.plus = true; } else { _root.plus = false; } } frame 11 { ++_root.mag1; if (endclip == true) { this.gotoAndPlay('end'); } if (_root.mag1 == 8) { gotoAndPlay('end'); } else { play(); } } frame 18 { gotoAndPlay('start'); } frame 26 { _root.gun.crosshair.gotoAndStop(1); } frame 28 { _parent.gotoAndStop('idle'); } } movieClip 3454 { frame 10 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 3455 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } instance of movieClip 3447 { onClipEvent (mouseDown) { this.endclip = true; } } } movieClip 3490 { frame 33 { _parent.gotoAndStop('idle'); } } movieClip 3497 { frame 1 { _root.heat += 5 + random(6); ++_root.shots; ++_root.mshots; _root.rifleshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 1.2; _root.accnum += 5; _root.gun.crosshair._xscale += 140; _root.gun.crosshair._yscale += 140; _root.gun.crosshair._alpha -= 30; _root.gun.gunsel._x += 1 + random(5); _root.gun.gunsel._y -= 1 + random(5); _root.sceneflash.play(); } frame 5 { if (_root.pauses == false && _root.moused == true && _root.cover == false) { gotoAndPlay(1); } } frame 6 { _root.gun.gunsel.gotoAndStop('idle'); } } movieClip 3500 { frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.secondary); } } } } movieClip 3503 { } movieClip 3505 { frame 50 { _parent.gotoAndStop('idle'); } } movieClip 3506 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3516 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 3522 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 6; _root.gun.crosshair._xscale += 115; _root.gun.crosshair._yscale += 115; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 2 + random(4); _root.gun.gunsel._y -= 4 + random(4); _root.sceneflash.play(); } frame 4 { _parent.gotoAndStop('idle'); } } movieClip 3540 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 6; _root.gun.crosshair._xscale += 115; _root.gun.crosshair._yscale += 115; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 2 + random(4); _root.gun.gunsel._y -= 4 + random(4); _root.sceneflash.play(); } frame 16 { _parent.gotoAndStop('empty'); } } movieClip 3597 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 4 { _root.mag2 = 0; } frame 38 { _root.mag2 = 18; } frame 51 { _root.gun.crosshair.gotoAndStop(1); } frame 53 { _parent.gotoAndStop('idle'); } } movieClip 3660 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 4 { _root.mag2 = 0; } frame 37 { _root.mag2 = 17; } frame 59 { _root.gun.crosshair.gotoAndStop(1); } frame 61 { _parent.gotoAndStop('idle'); } } movieClip 3667 { frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 3677 { frame 9 { _parent.gotoAndStop('empty'); } } movieClip 3684 { frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 3685 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3695 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 3702 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 6; _root.gun.crosshair._xscale += 115; _root.gun.crosshair._yscale += 115; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 2 + random(4); _root.gun.gunsel._y -= 4 + random(4); _root.gun.gunsel.flasher.gotoAndPlay(2); _root.sceneflash.play(); } frame 4 { _parent.gotoAndStop('idle'); } } movieClip 3719 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.pistolshooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 6; _root.gun.crosshair._xscale += 115; _root.gun.crosshair._yscale += 115; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 2 + random(4); _root.gun.gunsel._y -= 4 + random(4); _root.gun.gunsel.flasher.gotoAndPlay(2); _root.sceneflash.play(); } frame 15 { _parent.gotoAndStop('empty'); } } movieClip 3764 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 11 { _root.mag2 = 0; } frame 26 { _root.mag2 = 13; } frame 39 { _root.gun.crosshair.gotoAndStop(1); } frame 41 { _parent.gotoAndStop('idle'); } } movieClip 3806 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 10 { _root.mag2 == 0; } frame 27 { _root.mag2 = 12; } frame 39 { _root.gun.crosshair.gotoAndStop(1); } frame 41 { _parent.gotoAndStop('idle'); } } movieClip 3822 { frame 5 { _root.mag2store = _root.mag2; } frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 3838 { frame 15 { _parent.gotoAndStop('empty'); } } movieClip 3853 { frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 3854 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3864 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 3872 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 8; _root.gun.crosshair._xscale += 200; _root.gun.crosshair._yscale += 200; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(5); _root.gun.gunsel._y -= 4 + random(5); _root.gun.gunsel.flasher.gotoAndPlay(2); _root.sceneflash.play(); } frame 5 { _parent.gotoAndStop('idle'); } } movieClip 3888 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 10; _root.gun.crosshair._xscale += 220; _root.gun.crosshair._yscale += 220; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(5); _root.gun.gunsel._y -= 4 + random(5); _root.gun.gunsel.flasher.gotoAndPlay(2); _root.sceneflash.play(); } frame 15 { _parent.gotoAndStop('empty'); } } movieClip 3936 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 6 { _root.mag2 = 0; } frame 31 { _root.mag2 = 8; } frame 44 { _root.gun.crosshair.gotoAndStop(1); } frame 46 { _parent.gotoAndStop('idle'); } } movieClip 3988 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 6 { _root.mag2 == 0; } frame 31 { _root.mag2 = 7; } frame 49 { _root.gun.crosshair.gotoAndStop(1); } frame 51 { _parent.gotoAndStop('idle'); } } movieClip 4003 { frame 5 { _root.mag2store = _root.mag2; } frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 4019 { frame 17 { _parent.gotoAndStop('empty'); } } movieClip 4033 { frame 16 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 4034 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 4044 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 4046 { } movieClip 4053 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 8; _root.gun.crosshair._xscale += 180; _root.gun.crosshair._yscale += 180; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(5); _root.gun.gunsel._y -= 4 + random(5); _root.sceneflash.play(); } frame 5 { _parent.gotoAndStop('idle'); } } movieClip 4069 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 8; _root.gun.crosshair._xscale += 180; _root.gun.crosshair._yscale += 180; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(5); _root.gun.gunsel._y -= 4 + random(5); _root.sceneflash.play(); } frame 15 { _parent.gotoAndStop('empty'); } } movieClip 4122 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 14 { _root.mag2 = 0; } frame 31 { _root.mag2 = 13; } frame 49 { _root.gun.crosshair.gotoAndStop(1); } frame 51 { _parent.gotoAndStop('idle'); } } movieClip 4182 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 15 { _root.mag2 == 0; } frame 31 { _root.mag2 = 12; } frame 57 { _root.gun.crosshair.gotoAndStop(1); } frame 59 { _parent.gotoAndStop('idle'); } } movieClip 4197 { frame 5 { _root.mag2store = _root.mag2; } frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 4213 { frame 15 { _parent.gotoAndStop('empty'); } } movieClip 4226 { frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 4227 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 4237 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 4244 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 7; _root.gun.crosshair._xscale += 160; _root.gun.crosshair._yscale += 160; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(5); _root.gun.gunsel._y -= 4 + random(5); _root.gun.gunsel.flasher.gotoAndPlay(2); _root.sceneflash.play(); } frame 4 { _parent.gotoAndStop('idle'); } } movieClip 4260 { frame 1 { --_root.mag2; ++_root.shots; ++_root.mshots; _root.pistolshellcall(); _root.shooting(); _root.gun.gunsel._rotation += 2; _root.accnum += 7; _root.gun.crosshair._xscale += 160; _root.gun.crosshair._yscale += 160; _root.gun.crosshair._alpha -= 20; _root.gun.gunsel._x += 3 + random(5); _root.gun.gunsel._y -= 4 + random(5); _root.gun.gunsel.flasher.gotoAndPlay(2); _root.sceneflash.play(); } frame 15 { _parent.gotoAndStop('empty'); } } movieClip 4313 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 14 { _root.mag2 = 0; } frame 31 { _root.mag2 = 13; } frame 49 { _root.gun.crosshair.gotoAndStop(1); } frame 51 { _parent.gotoAndStop('idle'); } } movieClip 4373 { frame 1 { _root.gun.crosshair.gotoAndStop(2); } frame 15 { _root.mag2 == 0; } frame 31 { _root.mag2 = 12; } frame 57 { _root.gun.crosshair.gotoAndStop(1); } frame 59 { _parent.gotoAndStop('idle'); } } movieClip 4387 { frame 5 { _root.mag2store = _root.mag2; } frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 4403 { frame 15 { _parent.gotoAndStop('empty'); } } movieClip 4418 { frame 15 { if (_root.breaching == true) { stop(); } else { if (_root.pilling == true) { _root.pills.play(); _root.gun.gotoAndStop('empty'); } else { _root.gun.gotoAndStop(_root.primary); } } } } movieClip 4419 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 4430 { } movieClip 4433 { } movieClip 4441 { } movieClip 4471 { frame 16 { stop(); } instance of movieClip 4441 { onClipEvent (enterFrame) { if (_root.moused == true) { _root.gun.gunsel.hand.play(); } else { _root.gun.gunsel.hand.gotoAndStop(16); } } } instance of movieClip 4441 { onClipEvent (enterFrame) { if (_root.moused == true) { _root.gun.gunsel.hand.play(); } else { _root.gun.gunsel.hand.gotoAndStop(16); } } } instance of movieClip 4441 { onClipEvent (enterFrame) { if (_root.moused == true) { _root.gun.gunsel.hand.play(); } else { _root.gun.gunsel.hand.gotoAndStop(16); } } } frame 43 { _root.breaching = false; _root.breachanim.play(); _root.bg.play(); if (_root._currentframe == 15) { stop(); } } frame 48 { if (_root.guntype == 'primary') { _root.gun.gotoAndStop(_root.primary); } else { _root.gun.gotoAndStop(_root.secondary); } stop(); } } movieClip 4472 { frame 1 { stop(); } } movieClip 4473 { frame 1 { stop(); } instance crosshair of movieClip 2724 { onClipEvent (load) { scalex = this._xscale; scaley = this._yscale; alpha = this._alpha; if (_root.difficulty == 2) { this._visible = false; } } onClipEvent (enterFrame) { if (this._xscale > scalex) { this._xscale -= 30; } if (this._xscale < scalex) { this._xscale = scalex; } if (this._yscale > scaley) { this._yscale -= 30; } if (this._yscale < scaley) { this._yscale = scaley; } if (this._alpha < alpha) { this._alpha += 10; } } } instance of movieClip 2725 { onClipEvent (mouseDown) { if (_root.mag1 == 0) { this.play(); } } } instance gunsel of movieClip 2803 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 1; _root.accnum = 7; _root.gunspeed = 3; _root.lam = true; _root.guntype = 'primary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 7) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag1 !== 31 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(70) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('switch'); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag1 > 0 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } if (_root.pauses == false && _root.mag1 == 0 && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } } } instance accuracy of movieClip 2806 { onClipEvent (mouseMove) { Mouse.hide(); _root.movement(); } } instance of movieClip 2725 { onClipEvent (mouseDown) { if (_root.mag1 == 0) { this.play(); } } } instance gunsel of movieClip 2886 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 1; _root.accnum = 7; _root.gunspeed = 3; _root.lam = false; _root.guntype = 'primary'; _root.suppressed = true; } onClipEvent (enterFrame) { if (_root.accnum > 7) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag1 !== 31 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(70) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('switch'); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag1 > 0 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } if (_root.pauses == false && _root.mag1 == 0 && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } } } instance gunsel of movieClip 2994 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 2; _root.accnum = 3; _root.gunspeed = 3; _root.lam = true; _root.guntype = 'primary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 3) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag1 !== 31 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(70) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('switch'); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag1 > 0 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } if (_root.pauses == false && _root.mag1 == 0 && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } } } instance gunsel of movieClip 3077 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 2; _root.accnum = 2; _root.gunspeed = 2; _root.lam = true; _root.guntype = 'primary'; _root.suppressed = true; } onClipEvent (enterFrame) { if (_root.accnum > 2) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag1 !== 31 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(70) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('switch'); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag1 > 0 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } if (_root.pauses == false && _root.mag1 == 0 && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } } } instance gunsel of movieClip 3194 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 3; _root.accnum = 2; _root.gunspeed = 4; _root.lam = false; _root.guntype = 'primary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 2) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag1 !== 31 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(70) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('switch'); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag1 > 0 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } if (_root.pauses == false && _root.mag1 == 0 && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } } } instance gunsel of movieClip 3312 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 2; _root.accnum = 2.5; _root.gunspeed = 2.5; _root.lam = true; _root.guntype = 'primary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 3) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag1 !== 31 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(70) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('switch'); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag1 > 0 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } if (_root.pauses == false && _root.mag1 == 0 && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } } } instance gunsel of movieClip 3395 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 1; _root.accnum = 25; _root.gunspeed = 3; _root.lam = false; _root.guntype = 'primary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 20) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag1 !== 8 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag1 > 0 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } if (_root.pauses == false && _root.mag1 == 0 && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } } } instance gunsel of movieClip 3455 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 1; _root.accnum = 25; _root.gunspeed = 3; _root.lam = false; _root.guntype = 'primary'; _root.suppressed = false; _root.selector = 1; } onClipEvent (enterFrame) { if (_root.accnum > 25) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag1 !== 8 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag1 > 0 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } if (_root.pauses == false && _root.mag1 == 0 && _root.gun.gunsel._currentframe == 2 && _root.mags > 0) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } } } instance gunsel of movieClip 3506 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 3; _root.accnum = 2; _root.gunspeed = 3; _root.selector = 1; _root.lam = false; _root.guntype = 'primary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 2) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1.5; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && Key.isDown(81)) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.heat >= 100) { this.gotoAndStop('cool'); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } } } instance gunsel of movieClip 3685 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 1; _root.accnum = 5; _root.gunspeed = 3; _root.lam = false; _root.guntype = 'secondary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 7) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag2 !== 18 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } else { if (_root.pauses == false && _root.mag2 !== 18 && Key.isDown(82) && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } if (_root.pauses == false && Key.isDown(81) && _root.mag2 > 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(81) && _root.mag2 <= 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster2'); _root.hud.gundisplay.play(); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 > 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } else { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 == 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot2'); } } if (_root.pauses == false && _root.mag2 == 0 && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } } instance of movieClip 2725 { onClipEvent (mouseDown) { if (_root.mag2 == 0) { this.play(); } } } instance gunsel of movieClip 3854 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 1; _root.accnum = 4; _root.gunspeed = 2; _root.lam = false; _root.guntype = 'secondary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 7) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag2 !== 13 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } else { if (_root.pauses == false && _root.mag2 !== 13 && Key.isDown(82) && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } if (_root.pauses == false && Key.isDown(81) && _root.mag2 > 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(81) && _root.mag2 <= 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster2'); _root.hud.gundisplay.play(); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 > 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } else { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 == 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot2'); } } if (_root.pauses == false && _root.mag2 == 0 && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } } instance gunsel of movieClip 4034 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 2; _root.accnum = 3; _root.gunspeed = 2; _root.lam = true; _root.guntype = 'secondary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 3) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag2 !== 13 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } else { if (_root.pauses == false && _root.mag2 !== 13 && Key.isDown(82) && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } if (_root.pauses == false && Key.isDown(81) && _root.mag2 > 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(81) && _root.mag2 <= 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster2'); _root.hud.gundisplay.play(); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 > 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } else { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 == 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot2'); } } if (_root.pauses == false && _root.mag2 == 0 && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } } instance gunsel of movieClip 4227 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 2; _root.accnum = 3; _root.gunspeed = 2; _root.lam = true; _root.guntype = 'secondary'; _root.suppressed = true; } onClipEvent (enterFrame) { if (_root.accnum > 3) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag2 !== 13 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } else { if (_root.pauses == false && _root.mag2 !== 13 && Key.isDown(82) && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } if (_root.pauses == false && Key.isDown(81) && _root.mag2 > 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(81) && _root.mag2 <= 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster2'); _root.hud.gundisplay.play(); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 > 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } else { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 == 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot2'); } } if (_root.pauses == false && _root.mag2 == 0 && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } } instance gunsel of movieClip 4419 { onClipEvent (load) { xpos = this._x; ypos = this._y; rotation = this._rotation; _root.power = 2; _root.accnum = 3; _root.gunspeed = 2; _root.lam = false; _root.guntype = 'secondary'; _root.suppressed = false; } onClipEvent (enterFrame) { if (_root.accnum > 3) { _root.accnum -= 1; } if (this._x > xpos) { this._x -= 1; } if (this._x < xpos) { this._x = xpos; } if (this._y < ypos) { this._y += 1; } if (this._y > ypos) { this._y = ypos; } if (this._rotation > rotation) { this._rotation -= 1; } if (this._rotation < rotation) { this._rotation = rotation; } if (_root.pauses == false && _root.mag2 !== 13 && Key.isDown(82) && _root.gun.gunsel._currentframe == 2) { _root.gun.gunsel.gotoAndStop('reload1'); _root.mreload = true; } else { if (_root.pauses == false && _root.mag2 !== 13 && Key.isDown(82) && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } if (_root.pauses == false && Key.isDown(81) && _root.mag2 > 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster'); _root.hud.gundisplay.play(); } if (_root.pauses == false && Key.isDown(81) && _root.mag2 <= 0 && _root.pistolmode == false) { _root.gun.gunsel.gotoAndStop('holster2'); _root.hud.gundisplay.play(); } } onClipEvent (mouseDown) { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 > 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot1'); } else { if (_root.pauses == false && _root.gun.gunsel._currentframe == 2 && _root.mag2 == 1 && _root.cover == false) { _root.gun.gunsel.gotoAndStop('shoot2'); } } if (_root.pauses == false && _root.mag2 == 0 && _root.gun.gunsel._currentframe == 5) { _root.gun.gunsel.gotoAndStop('reload2'); _root.mreload = true; } } } } instance gun of movieClip 4473 { onClipEvent (load) { _x = 0; _y = 0; } onClipEvent (enterFrame) { speed = _root.gunspeed; this.onMouseDown = function () { _root.moused = true; }; this.onMouseUp = function () { _root.moused = false; }; Mouse.hide(); endX = _root._xmouse; endY = _root._ymouse; _x = _x + (endX - _x) / speed; _y = _y + (endY - _y) / speed; } } // unknown tag 88 length 81 movieClip 4485 { } movieClip 4488 { } movieClip 4489 { frame 1 { stop(); } } movieClip 4494 { } movieClip 4495 { frame 1 { stop(); } } movieClip 4499 { } movieClip 4501 { } movieClip 4503 { frame 1 { stop(); } } movieClip 4506 { frame 1 { stop(); } frame 1 { if (_root.primary == 'moss') { gotoAndStop(2); } else { gotoAndStop(1); } } frame 2 { if (_root.primary == 'moss') { gotoAndStop(2); } else { gotoAndStop(1); } } } movieClip 4507 { frame 1 { stop(); } } movieClip 4529 { frame 1 { stop(); } } movieClip 4536 { } movieClip 4537 { frame 1 { stop(); } instance of movieClip 4529 { onClipEvent (enterFrame) { this.gotoAndStop(_root.primary); } } instance mag of movieClip 4536 { onClipEvent (enterFrame) { this.gotoAndStop(_root.mags + 1); } } } movieClip 4539 { } movieClip 4549 { frame 1 { stop(); } } movieClip 4550 { instance of movieClip 4549 { onClipEvent (enterFrame) { this.gotoAndStop(_root.secondary); } } } movieClip 4551 { frame 1 { stop(); } frame 15 { stop(); } } movieClip 4553 { } movieClip 4554 { frame 1 { stop(); } frame 5 { _root.newemblem = true; } } movieClip 4558 { } movieClip 4560 { frame 1 { stop(); } } movieClip 4563 { } movieClip 4565 { } movieClip 4567 { } movieClip 4569 { instance heater of movieClip 4485 { onClipEvent (load) { if (_root.primary == 'm60') { this._visible = true; } else { this._visible = false; } } } instance healthbar of movieClip 4495 { onClipEvent (enterFrame) { this.gotoAndStop(_root.health + 1); } } instance of movieClip 4503 { onClipEvent (enterFrame) { this.gotoAndStop(_root.mag2 + 1); } } instance of movieClip 4507 { onClipEvent (enterFrame) { this.gotoAndStop(_root.mag1 + 1); } } instance of movieClip 4563 { onClipEvent (load) { if (_root.vestHave == false) { this._alpha = 33; } else { this._alpha = 100; } } } instance healer of movieClip 4565 { onClipEvent (load) { if (_root.medHave == true) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 4567 { onClipEvent (load) { if (_root.medHave == false) { this._alpha = 33; } else { this._alpha = 100; } } } } instance hud of movieClip 4569 { onClipEvent (load) { if (_root.difficulty == 2) { this._visible = false; } else { this._visible = true; } } onClipEvent (enterFrame) { if (_root.health > 100) { _root.health = 100; } if (_root.health < 0) { _root.health = 0; if (_root._currentframe == 13) { _root.live = false; _root.bg.gotoAndStop(2); _root.fader.gotoAndStop('arena'); } else { if (_root._currentframe !== 13) { _root.gotoAndStop('death'); } } } if (Key.isDown(90) && _root.healed == false && _root.medHave == true) { this.healer._visible = false; _root.pilling = true; _root.gun.gunsel.gotoAndStop('holster'); _root.healed = true; } if (_root.selector == 0) { this.selector = 'SEMI'; } else { if (_root.selector == 1) { this.selector = 'AUTO'; } else { if (_root.selector == 2) { this.selector = 'BURST'; } } } _root.heat -= 1; if (_root.heat > 100) { _root.heat = 100; } if (_root.heat < 0) { _root.heat = 0; } this.heater.gotoAndStop(_root.heat); if (_root.kills >= 25 && _root.emcombataction == false && _root._currentframe !== 13) { _root.positionArray.push(2); ++_root.emblems; _root.emcombataction = true; _root.opHave = true; _root.hud.emblemget.gotoAndPlay(2); } if (_root.headshots >= 50 && _root.emspecialforces == false && _root._currentframe !== 13) { _root.positionArray.push(7); _root.m4sfHave = true; ++_root.emblems; _root.emspecialforces = true; _root.hud.emblemget.gotoAndPlay(2); } if (_root.targets >= 50 && _root.emtargetprecision == false && _root._currentframe !== 13) { _root.emtargetprecision = true; ++_root.emblems; _root.hud.emblemget.gotoAndPlay(2); } if (_root.pistolkills >= 50 && _root.empistolsharpshooter == false && _root._currentframe !== 13) { _root.positionArray.push(3); ++_root.emblems; _root.empistolsharpshooter = true; _root.uspHave = true; _root.hud.emblemget.gotoAndPlay(2); } if (_root.silentkills >= 25 && _root.emsilenthunter == false && _root._currentframe !== 13) { _root.positionArray.push(4); ++_root.emblems; _root.emsilenthunter = true; _root.mkHave = true; _root.hud.emblemget.gotoAndPlay(2); } } } movieClip 4571 { } movieClip 4572 { frame 1 { stop(); } } movieClip 4574 { } movieClip 4575 { frame 11 { stop(); } } // unknown tag 88 length 63 movieClip 4579 { } movieClip 4581 { instance of movieClip 4579 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); } } } frame 15 { stop(); } instance of movieClip 4579 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); _root.actions.gotoAndStop('end'); } } } } movieClip 4584 { } movieClip 4585 { instance of movieClip 4584 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); } } } frame 15 { stop(); } instance of movieClip 4584 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); _root.actions.gotoAndStop(1); } } } } movieClip 4589 { } movieClip 4590 { frame 15 { stop(); } } movieClip 4594 { frame 15 { stop(); } } movieClip 4595 { frame 1 { stop(); } instance of movieClip 4590 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); } } } instance of movieClip 4594 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.live = true; _parent.gotoAndStop(1); } } } } movieClip 4597 { } instance follower of movieClip 4597 { onClipEvent (mouseMove) { _root.mousefollow(); } } movieClip 4598 { frame 10 { stop(); _root.gotoAndStop('miss1bomb'); } } movieClip 4601 { frame 4 { stop(); _root.gun.gotoAndStop('empty'); } } movieClip 4616 { } movieClip 4617 { frame 10 { stop(); } instance of movieClip 4616 { onClipEvent (load) { this.shots = _root.mshots; this.hits = _root.mhits; this.accuracy = (_root.mhits / _root.mshots) * 100; this.kills = _root.mkills; } } } movieClip 4620 { frame 10 { stop(); } } movieClip 4626 { frame 1 { _root.gun.gotoAndStop('empty'); } frame 20 { stop(); if (_root.mreload == false && _root._currentframe !== 4 && _root.emmunitionsmanagement == false) { _root.positionArray.push(14); ++_root.emblems; _root.emmunitionsmanagement = true; _root.vestHave = true; _root.hud.emblemget.gotoAndPlay(2); } if (_root.health >= 100 && _root._currentframe !== 4 && _root.emmedicalofficer == false) { _root.positionArray.push(13); ++_root.emblems; _root.emmedicalofficer = true; _root.medHave = true; _root.hud.emblemget.gotoAndPlay(2); } if (_root._currentframe == 14 || _root._currentframe == 15 && _root.maccuracy >= 100 && _root.emsniperspecialist == false) { _root.emsniperspecialist = true; ++_root.emblems; _root.g36cHave = true; _root.positionArray.push(9); _root.hud.emblemget.gotoAndPlay(2); } } instance of movieClip 4616 { onClipEvent (load) { this.shots = _root.mshots; this.hits = _root.mhits; this.accuracy = (_root.mhits / _root.mshots) * 100; this.kills = _root.mkills; } } } movieClip 4633 { frame 1 { _root.gun.gotoAndStop('empty'); } frame 20 { stop(); } instance of movieClip 4616 { onClipEvent (load) { this.shots = _root.mshots; this.hits = _root.mhits; this.accuracy = (_root.mhits / _root.mshots) * 100; this.kills = _root.mkills; } } } movieClip 4638 { frame 5 { _root.nvg = true; } frame 95 { stop(); } } movieClip 4640 { frame 2 { _root.nvg = false; _root.nvgon = false; } frame 15 { stop(); } } movieClip 4657 { } movieClip 4659 { frame 10 { stop(); } instance of movieClip 4657 { onClipEvent (load) { this.accuracy = _root.maccuracy; this.missed = _root.cmissed; this.hit = _root.mhits; this.finalscore = this.accuracy * 100 + this.hit * 1000 + -this.missed * 1500; if (this.finalscore > _root.c_gunrun_score) { this.highest = this.finalscore; _root.c_gunrun_score = this.finalscore; } else { this.highest = _root.c_gunrun_score; } if (this.finalscore < 0) { this.finalscore = 0; } } } } movieClip 4669 { } movieClip 4670 { frame 45 { stop(); } instance of movieClip 4669 { onClipEvent (load) { this.accuracy = _root.keeper.accuracy; this.secs = _root.m40sec; this.finalscore = this.accuracy * 1000 - this.secs * 500; if (this.finalscore > _root.c_snipe_score) { this.highest = this.finalscore; _root.c_snipe_score = this.finalscore; } else { this.highest = _root.c_snipe_score; } if (this.finalscore < 0) { this.finalscore = 0; } } } } movieClip 4678 { } movieClip 4679 { frame 10 { stop(); } instance of movieClip 4678 { onClipEvent (load) { this.accuracy = _root.maccuracy; this.missed = _root.cmissed; this.hit = _root.mhits; this.finalscore = this.accuracy * 100 + this.hit * 1000 + -this.missed * 1500; if (this.finalscore > _root.c_pistol_score) { this.highest = this.finalscore; _root.c_pistol_score = this.finalscore; } else { this.highest = _root.c_pistol_score; } if (this.finalscore < 0) { this.finalscore = 0; } } } } movieClip 4688 { } movieClip 4689 { frame 10 { stop(); } instance of movieClip 4688 { onClipEvent (load) { this.accuracy = _root.maccuracy; this.secs = _root.m40sec; this.finalscore = this.accuracy * 1000 - this.secs * 500; if (this.finalscore > _root.c_long_score) { this.highest = this.finalscore; _root.c_long_score = this.finalscore; } else { this.highest = _root.c_long_score; } if (this.finalscore < 0) { this.finalscore = 0; } } } } movieClip 4700 { } movieClip 4701 { frame 20 { stop(); } instance of movieClip 4700 { onClipEvent (load) { this.accuracy = _root.maccuracy; this.kills = _root.arenaKills + _root.mkills; this.health = _root.health; this.finalscore = this.accuracy * 100 + this.kills * 100 + this.health * 10; if (this.finalscore > _root.c_arena_score) { this.highest = this.finalscore; _root.c_arena_score = this.finalscore; } else { this.highest = _root.c_arena_score; } if (this.finalscore < 0) { this.finalscore = 0; } } } } movieClip 4704 { frame 15 { _root.gotoAndStop('somaliabomb'); } frame 50 { stop(); } } movieClip 4706 { frame 25 { stop(); stopAllSounds(); _root.gotoAndStop('credits'); } } movieClip 4707 { frame 1 { stop(); } instance of movieClip 4617 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } if (Key.isDown(38)) { _root.bg.gotoAndStop(1); _root.fader.gotoAndStop(1); } } } instance of movieClip 4620 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); } if (Key.isDown(38)) { _root.bg.gotoAndStop(1); } } } instance of movieClip 4626 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4633 { onClipEvent (enterFrame) { if (Key.isDown(40)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } if (Key.isDown(32)) { if (_root.missionselected == 'm40anim') { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } else { _root.gotoAndStop(_root.missionselected); } if (_root.missionselected == 'tangiershotel') { _root.health = 100; _root.mags = 4; _root.gun.gotoAndStop(_root.primary); if (_root.difficulty !== 2) { _root.bg.gotoAndPlay(804); } else { _root.bg.gotoAndPlay(1); } } if (_root.missionselected == 'rsaembassy') { _root.health = 100; _root.mags = 4; _root.gun.gotoAndStop(_root.primary); if (_root.difficulty !== 2) { _root.bg.gotoAndPlay(1302); } else { _root.bg.gotoAndPlay(1); } } if (_root.missionselected == 'kosovobase') { _root.health = 100; _root.mags = 4; _root.gun.gotoAndStop(_root.primary); if (_root.difficulty !== 2) { _root.bg.gotoAndPlay(1083); } else { _root.bg.gotoAndPlay(1); } } _root.fader.gotoAndStop(1); } } } instance of movieClip 4659 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4670 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4679 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4689 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4701 { onClipEvent (enterFrame) { if (Key.isDown(32) && this._currentframe == 20) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } } button 4708 { on (press) { _root.bg.play(); _root.pauses = false; _root.timing = true; _root.curs._visible = false; _root.gameMenu.gotoAndStop(1); } } button 4714 { on (press) { _root.gotoAndStop('menu'); } } movieClip 4716 { frame 1 { stop(); } instance of movieClip 1592 { onClipEvent (load) { if (_root.showFps == false) { this.gotoAndStop(1); } else { if (_root.showFps == true) { this.gotoAndStop(2); } } } } } instance curs of movieClip 1193 { onClipEvent (load) { this._visible = false; } onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } onClipEvent (mouseDown) { this.box.gotoAndStop(1); } } movieClip 4723 { } instance of movieClip 4723 { onClipEvent (load) { if (_root.bmpset == false) { this._visible = false; } else { this._visible = true; } } } frame 5 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { if (_root.difficulty == 0) { num = random(6); } else { if (_root.difficulty == 1) { num = random(5); } else { if (_root.difficulty == 2) { num = random(4); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { if (_root.difficulty == 0) { num = random(7); } else { if (_root.difficulty == 1) { num = random(6); } else { if (_root.difficulty == 2) { num = random(5); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.selector = 1; _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } } movieClip 4727 { } movieClip 4813 { } movieClip 4815 { } movieClip 4816 { frame 16 { stop(); } } movieClip 4828 { frame 20 { stop(); _parent.gotoAndStop('shoot1'); } } movieClip 4848 { frame 30 { stop(); _parent.gotoAndStop('shoot1'); } } movieClip 4849 { frame 8 { thisnum = random(5); } frame 10 { if (thisnum > 0) { _root.shot(); } } frame 16 { thisnum = random(5); } frame 18 { if (thisnum > 0) { _root.shot(); } } frame 22 { thisnum = random(5); } frame 24 { if (thisnum > 0) { _root.shot(); } } frame 32 { thisnum = random(5); } frame 34 { if (thisnum > 0) { _root.shot(); } } frame 39 { thisnum = random(5); } frame 41 { if (thisnum > 0) { _root.shot(); } } frame 49 { thisnum = random(5); } frame 51 { if (thisnum > 0) { _root.shot(); } } frame 59 { thisnum = random(5); } frame 61 { if (thisnum > 0) { _root.shot(); } } frame 66 { thisnum = random(5); } frame 68 { if (thisnum > 0) { _root.shot(); } } frame 74 { thisnum = random(5); } frame 76 { if (thisnum > 0) { _root.shot(); } } frame 84 { thisnum = random(5); } frame 86 { if (thisnum > 0) { _root.shot(); } } frame 92 { thisnum = random(5); } frame 94 { if (thisnum > 0) { _root.shot(); } } frame 103 { thisnum = random(5); } frame 105 { if (thisnum > 0) { _root.shot(); } } } movieClip 4850 { frame 1 { stop(); } instance of movieClip 4828 { onClipEvent (load) { this.gotoAndPlay(random(5) + 1); } } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodspray(); ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop(6); } ++i; } } } instance of movieClip 4848 { onClipEvent (load) { this.gotoAndPlay(random(10) + 1); } } instance of movieClip 4849 { onClipEvent (load) { this.gotoAndPlay(random(6)); } } frame 4 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } instance of movieClip 466 { onClipEvent (load) { var num = 1 + random(5); this.gotoAndStop(num); } } frame 5 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodspray(); ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop(6); } ++i; } } } frame 6 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(4); hs = new Sound(); hs.attachSound('headshot' + s); hs.start(); } instance of movieClip 637 { onClipEvent (load) { num = 1 + random(3); this.gotoAndStop(num); } } } movieClip 4851 { instance main of movieClip 4850 { onClipEvent (load) { thishealth = 3; num = random(2); if (num == 1) { this._visible = true; ++_root.targetstotal; this.gotoAndStop(random(2) + 1); } else { this._visible = false; this.gotoAndStop('end'); } } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true) && this._currentframe !== 6 && this._visible == true) { thishealth -= _root.power; _root.bloodsplat(); _root.bloodspray(); ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); if (this._currentframe !== 4 && this._currentframe !== 6) { this.gotoAndStop('wounded1'); } } ++i; } if (thishealth <= 0 && this._currentframe !== 6) { this.gotoAndStop('death'); } } } } movieClip 4908 { frame 20 { stop(); _parent.gotoAndStop('shoot1'); } } movieClip 4915 { frame 30 { stop(); _parent.gotoAndStop('shoot1'); } } movieClip 4916 { frame 9 { _root.smgShot(); } frame 11 { _root.smgShot(); } frame 13 { _root.smgShot(); } frame 20 { _root.smgShot(); } frame 22 { _root.smgShot(); } frame 24 { _root.smgShot(); } frame 26 { _root.smgShot(); } frame 28 { _root.smgShot(); } frame 39 { _root.smgShot(); } frame 41 { _root.smgShot(); } frame 46 { _root.smgShot(); } frame 48 { _root.smgShot(); } frame 56 { _root.smgShot(); } frame 58 { _root.smgShot(); } frame 60 { _root.smgShot(); } frame 62 { _root.smgShot(); } frame 113 { gotoAndPlay(1); } } movieClip 4917 { frame 1 { stop(); } instance of movieClip 4908 { onClipEvent (load) { this.gotoAndPlay(random(5) + 1); } } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodspray(); ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop(6); } ++i; } } } instance of movieClip 4915 { onClipEvent (load) { this.gotoAndPlay(random(10) + 1); } } frame 4 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(9); die = new Sound(); die.attachSound('enemyDeath' + s); die.start(); } instance of movieClip 982 { onClipEvent (load) { var num = 1 + random(5); this.gotoAndStop(num); } } frame 5 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodspray(); ++_root.headshots; ++_root.hits; ++_root.mhits; _parent.gotoAndStop(6); } ++i; } } } instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodspray(); ++_root.headshots; ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); _parent.gotoAndStop(6); } ++i; } } } frame 6 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } if (_root.suppressed == true) { ++_root.silentkills; } var s = 1 + random(4); hs = new Sound(); hs.attachSound('headshot' + s); hs.start(); } } movieClip 4918 { instance main of movieClip 4917 { onClipEvent (load) { thishealth = 3; num = random(2); if (num == 1) { this._visible = true; ++_root.targetstotal; this.gotoAndStop(random(2) + 1); } else { this._visible = false; this.gotoAndStop('end'); } } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true) && this._currentframe !== 6 && this._visible == true) { thishealth -= _root.power; _root.bloodsplat(); _root.bloodspray(); ++_root.hits; ++_root.mhits; var s = 1 + random(5); blooder = new Sound(); blooder.attachSound('blood' + s); blooder.start(); if (this._currentframe !== 4 && this._currentframe !== 6) { this.gotoAndStop('wounded1'); } } ++i; } if (thishealth <= 0 && this._currentframe !== 6) { this.gotoAndStop('death'); } } } } movieClip 5319 { frame 1 { _root.gun.gotoAndStop('empty'); } frame 312 { _root.gun.gotoAndStop(_root.primary); _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } frame 314 { _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; } frame 324 { pausable = true; } frame 388 { pausable = false; } frame 392 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 413 { pausable = true; } frame 455 { pausable = false; } frame 466 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 495 { pausable = true; } frame 576 { pausable = false; } frame 578 { stop(); _root.actions.gotoAndStop('door'); } frame 580 { _root.actions.gotoAndStop(1); } frame 589 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 614 { pausable = true; } frame 641 { _root.checkpoint = 'check2'; _root.hud.checkpoint.play(); _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; _root.pistolmode = false; } frame 674 { pausable = false; } frame 676 { stop(); _root.actions.gotoAndStop('door'); } frame 678 { _root.actions.gotoAndStop(1); } frame 688 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 713 { pausable = true; } frame 753 { pausable = false; } frame 759 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 785 { pausable = true; } frame 862 { pausable = false; } frame 875 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 898 { pausable = true; } frame 904 { _root.gun.gunsel.gotoAndStop('holster'); } frame 910 { _root.gun.gotoAndStop('empty'); } frame 1030 { _root.gun.gotoAndStop('empty'); } frame 1031 { stop(); _root.fader.gotoAndStop('missionwin'); if (_root.mossHave == false) { _root.positionArray.push(10); _root.mossHave = true; } if (_root.mission2a == false) { ++_root.wins; } _root.mission2a = true; _root.missionselected = 'tangiershotel'; } } instance bg of movieClip 5319 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; if (_root.difficulty !== 2) { this.gotoAndPlay(_root.checkpoint); } else { this.gotoAndPlay(1); } if (_root.checkpoint !== 'check1') { _root.gun.gotoAndStop(_root.primary); } } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.hud.pending.gotoAndStop(2); } if (this.pausable == true && _root.hud.pending._currentframe == 2) { this.stop(); _root.pauses = true; _root.gameMenu.gotoAndStop(2); _root.curs._visible = true; _root.hud.pending.gotoAndStop(1); } } } frame 6 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { if (_root.difficulty == 0) { num = random(6); } else { if (_root.difficulty == 1) { num = random(5); } else { if (_root.difficulty == 2) { num = random(4); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { if (_root.difficulty == 0) { num = random(7); } else { if (_root.difficulty == 1) { num = random(6); } else { if (_root.difficulty == 2) { num = random(5); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.selector = 1; _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } } movieClip 5324 { } movieClip 6421 { } movieClip 6423 { instance of movieClip 6421 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } } movieClip 6458 { } movieClip 6472 { frame 20 { stop(); _root.bg.gotoAndPlay('boom'); } } movieClip 6520 { frame 69 { ++_root.targetshit; ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } } frame 71 { stop(); } } movieClip 6521 { frame 1 { stop(); } instance of movieClip 6472 { onClipEvent (load) { if (_root.difficulty !== 0) { this.gotoAndPlay(5); } } } } movieClip 6593 { } movieClip 6598 { frame 9 { stop(); } } movieClip 6608 { frame 1 { _root.gun.gotoAndStop('empty'); } frame 115 { _root.gun.gotoAndStop(_root.primary); _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } frame 117 { _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; } frame 122 { pausable = true; } frame 188 { pausable = false; } frame 191 { _root.crouch = false; } instance of movieClip 1112 enemypistol { onClipEvent (load) { this.main.timer.gotoAndPlay(125); } } instance of movieClip 1112 enemypistol { onClipEvent (load) { this.main.timer.gotoAndPlay(125); } } frame 202 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 228 { pausable = true; } frame 232 { _root.crouch = true; } frame 236 { pausable = false; } frame 251 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 273 { pausable = true; } frame 347 { pausable = false; } frame 363 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 385 { pausable = true; } frame 405 { pausable = false; } frame 415 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 437 { pausable = true; } frame 549 { pausable = false; } frame 562 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 586 { pausable = true; } frame 676 { _root.crouch = false; } frame 683 { pausable = false; } frame 686 { stop(); } instance of movieClip 680 { onClipEvent (load) { num = random(2); if (num == 1) { this._visible = true; ++_root.targetstotal; } else { this._visible = false; } } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodsplat(); _root.bloodspray(); if (this._currentframe == 3 || this._currentframe == 9) { this.gotoAndStop('death1'); } else { if (this._currentframe == 4 || this._currentframe == 10) { this.gotoAndStop('death2'); } else { if (this._currentframe == 5 || this._currentframe == 11) { this.gotoAndStop('death3'); } } } } ++i; } } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 708 { pausable = true; } frame 711 { _root.crouch = true; } frame 804 { _root.checkpoint = 'check2'; _root.hud.checkpoint.play(); _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; _root.pistolmode = false; } frame 887 { pausable = false; } frame 890 { stop(); } instance of movieClip 680 { onClipEvent (load) { num = random(2); if (num == 1) { this._visible = true; ++_root.targetstotal; } else { this._visible = false; } } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodsplat(); _root.bloodspray(); if (this._currentframe == 3 || this._currentframe == 9) { this.gotoAndStop('death1'); } else { if (this._currentframe == 4 || this._currentframe == 10) { this.gotoAndStop('death2'); } else { if (this._currentframe == 5 || this._currentframe == 11) { this.gotoAndStop('death3'); } } } } ++i; } } } instance of movieClip 680 { onClipEvent (load) { num = random(2); if (num == 1) { this._visible = true; ++_root.targetstotal; } else { this._visible = false; } } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodsplat(); _root.bloodspray(); if (this._currentframe == 3 || this._currentframe == 9) { this.gotoAndStop('death1'); } else { if (this._currentframe == 4 || this._currentframe == 10) { this.gotoAndStop('death2'); } else { if (this._currentframe == 5 || this._currentframe == 11) { this.gotoAndStop('death3'); } } } } ++i; } } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 913 { pausable = true; } frame 953 { stop(); _root.actions.gotoAndStop('door'); } frame 955 { _root.actions.gotoAndStop(1); } frame 977 { pausable = false; } frame 985 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1011 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1037 { pausable = true; } frame 1110 { stop(); _root.actions.gotoAndStop('door'); } frame 1112 { _root.actions.gotoAndStop(1); } frame 1117 { pausable = false; } frame 1153 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1177 { pausable = true; } frame 1225 { pausable = false; } frame 1227 { stop(); } instance of movieClip 680 { onClipEvent (load) { num = random(2); if (num == 1) { this._visible = true; ++_root.targetstotal; } else { this._visible = false; } } onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodsplat(); _root.bloodsplat(); _root.bloodspray(); if (this._currentframe == 3 || this._currentframe == 9) { this.gotoAndStop('death1'); } else { if (this._currentframe == 4 || this._currentframe == 10) { this.gotoAndStop('death2'); } else { if (this._currentframe == 5 || this._currentframe == 11) { this.gotoAndStop('death3'); } } } } ++i; } } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1252 { pausable = true; } frame 1302 { pausable = false; } frame 1313 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1336 { pausable = true; } frame 1359 { pausable = false; } frame 1374 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1398 { pausable = true; } frame 1450 { pausable = false; } instance of movieClip 6423 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } frame 1484 { ++_root.targetstotal; } frame 1492 { stop(); } instance of movieClip 6521 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodspray(); _root.bloodsplat(); ++_root.hits; ++_root.mhits; this.gotoAndStop(3); } ++i; } } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1509 { pausable = true; } frame 1524 { _root.gun.gunsel.gotoAndStop('holster'); } frame 1530 { _root.gun.gotoAndStop('empty'); } frame 1565 { _root.fader.gotoAndStop(2); } frame 1570 { stop(); _root.gotoAndStop('miss1bomb'); } frame 1578 { _root.fader.gotoAndStop('missionfail'); } frame 1581 { stop(); } } instance bg of movieClip 6608 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; if (_root.difficulty !== 2) { this.gotoAndPlay(_root.checkpoint); } else { this.gotoAndPlay(1); } if (_root.checkpoint !== 'check1') { _root.gun.gotoAndStop(_root.primary); } } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.hud.pending.gotoAndStop(2); } if (this.pausable == true && _root.hud.pending._currentframe == 2) { this.stop(); _root.pauses = true; _root.gameMenu.gotoAndStop(2); _root.curs._visible = true; _root.hud.pending.gotoAndStop(1); } } } instance of movieClip 1911 { onClipEvent (enterFrame) { if (this.hitTest(_root.gun.accuracy.shotter1.shothit._x + _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter1.shothit._y + _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker(); } if (this.hitTest(_root.gun.accuracy.shotter2.shothit._x + _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter2.shothit._y + _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker2(); } if (this.hitTest(_root.gun.accuracy.shotter3.shothit._x + _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter3.shothit._y + _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker3(); } if (this.hitTest(_root.gun.accuracy.shotter4.shothit._x + _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter4.shothit._y + _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker4(); } if (this.hitTest(_root.gun.accuracy.shotter5.shothit._x + _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter5.shothit._y + _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker5(); } if (this.hitTest(_root.gun.accuracy.shotter6.shothit._x + _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter6.shothit._y + _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker6(); } if (this.hitTest(_root.gun.accuracy.shotter7.shothit._x + _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter7.shothit._y + _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker7(); } if (this.hitTest(_root.gun.accuracy.shotter8.shothit._x + _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter8.shothit._y + _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker8(); } if (this.hitTest(_root.gun.accuracy.shotter9.shothit._x + _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter9.shothit._y + _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker9(); } } } frame 7 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { if (_root.difficulty == 0) { num = random(6); } else { if (_root.difficulty == 1) { num = random(5); } else { if (_root.difficulty == 2) { num = random(4); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { if (_root.difficulty == 0) { num = random(7); } else { if (_root.difficulty == 1) { num = random(6); } else { if (_root.difficulty == 2) { num = random(5); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.selector = 1; _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } } movieClip 6611 { } movieClip 6650 { } movieClip 6651 { } movieClip 6687 { } movieClip 6739 { } movieClip 6740 { frame 78 { stop(); } } movieClip 8394 { } movieClip 8406 { frame 24 { _root.bg.hostage2.gotoAndStop(2); } frame 31 { stop(); } } movieClip 8476 { } movieClip 8478 { frame 35 { stop(); } } movieClip 8479 { frame 40 { ++_root.kills; ++_root.mkills; ++_root.targetshit; if (_root.guntype == 'secondary') { ++_root.pistolkills; } stop(); } } movieClip 8480 { frame 1 { stop(); } instance of movieClip 8406 { onClipEvent (load) { if (_root.difficulty !== 0) { this.gotoAndPlay(5); } } } } movieClip 8485 { } movieClip 8505 { frame 35 { _root.bg.hostage1.gotoAndStop(2); } frame 42 { stop(); } } movieClip 8526 { frame 20 { ++_root.kills; ++_root.mkills; ++_root.targetshit; if (_root.guntype == 'secondary') { ++_root.pistolkills; } stop(); } } movieClip 8527 { frame 1 { stop(); } instance of movieClip 8505 { onClipEvent (load) { if (_root.difficulty !== 0) { this.gotoAndPlay(5); } } } } movieClip 8529 { } movieClip 8532 { } movieClip 8534 { } movieClip 8554 { frame 15 { stop(); ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } _root.fader.gotoAndStop('missionfail'); } } movieClip 8555 { frame 1 { stop(); } } movieClip 8561 { } movieClip 8588 { frame 15 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } stop(); _root.fader.gotoAndStop('missionfail'); } } movieClip 8589 { frame 1 { stop(); } } movieClip 8603 { frame 1 { _root.gun.gotoAndStop('empty'); } frame 91 { _root.pistolmode = true; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } frame 93 { _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; } frame 160 { if (_root.emaerialcombatant == false) { ++_root.emblems; _root.hud.emblemget.gotoAndPlay(2); _root.emaerialcombatant = true; } } frame 648 { _root.checkpoint = 'check2'; _root.hud.checkpoint.play(); _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; _root.pistolmode = true; } frame 655 { _root.gun.gotoAndStop(_root.secondary); } frame 668 { pausable = false; } frame 702 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 728 { pausable = true; } frame 778 { pausable = false; } frame 800 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 830 { pausable = true; } frame 875 { pausable = false; } frame 924 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 950 { pausable = true; } frame 953 { _root.pistolmode = false; } frame 1036 { pausable = false; } frame 1038 { stop(); _root.actions.gotoAndStop('door'); } frame 1040 { _root.actions.gotoAndStop(1); } frame 1060 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1088 { pausable = true; } frame 1155 { pausable = false; } frame 1158 { stop(); _root.actions.gotoAndStop('door'); } frame 1160 { _root.actions.gotoAndStop(1); } frame 1177 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1204 { pausable = true; } frame 1243 { pausable = false; } frame 1245 { stop(); _root.actions.gotoAndStop('door'); } frame 1247 { _root.actions.gotoAndStop(1); } frame 1262 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1289 { pausable = true; } frame 1302 { _root.checkpoint = 'check3'; _root.hud.checkpoint.play(); _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; _root.pistolmode = false; } frame 1370 { pausable = false; } frame 1372 { stop(); _root.actions.gotoAndStop('door'); } frame 1374 { _root.actions.gotoAndStop(1); } frame 1385 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1413 { pausable = true; } frame 1487 { pausable = false; } frame 1490 { stop(); _root.actions.gotoAndStop('door'); } frame 1492 { _root.actions.gotoAndStop(1); } frame 1505 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1530 { pausable = true; } frame 1584 { pausable = false; } frame 1593 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1621 { pausable = true; } frame 1698 { pausable = false; } frame 1700 { stop(); _root.actions.gotoAndStop('door'); } frame 1702 { _root.actions.gotoAndStop(1); } frame 1715 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1739 { pausable = true; } frame 1810 { pausable = false; } frame 1813 { stop(); _root.actions.gotoAndStop('door'); } frame 1815 { _root.actions.gotoAndStop(1); } frame 1835 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1863 { pausable = true; } frame 1921 { pausable = false; } frame 1923 { stop(); _root.actions.gotoAndStop('door'); } frame 1925 { _root.actions.gotoAndStop(1); } frame 1938 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1964 { pausable = true; } frame 2025 { pausable = false; } frame 2027 { stop(); _root.actions.gotoAndStop('door'); } frame 2029 { _root.actions.gotoAndStop(1); } frame 2047 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 2116 { pausable = true; } instance of movieClip 6423 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 6423 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } frame 2178 { pausable = false; } frame 2181 { stop(); _root.actions.gotoAndStop('door'); } frame 2183 { _root.actions.gotoAndStop(1); } frame 2201 { _root.targetstotal += 2; } instance enemy1 of movieClip 8527 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodspray(); _root.bloodsplat(); this.gotoAndStop(2); } ++i; } } } instance enemy2 of movieClip 8480 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodspray(); _root.bloodsplat(); ++_root.hits; ++_root.mhits; this.gotoAndStop(2); } ++i; } } } instance hostage1 of movieClip 8555 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodspray(); _root.bloodsplat(); ++_root.hits; ++_root.mhits; this.gotoAndStop(2); } ++i; } } } instance hostage2 of movieClip 8589 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.bloodspray(); _root.bloodsplat(); ++_root.hits; ++_root.mhits; this.gotoAndStop(2); } ++i; } } } frame 2203 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 2207 { _root.gun.gunsel.gotoAndStop('holster'); } frame 2213 { _root.gun.gotoAndStop('empty'); } frame 2217 { stop(); if (_root.bg.hostage1._currentframe == 1 && _root.bg.hostage2._currentframe == 1) { play(); } else { stop(); _root.fader.gotoAndStop('missionfail'); } } frame 2349 { stop(); _root.fader.gotoAndStop('missionwin'); if (_root.mission4a == false) { ++_root.wins; } _root.mission4a = true; _root.missionselected = 'm40anim'; if (_root.akHave == false) { _root.positionArray.push(8); _root.akHave = true; } } } instance bg of movieClip 8603 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; if (_root.difficulty !== 2) { this.gotoAndPlay(_root.checkpoint); } else { this.gotoAndPlay(1); } if (_root.checkpoint !== 'check1') { _root.gun.gotoAndStop(_root.primary); } } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.hud.pending.gotoAndStop(2); } if (this.pausable == true && _root.hud.pending._currentframe == 2) { this.stop(); _root.pauses = true; _root.gameMenu.gotoAndStop(2); _root.curs._visible = true; _root.hud.pending.gotoAndStop(1); } } } frame 8 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { if (_root.difficulty == 0) { num = random(6); } else { if (_root.difficulty == 1) { num = random(5); } else { if (_root.difficulty == 2) { num = random(4); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { if (_root.difficulty == 0) { num = random(7); } else { if (_root.difficulty == 1) { num = random(6); } else { if (_root.difficulty == 2) { num = random(5); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.selector = 1; _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } } frame 8 { windage = 1; _root.ambience1.start(0, 99); } frame 8 { randomnum = 1 + random(3); delay = 0; onEnterFrame = function () { if (_root.snowing == true) { ++delay; if (delay == 2) { delay = 0; snow = adder.attachMovie('flake', 'flake' + _root.adder.getNextHighestDepth(), _root.adder.getNextHighestDepth(), {'_x': random(1500), '_y': -10}); snow.speed = randomnum; snow._xscale *= randomnum; snow._yscale *= randomnum; snow.gotoAndPlay(random(160)); randomnum = 1 + random(3); } } snow.onEnterFrame = function () { this._y += this.speed; this._x += _root.windage / 1.5; if (this._y > 450) { this.removeMovieClip(); } }; }; } movieClip 8607 { } movieClip 9731 { } movieClip 9734 { } movieClip 9735 { } movieClip 9736 { } movieClip 9739 { } movieClip 9807 { frame 1 { _root.pauses = true; } frame 40 { _root.gun.gunsel.gotoAndStop('holster'); } frame 46 { _root.gun.gotoAndStop('empty'); } frame 143 { stop(); _root.fader.gotoAndStop('missionwin'); if (_root.mission6a == false) { ++_root.wins; } _root.mission6a = true; _root.missionselected = 'somaliastreet'; } } movieClip 9858 { frame 70 { stop(); } } movieClip 9862 { frame 1 { _root.pauses = true; } frame 50 { stop(); _root.fader.gotoAndStop('missionfail'); } } movieClip 9863 { instance of movieClip 9731 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _parent.gotoAndStop(36); } ++i; } } } instance of movieClip 9736 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _parent.gotoAndStop(41); } ++i; } } } frame 30 { stop(); _root.gotoAndStop('russianheadshot'); } frame 36 { stop(); } frame 41 { stop(); } } movieClip 9873 { frame 1 { _root.gun.gotoAndStop('empty'); } frame 294 { _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; _root.snowing = true; } frame 296 { _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; } frame 303 { pausable = true; } frame 433 { _root.checkpoint = 'check2'; _root.hud.checkpoint.play(); _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; _root.pistolmode = false; } frame 444 { _root.gun.gotoAndStop(_root.primary); } frame 479 { pausable = false; } frame 487 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 513 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 534 { pausable = true; } frame 550 { pausable = false; } frame 552 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 578 { pausable = true; } frame 618 { pausable = false; } frame 628 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 647 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 668 { _root.crouch = false; } frame 672 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 678 { _root.crouch = true; } frame 695 { pausable = true; } frame 784 { pausable = false; } frame 787 { _root.snowing = false; } frame 789 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 815 { pausable = true; } frame 874 { pausable = false; } frame 877 { stop(); _root.actions.gotoAndStop('door'); } frame 879 { _root.actions.gotoAndStop(1); } frame 888 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 913 { pausable = true; } frame 945 { pausable = false; } frame 958 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 986 { pausable = true; } frame 1036 { pausable = false; } frame 1039 { stop(); _root.actions.gotoAndStop('door'); } frame 1041 { _root.actions.gotoAndStop(1); } frame 1051 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1077 { pausable = true; } frame 1091 { _root.gun.gunsel.gotoAndStop('holster'); } frame 1101 { _root.gun.gotoAndStop('empty'); } frame 1106 { _root.checkpoint = 'check3'; _root.hud.checkpoint.play(); _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; _root.pistolmode = false; } frame 1200 { _root.nvg = true; stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (Key.isDown(86)) { _root.ambience1.stop(); _root.bg.play(); } } } frame 1221 { _root.gun.gotoAndStop(_root.primary); } frame 1239 { pausable = false; } frame 1251 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1283 { pausable = true; } frame 1327 { pausable = false; } frame 1340 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1366 { pausable = true; } frame 1423 { pausable = false; } frame 1426 { stop(); _root.actions.gotoAndStop('door'); } frame 1428 { _root.actions.gotoAndStop(1); } frame 1439 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1465 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1490 { pausable = true; } frame 1586 { pausable = false; } frame 1589 { stop(); _root.actions.gotoAndStop('door'); } frame 1591 { _root.actions.gotoAndStop(1); } frame 1598 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1696 { pausable = true; } frame 1756 { pausable = false; } frame 1768 { stop(); _root.actions.gotoAndStop('door'); } frame 1770 { _root.actions.gotoAndStop(1); } instance of movieClip 6423 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } frame 1777 { _root.nvg = false; } instance enemy of movieClip 9863 { onClipEvent (load) { if (_root.difficulty !== 0) { this.gotoAndPlay(10); } } } frame 1794 { stop(); } } instance bg of movieClip 9873 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; if (_root.difficulty !== 2) { this.gotoAndPlay(_root.checkpoint); } else { this.gotoAndPlay(1); } if (_root.checkpoint !== 'check1') { _root.gun.gotoAndStop(_root.primary); } } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.hud.pending.gotoAndStop(2); } if (this.pausable == true && _root.hud.pending._currentframe == 2) { this.stop(); _root.pauses = true; _root.gameMenu.gotoAndStop(2); _root.curs._visible = true; _root.hud.pending.gotoAndStop(1); } } } instance of movieClip 1911 { onClipEvent (enterFrame) { if (this.hitTest(_root.gun.accuracy.shotter1.shothit._x + _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter1.shothit._y + _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker(); } if (this.hitTest(_root.gun.accuracy.shotter2.shothit._x + _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter2.shothit._y + _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker2(); } if (this.hitTest(_root.gun.accuracy.shotter3.shothit._x + _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter3.shothit._y + _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker3(); } if (this.hitTest(_root.gun.accuracy.shotter4.shothit._x + _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter4.shothit._y + _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker4(); } if (this.hitTest(_root.gun.accuracy.shotter5.shothit._x + _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter5.shothit._y + _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker5(); } if (this.hitTest(_root.gun.accuracy.shotter6.shothit._x + _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter6.shothit._y + _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker6(); } if (this.hitTest(_root.gun.accuracy.shotter7.shothit._x + _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter7.shothit._y + _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker7(); } if (this.hitTest(_root.gun.accuracy.shotter8.shothit._x + _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter8.shothit._y + _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker8(); } if (this.hitTest(_root.gun.accuracy.shotter9.shothit._x + _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter9.shothit._y + _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker9(); } } } movieClip 9875 { } frame 9 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { if (_root.difficulty == 0) { num = random(6); } else { if (_root.difficulty == 1) { num = random(5); } else { if (_root.difficulty == 2) { num = random(4); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { if (_root.difficulty == 0) { num = random(7); } else { if (_root.difficulty == 1) { num = random(6); } else { if (_root.difficulty == 2) { num = random(5); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.selector = 1; _root.healed = false; _root.techHealth = 30; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } } movieClip 9885 { } movieClip 9888 { } movieClip 10247 { } movieClip 10248 { frame 1 { stop(); _root.cover = true; } frame 8 { _root.cover = true; } frame 10 { stop(); _root.cover = false; } } movieClip 10251 { } movieClip 10253 { frame 1 { stop(); _root.actions.gotoAndStop('cover'); _root.gun.gotoAndStop(_root.primary); _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } } movieClip 10658 { frame 1 { stop(); _root.cover = true; } frame 8 { _root.cover = true; } frame 10 { stop(); _root.cover = false; } } movieClip 10668 { instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.techHealth -= _root.power; _root.bg.bg1.tech.gotoAndStop(2); } ++i; } } } frame 5 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { num = random(3); if (num == 1) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } frame 9 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } frame 13 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } frame 17 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } frame 21 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } movieClip 10670 { } movieClip 10671 { instance of movieClip 10670 { onClipEvent (enterFrame) { this._xscale = (_root.techHealth / 30) * 100; } } } movieClip 10682 { frame 10 { stop(); } } movieClip 10695 { instance of movieClip 10682 { onClipEvent (load) { this._y += random(10); this._rotation += random(45); } } frame 3 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } frame 20 { _root.bg.bg1.tech.gotoAndStop(1); } } movieClip 10696 { frame 1 { stop(); } } movieClip 10697 { } movieClip 10793 { instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.techHealth -= _root.power; _root.bg.bg1.tech.gotoAndStop(2); } ++i; } } } frame 5 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { num = random(3); if (num == 1) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } frame 9 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } frame 13 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } frame 25 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } frame 29 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } frame 33 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } frame 37 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } movieClip 10811 { instance of movieClip 10682 { onClipEvent (load) { this._y += random(10); this._rotation += random(45); } } frame 3 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } frame 20 { _root.bg.bg1.tech.gotoAndStop(1); } } movieClip 10812 { frame 1 { stop(); } } movieClip 10813 { } movieClip 10898 { instance of movieClip 336 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.techHealth -= _root.power; _root.bg.bg1.tech.gotoAndStop(2); } ++i; } } } frame 5 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { num = random(3); if (num == 1) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } frame 9 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { num = random(3); if (num == 1) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } frame 13 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { num = random(3); if (num == 1) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } frame 25 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { num = random(3); if (num == 1) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } frame 29 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { num = random(3); if (num == 1) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } frame 33 { if (_root.cover == true) { _root.bg.technicalShot(); } else { if (_root.cover == false) { num = random(3); if (num == 1) { if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } } } } } movieClip 10900 { instance of movieClip 10682 { onClipEvent (load) { this._y += random(10); this._rotation += random(45); } } frame 3 { var s = 1 + random(5); hurt = new Sound(); hurt.attachSound('hurt' + s); hurt.start(); } frame 20 { _root.bg.bg1.tech.gotoAndStop(1); } } movieClip 10901 { frame 1 { stop(); } } movieClip 10902 { } movieClip 11708 { frame 461 { _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } frame 463 { _root.actions.gotoAndStop(1); _root.gun.gotoAndStop(_root.primary); _root.targetstotal = 0; _root.targetshit = 0; } frame 468 { pausable = true; } frame 517 { pausable = false; } frame 528 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 547 { pausable = true; } frame 624 { pausable = false; } frame 627 { stop(); _root.actions.gotoAndStop('door'); } frame 630 { _root.actions.gotoAndStop(1); } frame 644 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 662 { pausable = true; } frame 707 { pausable = false; } frame 714 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 734 { pausable = true; } frame 789 { pausable = false; } frame 794 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 812 { pausable = true; } frame 817 { pausable = false; } frame 821 { _root.crouch = false; } frame 826 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 845 { _root.crouch = true; } frame 847 { pausable = true; } frame 876 { _root.checkpoint = 'check2'; _root.hud.checkpoint.play(); _root.actions.gotoAndStop(1); _root.targetstotal = 0; _root.targetshit = 0; _root.pistolmode = false; } frame 911 { pausable = false; } frame 914 { function coverChoser() { var v1 = Math.floor(Math.random() * coverArray.length); placement = coverArray[v1]; coverArray.splice(v1, 1); } stop(); var coverArray = new Array(); coverArray[0] = '1'; coverArray[1] = '2'; coverArray[2] = '3'; coverArray[3] = '4'; coverArray[4] = '5'; coverArray[5] = '6'; coverArray[6] = '7'; coverArray[7] = '8'; _root.crouch = false; _root.targetshit = 0; _root.targetstotal = 5; count = 0; timer = 120; enemyTotal = 5; enemyAdded = 0; _root.live = false; onEnterFrame = function () { if (enemyAdded < enemyTotal && _root.live == true) { ++count; } if (count >= timer) { ++enemyAdded; coverChoser(); count = 0; if (placement !== undefined) { newEnemy = _root.bg.bg1.enemyAdder.attachMovie('enemyArena1', 'enemy' + _root.bg.bg1.enemyAdder.getNextHighestDepth(), _root.bg.bg1.enemyAdder.getNextHighestDepth(), {'_x': _root.bg.bg1['cover' + placement]._x + _root.bg.bg1._x + _root.bg._x - (_root.bg.bg1.enemyAdder._x + _root.bg.bg1._x + _root.bg._x), '_y': _root.bg.bg1['cover' + placement]._y + _root.bg.bg1._y + _root.bg._y - (_root.bg.bg1.enemyAdder._y + _root.bg.bg1._y + _root.bg._y)}); newEnemy.num = placement; newEnemy.used = false; if (newEnemy.num == 1) { newEnemy.main._xscale = 17; newEnemy.main._yscale = 17; } if (newEnemy.num == 2) { newEnemy.main._xscale = 17; newEnemy.main._yscale = 17; } if (newEnemy.num == 3) { newEnemy.main._xscale = -17; newEnemy.main._yscale = 17; } if (newEnemy.num == 4) { newEnemy.main._xscale = 17; newEnemy.main._yscale = 17; } if (newEnemy.num == 5) { newEnemy.main._xscale = -17; newEnemy.main._yscale = 17; } if (newEnemy.num == 6) { newEnemy.main._xscale = 17; newEnemy.main._yscale = 17; } if (newEnemy.num == 7) { newEnemy.main._xscale = -17; newEnemy.main._yscale = 17; } if (newEnemy.num == 8) { newEnemy.main._xscale = -17; newEnemy.main._yscale = 17; } newEnemy.onEnterFrame = function () { if (this.main.dead == true && this.used == false) { coverArray.push(this.num); this.used = true; } }; } } }; } instance bg1 of movieClip 10253 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } instance coverClip of movieClip 10248 { onClipEvent (load) { startX = this._x; startY = this._y; bgStartX = _root.bg.bg1._x; } onClipEvent (enterFrame) { if (Key.isDown(32) && _root.live == true) { keyDown = true; } else { keyDown = false; } if (keyDown == true && this._currentframe < 10) { this.nextFrame(); } else { if (keyDown == false && this._currentframe > 1) { this.prevFrame(); } } if (this._x > startX) { --this._x; } else { if (this._x < startY) { ++this._x; } } if (this._y > startY) { --this._y; } else { if (this._y < startY) { ++this._y; } } _root.bg.bg1._x = bgStartX + this._currentframe * 3; } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.live = false; _root.checkpoint = 'check3'; _root.bg.play(); } } } frame 937 { pausable = true; } frame 955 { _root.targetshit = 0; _root.targetstotal = 0; _root.pauses = false; _root.cover = false; } frame 978 { pausable = false; } frame 981 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 999 { pausable = true; } frame 1067 { pausable = false; } frame 1070 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1088 { pausable = true; } frame 1095 { pausable = false; } frame 1098 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1119 { pausable = true; } frame 1181 { pausable = false; } frame 1184 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1202 { pausable = true; } instance of movieClip 10658 { onClipEvent (load) { startX = this._x; startY = this._y; bgStartX = _root.bg._x; } onClipEvent (enterFrame) { if (Key.isDown(32) && _root.live == true) { keyDown = true; } else { keyDown = false; } if (keyDown == true && this._currentframe < 10) { this.nextFrame(); } else { if (keyDown == false && this._currentframe > 1) { this.prevFrame(); } } if (this._x > startX) { --this._x; } else { if (this._x < startY) { ++this._x; } } if (this._y > startY) { --this._y; } _root.bg._x = bgStartX + this._currentframe * 3; } } frame 1414 { function technicalShot() { num = random(4); if (num > 0) { impacts = _root.bg.mcCaller.attachMovie('coverShotclip', 'coverShotclip' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': _root.bg._x - _root.bg.mcCaller._x, '_y': 400 - _root.bg._y - _root.bg.mcCaller.y}); } } stop(); _root.actions.gotoAndStop('cover'); _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } instance cover of movieClip 10658 { onClipEvent (load) { startX = this._x; startY = this._y; bgStartY = _root.bg.bg1._y; } onClipEvent (enterFrame) { if (Key.isDown(32) && _root.live == true) { keyDown = true; } else { keyDown = false; } if (keyDown == true && this._currentframe < 10) { this.nextFrame(); } else { if (keyDown == false && this._currentframe > 1) { this.prevFrame(); } } if (this._x > startX) { --this._x; } else { if (this._x < startY) { ++this._x; } } if (this._y > startY) { --this._y; } _root.bg.bg1._y = bgStartY - this._currentframe * 3; } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.techHealth < 20) { _root.live = false; _root.bg.play(); } } } frame 1517 { function technicalShot() { num = random(4); if (num > 0) { impacts = _root.bg.mcCaller.attachMovie('coverShotclip', 'coverShotclip' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': _root.bg._x - _root.bg.mcCaller._x, '_y': 400 - _root.bg._y - _root.bg.mcCaller.y}); } } stop(); _root.actions.gotoAndStop('cover'); _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } instance cover of movieClip 10658 { onClipEvent (load) { startX = this._x; startY = this._y; bgStartY = _root.bg.bg1._y; } onClipEvent (enterFrame) { if (Key.isDown(32) && _root.live == true) { keyDown = true; } else { keyDown = false; } if (keyDown == true && this._currentframe < 10) { this.nextFrame(); } else { if (keyDown == false && this._currentframe > 1) { this.prevFrame(); } } if (this._x > startX) { --this._x; } else { if (this._x < startY) { ++this._x; } } if (this._y > startY) { --this._y; } _root.bg.bg1._y = bgStartY - this._currentframe * 3; } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.techHealth < 10) { _root.live = false; _root.bg.play(); } } } frame 1611 { function technicalShot() { num = random(4); if (num > 0) { impacts = _root.bg.mcCaller.attachMovie('coverShotclip', 'coverShotclip' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': _root.bg._x - _root.bg.mcCaller._x, '_y': 400 - _root.bg._y - _root.bg.mcCaller.y}); } } stop(); _root.actions.gotoAndStop('cover'); _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } instance cover of movieClip 10658 { onClipEvent (load) { startX = this._x; startY = this._y; bgStartY = _root.bg.bg1._y; } onClipEvent (enterFrame) { if (Key.isDown(32) && _root.live == true) { keyDown = true; } else { keyDown = false; } if (keyDown == true && this._currentframe < 10) { this.nextFrame(); } else { if (keyDown == false && this._currentframe > 1) { this.prevFrame(); } } if (this._x > startX) { --this._x; } else { if (this._x < startY) { ++this._x; } } if (this._y > startY) { --this._y; } _root.bg.bg1._y = bgStartY - this._currentframe * 3; } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.techHealth <= 0) { _root.live = false; _root.bg.play(); } } } frame 1632 { _root.cover = false; } frame 1765 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1869 { _root.crouch = false; } frame 1875 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1899 { _root.crouch = true; } frame 1987 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 2106 { stop(); _root.actions.gotoAndStop('door'); } frame 2109 { _root.actions.gotoAndStop(1); } frame 2122 { _root.bg.stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 2195 { _root.gun.gunsel.gotoAndStop('holster'); } frame 2204 { _root.gun.gotoAndStop('empty'); } frame 2525 { _root.fader.gotoAndStop('somalia'); } frame 2531 { stop(); } } instance bg of movieClip 11708 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; if (_root.difficulty !== 2) { this.gotoAndPlay(_root.checkpoint); } else { this.gotoAndPlay(1); } if (_root.checkpoint !== 'check1') { _root.gun.gotoAndStop(_root.primary); } } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.hud.pending.gotoAndStop(2); } if (this.pausable == true && _root.hud.pending._currentframe == 2) { this.stop(); _root.pauses = true; _root.gameMenu.gotoAndStop(2); _root.curs._visible = true; _root.hud.pending.gotoAndStop(1); } } } frame 10 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { num = random(5); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { num = random(6); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } if (_root.difficulty == 0) { _root.healthnum = 8 + random(10); } else { if (_root.difficulty == 1) { _root.healthnum = 16 + random(20); } else { if (_root.difficulty == 2) { _root.healthnum = 30 + random(30); } } } _root.selector = 1; } movieClip 11773 { } movieClip 11774 { frame 1 { stop(); ++_root.targetstotal; } frame 2 { var s = 1 + random(3); popper = new Sound(); popper.attachSound('pop' + s); popper.start(); ++_root.mscore; ++_root.hits; ++_root.mhits; ++_root.m40targets; if (_root._currentframe == 22) { ++_root.m40hitsTotal; } ++_root.targetshit; } frame 16 { stop(); } } movieClip 11775 { instance target of movieClip 11774 { onClipEvent (enterFrame) { i = 1; while (i <= _root.shotters) { if (this.hitTest(_root.gun.accuracy['shotter' + i].shothit._x + _root.gun.accuracy['shotter' + i]._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy['shotter' + i].shothit._y + _root.gun.accuracy['shotter' + i]._y + _root.gun.accuracy._y + _root.gun._y, true) && this._currentframe == 1) { this.gotoAndPlay(2); } ++i; } } } } movieClip 13027 { frame 1 { stop(); _root.actions.gotoAndStop(2); _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; _root.cmissed = 0; } frame 3 { _root.actions.gotoAndStop(1); } frame 5 { _root.gun.gotoAndStop(_root.primary); } frame 118 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 295 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 468 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 637 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 806 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 976 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 1095 { _root.gun.gunsel.gotoAndStop('holster'); } frame 1101 { stop(); _root.gun.gotoAndStop('empty'); _root.fader.gotoAndStop('c_gunrun'); } } instance bg of movieClip 13027 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } instance of movieClip 1911 { onClipEvent (enterFrame) { if (this.hitTest(_root.gun.accuracy.shotter1.shothit._x + _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter1.shothit._y + _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker(); } if (this.hitTest(_root.gun.accuracy.shotter2.shothit._x + _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter2.shothit._y + _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker2(); } if (this.hitTest(_root.gun.accuracy.shotter3.shothit._x + _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter3.shothit._y + _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker3(); } if (this.hitTest(_root.gun.accuracy.shotter4.shothit._x + _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter4.shothit._y + _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker4(); } if (this.hitTest(_root.gun.accuracy.shotter5.shothit._x + _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter5.shothit._y + _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker5(); } if (this.hitTest(_root.gun.accuracy.shotter6.shothit._x + _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter6.shothit._y + _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker6(); } if (this.hitTest(_root.gun.accuracy.shotter7.shothit._x + _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter7.shothit._y + _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker7(); } if (this.hitTest(_root.gun.accuracy.shotter8.shothit._x + _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter8.shothit._y + _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker8(); } if (this.hitTest(_root.gun.accuracy.shotter9.shothit._x + _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter9.shothit._y + _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker9(); } } } movieClip 13053 { } movieClip 13064 { frame 1 { _root.live = false; } instance of movieClip 13053 { onClipEvent (load) { this.wavenum = _root.wave; } } frame 117 { stop(); _root.live = true; } } movieClip 13065 { frame 1 { stop(); } } instance of movieClip 13065 { onClipEvent (enterFrame) { if (_root.mshots > 0) { this.accuracy = Math.round((_root.mhits / _root.mshots) * 100); _root.maccuracy = this.accuracy; } else { this.accuracy = 0; _root.maccuracy = 0; } this.hits = _root.mhits; this.missed = _root.cmissed; } } frame 11 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { num = random(5); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { num = random(6); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } if (_root.difficulty == 0) { _root.healthnum = 8 + random(10); } else { if (_root.difficulty == 1) { _root.healthnum = 16 + random(20); } else { if (_root.difficulty == 2) { _root.healthnum = 30 + random(30); } } } _root.selector = 1; } movieClip 13079 { frame 1 { stop(); _root.actions.gotoAndStop(2); _root.pistolmode = true; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; _root.cmissed = 0; } frame 3 { _root.actions.gotoAndStop(1); } frame 5 { _root.gun.gotoAndStop(_root.secondary); } frame 144 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 224 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 292 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 417 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } } frame 421 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 425 { if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 429 { if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 433 { if (_root.bg.target5.target._currentframe == 1) { ++_root.cmissed; } } frame 467 { if (_root.bg.target6.target._currentframe == 1) { ++_root.cmissed; } } frame 471 { if (_root.bg.target7.target._currentframe == 1) { ++_root.cmissed; } } frame 516 { if (_root.bg.target8.target._currentframe == 1) { ++_root.cmissed; } } frame 520 { if (_root.bg.target9.target._currentframe == 1) { ++_root.cmissed; } } frame 646 { if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 666 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 692 { if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 712 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } } frame 792 { if (_root.bg.target5.target._currentframe == 1) { ++_root.cmissed; } } frame 836 { if (_root.bg.target6.target._currentframe == 1) { ++_root.cmissed; } } frame 866 { if (_root.bg.target7.target._currentframe == 1) { ++_root.cmissed; } } frame 881 { if (_root.bg.target9.target._currentframe == 1) { ++_root.cmissed; } } frame 891 { if (_root.bg.target8.target._currentframe == 1) { ++_root.cmissed; } } frame 997 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 1057 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 1117 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 1222 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } } frame 1252 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 1282 { if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 1307 { if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 1342 { if (_root.bg.target5.target._currentframe == 1) { ++_root.cmissed; } } frame 1377 { if (_root.bg.target6.target._currentframe == 1) { ++_root.cmissed; } } frame 1446 { if (_root.bg.target7.target._currentframe == 1) { ++_root.cmissed; } } frame 1482 { if (_root.bg.target8.target._currentframe == 1) { ++_root.cmissed; } } frame 1511 { if (_root.bg.target9.target._currentframe == 1) { ++_root.cmissed; } } frame 1522 { _root.gun.gotoAndStop('holster'); } frame 1530 { stop(); _root.gun.gotoAndStop('empty'); _root.fader.gotoAndStop('c_pistol'); } } instance bg of movieClip 13079 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } frame 12 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function dust() { dust1 = _root.mcCaller.attachMovie('dust', 'dust' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_xscale': _root._ymouse - 110, '_yscale': _root._ymouse - 110}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { num = random(5); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { num = random(6); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.healed = false; _root.mags = 25; if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } if (_root.difficulty == 0) { _root.healthnum = 8 + random(10); } else { if (_root.difficulty == 1) { _root.healthnum = 16 + random(20); } else { if (_root.difficulty == 2) { _root.healthnum = 30 + random(30); } } } _root.selector = 1; } movieClip 13084 { } movieClip 13085 { instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } frame 10 { stop(); } } movieClip 13086 { instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } frame 10 { stop(); } } movieClip 13087 { instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } frame 70 { gotoAndPlay(10); } } movieClip 13088 { instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } frame 70 { gotoAndPlay(10); } } movieClip 13089 { instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } frame 50 { gotoAndPlay(10); } } movieClip 13090 { instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } frame 50 { gotoAndPlay(10); } } movieClip 13091 { frame 1 { stop(); _root.actions.gotoAndStop(2); _root.pistolmode = false; _root.maccuracy = 0; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; _root.cmissed = 0; _root.targetshit = 0; _root.targetstotal = 0; } instance of movieClip 13084 { onClipEvent (enterFrame) { if (this.hitTest(_root.gun.accuracy.shotter1.shothit._x + _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter1.shothit._y + _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.dust(); } } } frame 3 { _root.actions.gotoAndStop(1); } frame 5 { _root.gun.gotoAndStop(_root.primary); } frame 20 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit >= _root.targetstotal) { _root.bg.play(); } } } frame 35 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit >= _root.targetstotal) { _root.bg.play(); } } } frame 50 { stop(); } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.targetshit >= _root.targetstotal) { _root.bg.play(); } } } frame 63 { _root.gun.gotoAndStop('holster'); } frame 70 { stop(); _root.gun.gotoAndStop('empty'); _root.fader.gotoAndStop('c_long'); } } instance bg of movieClip 13091 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } instance of movieClip 13065 { onClipEvent (load) { this.gotoAndStop(2); count = 0; timer = 24; this.secs = 0; this.counting = false; } onClipEvent (enterFrame) { if (_root.mshots > 0) { this.counting = true; this.accuracy = (_root.mhits / _root.mshots) * 100; _root.maccuracy = this.accuracy; } else { this.accuracy = 0; _root.maccuracy = 0; } if (this.counting == true) { ++count; } this.hits = _root.mhits; if (count == timer) { ++this.secs; count = 0; } if (_root.mhits == 38) { this.counting = false; _root.m40sec = this.secs; } } } frame 13 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { if (_root.difficulty == 0) { num = random(6); } else { if (_root.difficulty == 1) { num = random(5); } else { if (_root.difficulty == 2) { num = random(4); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { if (_root.difficulty == 0) { num = random(7); } else { if (_root.difficulty == 1) { num = random(6); } else { if (_root.difficulty == 2) { num = random(5); } } } if (num == 0 && _root.cover == false) { if (_root.difficulty == 0) { _root.health -= 5 + random(10); } else { if (_root.difficulty == 1) { _root.health -= 10 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 20 + random(20); } } } hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.selector = 1; _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } } frame 13 { function coverChoser() { var v1 = Math.floor(Math.random() * coverArray.length); placement = coverArray[v1]; coverArray.splice(v1, 1); } var coverArray = new Array(); coverArray[0] = '1'; coverArray[1] = '2'; coverArray[2] = '3'; coverArray[3] = '4'; coverArray[4] = '5'; coverArray[5] = '6'; coverArray[6] = '7'; coverArray[7] = '8'; _root.wave = 1; count = 0; _root.timer = 160; _root.enemyTotal = 5; _root.enemyAdded = 0; _root.live = false; onEnterFrame = function () { if (_root.enemyAdded < _root.enemyTotal && _root.live == true) { ++count; } if (count >= _root.timer && _root.live == true) { ++_root.enemyAdded; coverChoser(); count = 0; if (placement !== undefined) { newEnemy = _root.bg.enemyAdder.attachMovie('enemyArena1', 'enemy' + _root.bg.enemyAdder.getNextHighestDepth(), _root.bg.enemyAdder.getNextHighestDepth(), {'_x': _root.bg['cover' + placement]._x + _root.bg._x - (_root.bg.enemyAdder._x + _root.bg._x), '_y': _root.bg['cover' + placement]._y + _root.bg._y - (_root.bg.enemyAdder._y + _root.bg._y)}); newEnemy.num = placement; newEnemy.used = false; if (newEnemy.num == 1) { newEnemy.main._xscale = 23; newEnemy.main._yscale = 23; } if (newEnemy.num == 2) { newEnemy.main._xscale = 32; newEnemy.main._yscale = 32; } if (newEnemy.num == 3) { newEnemy.main._xscale = -29; newEnemy.main._yscale = 29; } if (newEnemy.num == 4) { newEnemy.main._xscale = -18; newEnemy.main._yscale = 18; } if (newEnemy.num == 5) { newEnemy.main._xscale = 18; newEnemy.main._yscale = 18; } if (newEnemy.num == 6) { newEnemy.main._xscale = -18; newEnemy.main._yscale = 18; } if (newEnemy.num == 7) { newEnemy.main._xscale = -18; newEnemy.main._yscale = 18; } if (newEnemy.num == 8) { newEnemy.main._xscale = -32; newEnemy.main._yscale = 32; } newEnemy.onEnterFrame = function () { if (this.main.dead == true && this.used == false) { coverArray.push(this.num); this.used = true; } }; } } }; } movieClip 13094 { } movieClip 13096 { frame 1 { stop(); _root.actions.gotoAndStop('cover'); _root.gun.gotoAndStop(_root.primary); _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; } frame 2 { stop(); } } instance bg of movieClip 13096 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; } onClipEvent (enterFrame) { if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } instance of movieClip 1911 { onClipEvent (enterFrame) { if (this.hitTest(_root.gun.accuracy.shotter1.shothit._x + _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter1.shothit._y + _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker(); } if (this.hitTest(_root.gun.accuracy.shotter2.shothit._x + _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter2.shothit._y + _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker2(); } if (this.hitTest(_root.gun.accuracy.shotter3.shothit._x + _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter3.shothit._y + _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker3(); } if (this.hitTest(_root.gun.accuracy.shotter4.shothit._x + _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter4.shothit._y + _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker4(); } if (this.hitTest(_root.gun.accuracy.shotter5.shothit._x + _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter5.shothit._y + _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker5(); } if (this.hitTest(_root.gun.accuracy.shotter6.shothit._x + _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter6.shothit._y + _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker6(); } if (this.hitTest(_root.gun.accuracy.shotter7.shothit._x + _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter7.shothit._y + _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker7(); } if (this.hitTest(_root.gun.accuracy.shotter8.shothit._x + _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter8.shothit._y + _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker8(); } if (this.hitTest(_root.gun.accuracy.shotter9.shothit._x + _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x, _root.gun.accuracy.shotter9.shothit._y + _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y, true)) { _root.sparker9(); } } } movieClip 13098 { } movieClip 13099 { frame 1 { stop(); _root.cover = true; } frame 8 { stop(); _root.cover = true; } frame 10 { stop(); _root.cover = false; } } instance coverClip of movieClip 13099 { onClipEvent (load) { startX = this._x; startY = this._y; bgStartX = _root.bg._x; } onClipEvent (enterFrame) { if (Key.isDown(32) && _root.live == true) { keyDown = true; } else { keyDown = false; } if (keyDown == true && this._currentframe < 10) { this.nextFrame(); } else { if (keyDown == false && this._currentframe > 1) { this.prevFrame(); } } if (this._x > startX) { --this._x; } else { if (this._x < startY) { ++this._x; } } if (this._y > startY) { --this._y; } else { if (this._y < startY) { ++this._y; } } _root.bg._x = bgStartX + this._currentframe * 3; } } instance of movieClip 13065 { onClipEvent (load) { this.gotoAndStop(3); _root.arenaKills = 0; } onClipEvent (enterFrame) { if (_root.mshots > 0) { this.accuracy = Math.round((_root.mhits / _root.mshots) * 100); _root.maccuracy = this.accuracy; } else { this.accuracy = 0; _root.maccuracy = 0; } this.wave = _root.wave; this.totals = _root.enemyTotal; this.kills = _root.mkills; if (this.kills >= this.totals && _root.wave < 6) { this.waver.gotoAndPlay(1); _root.mkills = 0; _root.live = false; ++_root.wave; _root.enemyTotal += 2; _root.enemyAdded = 0; _root.timer -= 15; } if (this.kills >= this.totals && _root.wave == 6) { _root.bg.gotoAndStop(2); _root.live = false; _root.fader.gotoAndStop('arena'); } } } frame 14 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { num = random(5); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { num = random(6); if (num == 0) { hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } _root.selector = 1; } movieClip 13103 { } movieClip 13109 { frame 15 { stop(); } } movieClip 13110 { frame 218 { _root.gun.gotoAndStop(_root.primary); } instance of movieClip 13109 { onClipEvent (enterFrame) { if (_root.targetshit >= 5) { _root.targetshit = 0; this.gotoAndPlay(1); } } } frame 900 { _root.gun.gotoAndStop('primary'); } frame 900 { stop(); _root.actions.gotoAndStop(2); } } instance bg of movieClip 13110 { onClipEvent (load) { bgx = this._x; bgy = this._y; amt = 0; } onClipEvent (enterFrame) { if (Key.isDown(32) && this._currentframe == 900) { _root.gotoAndStop('training'); } if (_root.blurmode == true) { myBlurFilter = new flash.filters.BlurFilter(amt, amt, 1); myFilterArray = new Array(); myFilterArray.push(myBlurFilter); this.filters = myFilterArray; amt -= 2; if (amt < 0) { amt = 0; } } if (this._x > bgx) { --this._x; } else { if (this._x < bgx) { ++this._x; } } if (this._y > bgy) { --this._y; } else { if (this._y < bgy) { this._y += 2; } } if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } frame 15 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } function mousefollow2() { _root.follower2._x = _xmouse; _root.follower2._y = _ymouse; updateAfterEvent(); } function shooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 3; if (_root.suppressed == false) { muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } } function shotgunshooting() { _root.accuracynum = _root.accnum; _root.accuracylow = -_root.accuracynum; _root.accuracyhigh = _root.accuracynum * 2; _root.gun.accuracy.shotter1.gotoAndPlay(2); _root.gun.accuracy.shotter1._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter1._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2.gotoAndPlay(2); _root.gun.accuracy.shotter2._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter2._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3.gotoAndPlay(2); _root.gun.accuracy.shotter3._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter3._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4.gotoAndPlay(2); _root.gun.accuracy.shotter4._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter4._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5.gotoAndPlay(2); _root.gun.accuracy.shotter5._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter5._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6.gotoAndPlay(2); _root.gun.accuracy.shotter6._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter6._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7.gotoAndPlay(2); _root.gun.accuracy.shotter7._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter7._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8.gotoAndPlay(2); _root.gun.accuracy.shotter8._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter8._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9.gotoAndPlay(2); _root.gun.accuracy.shotter9._x = _root.gun.accuracy._x + _root.accuracylow + random(_root.accuracyhigh); _root.gun.accuracy.shotter9._y = _root.gun.accuracy._y + _root.accuracylow + random(_root.accuracyhigh); _root.bg._y -= 8; muzzleFlash = _root.mcCaller.attachMovie('gunFlash', 'gunFlash' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.flasher._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.flasher._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker() { spark = _root.mcCaller.attachMovie('sparks', 'sparks' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker2() { spark2 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter2._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter2._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker3() { spark3 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter3._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter3._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker4() { spark4 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter4._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter4._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker5() { spark5 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter5._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter5._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker6() { spark6 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter6._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter6._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker7() { spark7 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter7._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter7._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker8() { spark8 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter8._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter8._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function sparker9() { spark9 = _root.mcCaller.attachMovie('sparksSmall', 'sparksSmall' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.accuracy.shotter9._x + _root.gun.accuracy._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.accuracy.shotter9._y + _root.gun.accuracy._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(360)}); } function pistolshellcall() { shell1 = _root.mcCaller.attachMovie('shellPistol', 'shellPistol' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function rifleshellcall() { shell2 = _root.mcCaller.attachMovie('shellRifle', 'shellRifle' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function shotgunshellcall() { shell3 = _root.mcCaller.attachMovie('shellShotgun', 'shellShotgun' + _root.mcCaller.getNextHighestDepth(), _root.mcCaller.getNextHighestDepth(), {'_x': _root.gun.gunsel.shellplace._x + _root.gun.gunsel._x + _root.gun._x - _root.mcCaller._x, '_y': _root.gun.gunsel.shellplace._y + _root.gun.gunsel._y + _root.gun._y - _root.mcCaller._y, '_rotation': random(35)}); } function bloodspray() { bloodsprays = _root.bg.callerBloodspray.attachMovie('bloodSpray', 'bloodSpray' + _root.bg.callerBloodspray.getNextHighestDepth(), _root.bg.callerBloodspray.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodspray._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodspray._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function bloodsplat() { bloodsplats = _root.bg.callerBloodsplat.attachMovie('bloodSplat', 'bloodSplat' + _root.bg.callerBloodsplat.getNextHighestDepth(), _root.bg.callerBloodsplat.getNextHighestDepth(), {'_x': _root._x - _root.bg._x - _root.bg.callerBloodsplat._x - _root.gun.accuracy.shotter1._x + _root.gun.accuracy._x + _root.gun._x, '_y': _root._y - _root.bg._y - _root.bg.callerBloodsplat._y - _root.gun.accuracy.shotter1._y + _root.gun.accuracy._y + _root.gun._y, '_rotation': random(360)}); } function shot() { num = random(5); if (num == 0) { _root.health -= _root.healthnum; hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } function smgShot() { num = random(6); if (num == 0) { hitclip = _root.attachMovie('shotClip', 'shotClip' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 375, '_y': 170}); if (_root.difficulty == 0) { _root.health -= 10 + random(20); } else { if (_root.difficulty == 1) { _root.health -= 15 + random(15); } else { if (_root.difficulty == 2) { _root.health -= 30 + random(30); } } } } if (num > 0) { impacts = _root.bg.attachMovie('shotclipImpacts', 'shotclipImpacts' + _root.bg.getNextHighestDepth(), _root.bg.getNextHighestDepth(), {'_x': 375 - _root.bg._x, '_y': 160 + random(40) - _root.bg._y}); } } _root.healed = false; if (_root.vestHave == false) { _root.mags = 4; } else { _root.mags = 6; } if (_root.secondary == 'op') { mag2 = 7; mag2store = 7; } else { if (_root.secondary == 'glock') { mag2 = 17; mag2store = 17; } else { mag2 = 12; mag2store = 12; } } if (_root.primary == 'moss') { mag1 = 8; mag1store = 8; } else { if (_root.primary == 'xm') { mag1 = 8; mag1store = 8; } else { mag1 = 30; magstore = 30; } } _root.selector = 1; } movieClip 13117 { } movieClip 13118 { } movieClip 13122 { frame 20 { stop(); } } movieClip 13123 { } movieClip 13126 { } movieClip 13128 { } movieClip 13143 { frame 26 { stop(); } } movieClip 13145 { } movieClip 13147 { frame 25 { stop(); } } movieClip 13149 { } movieClip 13150 { frame 18 { stop(); } } movieClip 13157 { frame 130 { stop(); _root.gun.gotoAndStop('breach'); } frame 155 { _root.bg._x += 2; _root.bg._y -= 3; } frame 156 { _root.bg._x -= 4; _root.bg._y += 6; } frame 157 { _root.bg._x += 3; _root.bg._y += 5; } frame 158 { _root.bg._x -= 2; _root.bg._y -= 4; } frame 159 { _root.bg._x += 1; _root.bg._y += 3; } frame 160 { _root.bg._y -= 2; } frame 161 { _root.bg._y += 1; } frame 162 { _root.bg._y -= 1; } frame 316 { _root.fader.gotoAndStop('endgame'); stop(); } } frame 16 { function follow() { _root.curs._x = _root._xmouse; _root.curs._y = _root._ymouse; updateAfterEvent(); } windage = -4 + random(8); _root.ambience1.start(0, 99); _root.health = 50; } frame 16 { randomnum = 1 + random(3); delay = 0; onEnterFrame = function () { if (_root.snowing == true) { ++delay; if (delay == 2) { delay = 0; snow = adder.attachMovie('flake', 'flake' + _root.adder.getNextHighestDepth(), _root.adder.getNextHighestDepth(), {'_x': random(1500), '_y': -10}); snow.speed = randomnum; snow._xscale *= randomnum; snow._yscale *= randomnum; snow.gotoAndPlay(random(160)); randomnum = 1 + random(3); } } snow.onEnterFrame = function () { this._y += this.speed; this._x += _root.windage / 1.5; if (this._y > 450) { this.removeMovieClip(); } }; }; } movieClip 13159 { } movieClip 13163 { } movieClip 13244 { frame 377 { _root.m40main.gotoAndStop('idle'); } } movieClip 13248 { } movieClip 13250 { frame 211 { stop(); } } movieClip 13254 { } movieClip 13290 { frame 33 { if (_root.live == true) { _root.m40main.gotoAndStop('scopein'); } stop(); } } movieClip 13301 { } movieClip 13303 { } movieClip 13308 { frame 12 { _root.m40fader.gotoAndPlay('start'); } frame 17 { _root.gotoAndStop('m40scoped'); } } movieClip 13317 { frame 1 { _root.m40fader.gotoAndPlay('end'); } frame 17 { _root.m40main.gotoAndStop('chamber'); } } movieClip 13398 { frame 1 { _root.m40fader.gotoAndPlay('end'); } frame 56 { ++_root.m40ammo; } frame 58 { if (_root.m40ammo >= 5) { play(); } else { gotoAndPlay('start'); } } frame 87 { if (_root.live == true) { _root.m40main.gotoAndStop('scopein'); } stop(); } } movieClip 13399 { frame 1 { stop(); } instance of movieClip 13254 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.voice.gotoAndPlay('line1'); _root.m40main.gotoAndStop('scopein'); } } } } instance m40main of movieClip 13399 { onClipEvent (load) { this.gotoAndStop(_root.m40state); } } instance of movieClip 1978 { onClipEvent (enterFrame) { _root.maccuracy = Math.round((_root.mhits / _root.mshots) * 100); } } movieClip 13402 { frame 1 { stop(); } frame 204 { stop(); _root.fader.gotoAndStop('missionfail'); } } movieClip 13408 { frame 1 { stop(); } frame 11 { gotoAndStop(1); } } movieClip 13410 { } instance curs of movieClip 13410 { onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } } movieClip 13423 { } movieClip 13430 { frame 1 { stop(); } instance of movieClip 13423 { onClipEvent (enterFrame) { this.gotoAndStop(_root.windage + 5); } } } instance of movieClip 13430 { onClipEvent (enterFrame) { this.gotoAndStop(_root.m40ammo + 1); _root.m40accuracy = Math.round((_root.m40hits / _root.m40shots) * 100); } } movieClip 13434 { frame 1 { stop(); } frame 136 { stop(); } frame 382 { stop(); } frame 573 { stop(); } frame 911 { stop(); } frame 1091 { stop(); } frame 1304 { stop(); _root.fader.gotoAndStop('missionwin'); if (_root.maccuracy >= 100 && _root.g36cHave == false && _root.emsniperspecialist == false) { _root.g36cHave = true; ++_root.emblems; _root.emsniperspecialist = true; _root.positionArray.push(9); } _root.missionselected = 'kosovobase'; if (_root.mission5a == false) { ++_root.wins; } _root.mission5a = true; } } // unknown tag 88 length 156 movieClip 13439 { } frame 17 { function snipe() { if (_root.bg.zoomed == false) { _root.bg.bg1.bulletactual.play(); _root.bg.bg1.bulletactual._x = _root._x - _root.bg._x - _root.bg.bg1._x + _root.scope._x; _root.bg.bg1.bulletactual._y = _root._y - _root.bg._y - _root.bg.bg1._y + _root.scope._y; _root.bg.bg1.bullettrail.play(); _root.bg.bg1.bullettrail._x = _root._x - _root.bg._x - _root.bg.bg1._x + _root.scope._x; _root.bg.bg1.bullettrail._y = _root._y - _root.bg._y - _root.bg.bg1._y + _root.scope._y; } if (_root.bg.zoomed == true) { _root.bg.bg1.bulletactual.play(); _root.bg.bg1.bulletactual._x = (_root._x - _root.bg.newx - _root.bg.bg1._x + _root.scope._x) / 2; _root.bg.bg1.bulletactual._y = (_root._y - _root.bg.newy - _root.bg.bg1._y + _root.scope._y) / 2; _root.bg.bg1.bullettrail.play(); } } function m40impact() { _root.bg.bg1.m40impact._x = _root.bg.bg1.bulletactual._x; _root.bg.bg1.m40impact._y = _root.bg.bg1.bulletactual._y; _root.bg.bg1.m40impact.gotoAndPlay(2); } } movieClip 13442 { } movieClip 13445 { } movieClip 13479 { frame 1 { stop(); } frame 2 { ++_root.m40hits; ++_root.mhits; ++_root.m40hitsTotal; } frame 10 { if (_root.bg.bg1.guy1.person._currentframe !== 1) { _root.voice.gotoAndPlay('line3'); } else { if (_root.bg.bg1.guy1.person._currentframe == 1) { _root.live = false; _root.voice.gotoAndStop(1); _root.alarm.gotoAndPlay(2); } } } frame 55 { stop(); } frame 65 { stop(); } } movieClip 13480 { instance person of movieClip 13479 { onClipEvent (enterFrame) { if (_root.bg.zoomed == false && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } if (_root.bg.zoomed == true && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } } } } movieClip 13483 { } movieClip 13513 { frame 1 { stop(); } frame 2 { ++_root.m40hits; ++_root.mhits; ++_root.m40hitsTotal; } frame 10 { _root.voice.gotoAndPlay('line2'); } frame 55 { stop(); } frame 65 { stop(); } } movieClip 13514 { instance person of movieClip 13513 { onClipEvent (enterFrame) { if (_root.bg.zoomed == false && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } if (_root.bg.zoomed == true && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } } } } movieClip 13516 { } movieClip 13548 { frame 1 { stop(); } frame 2 { ++_root.m40hits; ++_root.mhits; ++_root.m40hitsTotal; } frame 10 { if (_root.bg.bg1.guy2.person._currentframe !== 1) { _root.voice.gotoAndPlay('line4'); } else { if (_root.bg.bg1.guy2.person._currentframe == 1) { _root.live = false; _root.voice.gotoAndStop(1); _root.alarm.gotoAndPlay(2); } } } frame 55 { stop(); } frame 65 { stop(); } } movieClip 13549 { instance person of movieClip 13548 { onClipEvent (enterFrame) { if (_root.bg.zoomed == false && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } if (_root.bg.zoomed == true && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } } } } movieClip 13560 { } movieClip 13588 { frame 1 { stop(); } frame 2 { ++_root.m40hits; ++_root.mhits; ++_root.m40hitsTotal; } frame 10 { if (_root.bg.bg1.guy4.person._currentframe !== 1) { _root.live = false; _root.voice.gotoAndPlay('line6'); } else { if (_root.bg.bg1.guy4.person._currentframe == 1) { _root.live = false; _root.voice.gotoAndStop(1); _root.alarm.gotoAndPlay(2); } } } frame 49 { stop(); } } movieClip 13589 { instance person of movieClip 13588 { onClipEvent (enterFrame) { if (_root.bg.zoomed == false && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } if (_root.bg.zoomed == true && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } } } } movieClip 13619 { frame 1 { stop(); } frame 2 { ++_root.m40hits; ++_root.mhits; ++_root.m40hitsTotal; } frame 10 { if (_root.bg.bg1.guy3.person._currentframe !== 1) { _root.voice.gotoAndPlay('line5'); } else { if (_root.bg.bg1.guy3.person._currentframe == 1) { _root.live = false; _root.voice.gotoAndStop(1); _root.alarm.gotoAndPlay(2); } } } frame 55 { stop(); } frame 65 { stop(); } } movieClip 13620 { instance person of movieClip 13619 { onClipEvent (enterFrame) { if (_root.bg.zoomed == false && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } if (_root.bg.zoomed == true && this.hitTest(_root.bg.bg1.bulletactual.shotter)) { if (this._currentframe == 1) { this.gotoAndPlay(2); } } } } } movieClip 13622 { } movieClip 13632 { frame 1 { stop(); } instance of movieClip 13622 { onClipEvent (enterFrame) { this._x += _root.windage / 6; } } } movieClip 13633 { instance guy2 of movieClip 13480 { onClipEvent (load) { if (_root.mtarget2 == true) { this.person.gotoAndStop(1); } else { this.person.gotoAndStop(50); } } onClipEvent (enterFrame) { if (this.person._currentframe >= 2) { _root.mtarget2 = false; } } } instance guy1 of movieClip 13514 { onClipEvent (load) { if (_root.mtarget1 == true) { this.person.gotoAndStop(1); } else { this.person.gotoAndStop(55); } } onClipEvent (enterFrame) { if (this.person._currentframe >= 2) { _root.mtarget1 = false; } } } instance guy3 of movieClip 13549 { onClipEvent (load) { if (_root.mtarget3 == true) { this.person.gotoAndStop(1); } else { this.person.gotoAndStop(50); } } onClipEvent (enterFrame) { if (this.person._currentframe >= 2) { _root.mtarget3 = false; } } } instance guy5 of movieClip 13589 { onClipEvent (load) { if (_root.mtarget5 == true) { this.person.gotoAndStop(1); } else { this.person.gotoAndStop(50); } } onClipEvent (enterFrame) { if (this.person._currentframe >= 2) { _root.mtarget5 = false; } } } instance guy4 of movieClip 13620 { onClipEvent (load) { if (_root.mtarget4 == true) { this.person.gotoAndStop(1); } else { this.person.gotoAndStop(50); } } onClipEvent (enterFrame) { if (this.person._currentframe >= 2) { _root.mtarget4 = false; } } } } movieClip 13634 { frame 1 { stop(); } frame 35 { stop(); _root.fader.gotoAndStop('missionfail'); } } movieClip 13635 { frame 1 { num2 = 6; scalex = bg1._xscale; scaley = bg1._yscale; origx = _root.bg._x; origy = _root.bg._y; newx = 0; newy = 0; zoomed = false; onEnterFrame = function () { if (_bg1._x < _xmouse) { bg1._x -= (bg1._x + _xmouse) / num2; } else { bg1._x -= (bg1._x + _xmouse) / num2; } if (bg1._y < _ymouse) { bg1._y -= (bg1._y + _ymouse) / num2; } else { bg1._y -= (bg1._y + _ymouse) / num2; } if (Key.isDown(32) && zoomed == true && _root.zoomer == false) { _root.scope.zoomer.play(); bg1._xscale = scalex; bg1._yscale = scaley; _root.bg._x = origx; _root.bg._y = origy; zoomed = false; } else { if (Key.isDown(32) && zoomed == false && _root.zoomer == false) { _root.scope.zoomer.play(); bg1._xscale = scalex * 2; bg1._yscale = scaley * 2; _root.bg._x = bg1._x + _root.bg._x; _root.bg._y = bg1._y + _root.bg._y; newx = _root.bg._x; newy = _root.bg._y; zoomed = true; } } }; } instance bg1 of movieClip 13633 { onClipEvent (load) { num2 = 6; } onClipEvent (enterFrame) { if (_root._xmouse > _root.bg._x) { _root.bg1._x -= (_root._xmouse + _root.bg1._x) / num2; } else { _root.bg1._x -= (_root._xmouse + _root.bg1._x) / num2; } if (_root._ymouse > _root.bg1._y) { _root.bg1._y -= (_root._ymouse + _root.bg1._y) / num2; } else { _root.bg1._y -= (_root._ymouse + _root.bg1._y) / num2; } } } } movieClip 13638 { frame 1 { _root.zoomer = false; stop(); } frame 2 { _root.zoomer = true; } } movieClip 13641 { } movieClip 13645 { frame 1 { stop(); } frame 2 { --_root.m40ammo; ++_root.m40shots; ++_root.mshots; ++_root.m40shotsTotal; } frame 40 { stop(); } } instance scope of movieClip 13645 { onClipEvent (load) { origx = this._x; origy = this._y; xnum = -5 + random(10); ynum = -5 + random(10); delay = 0; reflex = 0.2; delayNum = 10 + random(20); } onClipEvent (enterFrame) { ++delay; if (delay >= delayNum) { xnum = -5 + random(10); ynum = -5 + random(10); delay = 0; delayNum = 10 + random(20); } if (this._x > origx + xnum) { this._x -= reflex; } if (this._x < origx + xnum) { this._x += reflex; } if (this._y > origy + ynum) { this._y -= reflex; } if (this._y < origy + ynum) { this._y += reflex; } this.onMouseDown = function () { _root.moused = true; }; this.onMouseUp = function () { _root.moused = false; }; if (this._currentframe == 40 && _root.moused == false && _root.bg.alarm._currentframe == 1) { if (_root.m40ammo >= 1) { _root.m40state = 'scopeout'; _root.gotoAndStop('m40anim'); } else { _root.m40state = 'reload'; _root.gotoAndStop('m40anim'); } } if (Key.isDown(82) && this._currentframe == 1 && _root.m40ammo !== 5 && _root.bg.alarm._currentframe == 1) { _root.m40state = 'reload'; _root.gotoAndStop('m40anim'); } } onClipEvent (mouseDown) { if (this._currentframe == 1 && _root.m40ammo >= 1) { _root.snipe(); this.play(); } } } frame 18 { function mousefollow() { _root.follower._x = _xmouse; _root.follower._y = _ymouse; updateAfterEvent(); } stop(); Mouse.hide(); } movieClip 13647 { } movieClip 13709 { } movieClip 13713 { } movieClip 13715 { frame 10 { stop(); } } movieClip 13716 { frame 1 { stop(); } } movieClip 13718 { } movieClip 13720 { frame 10 { stop(); } } movieClip 13721 { frame 1 { stop(); } } movieClip 13723 { } movieClip 13725 { frame 10 { stop(); } } movieClip 13726 { frame 1 { stop(); } } movieClip 13728 { } movieClip 13730 { frame 10 { stop(); } } movieClip 13731 { frame 1 { stop(); } } movieClip 13733 { } movieClip 13758 { } movieClip 13782 { frame 526 { _root.bomb.gotoAndStop('death'); } } movieClip 13783 { frame 1 { stop(); } } movieClip 13785 { } button 13787 { on (rollOver) { _root.follower.gotoAndStop(2); } on (rollOut) { _root.follower.gotoAndStop(1); } on (press) { play(); } } movieClip 13789 { } button 13791 { on (rollOver) { _root.follower.gotoAndStop(2); } on (rollOut) { _root.follower.gotoAndStop(1); } on (press) { gotoAndPlay(30); } } movieClip 13793 { } button 13795 { on (rollOver) { _root.follower.gotoAndStop(2); } on (rollOut) { _root.follower.gotoAndStop(1); } on (press) { gotoAndPlay(197); } } movieClip 13813 { frame 11 { stop(); } } movieClip 13824 { frame 1 { stop(); } instance of movieClip 13716 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 13721 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 13726 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 13731 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } frame 28 { stop(); _root.bomb.gotoAndStop('death'); } frame 63 { _root.bomb.bombgame.timer.secs.stop(); _root.bomb.bombgame.timer.milis.stop(); _root.bomb.bombgame.timer.beeper.stop(); } frame 67 { _root.bomb.heart.stop(); } frame 258 { stop(); if (_root.emexplosiveordnance == false) { ++_root.emblems; _root.emexplosiveordnance = true; _root.emblemget.gotoAndPlay(2); } if (_root.m4Have == false) { _root.positionArray.push(6); _root.m4Have = true; } if (_root.mission3a == false) { ++_root.wins; } _root.mission3a = true; _root.missionselected = 'rsaembassy'; } instance of movieClip 4626 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } if (Key.isDown(38)) { _root.bg.gotoAndStop(1); _root.fader.gotoAndStop(1); } } } frame 283 { _root.bomb.bombgame.timer.secs.stop(); _root.bomb.bombgame.timer.milis.stop(); _root.bomb.bombgame.timer.beeper.stop(); } frame 290 { _root.bomb.heart.stop(); } frame 474 { stop(); if (_root.emexplosiveordnance == false) { ++_root.emblems; _root.emexplosiveordnance = true; _root.emblemget.gotoAndPlay(2); } if (_root.m4Have == false) { _root.positionArray.push(6); _root.m4Have = true; } if (_root.mission3a == false) { ++_root.wins; } _root.mission3a = true; _root.missionselected = 'rsaembassy'; } instance of movieClip 4626 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } if (Key.isDown(38)) { _root.bg.gotoAndStop(1); _root.fader.gotoAndStop(1); } } } } movieClip 13827 { frame 1 { _root.stopAllSounds(); } frame 15 { stop(); } frame 105 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { _root.gotoAndStop('tangiershotel'); } }; } } movieClip 13828 { frame 61 { stop(); } frame 62 { stop(); } } instance bomb of movieClip 13828 { onClipEvent (enterFrame) { if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } movieClip 13831 { frame 1 { stop(); } } instance follower of movieClip 13831 { onClipEvent (mouseMove) { Mouse.hide(); _root.mousefollow(); } } frame 19 { stop(); stopAllSounds(); Mouse.hide(); death = new Sound(); death.attachSound('death'); death.start(); } movieClip 13849 { frame 1 { stop(); } } movieClip 13857 { instance of movieClip 13849 { onClipEvent (load) { num = 11; this.gotoAndStop(random(num) + 1); } } frame 320 { gotoAndPlay(240); } } movieClip 13858 { frame 60 { stop(); } instance of movieClip 13857 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.health = 100; _root.gotoAndStop(_root.missionselected); } if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } } frame 20 { stop(); } movieClip 13861 { } movieClip 13865 { } movieClip 13873 { } movieClip 13876 { } movieClip 13879 { } movieClip 13881 { } movieClip 13883 { } movieClip 13885 { } movieClip 13887 { } movieClip 13890 { } movieClip 13893 { frame 190 { stop(); } } movieClip 13896 { frame 290 { _root.fader.gotoAndStop('missionfail'); } } frame 21 { function follow() { _root.curs._x = _root._xmouse; _root.curs._y = _root._ymouse; updateAfterEvent(); } windage = -4 + random(8); } movieClip 13898 { } movieClip 13900 { } movieClip 13935 { frame 33 { if (_root.fader._currentframe == 1) { _root.m40main.gotoAndStop('scopein'); } } } movieClip 13944 { frame 12 { _root.m40fader.gotoAndPlay('start'); } frame 17 { _root.gotoAndStop('C_snipe'); } } movieClip 13952 { frame 1 { _root.m40fader.gotoAndPlay('end'); } frame 17 { _root.m40main.gotoAndStop('chamber'); } } movieClip 14031 { frame 1 { _root.m40fader.gotoAndPlay('end'); } frame 42 { if (_root.m40c == false) { stop(); } } frame 56 { ++_root.m40ammo; } frame 58 { if (_root.m40ammo >= 5) { play(); } else { gotoAndPlay('start'); } } frame 87 { if (_root.fader._currentframe == 1) { _root.m40main.gotoAndStop('scopein'); } } } movieClip 14032 { frame 1 { stop(); } instance of movieClip 13254 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.m40c = true; _root.m40main.gotoAndStop('scopein'); } } } instance of movieClip 13935 { onClipEvent (load) { if (_root.m40c == false) { this.stop(); } } } instance of movieClip 13944 { onClipEvent (load) { if (_root.m40c == false) { this.stop(); } } } } instance m40main of movieClip 14032 { onClipEvent (load) { this.gotoAndStop(_root.m40state); } onClipEvent (enterFrame) { if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } instance curs of movieClip 13410 { onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } } instance of movieClip 13430 { onClipEvent (enterFrame) { this.gotoAndStop(_root.m40ammo + 1); _root.m40accuracy = Math.round((_root.m40hits / _root.m40shots) * 100); } } instance of movieClip 1978 { onClipEvent (enterFrame) { if (_root.bg.bg1.guy2.person._currentframe > 1 && _root.bg.bg1.guy1.person._currentframe == 1) { _root.fader.gotoAndStop('missionfail'); } if (_root.bg.bg1.guy3.person._currentframe > 1 && _root.bg.bg1.guy2.person._currentframe == 1) { _root.fader.gotoAndStop('missionfail'); } if (_root.bg.bg1.guy4.person._currentframe > 1 && _root.bg.bg1.guy3.person._currentframe == 1) { _root.fader.gotoAndStop('missionfail'); } if (_root.bg.bg1.guy5.person._currentframe > 1 && _root.bg.bg1.guy4.person._currentframe == 1) { _root.fader.gotoAndStop('missionfail'); } if (_root.bg.bg1.guy5.person._currentframe > 1 && _root.bg.bg1.guy4.person._currentframe !== 1) { _root.mission5a = true; _root.missionselected = 'kosovobase'; _root.fader.gotoAndStop('missionwin'); } } } movieClip 14040 { } instance keeper of movieClip 14040 { onClipEvent (load) { delay = 24; count = 0; this.secs = 0; } onClipEvent (enterFrame) { if (_root.m40shots > 0) { this.accuracy = Math.round((_root.m40targets / _root.m40shots) * 100); } this.hits = _root.mhits; ++count; if (_root.mhits < 10) { if (count == delay) { ++this.secs; count = 0; } } else { if (_root.mhits == 10) { _root.m40sec = this.secs; _root.m40c = false; _root.fader.gotoAndStop('c_snipe'); } } } } frame 22 { function snipe() { if (_root.bg.zoomed == false) { _root.bg.bg1.bulletactual.play(); _root.bg.bg1.bulletactual._x = _root._x - _root.bg._x - _root.bg.bg1._x + _root.scope._x; _root.bg.bg1.bulletactual._y = _root._y - _root.bg._y - _root.bg.bg1._y + _root.scope._y; _root.bg.bg1.bullettrail.play(); _root.bg.bg1.bullettrail._x = _root._x - _root.bg._x - _root.bg.bg1._x + _root.scope._x; _root.bg.bg1.bullettrail._y = _root._y - _root.bg._y - _root.bg.bg1._y + _root.scope._y; } if (_root.bg.zoomed == true) { _root.bg.bg1.bulletactual.play(); _root.bg.bg1.bulletactual._x = (_root._x - _root.bg.newx - _root.bg.bg1._x + _root.scope._x) / 2; _root.bg.bg1.bulletactual._y = (_root._y - _root.bg.newy - _root.bg.bg1._y + _root.scope._y) / 2; _root.bg.bg1.bullettrail.play(); } } function m40impact() { _root.bg.bg1.m40impact._x = _root.bg.bg1.bulletactual._x; _root.bg.bg1.m40impact._y = _root.bg.bg1.bulletactual._y; _root.bg.bg1.m40impact.gotoAndPlay(2); } } movieClip 14045 { instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget4 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget4 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget2 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget2 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget1 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget1 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget3 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget3 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget6 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget6 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget7 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } origx = this._x; endx = this._x + 70; accel = 1; leftmove = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget7 = false; this.target.gotoAndPlay(2); } if (leftmove == false) { this._x += accel; } else { this._x -= accel; } if (this._x <= origx && leftmove == true) { leftmove = false; } else { if (this._x >= endx && leftmove == false) { leftmove = true; } } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget5 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } origx = this._x - 25; endx = this._x + 70; accel = 0.5; leftmove = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget5 = false; this.target.gotoAndPlay(2); } if (leftmove == false) { this._x += accel; } else { this._x -= accel; } if (this._x <= origx && leftmove == true) { leftmove = false; } else { if (this._x >= endx && leftmove == false) { leftmove = true; } } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget8 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget8 = false; this.target.gotoAndPlay(2); } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget9 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } origy = this._y; endy = this._y + 30; accel = 0.8; downmove = true; } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget9 = false; this.target.gotoAndPlay(2); } if (downmove == true) { this._y += accel; } else { this._y -= accel; } if (this._y <= origy && downmove == false) { downmove = true; } else { if (this._y >= endy && downmove == true) { downmove = false; } } } } instance of movieClip 11775 { onClipEvent (load) { if (_root.mctarget10 == true) { this.target.gotoAndStop(1); } else { this.target.gotoAndStop(16); } origx = this._x; endx = this._x + 20; accel = 0.4; leftmove = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.bg.bg1.bulletactual.shotter) && this.target._currentframe == 1) { _root.mctarget10 = false; this.target.gotoAndPlay(2); } if (leftmove == false) { this._x += accel; } else { this._x -= accel; } if (this._x <= origx && leftmove == true) { leftmove = false; } else { if (this._x >= endx && leftmove == false) { leftmove = true; } } } } } movieClip 14046 { frame 1 { num2 = 6; scalex = bg1._xscale; scaley = bg1._yscale; origx = _root.bg._x; origy = _root.bg._y; newx = 0; newy = 0; zoomed = false; onEnterFrame = function () { if (_bg1._x < _xmouse) { bg1._x -= (bg1._x + _xmouse) / num2; } else { bg1._x -= (bg1._x + _xmouse) / num2; } if (bg1._y < _ymouse) { bg1._y -= (bg1._y + _ymouse) / num2; } else { bg1._y -= (bg1._y + _ymouse) / num2; } if (Key.isDown(32) && zoomed == true && _root.zoomer == false) { _root.scope.zoomer.play(); bg1._xscale = scalex; bg1._yscale = scaley; _root.bg._x = origx; _root.bg._y = origy; zoomed = false; } else { if (Key.isDown(32) && zoomed == false && _root.zoomer == false) { _root.scope.zoomer.play(); bg1._xscale = scalex * 2; bg1._yscale = scaley * 2; _root.bg._x = bg1._x + _root.bg._x; _root.bg._y = bg1._y + _root.bg._y; newx = _root.bg._x; newy = _root.bg._y; zoomed = true; } } }; } instance bg1 of movieClip 14045 { onClipEvent (load) { num2 = 6; } onClipEvent (enterFrame) { if (_root._xmouse > _root.bg._x) { _root.bg1._x -= (_root._xmouse + _root.bg1._x) / num2; } else { _root.bg1._x -= (_root._xmouse + _root.bg1._x) / num2; } if (_root._ymouse > _root.bg1._y) { _root.bg1._y -= (_root._ymouse + _root.bg1._y) / num2; } else { _root.bg1._y -= (_root._ymouse + _root.bg1._y) / num2; } } } } instance scope of movieClip 13645 { onClipEvent (load) { origx = this._x; origy = this._y; xnum = -5 + random(10); ynum = -5 + random(10); delay = 0; reflex = 0.2; delayNum = 10 + random(20); } onClipEvent (enterFrame) { ++delay; if (delay >= delayNum) { xnum = -5 + random(10); ynum = -5 + random(10); delay = 0; delayNum = 10 + random(20); } if (this._x > origx + xnum) { this._x -= reflex; } if (this._x < origx + xnum) { this._x += reflex; } if (this._y > origy + ynum) { this._y -= reflex; } if (this._y < origy + ynum) { this._y += reflex; } this.onMouseDown = function () { _root.moused = true; }; this.onMouseUp = function () { _root.moused = false; }; if (this._currentframe == 40 && _root.moused == false) { if (_root.m40ammo >= 1) { _root.m40state = 'scopeout'; _root.gotoAndStop('C_anims'); } else { _root.m40state = 'reload'; _root.gotoAndStop('C_anims'); } } if (Key.isDown(82) && this._currentframe == 1 && _root.m40ammo !== 5) { _root.m40state = 'reload'; _root.gotoAndStop('m40anim'); } } onClipEvent (mouseDown) { if (this._currentframe == 1 && _root.m40ammo >= 1) { _root.snipe(); this.play(); } } } frame 23 { function follow() { _root.curs._x = _root._xmouse; _root.curs._y = _root._ymouse; updateAfterEvent(); } stop(); } button 14065 { on (press) { _root.difficulty = 0; _root.mission1a = false; _root.mission2a = false; _root.mission3a = false; _root.mission4a = false; _root.mission5a = false; _root.mission6a = false; _root.mission7a = false; _root.vestHave = false; _root.medHave = false; _root.pHave = false; _root.sdHave = false; _root.m4Have = false; _root.akHave = false; _root.mossHave = false; _root.emmedicalofficer = false; _root.emmunitionsmanagement = false; _root.emcertifiedoperator = false; _root.emaerialcombatant = false; _root.emtargetprecision = false; _root.emcivilprotection = false; _root.empurpleheart = false; _root.emexplosiveordnance = false; _root.primary = 'mp5'; _root.secondary = 'glock'; _root.item1select = 1; _root.item1current = 1; _root.item2select = 1; _root.item2current = 1; _root.missionselected = 'training'; _root.gotoAndStop('menu'); } } button 14066 { on (press) { _root.difficulty = 1; _root.mission1a = false; _root.mission2a = false; _root.mission3a = false; _root.mission4a = false; _root.mission5a = false; _root.mission6a = false; _root.mission7a = false; _root.vestHave = false; _root.medHave = false; _root.pHave = false; _root.sdHave = false; _root.m4Have = false; _root.akHave = false; _root.mossHave = false; _root.emmedicalofficer = false; _root.emmunitionsmanagement = false; _root.emcertifiedoperator = false; _root.emaerialcombatant = false; _root.emtargetprecision = false; _root.emcivilprotection = false; _root.empurpleheart = false; _root.emexplosiveordnance = false; _root.primary = 'mp5'; _root.secondary = 'glock'; _root.item1select = 1; _root.item1current = 1; _root.item2select = 1; _root.item2current = 1; _root.missionselected = 'training'; _root.gotoAndStop('menu'); } } button 14067 { on (press) { _root.difficulty = 2; _root.mission1a = false; _root.mission2a = false; _root.mission3a = false; _root.mission4a = false; _root.mission5a = false; _root.mission6a = false; _root.mission7a = false; _root.vestHave = false; _root.medHave = false; _root.pHave = false; _root.sdHave = false; _root.m4Have = false; _root.akHave = false; _root.mossHave = false; _root.emmedicalofficer = false; _root.emmunitionsmanagement = false; _root.emcertifiedoperator = false; _root.emaerialcombatant = false; _root.emtargetprecision = false; _root.emcivilprotection = false; _root.empurpleheart = false; _root.emexplosiveordnance = false; _root.primary = 'mp5'; _root.secondary = 'glock'; _root.item1select = 1; _root.item1current = 1; _root.item2select = 1; _root.item2current = 1; _root.missionselected = 'training'; _root.gotoAndStop('menu'); } } button 14068 { on (press) { _root.gotoAndStop('menu'); } } movieClip 14069 { frame 71 { stop(); if (_root.difficulty == 0) { if (_root.xmHave == false) { _root.positionArray.push(11); _root.xmHave = true; } } if (_root.difficulty == 1) { if (_root.m60Have == false) { _root.positionArray.push(12); _root.m60Have = true; } } } } instance curs of movieClip 1193 { onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } onClipEvent (mouseDown) { this.box.gotoAndStop(1); } } frame 24 { function follow() { _root.curs._x = _root._xmouse; _root.curs._y = _root._ymouse; updateAfterEvent(); } } instance curs of movieClip 1193 { onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } }




http://swfchan.com/21/100239/info.shtml
Created: 21/3 -2019 10:45:00 Last modified: 21/3 -2019 10:45:00 Server time: 22/12 -2024 20:13:31