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

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

Sierra 7.swf

This is the info page for
Flash #131569

(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 14087 __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 14088 __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 1782 { } movieClip 1785 { } movieClip 1788 { } movieClip 1791 { } movieClip 1794 { } movieClip 1797 { } movieClip 1800 { } movieClip 1805 { } movieClip 1808 { } movieClip 1813 { } movieClip 1815 { 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 1826 { on (press) { gotoAndStop(2); } } button 1827 { on (press) { gotoAndStop(3); } } button 1828 { on (press) { gotoAndStop(4); } } button 1829 { on (press) { gotoAndStop(5); } } button 1830 { on (press) { gotoAndStop(6); } } // unknown tag 88 length 69 // unknown tag 88 length 69 button 1850 { on (press) { _root.menuTheme.stop(); _root.m40state = 'idle'; _root.gotoAndStop('C_anims'); } } button 1851 { on (press) { gotoAndStop(1); } } movieClip 1854 { } button 1858 { on (press) { _root.menuTheme.stop(); _root.gotoAndStop('C_pistol'); } } button 1862 { on (press) { _root.menuTheme.stop(); _root.gotoAndStop('c_arena'); } } button 1866 { on (press) { _root.menuTheme.stop(); _root.gotoAndStop('C_gunrun'); } } button 1869 { on (press) { _root.menuTheme.stop(); _root.gotoAndStop('c_long'); } } movieClip 1870 { frame 1 { stop(); } instance of movieClip 1854 { onClipEvent (load) { this.score = _root.c_snipe_score; } } instance of movieClip 1854 { onClipEvent (load) { this.score = _root.c_pistol_score; } } instance of movieClip 1854 { onClipEvent (load) { this.score = _root.c_arena_score; } } instance of movieClip 1854 { onClipEvent (load) { this.score = _root.c_gunrun_score; } } instance of movieClip 1854 { onClipEvent (load) { this.score = _root.c_long_score; } } } movieClip 1871 { 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 1870 { 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 1871 { onClipEvent (load) { this.callsign = _root.callsign; if (_root.unlocks._currentframe == 1) { this.gotoAndStop('missions'); } else { this.gotoAndStop(1); } } } movieClip 1920 { frame 1 { stop(); } } movieClip 1922 { } 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.cover = false; _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 1924 { } instance of movieClip 1924 { 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 1956 { } movieClip 1963 { frame 1 { stop(); } instance of movieClip 1956 { 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 1966 { } movieClip 1973 { frame 1 { stop(); } instance of movieClip 1966 { 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 1976 { } movieClip 1982 { frame 1 { stop(); } instance of movieClip 1976 { 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 1983 { } movieClip 1985 { } movieClip 1988 { frame 1 { stop(); } frame 2 { play(); } instance of movieClip 1985 { 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 1991 { } movieClip 2235 { } movieClip 2237 { } movieClip 2643 { 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; _root.timing = true; } frame 39 { pausable = false; } frame 41 { stop(); _root.bg.target1.gotoAndPlay(2); } instance of movieClip 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 2643 { 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 2645 { } movieClip 2648 { } movieClip 2650 { } movieClip 2652 { } movieClip 2654 { } movieClip 2656 { } movieClip 2659 { } movieClip 2675 { } movieClip 2683 { } movieClip 2684 { 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 2690 { } instance timer of movieClip 2690 { 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 2695 { } movieClip 2697 { instance of movieClip 2695 { onClipEvent (load) { if (_root.bmpset == false) { this._visible = false; } else { this._visible = true; } } } } movieClip 2709 { 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 2709 { 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 2729 { 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 2735 { } movieClip 2736 { } movieClip 2737 { frame 1 { stop(); } instance of movieClip 1576 { onClipEvent (load) { this.gotoAndStop(_root.crosshair); } } } movieClip 2738 { frame 1 { stop(); } } movieClip 2740 { } movieClip 2744 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 2745 { } movieClip 2749 { 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 2805 { 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 2807 { 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 2815 { 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 2816 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); burstNum = 0; } } movieClip 2818 { } movieClip 2819 { } movieClip 2822 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 2827 { 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 2881 { 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 2882 { 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 2898 { 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 2899 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); burstNum = 0; _root.gun.crosshair.gotoAndStop(1); } } movieClip 2912 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 2920 { 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 2995 { 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 3003 { 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 3006 { frame 4 { if (_root.selector == 0) { _root.selector = 1; } else { _root.selector = 0; } } frame 7 { _parent.gotoAndStop('idle'); } } movieClip 3007 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3022 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3030 { 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 3076 { 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 3086 { 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 3089 { frame 4 { if (_root.selector == 0) { _root.selector = 1; } else { _root.selector = 0; } } frame 7 { _parent.gotoAndStop('idle'); } } movieClip 3090 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3106 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3114 { 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 3180 { 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 3191 { 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 3206 { frame 6 { if (_root.selector == 0) { _root.selector = 1; } else { _root.selector = 0; } } frame 13 { _parent.gotoAndStop('idle'); } } movieClip 3207 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3220 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3227 { 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 3302 { 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 3312 { 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 3324 { frame 5 { if (_root.selector == 0) { _root.selector = 1; } else { _root.selector = 0; } } frame 11 { _parent.gotoAndStop('idle'); } } movieClip 3325 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3327 { } movieClip 3328 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3335 { 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 3384 { 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 3385 { 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 3407 { frame 8 { _root.shotgunshellcall(); } frame 20 { _parent.gotoAndStop('idle'); } } movieClip 3408 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } instance of movieClip 3384 { onClipEvent (mouseDown) { this.endclip = true; } } } movieClip 3422 { frame 15 { _parent.gotoAndStop('idle'); } } movieClip 3431 { 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 3460 { 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 3467 { 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 3468 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } instance of movieClip 3460 { onClipEvent (mouseDown) { this.endclip = true; } } } movieClip 3503 { frame 33 { _parent.gotoAndStop('idle'); } } movieClip 3510 { 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 3513 { 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 3516 { } movieClip 3518 { frame 50 { _parent.gotoAndStop('idle'); } } movieClip 3519 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(1); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3529 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 3535 { 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 3553 { 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 3610 { 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 3673 { 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 3680 { 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 3690 { frame 9 { _parent.gotoAndStop('empty'); } } movieClip 3697 { 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 3698 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3708 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 3715 { 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 3732 { 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 3777 { 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 3819 { 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 3835 { 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 3851 { frame 15 { _parent.gotoAndStop('empty'); } } movieClip 3866 { 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 3867 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 3877 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 3885 { 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 3901 { 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 3949 { 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 4001 { 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 4016 { 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 4032 { frame 17 { _parent.gotoAndStop('empty'); } } movieClip 4046 { 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 4047 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 4057 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 4059 { } movieClip 4066 { 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 4082 { 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 4135 { 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 4195 { 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 4210 { 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 4226 { frame 15 { _parent.gotoAndStop('empty'); } } movieClip 4239 { 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 4240 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 4250 { frame 2 { if (_root.mag2 == 0) { _parent.gotoAndStop('deploy2'); } } frame 4 { _root.mag2 = _root.mag2store; } frame 9 { _parent.gotoAndStop('idle'); } } movieClip 4257 { 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 4273 { 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 4326 { 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 4386 { 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 4400 { 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 4416 { frame 15 { _parent.gotoAndStop('empty'); } } movieClip 4431 { 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 4432 { frame 1 { stop(); } frame 2 { _root.hud.gundisplay.gotoAndStop(15); _root.gun.crosshair.gotoAndStop(1); } } movieClip 4443 { } movieClip 4446 { } movieClip 4454 { } movieClip 4484 { frame 16 { stop(); } instance of movieClip 4454 { onClipEvent (enterFrame) { if (_root.moused == true) { _root.gun.gunsel.hand.play(); } else { _root.gun.gunsel.hand.gotoAndStop(16); } } } instance of movieClip 4454 { onClipEvent (enterFrame) { if (_root.moused == true) { _root.gun.gunsel.hand.play(); } else { _root.gun.gunsel.hand.gotoAndStop(16); } } } instance of movieClip 4454 { 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 4485 { frame 1 { stop(); } } movieClip 4486 { frame 1 { stop(); } instance crosshair of movieClip 2737 { 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 2738 { onClipEvent (mouseDown) { if (_root.mag1 == 0) { this.play(); } } } instance gunsel of movieClip 2816 { 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 2819 { onClipEvent (mouseMove) { Mouse.hide(); _root.movement(); } } instance of movieClip 2738 { onClipEvent (mouseDown) { if (_root.mag1 == 0) { this.play(); } } } instance gunsel of movieClip 2899 { 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 3007 { 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 3090 { 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 3207 { 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 3325 { 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 3408 { 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 3468 { 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 3519 { 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 3698 { 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 2738 { onClipEvent (mouseDown) { if (_root.mag2 == 0) { this.play(); } } } instance gunsel of movieClip 3867 { 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 4047 { 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 4240 { 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 4432 { 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 4486 { 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 4498 { } movieClip 4501 { } movieClip 4502 { frame 1 { stop(); } } movieClip 4507 { } movieClip 4508 { frame 1 { stop(); } } movieClip 4512 { } movieClip 4514 { } movieClip 4516 { frame 1 { stop(); } } movieClip 4519 { 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 4520 { frame 1 { stop(); } } movieClip 4542 { frame 1 { stop(); } } movieClip 4549 { } movieClip 4550 { frame 1 { stop(); } instance of movieClip 4542 { onClipEvent (enterFrame) { this.gotoAndStop(_root.primary); } } instance mag of movieClip 4549 { onClipEvent (enterFrame) { this.gotoAndStop(_root.mags + 1); } } } movieClip 4552 { } movieClip 4562 { frame 1 { stop(); } } movieClip 4563 { instance of movieClip 4562 { onClipEvent (enterFrame) { this.gotoAndStop(_root.secondary); } } } movieClip 4564 { frame 1 { stop(); } frame 15 { stop(); } } movieClip 4566 { } movieClip 4567 { frame 1 { stop(); } frame 5 { _root.newemblem = true; } } movieClip 4571 { } movieClip 4573 { frame 1 { stop(); } } movieClip 4576 { } movieClip 4578 { } movieClip 4580 { } movieClip 4582 { instance heater of movieClip 4498 { onClipEvent (load) { if (_root.primary == 'm60') { this._visible = true; } else { this._visible = false; } } } instance healthbar of movieClip 4508 { onClipEvent (enterFrame) { this.gotoAndStop(_root.health + 1); } } instance of movieClip 4516 { onClipEvent (enterFrame) { this.gotoAndStop(_root.mag2 + 1); } } instance of movieClip 4520 { onClipEvent (enterFrame) { this.gotoAndStop(_root.mag1 + 1); } } instance of movieClip 4576 { onClipEvent (load) { if (_root.vestHave == false) { this._alpha = 33; } else { this._alpha = 100; } } } instance healer of movieClip 4578 { onClipEvent (load) { if (_root.medHave == true) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 4580 { onClipEvent (load) { if (_root.medHave == false) { this._alpha = 33; } else { this._alpha = 100; } } } } instance hud of movieClip 4582 { 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 4584 { } movieClip 4585 { frame 1 { stop(); } } movieClip 4587 { } movieClip 4588 { frame 11 { stop(); } } // unknown tag 88 length 63 movieClip 4592 { } movieClip 4594 { instance of movieClip 4592 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); } } } frame 15 { stop(); } instance of movieClip 4592 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); _root.actions.gotoAndStop('end'); } } } } movieClip 4597 { } movieClip 4598 { instance of movieClip 4597 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); } } } frame 15 { stop(); } instance of movieClip 4597 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); _root.actions.gotoAndStop(1); } } } } movieClip 4602 { } movieClip 4603 { frame 15 { stop(); } } movieClip 4607 { frame 15 { stop(); } } movieClip 4608 { frame 1 { stop(); } instance of movieClip 4603 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.bg.play(); } } } instance of movieClip 4607 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.live = true; _parent.gotoAndStop(1); } } } } movieClip 4610 { } instance follower of movieClip 4610 { onClipEvent (mouseMove) { _root.mousefollow(); } } movieClip 4611 { frame 10 { stop(); _root.gotoAndStop('miss1bomb'); } } movieClip 4614 { frame 4 { stop(); _root.gun.gotoAndStop('empty'); } } movieClip 4629 { } movieClip 4630 { frame 10 { stop(); } instance of movieClip 4629 { onClipEvent (load) { this.shots = _root.mshots; this.hits = _root.mhits; this.accuracy = (_root.mhits / _root.mshots) * 100; this.kills = _root.mkills; } } } movieClip 4633 { frame 10 { stop(); } } movieClip 4639 { 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 4629 { onClipEvent (load) { this.shots = _root.mshots; this.hits = _root.mhits; this.accuracy = (_root.mhits / _root.mshots) * 100; this.kills = _root.mkills; } } } movieClip 4646 { frame 1 { _root.gun.gotoAndStop('empty'); } frame 20 { stop(); } instance of movieClip 4629 { onClipEvent (load) { this.shots = _root.mshots; this.hits = _root.mhits; this.accuracy = (_root.mhits / _root.mshots) * 100; this.kills = _root.mkills; } } } movieClip 4651 { frame 5 { _root.nvg = true; } frame 95 { stop(); } } movieClip 4653 { frame 2 { _root.nvg = false; _root.nvgon = false; } frame 15 { stop(); } } movieClip 4670 { } movieClip 4672 { frame 10 { stop(); } instance of movieClip 4670 { 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 4682 { } movieClip 4683 { frame 45 { stop(); } instance of movieClip 4682 { 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 4691 { } movieClip 4692 { frame 10 { stop(); } instance of movieClip 4691 { 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 4701 { } movieClip 4702 { frame 10 { stop(); } instance of movieClip 4701 { 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 4713 { } movieClip 4714 { frame 20 { stop(); } instance of movieClip 4713 { 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 4717 { frame 15 { _root.gotoAndStop('somaliabomb'); } frame 50 { stop(); } } movieClip 4719 { frame 25 { stop(); stopAllSounds(); _root.gotoAndStop('credits'); } } movieClip 4720 { frame 1 { stop(); } instance of movieClip 4630 { 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 4633 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); } if (Key.isDown(38)) { _root.bg.gotoAndStop(1); } } } instance of movieClip 4639 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4646 { 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 4672 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4683 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4692 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4702 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } instance of movieClip 4714 { onClipEvent (enterFrame) { if (Key.isDown(32) && this._currentframe == 20) { _root.gotoAndStop('menu'); _root.fader.gotoAndStop(1); } } } } button 4721 { on (press) { _root.bg.play(); _root.pauses = false; _root.timing = true; _root.curs._visible = false; _root.gameMenu.gotoAndStop(1); } } button 4727 { on (press) { _root.gotoAndStop('menu'); } } movieClip 4729 { 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 4736 { } instance of movieClip 4736 { 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; _root.cover = 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 4740 { } movieClip 4825 { } movieClip 4827 { } movieClip 4828 { frame 16 { stop(); } } movieClip 4840 { frame 20 { stop(); _parent.gotoAndStop('shoot1'); } } movieClip 4860 { frame 30 { stop(); _parent.gotoAndStop('shoot1'); } } movieClip 4861 { 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 4862 { frame 1 { stop(); } instance of movieClip 4840 { 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 4860 { onClipEvent (load) { this.gotoAndPlay(random(10) + 1); } } instance of movieClip 4861 { 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 4863 { instance main of movieClip 4862 { 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 4920 { frame 20 { stop(); _parent.gotoAndStop('shoot1'); } } movieClip 4927 { frame 30 { stop(); _parent.gotoAndStop('shoot1'); } } movieClip 4928 { 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 4929 { frame 1 { stop(); } instance of movieClip 4920 { 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 4927 { 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 4930 { instance main of movieClip 4929 { 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 5331 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 413 { pausable = true; } frame 455 { pausable = false; } frame 466 { stop(); } instance of movieClip 1991 { 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 1991 { 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.gun.gotoAndStop(_root.primary); _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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 713 { pausable = true; } frame 753 { pausable = false; } frame 759 { stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 785 { pausable = true; } frame 862 { pausable = false; } frame 875 { stop(); } instance of movieClip 1991 { 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 5331 { 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; _root.cover = 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 5336 { } movieClip 6433 { } movieClip 6435 { instance of movieClip 6433 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } } movieClip 6470 { } movieClip 6484 { frame 20 { stop(); _root.bg.gotoAndPlay('boom'); } } movieClip 6532 { frame 69 { ++_root.targetshit; ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } } frame 71 { stop(); } } movieClip 6533 { frame 1 { stop(); } instance of movieClip 6484 { onClipEvent (load) { if (_root.difficulty !== 0) { this.gotoAndPlay(5); } } } } movieClip 6605 { } movieClip 6610 { frame 9 { stop(); } } movieClip 6620 { 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 1991 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 273 { pausable = true; } frame 347 { pausable = false; } frame 363 { stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 385 { pausable = true; } frame 405 { pausable = false; } frame 415 { stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 437 { pausable = true; } frame 549 { pausable = false; } frame 562 { stop(); } instance of movieClip 1991 { 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 1991 { 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.gun.gotoAndStop(_root.primary); _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 1991 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1011 { stop(); } instance of movieClip 1991 { 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 1991 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1252 { pausable = true; } frame 1302 { pausable = false; } frame 1313 { stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1336 { pausable = true; } frame 1359 { pausable = false; } frame 1374 { stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1398 { pausable = true; } frame 1450 { pausable = false; } instance of movieClip 6435 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } frame 1484 { ++_root.targetstotal; } frame 1492 { stop(); } instance of movieClip 6533 { 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 1991 { 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 6620 { 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 1924 { 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; _root.cover = 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 6623 { } movieClip 6662 { } movieClip 6663 { } movieClip 6699 { } movieClip 6751 { } movieClip 6752 { frame 78 { stop(); } } movieClip 8406 { } movieClip 8418 { frame 20 { if (_root.difficulty !== 0) { gotoAndPlay(30); } } frame 38 { _root.bg.hostage2.gotoAndStop(2); } frame 45 { stop(); } } movieClip 8488 { } movieClip 8490 { frame 35 { stop(); } } movieClip 8491 { frame 40 { ++_root.kills; ++_root.mkills; ++_root.targetshit; if (_root.guntype == 'secondary') { ++_root.pistolkills; } stop(); } } movieClip 8492 { frame 1 { stop(); } instance of movieClip 8418 { onClipEvent (load) { if (_root.difficulty !== 0) { this.gotoAndPlay(5); } } } } movieClip 8497 { } movieClip 8517 { frame 30 { if (_root.difficulty !== 0) { gotoAndPlay(40); } } frame 53 { _root.bg.hostage1.gotoAndStop(2); } frame 60 { stop(); } } movieClip 8538 { frame 20 { ++_root.kills; ++_root.mkills; ++_root.targetshit; if (_root.guntype == 'secondary') { ++_root.pistolkills; } stop(); } } movieClip 8539 { frame 1 { stop(); } instance of movieClip 8517 { onClipEvent (load) { if (_root.difficulty !== 0) { this.gotoAndPlay(5); } } } } movieClip 8541 { } movieClip 8544 { } movieClip 8546 { } movieClip 8566 { frame 15 { stop(); ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } _root.fader.gotoAndStop('missionfail'); } } movieClip 8567 { frame 1 { stop(); } } movieClip 8573 { } movieClip 8600 { frame 15 { ++_root.kills; ++_root.mkills; if (_root.guntype == 'secondary') { ++_root.pistolkills; } stop(); _root.fader.gotoAndStop('missionfail'); } } movieClip 8601 { frame 1 { stop(); } } movieClip 8615 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 728 { pausable = true; } frame 778 { pausable = false; } frame 800 { stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 830 { pausable = true; } frame 875 { pausable = false; } frame 924 { stop(); } instance of movieClip 1991 { 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 1991 { 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 1991 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1289 { pausable = true; } frame 1302 { _root.checkpoint = 'check3'; _root.hud.checkpoint.play(); _root.gun.gotoAndStop(_root.primary); _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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 2116 { pausable = true; } instance of movieClip 6435 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 6435 { 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 8539 { 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 8492 { 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 8567 { 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 8601 { 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 1991 { 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 8615 { 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; _root.cover = 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 8619 { } movieClip 9745 { } movieClip 9748 { } movieClip 9749 { } movieClip 9750 { } movieClip 9753 { } movieClip 9821 { 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 9872 { frame 70 { stop(); } } movieClip 9876 { frame 1 { _root.pauses = true; } frame 50 { stop(); _root.fader.gotoAndStop('missionfail'); } } movieClip 9877 { instance of movieClip 9745 { 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 9750 { 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 9887 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 513 { _root.bg.stop(); } instance of movieClip 1991 { 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 1991 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 647 { _root.bg.stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 668 { _root.crouch = false; } frame 672 { _root.bg.stop(); } instance of movieClip 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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; _root.gun.gotoAndStop('empty'); } frame 1200 { _root.nvg = true; stop(); } instance of movieClip 1991 { 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 1991 { 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 1991 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1465 { _root.bg.stop(); } instance of movieClip 1991 { 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 1991 { 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 6435 { onClipEvent (load) { if (_root.difficulty == 0) { this._visible = true; } else { this._visible = false; } } } frame 1777 { _root.nvg = false; } instance enemy of movieClip 9877 { onClipEvent (load) { if (_root.difficulty !== 0) { this.gotoAndPlay(10); } } } frame 1794 { stop(); } } instance bg of movieClip 9887 { 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 1924 { 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 9889 { } 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 9899 { } movieClip 9902 { } movieClip 10261 { } movieClip 10262 { frame 1 { stop(); _root.cover = true; } frame 8 { _root.cover = true; } frame 10 { stop(); _root.cover = false; } } movieClip 10265 { } movieClip 10267 { 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 10672 { frame 1 { stop(); _root.cover = true; } frame 5 { _root.cover = true; } frame 6 { _root.cover = false; } frame 10 { stop(); _root.cover = false; } } movieClip 10682 { 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 10684 { } movieClip 10685 { instance of movieClip 10684 { onClipEvent (enterFrame) { this._xscale = (_root.techHealth / 30) * 100; } } } movieClip 10696 { frame 10 { stop(); } } movieClip 10709 { instance of movieClip 10696 { 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 10710 { frame 1 { stop(); } } movieClip 10711 { } movieClip 10807 { 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 10825 { instance of movieClip 10696 { 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 10826 { frame 1 { stop(); } } movieClip 10827 { } movieClip 10912 { 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 10914 { instance of movieClip 10696 { 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 10915 { frame 1 { stop(); } } movieClip 10916 { } movieClip 11722 { frame 461 { _root.pistolmode = false; _root.mshots = 0; _root.mkills = 0; _root.mhits = 0; _root.maccuracy = 0; _root.cover = false; } 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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.gun.gotoAndStop(_root.primary); _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 10267 { 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 10262 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1202 { pausable = true; } frame 1334 { pausable = false; } instance of movieClip 10672 { 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 10672 { 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 1991 { onClipEvent (enterFrame) { if (_root.techHealth < 20) { _root.live = false; _root.bg.play(); } } } frame 1437 { pausable = true; } frame 1506 { pausable = false; } 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 10672 { 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 1991 { onClipEvent (enterFrame) { if (_root.techHealth < 10) { _root.live = false; _root.bg.play(); } } } frame 1538 { pausable = true; } frame 1600 { pausable = false; } 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 10672 { 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 1991 { onClipEvent (enterFrame) { if (_root.techHealth <= 0) { _root.live = false; _root.bg.play(); } } } frame 1636 { pausable = false; _root.cover = false; } frame 1759 { pausable = false; } frame 1765 { _root.bg.stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1785 { pausable = true; } frame 1864 { pausable = false; } frame 1869 { _root.crouch = false; } frame 1875 { _root.bg.stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 1896 { pausable = true; } frame 1899 { _root.crouch = true; } frame 1983 { pausable = false; } frame 1987 { _root.bg.stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit == _root.targetstotal) { _root.bg.play(); } } } frame 2005 { pausable = true; } frame 2104 { pausable = false; } frame 2106 { stop(); _root.actions.gotoAndStop('door'); } frame 2109 { _root.actions.gotoAndStop(1); } frame 2122 { _root.bg.stop(); } instance of movieClip 1991 { 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 11722 { 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; _root.cover = 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 11787 { } movieClip 11788 { 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 11789 { instance target of movieClip 11788 { 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 13041 { 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 13041 { 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 1924 { 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 13067 { } movieClip 13078 { frame 1 { _root.live = false; } instance of movieClip 13067 { onClipEvent (load) { this.wavenum = _root.wave; } } frame 117 { stop(); _root.live = true; } } movieClip 13079 { frame 1 { stop(); } } instance of movieClip 13079 { 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; _root.cover = 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 13093 { 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 165 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 245 { 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 313 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 438 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } } frame 442 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 446 { if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 450 { if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 454 { if (_root.bg.target5.target._currentframe == 1) { ++_root.cmissed; } } frame 488 { if (_root.bg.target6.target._currentframe == 1) { ++_root.cmissed; } } frame 492 { if (_root.bg.target7.target._currentframe == 1) { ++_root.cmissed; } } frame 537 { if (_root.bg.target8.target._currentframe == 1) { ++_root.cmissed; } } frame 541 { if (_root.bg.target9.target._currentframe == 1) { ++_root.cmissed; } } frame 667 { if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 687 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 713 { if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 733 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } } frame 813 { if (_root.bg.target5.target._currentframe == 1) { ++_root.cmissed; } } frame 857 { if (_root.bg.target6.target._currentframe == 1) { ++_root.cmissed; } } frame 887 { if (_root.bg.target7.target._currentframe == 1) { ++_root.cmissed; } } frame 902 { if (_root.bg.target9.target._currentframe == 1) { ++_root.cmissed; } } frame 912 { if (_root.bg.target8.target._currentframe == 1) { ++_root.cmissed; } } frame 1018 { 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 1078 { 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 1138 { 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 1243 { if (_root.bg.target1.target._currentframe == 1) { ++_root.cmissed; } } frame 1273 { if (_root.bg.target2.target._currentframe == 1) { ++_root.cmissed; } } frame 1303 { if (_root.bg.target3.target._currentframe == 1) { ++_root.cmissed; } } frame 1328 { if (_root.bg.target4.target._currentframe == 1) { ++_root.cmissed; } } frame 1363 { if (_root.bg.target5.target._currentframe == 1) { ++_root.cmissed; } } frame 1398 { if (_root.bg.target6.target._currentframe == 1) { ++_root.cmissed; } } frame 1467 { if (_root.bg.target7.target._currentframe == 1) { ++_root.cmissed; } } frame 1503 { if (_root.bg.target8.target._currentframe == 1) { ++_root.cmissed; } } frame 1532 { if (_root.bg.target9.target._currentframe == 1) { ++_root.cmissed; } } frame 1543 { _root.gun.gotoAndStop('holster'); } frame 1551 { stop(); _root.gun.gotoAndStop('empty'); _root.fader.gotoAndStop('c_pistol'); } } instance bg of movieClip 13093 { 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.cover = 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 13098 { } movieClip 13099 { instance of movieClip 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 13100 { instance of movieClip 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 13101 { instance of movieClip 11789 { 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 11789 { 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 11789 { 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 11789 { 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 13102 { instance of movieClip 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 13103 { instance of movieClip 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 13104 { instance of movieClip 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 13105 { 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 13098 { 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 1991 { onClipEvent (enterFrame) { if (_root.targetshit >= _root.targetstotal) { _root.bg.play(); } } } frame 35 { stop(); } instance of movieClip 1991 { onClipEvent (enterFrame) { if (_root.targetshit >= _root.targetstotal) { _root.bg.play(); } } } frame 50 { stop(); } instance of movieClip 1991 { 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 13105 { 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 13079 { 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 13108 { } movieClip 13110 { 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 13110 { 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 1924 { 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 13112 { } movieClip 13113 { frame 1 { stop(); _root.cover = true; } frame 8 { stop(); _root.cover = true; } frame 10 { stop(); _root.cover = false; } } instance coverClip of movieClip 13113 { 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 13079 { 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; _root.cover = 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 13123 { frame 15 { stop(); } } movieClip 13124 { frame 218 { _root.gun.gotoAndStop(_root.primary); } instance of movieClip 13123 { 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 13124 { 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 13131 { } movieClip 13132 { } movieClip 13136 { frame 20 { stop(); } } movieClip 13137 { } movieClip 13140 { } movieClip 13142 { } movieClip 13157 { frame 26 { stop(); } } movieClip 13159 { } movieClip 13161 { frame 25 { stop(); } } movieClip 13163 { } movieClip 13164 { frame 18 { stop(); } } movieClip 13171 { 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 13173 { } movieClip 13177 { } movieClip 13258 { frame 377 { _root.m40main.gotoAndStop('idle'); } } movieClip 13262 { } movieClip 13264 { frame 211 { stop(); } } movieClip 13268 { } movieClip 13304 { frame 33 { if (_root.live == true) { _root.m40main.gotoAndStop('scopein'); } stop(); } } movieClip 13315 { } movieClip 13317 { } movieClip 13322 { frame 12 { _root.m40fader.gotoAndPlay('start'); } frame 17 { _root.gotoAndStop('m40scoped'); } } movieClip 13331 { frame 1 { _root.m40fader.gotoAndPlay('end'); } frame 17 { _root.m40main.gotoAndStop('chamber'); } } movieClip 13412 { 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 13413 { frame 1 { stop(); } instance of movieClip 13268 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.voice.gotoAndPlay('line1'); _root.m40main.gotoAndStop('scopein'); } } } } instance m40main of movieClip 13413 { onClipEvent (load) { this.gotoAndStop(_root.m40state); } } instance of movieClip 1991 { onClipEvent (enterFrame) { _root.maccuracy = Math.round((_root.mhits / _root.mshots) * 100); } } movieClip 13416 { frame 1 { stop(); } frame 204 { stop(); _root.fader.gotoAndStop('missionfail'); } } movieClip 13422 { frame 1 { stop(); } frame 11 { gotoAndStop(1); } } movieClip 13424 { } instance curs of movieClip 13424 { onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } } movieClip 13437 { } movieClip 13444 { frame 1 { stop(); } instance of movieClip 13437 { onClipEvent (enterFrame) { this.gotoAndStop(_root.windage + 5); } } } instance of movieClip 13444 { onClipEvent (enterFrame) { this.gotoAndStop(_root.m40ammo + 1); _root.m40accuracy = Math.round((_root.m40hits / _root.m40shots) * 100); } } movieClip 13448 { 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 13453 { } 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 13456 { } movieClip 13459 { } movieClip 13493 { 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 13494 { instance person of movieClip 13493 { 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 13497 { } movieClip 13527 { frame 1 { stop(); } frame 2 { ++_root.m40hits; ++_root.mhits; ++_root.m40hitsTotal; } frame 10 { _root.voice.gotoAndPlay('line2'); } frame 55 { stop(); } frame 65 { stop(); } } movieClip 13528 { instance person of movieClip 13527 { 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 13530 { } movieClip 13562 { 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 13563 { instance person of movieClip 13562 { 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 13574 { } movieClip 13602 { 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 13603 { instance person of movieClip 13602 { 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 13633 { 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 13634 { instance person of movieClip 13633 { 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 13636 { } movieClip 13646 { frame 1 { stop(); } instance of movieClip 13636 { onClipEvent (enterFrame) { this._x += _root.windage / 6; } } } movieClip 13647 { instance guy2 of movieClip 13494 { 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 13528 { 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 13563 { 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 13603 { 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 13634 { 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 13648 { frame 1 { stop(); } frame 35 { stop(); _root.fader.gotoAndStop('missionfail'); } } movieClip 13649 { 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 13647 { 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 13652 { frame 1 { _root.zoomer = false; stop(); } frame 2 { _root.zoomer = true; } } movieClip 13655 { } movieClip 13659 { frame 1 { stop(); } frame 2 { --_root.m40ammo; ++_root.m40shots; ++_root.mshots; ++_root.m40shotsTotal; } frame 40 { stop(); } } instance scope of movieClip 13659 { 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 13661 { } movieClip 13723 { } movieClip 13727 { } movieClip 13729 { frame 10 { stop(); } } movieClip 13730 { frame 1 { stop(); } } movieClip 13732 { } movieClip 13734 { frame 10 { stop(); } } movieClip 13735 { frame 1 { stop(); } } movieClip 13737 { } movieClip 13739 { frame 10 { stop(); } } movieClip 13740 { frame 1 { stop(); } } movieClip 13742 { } movieClip 13744 { frame 10 { stop(); } } movieClip 13745 { frame 1 { stop(); } } movieClip 13747 { } movieClip 13772 { } movieClip 13796 { frame 526 { _root.bomb.gotoAndStop('death'); } } movieClip 13797 { frame 1 { stop(); } } movieClip 13799 { } button 13801 { on (rollOver) { _root.follower.gotoAndStop(2); } on (rollOut) { _root.follower.gotoAndStop(1); } on (press) { play(); } } movieClip 13803 { } button 13805 { on (rollOver) { _root.follower.gotoAndStop(2); } on (rollOut) { _root.follower.gotoAndStop(1); } on (press) { gotoAndPlay(30); } } movieClip 13807 { } button 13809 { on (rollOver) { _root.follower.gotoAndStop(2); } on (rollOut) { _root.follower.gotoAndStop(1); } on (press) { gotoAndPlay(197); } } movieClip 13827 { frame 11 { stop(); } } movieClip 13838 { frame 1 { stop(); } instance of movieClip 13730 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 13735 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 13740 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 13745 { 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 4639 { 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 4639 { 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 13841 { frame 1 { _root.stopAllSounds(); } frame 105 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { _root.gotoAndStop('tangiershotel'); } }; } } movieClip 13842 { frame 61 { stop(); } frame 62 { stop(); } } instance bomb of movieClip 13842 { onClipEvent (enterFrame) { if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } movieClip 13845 { frame 1 { stop(); } } instance follower of movieClip 13845 { onClipEvent (mouseMove) { Mouse.hide(); _root.mousefollow(); } } frame 19 { stop(); stopAllSounds(); Mouse.hide(); death = new Sound(); death.attachSound('death'); death.start(); } movieClip 13863 { frame 1 { stop(); } } movieClip 13871 { instance of movieClip 13863 { onClipEvent (load) { num = 11; this.gotoAndStop(random(num) + 1); } } frame 320 { gotoAndPlay(240); } } movieClip 13872 { frame 60 { stop(); } instance of movieClip 13871 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.health = 100; _root.gotoAndStop(_root.missionselected); } if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } } frame 20 { stop(); } movieClip 13875 { } movieClip 13879 { } movieClip 13887 { } movieClip 13890 { } movieClip 13893 { } movieClip 13895 { } movieClip 13897 { } movieClip 13899 { } movieClip 13901 { } movieClip 13904 { } movieClip 13907 { frame 190 { stop(); } } movieClip 13910 { 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 13912 { } movieClip 13914 { } movieClip 13949 { frame 33 { if (_root.fader._currentframe == 1) { _root.m40main.gotoAndStop('scopein'); } } } movieClip 13958 { frame 12 { _root.m40fader.gotoAndPlay('start'); } frame 17 { _root.gotoAndStop('C_snipe'); } } movieClip 13966 { frame 1 { _root.m40fader.gotoAndPlay('end'); } frame 17 { _root.m40main.gotoAndStop('chamber'); } } movieClip 14045 { 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 14046 { frame 1 { stop(); } instance of movieClip 13268 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.m40c = true; _root.m40main.gotoAndStop('scopein'); } } } instance of movieClip 13949 { onClipEvent (load) { if (_root.m40c == false) { this.stop(); } } } instance of movieClip 13958 { onClipEvent (load) { if (_root.m40c == false) { this.stop(); } } } } instance m40main of movieClip 14046 { onClipEvent (load) { this.gotoAndStop(_root.m40state); } onClipEvent (enterFrame) { if (Key.isDown(40)) { _root.gotoAndStop('menu'); } } } instance curs of movieClip 13424 { onClipEvent (enterFrame) { Mouse.hide(); _root.follow(); } } instance of movieClip 13444 { onClipEvent (enterFrame) { this.gotoAndStop(_root.m40ammo + 1); _root.m40accuracy = Math.round((_root.m40hits / _root.m40shots) * 100); } } instance of movieClip 1991 { 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 14054 { } instance keeper of movieClip 14054 { 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 14059 { instance of movieClip 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 11789 { 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 14060 { 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 14059 { 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 13659 { 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 14079 { 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 14080 { 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 14081 { 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 14082 { on (press) { _root.gotoAndStop('menu'); } } movieClip 14083 { 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/27/131569/info.shtml
Created: 21/2 -2019 05:55:08 Last modified: 21/2 -2019 05:55:08 Server time: 16/04 -2024 21:09:59