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

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

Jokela High Massacre.swf

This is the info page for
Flash #199030

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 { frame 1 { stop(); } } movieClip 5 { } movieClip 7 { } movieClip 9 lazerburn { } movieClip 10 badlazer { frame 1 { speed = 10; lazerlife = 0; lazerburned = 0; myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x); myDegrees = Math.round(myRadians * 180 / Math.PI); this._rotation = myDegrees + 90; cannonx = _global.topcannonx; cannony = _global.topcannony; playerx = _global.playerx; playery = _global.playery; this.onEnterFrame = function () { if (this.hitTest(_root.warrior.car)) { _root.eyeblink.play(); this.removeMovieClip(); } if (this.hitTest(_root.redwall)) { this.removeMovieClip(); } lazerlife += 1; if (lazerlife >= 200) { this.removeMovieClip(); } if (_global.gameover == 1) { this.removeMovieClip(); } if (Key.isDown(65) && lazerburned == 0) { this._x += _global.cameramoveright; } if (Key.isDown(68) && lazerburned == 0) { this._x -= _global.cameramoveleft; } if (Key.isDown(83) && lazerburned == 0) { this._y -= _global.cameramovedown; } if (Key.isDown(87) && lazerburned == 0) { this._y += _global.cameramoveup; } }; stop(); } instance of movieClip 2 { onClipEvent (load) { lazerlife = 0; } onClipEvent (enterFrame) { lazerlife += 1; if (lazerlife < 175) { this._y -= 10; } else { _parent.removeMovieClip(); this.removeMovieClip(); this.gotoAndStop(2); } } } frame 4 { } frame 5 { gotoAndStop(7); } frame 6 { decallife = 0; this.onEnterFrame = function () { decallife += 1; if (decallife > 200) { this.removeMovieClip(); } if (Key.isDown(65)) { this._x += _global.cameramove; } if (Key.isDown(68)) { this._x -= _global.cameramove; } if (Key.isDown(83)) { this._y -= _global.cameramove; } if (Key.isDown(87)) { this._y += _global.cameramove; } }; stop(); } frame 7 { this.onEnterFrame = function () { this.removeMovieClip(); }; } } movieClip 11 lazer { frame 1 { speed = 20; lazerlife = 0; lazerburned = 0; cannonx = _global.topcannonx; cannony = _global.topcannony; cannonxcoo = Math.sin(cannonx * Math.PI / 180); cannonycoo = Math.cos(cannony * Math.PI / 180); this.onEnterFrame = function () { lazerlife += 1; if (lazerburned == 0) { _global.bulletfiring = 1; this._x += speed * cannonxcoo; this._y -= speed * cannonycoo; } if (lazerlife > 40) { lazerburned = 1; _global.bulletfiring = 0; lazerlife = 0; this.removeMovieClip(); } if (Key.isDown(65) && lazerburned == 0) { this._x += _global.cameramoveright; } if (Key.isDown(68) && lazerburned == 0) { this._x -= _global.cameramoveleft; } if (Key.isDown(83) && lazerburned == 0) { this._y -= _global.cameramovedown; } if (Key.isDown(87) && lazerburned == 0) { this._y += _global.cameramoveup; } }; stop(); } frame 4 { } frame 5 { gotoAndStop(7); } frame 6 { this.removeMovieClip(); } frame 7 { this.removeMovieClip(); } } movieClip 13 enemy { } movieClip 15 food { } movieClip 25 { frame 60 { gotoAndPlay(1); } } movieClip 26 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 29 { } movieClip 46 { } movieClip 47 { frame 10 { _global.kills += 1; stop(); } } movieClip 73 { frame 4 { _global.killcount += 1; } frame 33 { stop(); } } movieClip 75 badgreyship { frame 1 { badshipend = 0; badshipalive = 1; health = 1; badshipgreyxspeed = 0.6; badshipgreyyspeed = 0.6; chaserengage = 1; badshipgrey1x = this._x; badshipgrey1y = this._y; codetimer = 0; badshipgreychase = 1; badshipgreyalive = 1; randomdirectionvar = random(100); randomdirectionvar2 = random(100); randomdirectionvar3 = random(100); randomdirectionvar4 = random(100); this.onEnterFrame = function () { if (_global.gameover == 1) { this.removeMovieClip(); } if (badshipalive == 1) { if (codetimer < 500) { codetimer += 1; badshiprandomlazer = random(150); } if (codetimer > 500) { codetimer += 1; badshiprandomlazer = 0; } if (codetimer > 1000) { codetimer = 0; } if (badshiprandomlazer == 5) { if (bullettimer < 20) { bullettimer += 1; } if (bullettimer >= 20) { badshiprandomlazer = 0; bullettimer = 0; } } if (this.hitTest(_root.lazer0) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer0.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer1) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer1.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer2) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer2.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer3) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer3.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer4) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer4.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer5) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer5.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer6) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer6.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer7) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer7.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer8) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer8.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer9) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer9.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer10) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer10.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer11) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer11.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer12) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer12.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer13) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer13.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer14) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer14.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer15) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer15.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer16) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer16.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer17) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer17.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer18) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer18.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer19) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer19.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer20) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer20.play(); _global.hostility = 1; } this._x = badshipgrey1x; _global.badshipx = badshipgrey1x; this._y = badshipgrey1y; _global.badshipy = badshipgrey1y; if (Key.isDown(65)) { badshipgrey1x += _global.cameramoveright; } if (Key.isDown(68)) { badshipgrey1x -= _global.cameramoveleft; } if (Key.isDown(83)) { badshipgrey1y -= _global.cameramovedown; } if (Key.isDown(87)) { badshipgrey1y += _global.cameramoveup; } if (health <= 0) { this.gotoAndStop(35); badshipalive = 0; badshipgreyxspeed = 0; badshipgreyyspeed = 0; badshipgreychase = 0; } } if (health > 0) { if (chaserengage == 1) { badshipgreychase = 1; chaserengage = 0; } } if (badshiprandomlazer == 5 && badshipalive == 1 && badshipgreychase == 1 && _global.hostility == 1) { ++_global.badlazeri; _root.attachMovie('badlazer', 'badlazer' + _global.badlazeri, _root.getNextHighestDepth()); _root['badlazer' + _global.badlazeri]._x = this._x; _root['badlazer' + _global.badlazeri]._y = this._y; } if (badshipgreychase == 1) { if (_global.playerx < badshipgrey1x + randomdirectionvar2 && badshipgreyalive == 1) { badshipgrey1x -= badshipgreyxspeed; } if (_global.playerx > badshipgrey1x + randomdirectionvar3 && badshipgreyalive == 1) { badshipgrey1x += badshipgreyxspeed; } if (_global.playery < badshipgrey1y + randomdirectionvar4 && badshipgreyalive == 1) { badshipgrey1y -= badshipgreyyspeed; } if (_global.playery - randomdirectionvar > badshipgrey1y && badshipgreyalive == 1) { badshipgrey1y += badshipgreyyspeed; } } }; stop(); } instance of movieClip 26 { onClipEvent (load) { badshipalive = 1; health = 1; moneygive = 0; movementsensor = 0; xload = this._x; yload = this._y; } onClipEvent (enterFrame) { this.gotoAndStop(2); if (xload2 > xload) { this.gotoAndStop(2); } if (xload2 < xload) { this.gotoAndStop(2); } } } frame 2 { badshipalive = 0; badshipgreyxspeed = 0; badshipgreyyspeed = 0; badshipend = 0; badshipalive = 1; health = 1; badshipgreyxspeed = 0.3; badshipgreyyspeed = 0.6; chaserengage = 1; badshipgrey1x = this._x; badshipgrey1y = this._y; badshipgreychase = 1; badshipgreyalive = 1; this.onEnterFrame = function () { this._x = badshipgrey1x; this._y = badshipgrey1y; if (Key.isDown(65)) { badshipgrey1x += _global.cameramoveright; } if (Key.isDown(68)) { badshipgrey1x -= _global.cameramoveleft; } if (Key.isDown(83)) { badshipgrey1y -= _global.cameramovedown; } if (Key.isDown(87)) { badshipgrey1y += _global.cameramoveup; } if (_global.gameover == 1) { this.removeMovieClip(); } }; } frame 28 { badshipalive = 0; badshipgreyxspeed = 0; badshipgreyyspeed = 0; badshipend = 0; badshipalive = 1; health = 1; badshipgreyxspeed = 0.3; badshipgreyyspeed = 0.6; chaserengage = 1; badshipgrey1x = this._x; badshipgrey1y = this._y; bodytimer = 0; badshipgreychase = 1; badshipgreyalive = 1; this.onEnterFrame = function () { if (_global.gameover == 1) { this.removeMovieClip(); } this._x = badshipgrey1x; this._y = badshipgrey1y; if (Key.isDown(65)) { badshipgrey1x += _global.cameramoveright; } if (Key.isDown(68)) { badshipgrey1x -= _global.cameramoveleft; } if (Key.isDown(83)) { badshipgrey1y -= _global.cameramovedown; } if (Key.isDown(87)) { badshipgrey1y += _global.cameramoveup; } }; stop(); } frame 29 { gotoAndStop(28); } frame 30 { gotoAndStop(29); } frame 31 { gotoAndStop(29); } frame 32 { gotoAndStop(29); } frame 33 { gotoAndStop(29); } frame 34 { gotoAndStop(29); } frame 35 { badshipalive = 0; badshipgreyxspeed = 0; badshipgreyyspeed = 0; badshipend = 0; badshipalive = 1; health = 1; badshipgreyxspeed = 0.3; badshipgreyyspeed = 0.6; chaserengage = 1; badshipgrey1x = this._x; badshipgrey1y = this._y; badshipgreychase = 1; badshipgreyalive = 1; bodytimer = 0; coinshow = 0; killcountadd = 0; if (killcountadd == 0) { killcountadd = 1; } this.onEnterFrame = function () { if (_global.gameover == 1) { this.removeMovieClip(); } this._x = badshipgrey1x; this._y = badshipgrey1y; if (Key.isDown(65)) { badshipgrey1x += _global.cameramoveright; } if (Key.isDown(68)) { badshipgrey1x -= _global.cameramoveleft; } if (Key.isDown(83)) { badshipgrey1y -= _global.cameramovedown; } if (Key.isDown(87)) { badshipgrey1y += _global.cameramoveup; } }; stop(); } frame 36 { gotoAndStop(35); this.enemy1shotdeath.gotoAndStop(33); } frame 37 { gotoAndStop(35); } frame 38 { gotoAndStop(35); } } movieClip 110 { frame 35 { this.removeMovieClip(); stop(); } } movieClip 111 { frame 86 { stop(); } } movieClip 112 tanktop { frame 1 { _global.cannonbolti = 0; badshipalive = 1; cannonalive = 1; health = 25; tanktimer = 0; myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x); myDegrees = Math.round(myRadians * 180 / Math.PI); this._rotation = myDegrees + 90; this.onEnterFrame = function () { tanktimer += 1; if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (_global.bulletfiring == 1) { if (this.hitTest(_root.lazer0) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer0.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer1) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer1.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer2) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer2.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer3) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer3.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer4) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer4.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer5) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer5.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer6) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer6.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer7) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer7.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer8) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer8.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer9) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer9.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer10) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer10.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer11) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer11.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer12) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer12.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer13) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer13.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer14) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer14.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer15) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer15.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer16) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer16.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer17) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer17.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer18) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer18.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer19) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer19.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer20) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer20.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer21) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer21.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer22) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer22.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer23) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer23.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer24) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer24.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer25) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer25.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer26) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer26.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer27) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer27.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer28) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer28.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer29) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer29.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer30) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer30.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer31) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer31.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer32) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer32.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer33) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer33.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer34) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer34.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer35) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer35.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer36) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer36.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer37) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer37.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer38) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer38.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer39) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer39.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer40) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer40.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer41) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer41.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer42) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer42.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer43) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer43.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer44) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer44.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer45) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer45.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer46) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer46.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer47) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer47.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer48) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer48.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer49) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer49.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer50) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer50.play(); _global.hostility = 1; } } if (_global.hostility == 1 && tanktimer >= 200 && cannonalive == 1) { tanktimer = 0; _root.attachMovie('cannonbolt', 'cannonbolt' + _global.cannonbolti, _root.getNextHighestDepth()); _root['cannonbolt' + _global.cannonbolti]._x = this._x; _root['cannonbolt' + _global.cannonbolti]._y = this._y; ++_global.cannonbolti; } if (_global.walking == 1) { myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x); myDegrees = Math.round(myRadians * 180 / Math.PI); this._rotation = myDegrees + 90; } if (Key.isDown(65)) { this._x += _global.cameramoveright; } if (Key.isDown(68)) { this._x -= _global.cameramoveleft; } if (Key.isDown(83)) { this._y -= _global.cameramovedown; } if (Key.isDown(87)) { this._y += _global.cameramoveup; } }; stop(); } frame 2 { cannonalive = 0; } frame 49 { badshipalive = 0; } frame 90 { this.onEnterFrame = function () { this._x = -9999; this._y = -9999; this.removeMovieClip(); }; stop(); } } movieClip 114 { frame 1 { stop(); } frame 2 { this.removeMovieClip(); stop(); } } movieClip 115 cannonbolt { frame 1 { speed = 10; lazerlife = 0; lazerburned = 0; myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x); myDegrees = Math.round(myRadians * 180 / Math.PI); this._rotation = myDegrees + 90; cannonx = _global.topcannonx; cannony = _global.topcannony; playerx = _global.playerx; playery = _global.playery; this.onEnterFrame = function () { lazerlife += 1; if (lazerburned == 0) { } if (lazerlife > 175) { lazerburned = 1; lazerlife = 0; gotoAndPlay(2); } if (this._y > 700) { } if (this._x > 900) { } if (this._x < 0) { } if (Key.isDown(65) && lazerburned == 0) { this._x += _global.cameramoveright; } if (Key.isDown(68) && lazerburned == 0) { this._x -= _global.cameramoveleft; } if (Key.isDown(83) && lazerburned == 0) { this._y -= _global.cameramovedown; } if (Key.isDown(87) && lazerburned == 0) { this._y += _global.cameramoveup; } }; stop(); } instance of movieClip 114 { onClipEvent (load) { lazerlife = 0; } onClipEvent (enterFrame) { lazerlife += 1; if (lazerlife < 175) { this._y -= 5; } else { this._y -= 9999; this.gotoAndStop(2); this.removeMovieClip(); } } } frame 4 { } frame 5 { gotoAndStop(7); } frame 6 { decallife = 0; this.onEnterFrame = function () { decallife += 1; if (decallife > 200) { this.removeMovieClip(); } if (Key.isDown(65)) { this._x += _global.cameramove; } if (Key.isDown(68)) { this._x -= _global.cameramove; } if (Key.isDown(83)) { this._y -= _global.cameramove; } if (Key.isDown(87)) { this._y += _global.cameramove; } }; stop(); } frame 7 { this.removeMovieClip(); } } movieClip 118 expbarrell { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer0.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer1) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer1.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer2) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer2.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer3) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer3.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer4) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer4.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer5) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer5.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer6) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer6.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer7) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer7.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer8) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer8.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer9) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer9.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer10) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer10.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer11) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer11.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer12) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer12.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer13) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer13.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer14) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer14.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer15) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer15.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer16) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer16.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer17) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer17.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer18) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer18.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer19) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer19.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer20) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer20.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer21) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer21.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer22) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer22.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer23) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer23.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer24) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer24.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer25) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer25.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer26) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer26.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer27) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer27.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer28) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer28.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer29) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer29.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer30) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer30.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer31) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer31.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer32) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer32.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer33) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer33.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer34) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer34.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer35) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer35.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer36) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer36.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer37) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer37.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer38) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer38.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer39) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer39.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer40) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer40.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer41) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer41.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer42) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer42.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer43) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer43.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer44) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer44.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer45) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer45.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer46) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer46.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer47) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer47.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer48) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer48.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer49) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer49.play(); _global.hostility = 1; } if (this.hitTest(_root.lazer50) && badshipalive == 1) { health -= 1; _global.score += 10; _root.lazer50.play(); _global.hostility = 1; } if (Key.isDown(65)) { this._x += _global.cameramoveright; } if (Key.isDown(68)) { this._x -= _global.cameramoveleft; } if (Key.isDown(83)) { this._y -= _global.cameramovedown; } if (Key.isDown(87)) { this._y += _global.cameramoveup; } }; stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () { if (this.hitTest(_root.badgreyship0) && explosiondone == 0) { _global.score += 10; _root.badgreyship0.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship1) && explosiondone == 0) { _global.score += 10; _root.badgreyship1.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship2) && explosiondone == 0) { _global.score += 10; _root.badgreyship2.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship3) && explosiondone == 0) { _global.score += 10; _root.badgreyship3.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship4) && explosiondone == 0) { _global.score += 10; _root.badgreyship4.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship5) && explosiondone == 0) { _global.score += 10; _root.badgreyship5.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship6) && explosiondone == 0) { _global.score += 10; _root.badgreyship6.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship7) && explosiondone == 0) { _global.score += 10; _root.badgreyship7.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship8) && explosiondone == 0) { _global.score += 10; _root.badgreyship8.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship9) && explosiondone == 0) { _global.score += 10; _root.badgreyship9.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship10) && explosiondone == 0) { _global.score += 10; _root.badgreyship10.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship11) && explosiondone == 0) { _global.score += 10; _root.badgreyship11.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship12) && explosiondone == 0) { _global.score += 10; _root.badgreyship12.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship13) && explosiondone == 0) { _global.score += 10; _root.badgreyship13.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship14) && explosiondone == 0) { _global.score += 10; _root.badgreyship14.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship15) && explosiondone == 0) { _global.score += 10; _root.badgreyship15.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship16) && explosiondone == 0) { _global.score += 10; _root.badgreyship16.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship17) && explosiondone == 0) { _global.score += 10; _root.badgreyship17.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship18) && explosiondone == 0) { _global.score += 10; _root.badgreyship18.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship19) && explosiondone == 0) { _global.score += 10; _root.badgreyship19.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship20) && explosiondone == 0) { _global.score += 10; _root.badgreyship20.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship21) && explosiondone == 0) { _global.score += 10; _root.badgreyship21.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship22) && explosiondone == 0) { _global.score += 10; _root.badgreyship22.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship23) && explosiondone == 0) { _global.score += 10; _root.badgreyship23.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship24) && explosiondone == 0) { _global.score += 10; _root.badgreyship24.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship25) && explosiondone == 0) { _global.score += 10; _root.badgreyship25.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship26) && explosiondone == 0) { _global.score += 10; _root.badgreyship26.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship27) && explosiondone == 0) { _global.score += 10; _root.badgreyship27.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship28) && explosiondone == 0) { _global.score += 10; _root.badgreyship28.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship29) && explosiondone == 0) { _global.score += 10; _root.badgreyship29.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship30) && explosiondone == 0) { _global.score += 10; _root.badgreyship30.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship31) && explosiondone == 0) { _global.score += 10; _root.badgreyship31.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship32) && explosiondone == 0) { _global.score += 10; _root.badgreyship32.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship33) && explosiondone == 0) { _global.score += 10; _root.badgreyship33.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship34) && explosiondone == 0) { _global.score += 10; _root.badgreyship34.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship35) && explosiondone == 0) { _global.score += 10; _root.badgreyship35.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship36) && explosiondone == 0) { _global.score += 10; _root.badgreyship36.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship37) && explosiondone == 0) { _global.score += 10; _root.badgreyship37.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship38) && explosiondone == 0) { _global.score += 10; _root.badgreyship38.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship39) && explosiondone == 0) { _global.score += 10; _root.badgreyship39.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship40) && explosiondone == 0) { _global.score += 10; _root.badgreyship40.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship41) && explosiondone == 0) { _global.score += 10; _root.badgreyship41.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship42) && explosiondone == 0) { _global.score += 10; _root.badgreyship42.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship43) && explosiondone == 0) { _global.score += 10; _root.badgreyship43.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship44) && explosiondone == 0) { _global.score += 10; _root.badgreyship44.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship45) && explosiondone == 0) { _global.score += 10; _root.badgreyship45.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship46) && explosiondone == 0) { _global.score += 10; _root.badgreyship46.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship47) && explosiondone == 0) { _global.score += 10; _root.badgreyship47.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship48) && explosiondone == 0) { _global.score += 10; _root.badgreyship48.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship49) && explosiondone == 0) { _global.score += 10; _root.badgreyship49.play(); _global.hostility = 1; } if (this.hitTest(_root.badgreyship50) && explosiondone == 0) { _global.score += 10; _root.badgreyship50.play(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell0) && explosiondone == 0) { _global.score += 10; (_root.expbarrell0.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell1) && explosiondone == 0) { _global.score += 10; (_root.expbarrell1.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell2) && explosiondone == 0) { _global.score += 10; (_root.expbarrell2.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell3) && explosiondone == 0) { _global.score += 10; (_root.expbarrell3.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell4) && explosiondone == 0) { _global.score += 10; (_root.expbarrell4.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell5) && explosiondone == 0) { _global.score += 10; (_root.expbarrell5.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell6) && explosiondone == 0) { _global.score += 10; (_root.expbarrell6.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell7) && explosiondone == 0) { _global.score += 10; (_root.expbarrell7.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell8) && explosiondone == 0) { _global.score += 10; (_root.expbarrell8.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell9) && explosiondone == 0) { _global.score += 10; (_root.expbarrell9.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell10) && explosiondone == 0) { _global.score += 10; (_root.expbarrell10.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell11) && explosiondone == 0) { _global.score += 10; (_root.expbarrell11.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell12) && explosiondone == 0) { _global.score += 10; (_root.expbarrell12.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell13) && explosiondone == 0) { _global.score += 10; (_root.expbarrell13.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell14) && explosiondone == 0) { _global.score += 10; (_root.expbarrell14.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell15) && explosiondone == 0) { _global.score += 10; (_root.expbarrell15.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell16) && explosiondone == 0) { _global.score += 10; (_root.expbarrell16.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell17) && explosiondone == 0) { _global.score += 10; (_root.expbarrell17.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell18) && explosiondone == 0) { _global.score += 10; (_root.expbarrell18.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell19) && explosiondone == 0) { _global.score += 10; (_root.expbarrell19.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell20) && explosiondone == 0) { _global.score += 10; (_root.expbarrell20.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell21) && explosiondone == 0) { _global.score += 10; (_root.expbarrell21.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell22) && explosiondone == 0) { _global.score += 10; (_root.expbarrell22.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell23) && explosiondone == 0) { _global.score += 10; (_root.expbarrell23.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell24) && explosiondone == 0) { _global.score += 10; (_root.expbarrell24.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell25) && explosiondone == 0) { _global.score += 10; (_root.expbarrell25.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell26) && explosiondone == 0) { _global.score += 10; (_root.expbarrell26.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell27) && explosiondone == 0) { _global.score += 10; (_root.expbarrell27.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell28) && explosiondone == 0) { _global.score += 10; (_root.expbarrell28.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell29) && explosiondone == 0) { _global.score += 10; (_root.expbarrell29.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell30) && explosiondone == 0) { _global.score += 10; (_root.expbarrell30.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell31) && explosiondone == 0) { _global.score += 10; (_root.expbarrell31.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell32) && explosiondone == 0) { _global.score += 10; (_root.expbarrell32.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell33) && explosiondone == 0) { _global.score += 10; (_root.expbarrell33.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell34) && explosiondone == 0) { _global.score += 10; (_root.expbarrell34.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell35) && explosiondone == 0) { _global.score += 10; (_root.expbarrell35.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell36) && explosiondone == 0) { _global.score += 10; (_root.expbarrell36.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell37) && explosiondone == 0) { _global.score += 10; (_root.expbarrell37.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell38) && explosiondone == 0) { _global.score += 10; (_root.expbarrell38.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell39) && explosiondone == 0) { _global.score += 10; (_root.expbarrell39.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell40) && explosiondone == 0) { _global.score += 10; (_root.expbarrell40.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell41) && explosiondone == 0) { _global.score += 10; (_root.expbarrell41.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell42) && explosiondone == 0) { _global.score += 10; (_root.expbarrell42.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell43) && explosiondone == 0) { _global.score += 10; (_root.expbarrell43.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell44) && explosiondone == 0) { _global.score += 10; (_root.expbarrell44.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell45) && explosiondone == 0) { _global.score += 10; (_root.expbarrell45.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell46) && explosiondone == 0) { _global.score += 10; (_root.expbarrell46.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell47) && explosiondone == 0) { _global.score += 10; (_root.expbarrell47.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell48) && explosiondone == 0) { _global.score += 10; (_root.expbarrell48.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell49) && explosiondone == 0) { _global.score += 10; (_root.expbarrell49.play())(); _global.hostility = 1; } if (this.hitTest(_root.expbarrell50) && explosiondone == 0) { _global.score += 10; (_root.expbarrell50.play())(); _global.hostility = 1; } if (this.hitTest(_root.tanktop1) && explosiondone == 0) { _global.score += 10; (_root.tanktop1.play())(); _global.hostility = 1; } if (Key.isDown(65)) { this._x += _global.cameramoveright; } if (Key.isDown(68)) { this._x -= _global.cameramoveleft; } if (Key.isDown(83)) { this._y -= _global.cameramoveup; } if (Key.isDown(87)) { this._y += _global.cameramovedown; } }; } frame 49 { badshipalive = 0; } frame 90 { this.onEnterFrame = function () { this._x = -9999; this._y = -9999; this.removeMovieClip(); }; stop(); } } movieClip 120 { } movieClip 121 exphitbox { frame 15 { this.removeMovieClip(); stop(); } } movieClip 133 { } movieClip 148 coin { frame 1 { this.onEnterFrame = function () { if (Key.isDown(65)) { this._x += _global.cameramoveright; } if (Key.isDown(68)) { this._x -= _global.cameramoveleft; } if (Key.isDown(83)) { this._y -= _global.cameramovedown; } if (Key.isDown(87)) { this._y += _global.cameramoveup; } }; stop(); } instance of movieClip 133 { onClipEvent (load) { badshipalive = 1; health = 1; moneygive = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.warrior.car) && badshipalive == 1) { _global.score += 10; _parent.play(); _global.hostility = 1; if (moneygive == 0) { _global.moneyamount += 1; moneygive = 1; } } } } frame 17 { stop(); } } movieClip 150 bug { } frame 1 { Stage.showMenu = false; } frame 1 { stop(); } movieClip 154 { } movieClip 163 { frame 1 { function timerHandler() { if (!loadingComplete) { var v4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * v4; if (v4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop('loaded'); } return undefined; } } dt = getTimer() - time; time += dt; frameAccum += dt; var v3 = 0; for (;;) { if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break; advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } frameAccum -= FRAME_TIME; v3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return undefined; } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof clip[childName] == 'movieclip') { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.33333333333334; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler(); } } button 168 { on (press) { play(); } } movieClip 172 { } button 173 { on (press) { gotoAndPlay(17); } } button 175 { on (press) { gotoAndPlay(31); } } button 177 { on (press) { gotoAndPlay(54); } } button 179 { on (press) { gotoAndPlay(74); } } button 181 { on (press) { gotoAndPlay(83); } } button 183 { on (press) { gotoAndPlay(143); } } frame 2 { _root.onMouseDown = function () {}; } frame 2 { Mouse.show(); stop(); } movieClip 187 { frame 700 { _root.play(); } } button 192 { on (press) { gotoAndStop(1341); } } frame 3 { stop(); } movieClip 196 { frame 570 { _root.play(); } } button 200 { on (press) { play(); } } frame 4 { stop(); } movieClip 203 { frame 535 { stop(); } } movieClip 206 { frame 399 { } frame 530 { stop(); } } movieClip 208 { frame 80 { stop(); } frame 120 { _root.play(); stop(); } } movieClip 211 { frame 950 { stop(); } } movieClip 214 { frame 1200 { stop(); } } movieClip 221 { frame 1862 { _root.message1.play(); stop(); } } frame 5 { stop(); } movieClip 224 { frame 400 { stop(); } } movieClip 227 { frame 650 { _root.play(); stop(); } } frame 6 { stop(); } movieClip 230 { frame 1050 { _root.play(); stop(); } } movieClip 232 { frame 1030 { stop(); } } frame 7 { stop(); } movieClip 235 { frame 700 { _root.play(); stop(); } } movieClip 237 { frame 50 { stop(); } } movieClip 239 { frame 690 { stop(); } } frame 8 { stop(); } movieClip 242 { frame 720 { _root.play(); _root.pekmsg2.play(); _root.pekmsg1.gotoAndPlay(701); } } movieClip 244 { frame 700 { stop(); } frame 715 { stop(); } } movieClip 245 { frame 1 { stop(); } frame 15 { stop(); } frame 16 { gotoAndStop(15); } } frame 9 { stop(); } movieClip 248 { frame 221 { stop(); } } button 249 { on (press) { play(); stopAllSounds(); } } frame 11 { stop(); } movieClip 253 { frame 800 { _root.play(); stop(); } } movieClip 254 { frame 130 { stop(); } } frame 12 { stop(); } movieClip 259 { frame 200 { stop(); } frame 430 { _root.play(); } } movieClip 261 { } button 263 { on (press) { play(); } } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } movieClip 270 { frame 200 { _root.play(); stop(); } } frame 17 { _global.gameover = 1; stopAllSounds(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.mc_backgroundcol1.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 18 { _root.onMouseDown = function () {}; } frame 18 { } frame 18 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); backgroundxval = _root.mc_background5._x; backgroundyval = _root.mc_background5._y; newbackground = _global.lockedbackgroundyval + 200; var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(1); _global.map1collision2yval = _root.mc_backgroundcol2._y + 116; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(87)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 18 { stop(); } frame 18 { _global.exphitboxi = 0; _global.gameover = 0; } movieClip 272 { } movieClip 273 { } movieClip 274 { } movieClip 275 { } movieClip 276 { } movieClip 280 { } movieClip 284 { } movieClip 286 { frame 1 { stop(); } instance of movieClip 284 { onClipEvent (load) { badshipalive = 1; health = 1; moneygive = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.warrior.car) && badshipalive == 1) { _global.score += 10; _parent.play(); _global.hostility = 1; if (moneygive == 0) { _global.bagget = 1; moneygive = 1; } } } } frame 17 { stop(); } } movieClip 287 { } movieClip 291 { frame 1 { stop(); } frame 2 { } frame 3 { stop(); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 296 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 300 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 304 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 308 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 321 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 324 { } movieClip 325 { } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } movieClip 330 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 332 { } movieClip 333 { frame 1 { badshipalive = 0; badshipgreyxspeed = 0; badshipgreyyspeed = 0; badshipend = 0; badshipalive = 1; health = 1; badshipgreyxspeed = 0.3; badshipgreyyspeed = 0.6; chaserengage = 1; badshipgrey1x = this._x; badshipgrey1y = this._y; badshipgreychase = 1; badshipgreyalive = 1; this.onEnterFrame = function () { this._x = badshipgrey1x; this._y = badshipgrey1y; if (_global.gameover == 1) { this.removeMovieClip(); } }; stop(); } frame 6 { badshipalive = 0; badshipgreyxspeed = 0; badshipgreyyspeed = 0; badshipend = 0; badshipalive = 1; health = 1; badshipgreyxspeed = 0.3; badshipgreyyspeed = 0.6; chaserengage = 1; badshipgrey1x = this._x; badshipgrey1y = this._y; badshipgreychase = 1; badshipgreyalive = 1; this.onEnterFrame = function () { this._x = badshipgrey1x; this._y = badshipgrey1y; if (_global.gameover == 1) { this.removeMovieClip(); } }; } frame 25 { if (_global.missioncomplete == 0) { _root.gotoAndPlay(1342); } if (_global.missioncomplete == 1) { _root.gotoAndPlay(1372); } stop(); } frame 27 { gotoAndStop(11); } } movieClip 343 { frame 1 { stop(); } frame 7 { gotoAndStop(6); } } movieClip 353 { frame 20 { gotoAndStop(3); } frame 31 { gotoAndStop(7); } } movieClip 354 { instance down of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(1); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(3); } } instance right of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(3); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(2); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(4); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(4); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { if (_global.shiftdown == 0) { _parent.car.gotoAndStop(6); } } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(6); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(8); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(8); } } instance down of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(5); } } instance right of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(7); } } instance down of movieClip 332 { onClipEvent (press) { if (_global.shiftdown == 0) { _parent.car.gotoAndStop(1); } } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(3); } } instance right of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(4); } } instance rightdown of movieClip 332 { onClipEvent (press) { _parent.car.gotoAndStop(2); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(4); } } instance rightdown of movieClip 332 { onClipEvent (press) { _parent.car.gotoAndStop(6); } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(6); } } instance rightdown of movieClip 332 { onClipEvent (press) { if (_global.shiftdown == 0) { _parent.car.gotoAndStop(8); } } } instance rightdown of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(8); } } instance rightdown of movieClip 332 { onClipEvent (press) { _parent.car.gotoAndStop(12); } } instance down of movieClip 332 { onClipEvent (press) { if (_global.shiftdown == 0) { _parent.car.gotoAndStop(7); } } } instance right of movieClip 332 { onClipEvent (rollOver) { _parent.car.gotoAndStop(7); } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } movieClip 361 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } frame 19 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 20 { _root.onMouseDown = function () {}; } frame 20 { } frame 20 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.pekkatalk.gotoAndStop(4); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 20 { stop(); } frame 20 { _global.exphitboxi = 0; _global.gameover = 0; } movieClip 363 { } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 368 { } movieClip 369 { frame 1 { stop(); } instance of movieClip 368 { onClipEvent (load) { badshipalive = 1; health = 1; moneygive = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.warrior.car) && badshipalive == 1) { _global.score += 10; _parent.play(); _global.hostility = 1; if (moneygive == 0) { _global.shoesget = 1; moneygive = 1; } } } } frame 17 { stop(); } } movieClip 372 { } movieClip 373 { frame 1 { stop(); } instance of movieClip 372 { onClipEvent (load) { badshipalive = 1; health = 1; moneygive = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.warrior.car) && badshipalive == 1) { _global.score += 10; _parent.play(); _global.hostility = 1; if (moneygive == 0) { _global.appleget = 1; moneygive = 1; } } } } frame 17 { stop(); } } movieClip 376 { } movieClip 377 { frame 1 { stop(); } instance of movieClip 376 { onClipEvent (load) { badshipalive = 1; health = 1; moneygive = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.warrior.car) && badshipalive == 1) { _global.score += 10; _parent.play(); _global.hostility = 1; if (moneygive == 0) { _global.burgerget = 1; moneygive = 1; } } } } frame 17 { stop(); } } movieClip 380 { } movieClip 381 { frame 1 { stop(); } instance of movieClip 380 { onClipEvent (load) { badshipalive = 1; health = 1; moneygive = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.warrior.car) && badshipalive == 1) { _global.score += 10; _parent.play(); _global.hostility = 1; if (moneygive == 0) { _global.drinkget = 1; moneygive = 1; } } } } frame 17 { stop(); } } movieClip 382 { } movieClip 383 { } movieClip 384 { instance apple of movieClip 373 { onClipEvent (load) { badshipalive = 1; health = 1; moneygive = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.warrior.car) && badshipalive == 1) { _global.score += 10; _parent.play(); _global.hostility = 1; if (moneygive == 0) { _global.appleget = 1; moneygive = 1; } } } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 21 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 22 { _root.onMouseDown = function () {}; } frame 22 { } frame 22 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.wrongway1) || _root.warrior.car.hitTest(_root.mc_background5.wrongway2)) { _root.pekkatalk.gotoAndStop(2); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 22 { stop(); } frame 22 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 387 { } movieClip 388 { } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 23 { _global.gameover = 1; _root.pekkatalk.removeMovieClip(); _root.mc_background5.levelexit.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 24 { _root.onMouseDown = function () {}; } frame 24 { } frame 24 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.returnhome1)) { _root.pekkatalk.gotoAndStop(3); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit2)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 24 { stop(); } frame 24 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 389 { } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } movieClip 392 { } frame 25 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 26 { _root.onMouseDown = function () {}; } frame 26 { } frame 26 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit3)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU3) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU))))))))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL))))))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 26 { stop(); } frame 26 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 395 { } movieClip 396 { } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 27 { _global.gameover = 1; stopAllSounds(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 28 { _root.onMouseDown = function () {}; } frame 28 { } frame 28 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.classroomenter1)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.locked1) || (_root.warrior.car.hitTest(_root.mc_background5.locked2) || (_root.warrior.car.hitTest(_root.mc_background5.locked3) || (_root.warrior.car.hitTest(_root.mc_background5.locked4) || (_root.warrior.car.hitTest(_root.mc_background5.locked5) || (_root.warrior.car.hitTest(_root.mc_background5.locked6) || _root.warrior.car.hitTest(_root.mc_background5.locked7))))))) { _root.naturalselector1.gotoAndStop(9); _global.lockedtext = 1; } else { _root.naturalselector1.gotoAndStop(1); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 28 { stop(); } frame 28 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 400 { } movieClip 416 { frame 1 { stop(); } frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 19 { _global.baseballjock = 1; stop(); } frame 21 { gotoAndStop(19); } frame 49 { badshipalive = 0; } frame 90 { this.onEnterFrame = function () {}; stop(); } } movieClip 423 { } movieClip 440 { frame 41 { stop(); } } movieClip 441 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { this.onEnterFrame = function () { _root.mc_background5.blackgirlrun.stop(); _global.blackgirl1dead = 1; }; stop(); } } movieClip 442 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; _root.mc_background5.blackgirlrun.blackgirl1.gotoAndStop(3); } if (this.hitTest(_root.lazer0)) { health -= 1; } if (this.hitTest(_root.lazer1)) { health -= 1; } if (this.hitTest(_root.lazer2)) { health -= 1; } if (this.hitTest(_root.lazer3)) { health -= 1; } if (this.hitTest(_root.lazer4)) { health -= 1; } if (this.hitTest(_root.lazer5)) { health -= 1; } if (this.hitTest(_root.lazer6)) { health -= 1; } if (this.hitTest(_root.lazer7)) { health -= 1; } if (this.hitTest(_root.lazer8)) { health -= 1; } if (this.hitTest(_root.lazer9)) { health -= 1; } if (this.hitTest(_root.lazer10)) { health -= 1; } if (this.hitTest(_root.lazer11)) { health -= 1; } if (this.hitTest(_root.lazer12)) { health -= 1; } if (this.hitTest(_root.lazer13)) { health -= 1; } if (this.hitTest(_root.lazer14)) { health -= 1; } if (this.hitTest(_root.lazer15)) { health -= 1; } if (this.hitTest(_root.lazer16)) { health -= 1; } if (this.hitTest(_root.lazer17)) { health -= 1; } if (this.hitTest(_root.lazer18)) { health -= 1; } if (this.hitTest(_root.lazer19)) { health -= 1; } if (this.hitTest(_root.lazer20)) { health -= 1; } }; stop(); } frame 1 { stop(); } frame 521 { stop(); } frame 523 { gotoAndStop(521); } } movieClip 457 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 2 { _global.brownhair = 1; } frame 45 { _global.darkblueshirt = 1; stop(); } frame 49 { badshipalive = 0; } } movieClip 477 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 2 { _global.blondehair = 1; } frame 49 { badshipalive = 0; } frame 470 { stop(); } } movieClip 478 { } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } movieClip 479 { } movieClip 490 { frame 1 { this.onEnterFrame = function () { _root.warrior.car.gotoAndStop(9); }; } frame 1 { this.onEnterFrame = function () { _global.talking = 1; }; } frame 805 { this.onEnterFrame = function () { _global.talking = 1; _global.suicide = 1; }; } frame 806 { stop(); } } movieClip 494 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } } frame 29 { stopAllSounds(); } frame 29 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 30 { _root.onMouseDown = function () {}; } frame 30 { } frame 30 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 1; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.pekkasdesk)) { _root.fadeout1.play(); _root.crosshairplace.gotoAndStop(3); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 30 { stop(); } frame 30 { _global.exphitboxi = 0; _global.gameover = 0; } movieClip 496 { frame 1 { stop(); } frame 2 { this.onEnterFrame = function () { _root.warrior.car.gotoAndStop(1); }; } frame 409 { _root.play(); stopAllSounds(); stop(); } frame 411 { gotoAndStop(150); } } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 539 { frame 1 { stop(); } frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(79); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 36 { _root.warrior.car.gotoAndPlay(10); } frame 76 { _root.bullysequence.gotoAndStop(36); gotoAndStop(1); } frame 77 { _root.turret1.gotoAndStop(2); _root.mc_background5.laughingbubbles.play(); _root.redflare.gotoAndPlay(2); stop(); } frame 78 { badshipend = 0; badshipalive = 1; health = 1; badshipgreyxspeed = 0.6; badshipgreyyspeed = 0.6; chaserengage = 1; badshipgrey1x = this._x; badshipgrey1y = this._y; codetimer = 0; badshipgreychase = 1; badshipgreyalive = 1; randomdirectionvar = random(100); randomdirectionvar2 = random(100); randomdirectionvar3 = random(100); randomdirectionvar4 = random(100); this.onEnterFrame = function () { if (badshipalive == 1) { badshiprandomlazer = random(50); } if (badshiprandomlazer == 5) { ++_global.badlazeri; _root.attachMovie('badlazer', 'badlazer' + _global.badlazeri, _root.getNextHighestDepth()); _root['badlazer' + _global.badlazeri]._x = _root.turret1._x; _root['badlazer' + _global.badlazeri]._y = _root.turret1._y; } }; stop(); } frame 78 { health = 0; } frame 79 { play(); } frame 84 { stop(); } frame 85 { gotoAndStop(84); } } movieClip 560 { frame 1 { stop(); } frame 2 { stop(); } frame 36 { _root.warrior.car.gotoAndPlay(21); } frame 72 { gotoAndStop(1); _global.talking = 0; } } movieClip 563 { } movieClip 564 { } movieClip 568 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 572 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 576 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 580 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 584 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 588 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 592 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 596 { frame 1 { stop(); } frame 2 { stop(); } } button 601 { on (press, keyPress '<Space>') { play(); } } movieClip 615 { frame 30 { Mouse.show; } frame 30 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 31 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 32 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 33 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 34 { _root.mc_background5.bully1.play(); _root.mc_background5.bully2.gotoAndStop(2); stop(); } frame 35 { Mouse.show; } frame 35 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 36 { Mouse.hide; } frame 36 { _root.mc_background5.bully2.gotoAndStop(1); this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 37 { Mouse.hide; } frame 37 { _root.mc_background5.bully2.gotoAndPlay(3); this.onEnterFrame = function () { _global.talking = 1; }; } frame 38 { Mouse.show; } frame 134 { _root.mc_background5.bully2.gotoAndStop(1); this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 135 { Mouse.hide; } frame 135 { this.onEnterFrame = function () { _global.talking = 0; }; stop(); } } movieClip 616 { } movieClip 617 { } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } movieClip 618 { frame 1 { stop(); } frame 2 { this.onEnterFrame = function () { _global.talking = 0; }; } frame 108 { this.onEnterFrame = function () { _global.talking = 0; }; _root.fadeout2.gotoAndPlay(2); } frame 150 { stop(); } frame 152 { gotoAndStop(150); } } frame 31 { _global.gameover = 1; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 32 { stop(); } frame 33 { stop(); } frame 34 { stop(); } frame 35 { stop(); } frame 36 { _global.gameover = 1; stopAllSounds(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.mc_backgroundcol1.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 37 { _root.onMouseDown = function () {}; } frame 37 { } frame 37 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); backgroundxval = _root.mc_background5._x; backgroundyval = _root.mc_background5._y; newbackground = _global.lockedbackgroundyval + 200; var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(1); _global.map1collision2yval = _root.mc_backgroundcol2._y + 116; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(87)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 37 { stop(); } frame 37 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 38 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 39 { _root.onMouseDown = function () {}; } frame 39 { } frame 39 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.pekkatalk.gotoAndStop(4); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 39 { stop(); } frame 39 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 40 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 41 { _root.onMouseDown = function () {}; } frame 41 { } frame 41 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.wrongway1) || _root.warrior.car.hitTest(_root.mc_background5.wrongway2)) { _root.pekkatalk.gotoAndStop(2); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 41 { stop(); } frame 41 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 42 { _global.gameover = 1; _root.pekkatalk.removeMovieClip(); _root.mc_background5.levelexit.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 43 { _root.onMouseDown = function () {}; } frame 43 { } frame 43 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.returnhome1)) { _root.pekkatalk.gotoAndStop(3); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit2)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 43 { stop(); } frame 43 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } movieClip 628 { } frame 44 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 45 { _root.onMouseDown = function () {}; } frame 45 { } frame 45 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit3)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU3) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU))))))))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL))))))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 45 { stop(); } frame 45 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 46 { _global.gameover = 1; stopAllSounds(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 47 { _root.onMouseDown = function () {}; } frame 47 { } frame 47 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.classroomenter1)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.locked1) || (_root.warrior.car.hitTest(_root.mc_background5.locked2) || (_root.warrior.car.hitTest(_root.mc_background5.locked3) || (_root.warrior.car.hitTest(_root.mc_background5.locked4) || (_root.warrior.car.hitTest(_root.mc_background5.locked5) || (_root.warrior.car.hitTest(_root.mc_background5.locked6) || _root.warrior.car.hitTest(_root.mc_background5.locked7))))))) { _root.naturalselector1.gotoAndStop(9); _global.lockedtext = 1; } else { _root.naturalselector1.gotoAndStop(1); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 47 { stop(); } frame 47 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 48 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 49 { _root.onMouseDown = function () {}; } frame 49 { } frame 49 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 1; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; warrior.onEnterFrame = function () { Xd = _root.warrior.car - _x; Yd = _root.warrior.car - _y; radAngle = Math.atan2(Yd, Xd); mc_background5.turret1._rotation = int(radAngle * 360 / 6.283185307179586 + 10); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.pekkasdesk)) { _root.fadeout1.play(); _root.crosshairplace.gotoAndStop(3); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); turret1._x += _global.cameramoveright; mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); turret1._x -= _global.cameramoveleft; mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(87) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); turret1._y -= _global.cameramovedown; mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(83) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); turret1._y += _global.cameramoveup; mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 49 { stop(); } frame 49 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 631 { } movieClip 634 { } movieClip 635 { frame 1 { stop(); } frame 29 { stop(); } } movieClip 636 { } movieClip 640 { frame 30 { Mouse.show; } frame 30 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 31 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 32 { _root.mc_background5.bully2.gotoAndStop(1); this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 33 { Mouse.show; } frame 33 { _root.mc_background5.bully1.gotoAndStop(77); _root.mc_background5.bully2.gotoAndStop(2); } frame 34 { _root.mc_background5.bully2.gotoAndPlay(3); this.onEnterFrame = function () { _global.talking = 1; }; } frame 35 { Mouse.hide; } frame 36 { Mouse.hide; } frame 37 { Mouse.show; } frame 38 { Mouse.show; } frame 131 { _root.mc_background5.bully2.gotoAndStop(1); _root.teacherorder1.play(); this.onEnterFrame = function () { _global.talking = 0; }; stop(); } frame 132 { _root.teacherorder1.play(); this.onEnterFrame = function () { _global.talking = 0; }; stop(); } frame 135 { Mouse.hide; } } movieClip 643 { frame 1 { stop(); } frame 2 { this.onEnterFrame = function () { myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x); myDegrees = Math.round(myRadians * 180 / Math.PI); this._rotation = myDegrees + 90; }; } frame 3 { gotoAndStop(2); } } movieClip 647 { frame 1 { stop(); } frame 3 { gotoAndPlay(2); } } movieClip 648 { frame 1 { stop(); } frame 301 { stop(); } frame 302 { gotoAndStop(301); } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 50 { _global.gameover = 1; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 51 { stop(); } frame 52 { stop(); } frame 53 { stop(); } frame 54 { stop(); } frame 55 { stop(); } frame 56 { _global.gameover = 1; stopAllSounds(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.mc_backgroundcol1.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 57 { _root.onMouseDown = function () {}; } frame 57 { } frame 57 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); backgroundxval = _root.mc_background5._x; backgroundyval = _root.mc_background5._y; newbackground = _global.lockedbackgroundyval + 200; var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(1); _global.map1collision2yval = _root.mc_backgroundcol2._y + 116; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(87)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 57 { stop(); } frame 57 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 58 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 59 { _root.onMouseDown = function () {}; } frame 59 { } frame 59 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.pekkatalk.gotoAndStop(4); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 59 { stop(); } frame 59 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 60 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 61 { _root.onMouseDown = function () {}; } frame 61 { } frame 61 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.wrongway1) || _root.warrior.car.hitTest(_root.mc_background5.wrongway2)) { _root.pekkatalk.gotoAndStop(2); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 61 { stop(); } frame 61 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 62 { _global.gameover = 1; _root.pekkatalk.removeMovieClip(); _root.mc_background5.levelexit.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 63 { _root.onMouseDown = function () {}; } frame 63 { } frame 63 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.returnhome1)) { _root.pekkatalk.gotoAndStop(3); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit2)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 63 { stop(); } frame 63 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 64 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 65 { _root.onMouseDown = function () {}; } frame 65 { } frame 65 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit3)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU3) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU))))))))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL))))))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 65 { stop(); } frame 65 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 66 { _global.gameover = 1; stopAllSounds(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 67 { _root.onMouseDown = function () {}; } frame 67 { } frame 67 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.classroomenter1)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.locked1) || (_root.warrior.car.hitTest(_root.mc_background5.locked2) || (_root.warrior.car.hitTest(_root.mc_background5.locked3) || (_root.warrior.car.hitTest(_root.mc_background5.locked4) || (_root.warrior.car.hitTest(_root.mc_background5.locked5) || (_root.warrior.car.hitTest(_root.mc_background5.locked6) || _root.warrior.car.hitTest(_root.mc_background5.locked7))))))) { _root.naturalselector1.gotoAndStop(9); _global.lockedtext = 1; } else { _root.naturalselector1.gotoAndStop(1); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 67 { stop(); } frame 67 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 68 { _global.gameover = 1; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 69 { _root.onMouseDown = function () {}; } frame 69 { } frame 69 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 1; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; warrior.onEnterFrame = function () { Xd = _root.warrior.car - _x; Yd = _root.warrior.car - _y; radAngle = Math.atan2(Yd, Xd); mc_background5.turret1._rotation = int(radAngle * 360 / 6.283185307179586 + 10); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.pekkasdesk)) { _root.fadeout1.play(); _root.crosshairplace.gotoAndStop(3); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); turret1._x += _global.cameramoveright; mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); turret1._x -= _global.cameramoveleft; mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); turret1._y -= _global.cameramovedown; mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); turret1._y += _global.cameramoveup; mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 69 { stop(); } frame 69 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 655 { } movieClip 656 { frame 1 { stop(); } frame 3 { gotoAndPlay(2); } } movieClip 657 { frame 1 { stop(); } frame 301 { stop(); } frame 302 { gotoAndStop(301); } } button 659 { on (press, keyPress '<Space>') { play(); } } movieClip 669 { frame 30 { Mouse.show; } frame 30 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 31 { _root.mc_background5.laughingbubbles.play(); this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 32 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 33 { Mouse.show; } frame 33 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 34 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 35 { Mouse.hide; } frame 35 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 36 { Mouse.show; } frame 36 { _root.mc_background5.bully1.gotoAndStop(78); _root.mc_background5.bully2.gotoAndStop(2); this.onEnterFrame = function () { _global.talking = 0; }; stop(); } frame 37 { Mouse.show; } frame 37 { } frame 134 { Mouse.hide; } frame 134 { _root.mc_background5.bully2.gotoAndStop(1); _root.teacherorder1.play(); this.onEnterFrame = function () { _global.talking = 0; }; stop(); } frame 135 { _root.teacherorder1.play(); this.onEnterFrame = function () { _global.talking = 0; }; stop(); } } movieClip 670 { frame 1 { stop(); } } movieClip 671 { } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 70 { _global.gameover = 1; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 71 { stop(); } movieClip 676 { frame 100 { stop(); } } frame 72 { _root.cry.gotoAndStop(2); stop(); } movieClip 682 { frame 1 { stop(); } frame 2 { stop(); } } frame 73 { stop(); } frame 74 { timer1 = 0; this.onEnterFrame = function () { timer1 += 1; timer1text.text = timer1; if (timer1 > 8700) { _root.fadeout3.play(); } }; } frame 74 { _root.cry.removeMovieClip(); stop(); } movieClip 691 { } movieClip 692 { frame 8626 { _root.play(); } } movieClip 693 { frame 1 { stopAllSounds(); } frame 234 { stop(); } } movieClip 698 { } frame 75 { _global.gameover = 1; stopAllSounds(); _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 76 { _root.onMouseDown = function () {}; } frame 76 { } frame 76 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 0; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; warrior.onEnterFrame = function () { _root.warrior.car.gotoAndStop(5); Xd = _root.warrior.car - _x; Yd = _root.warrior.car - _y; radAngle = Math.atan2(Yd, Xd); mc_background5.turret1._rotation = int(radAngle * 360 / 6.283185307179586 + 10); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.pekkasdesk)) { _root.fadeout1.play(); _root.crosshairplace.gotoAndStop(3); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; turret1._x += _global.cameramoveright; mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; turret1._x -= _global.cameramoveleft; mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(87) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; turret1._y -= _global.cameramovedown; mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(83) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; turret1._y += _global.cameramoveup; mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 76 { stop(); } frame 76 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 707 { } movieClip 708 { } movieClip 710 { frame 120 { stop(); } } movieClip 726 { frame 30 { Mouse.show; } frame 30 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 31 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 32 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 33 { Mouse.show; } frame 33 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 34 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 35 { Mouse.show; } frame 35 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 36 { Mouse.hide; } frame 36 { _root.fadeout2.play(); this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 37 { Mouse.show; } frame 37 { _root.mc_background5.bully1.gotoAndStop(77); _root.mc_background5.bully2.gotoAndStop(2); } frame 38 { Mouse.show; } frame 38 { _root.mc_background5.bully2.gotoAndPlay(3); this.onEnterFrame = function () { _global.talking = 1; }; } frame 135 { Mouse.hide; } frame 135 { _root.mc_background5.bully2.gotoAndStop(1); _root.teacherorder1.play(); this.onEnterFrame = function () { _global.talking = 0; }; stop(); } frame 136 { _root.teacherorder1.play(); this.onEnterFrame = function () { _global.talking = 0; }; stop(); } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 77 { _global.gameover = 1; stopAllSounds(); _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 78 { stopAllSounds(); stop(); } movieClip 728 { } movieClip 729 { frame 120 { _root.play(); stop(); } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 79 { _root.cry.removeMovieClip(); stop(); } movieClip 733 { frame 1 { stopAllSounds(); } frame 2 { gotoAndPlay(1820); } frame 19586 { _root.play(); } } frame 80 { Mouse.show(); } frame 80 { _root.fadeout3.removeMovieClip(); stop(); } movieClip 740 { frame 1 { stopAllSounds(); } frame 37689 { stop(); stopAllSounds(); } } movieClip 743 { frame 1 { stopAllSounds(); } frame 11005 { stop(); } } movieClip 746 { frame 1 { stopAllSounds(); } } movieClip 749 { frame 1 { stopAllSounds(); stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 752 { } button 755 { on (press) { stopAllSounds(); _root.pekkavideos.gotoAndStop(5); } } button 756 { on (press) { stopAllSounds(); _root.pekkavideos.gotoAndStop(4); } } button 757 { on (press) { stopAllSounds(); _root.pekkavideos.gotoAndStop(3); } } button 758 { on (press) { stopAllSounds(); _root.pekkavideos.gotoAndStop(2); } } button 763 { on (press) { _root.play(); _root.pekkavideos.removeMovieClip(); stopAllSounds(); } } frame 81 { stopAllSounds(); } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 82 { stop(); } frame 83 { stop(); } frame 84 { stop(); } frame 85 { stop(); } frame 86 { _global.gameover = 1; stopAllSounds(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.mc_backgroundcol1.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 87 { _root.onMouseDown = function () {}; } frame 87 { } frame 87 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); backgroundxval = _root.mc_background5._x; backgroundyval = _root.mc_background5._y; newbackground = _global.lockedbackgroundyval + 200; var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(1); _global.map1collision2yval = _root.mc_backgroundcol2._y + 116; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(87)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 87 { stop(); } frame 87 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 88 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 89 { _root.onMouseDown = function () {}; } frame 89 { } frame 89 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.pekkatalk.gotoAndStop(4); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 89 { stop(); } frame 89 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 90 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 91 { _root.onMouseDown = function () {}; } frame 91 { } frame 91 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.wrongway1) || _root.warrior.car.hitTest(_root.mc_background5.wrongway2)) { _root.pekkatalk.gotoAndStop(2); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 91 { stop(); } frame 91 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 92 { _global.gameover = 1; _root.pekkatalk.removeMovieClip(); _root.mc_background5.levelexit.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 93 { _root.onMouseDown = function () {}; } frame 93 { } frame 93 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.returnhome1)) { _root.pekkatalk.gotoAndStop(3); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit2)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 93 { stop(); } frame 93 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 94 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 95 { _root.onMouseDown = function () {}; } frame 95 { } frame 95 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit3)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU3) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU))))))))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL))))))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 95 { stop(); } frame 95 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 96 { _global.gameover = 1; stopAllSounds(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 97 { _root.onMouseDown = function () {}; } frame 97 { } frame 97 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.classroomenter1)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.locked1) || (_root.warrior.car.hitTest(_root.mc_background5.locked2) || (_root.warrior.car.hitTest(_root.mc_background5.locked3) || (_root.warrior.car.hitTest(_root.mc_background5.locked4) || (_root.warrior.car.hitTest(_root.mc_background5.locked5) || (_root.warrior.car.hitTest(_root.mc_background5.locked6) || _root.warrior.car.hitTest(_root.mc_background5.locked7))))))) { _root.naturalselector1.gotoAndStop(9); _global.lockedtext = 1; } else { _root.naturalselector1.gotoAndStop(1); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 97 { stop(); } frame 97 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 98 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 99 { _root.onMouseDown = function () {}; } frame 99 { } frame 99 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 1; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; warrior.onEnterFrame = function () { Xd = _root.warrior.car - _x; Yd = _root.warrior.car - _y; radAngle = Math.atan2(Yd, Xd); mc_background5.turret1._rotation = int(radAngle * 360 / 6.283185307179586 + 10); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.pekkasdesk)) { _root.fadeout1.play(); _root.crosshairplace.gotoAndStop(3); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); turret1._x += _global.cameramoveright; mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); turret1._x -= _global.cameramoveleft; mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); turret1._y -= _global.cameramovedown; mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); turret1._y += _global.cameramoveup; mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 99 { stop(); } frame 99 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 767 { frame 1 { stop(); } } movieClip 770 { } movieClip 771 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 773 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 775 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 777 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 778 { frame 1 { stop(); } frame 2 { stop(); } } button 780 { on (press, keyPress '<Space>') { play(); } } movieClip 789 { frame 30 { Mouse.show; } frame 30 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 31 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 32 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 33 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 34 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 35 { Mouse.hide; } frame 35 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 36 { Mouse.show; } frame 36 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 37 { Mouse.hide; } frame 37 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 38 { Mouse.show; } frame 38 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 39 { Mouse.show; } frame 39 { this.onEnterFrame = function () { _global.talking = 0; }; stop(); } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } movieClip 791 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 793 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 795 { frame 1 { stop(); } frame 2 { stop(); } } frame 100 { _global.gameover = 1; stopAllSounds(); _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 101 { stop(); } movieClip 801 { } frame 102 { stop(); } frame 103 { stop(); } frame 104 { stop(); } frame 105 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.mc_backgroundcol1.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 106 { stop(); } movieClip 811 { } movieClip 815 { } frame 107 { stop(); } frame 108 { stop(); } frame 109 { stop(); } frame 110 { stop(); } frame 111 { _root.cry.removeMovieClip(); stop(); } movieClip 836 { frame 1 { stopAllSounds(); } frame 4844 { _root.play(); } frame 5094 { stop(); } } frame 112 { stop(); } frame 113 { stop(); } frame 114 { stop(); } frame 115 { stop(); } frame 116 { stop(); } frame 117 { stop(); } frame 118 { stop(); } frame 119 { _root.cry.removeMovieClip(); stop(); } movieClip 856 { frame 1 { stopAllSounds(); } frame 8146 { _root.fadeout4.play(); } } movieClip 859 { frame 1 { stop(); } frame 190 { _root.play(); stop(); } } frame 120 { stopAllSounds(); stop(); } frame 121 { stop(); } frame 122 { stop(); } frame 123 { stop(); } movieClip 865 { frame 76 { stop(); } } frame 124 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.mc_backgroundcol1.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 125 { _root.onMouseDown = function () {}; } frame 125 { } frame 125 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); backgroundxval = _root.mc_background5._x; backgroundyval = _root.mc_background5._y; newbackground = _global.lockedbackgroundyval + 200; var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(1); _global.map1collision2yval = _root.mc_backgroundcol2._y + 116; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(87)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 125 { stop(); } frame 125 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 126 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 127 { _root.onMouseDown = function () {}; } frame 127 { } frame 127 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { _global.cameramoveup = 1; _global.cameramovedown = 1; _global.cameramoveleft = 1; _global.cameramoveright = 1; if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.pekkatalk.gotoAndStop(4); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 3; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 3; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 127 { stop(); } frame 127 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 128 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 129 { _root.onMouseDown = function () {}; } frame 129 { } frame 129 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.wrongway1) || _root.warrior.car.hitTest(_root.mc_background5.wrongway2)) { _root.pekkatalk.gotoAndStop(2); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 129 { stop(); } frame 129 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 130 { _global.gameover = 1; _root.pekkatalk.removeMovieClip(); _root.mc_background5.levelexit.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 131 { _root.onMouseDown = function () {}; } frame 131 { } frame 131 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.returnhome1)) { _root.pekkatalk.gotoAndStop(3); } else { _root.pekkatalk.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit2)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 131 { stop(); } frame 131 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 132 { _global.gameover = 1; _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 133 { _root.onMouseDown = function () {}; } frame 133 { } frame 133 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () {}; warrior.onEnterFrame = function () { if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.levelexit3)) { _root.play(); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsU2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU3) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU))))))))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL))))))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcarsL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftcarsd1) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65)) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68)) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83)) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 133 { stop(); } frame 133 { _global.exphitboxi = 0; _global.gameover = 0; } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance warrior of movieClip 354 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 135 { stop(); } movieClip 868 { frame 5901 { _root.play(); stopAllSounds(); } } frame 136 { _global.gameover = 0; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 137 { _root.onMouseDown = function () {}; } frame 137 { } frame 137 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 0; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; _global.redshirtdead = 0; _global.blonde1dead = 0; _global.blackgirl1dead = 0; _global.classtouch = 0; _global.brunettepink = 0; _global.baseballjock = 0; _global.blueshirtbully1 = 0; _global.darkblueshirt = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () { _root.warrior.car.muzzleflash.gotoAndPlay(2); if (_global.blonde1dead == 0) { _root.mc_background5.blondegirlrun.play(); _root.mc_background5.blondegirlrun.blondegirl1.gotoAndStop(2); } if (_global.blackgirl1dead == 0) { _root.mc_background5.blackgirlrun.play(); _root.mc_background5.blackgirlrun.blackgirl1.gotoAndStop(2); } if (_global.redshirtdead == 0) { _root.mc_background5.redshirtrun.play(); _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(2); } if (ambientover == 0) { ambientSound.stop('ambientnoise'); ambientover = 1; } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; crosshairplace.gotoAndStop(2); if (_global.lazeri >= 20) { _global.lazeri = 0; } ++_global.lazeri; _root.attachMovie('lazer', 'lazer' + _global.lazeri, _root.getNextHighestDepth()); _root['lazer' + _global.lazeri]._x = warrior._x; _root['lazer' + _global.lazeri]._y = warrior._y; }; warrior.onEnterFrame = function () { if (_global.redshirtdead == 0) { _root.mc_background5.redshirtrun.play(); _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(2); } _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; crosshairplace.gotoAndStop(2); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.classroomenter1) && _global.blueshirtbully1 == 1 && _global.darkblueshirt == 1 && _global.brunettepink == 1 && _global.baseballjock == 1) { _root.play(); _root.naturalselector1.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.classroomenter1)) { _root.naturalselector1.gotoAndStop(2); _global.classtouch = 1; } else { _global.classtouch = 0; } if (_root.warrior.car.hitTest(_root.mc_background5.locked1) || (_root.warrior.car.hitTest(_root.mc_background5.locked2) || (_root.warrior.car.hitTest(_root.mc_background5.locked3) || (_root.warrior.car.hitTest(_root.mc_background5.locked4) || (_root.warrior.car.hitTest(_root.mc_background5.locked5) || (_root.warrior.car.hitTest(_root.mc_background5.locked6) || _root.warrior.car.hitTest(_root.mc_background5.locked7))))))) { _root.naturalselector1.gotoAndStop(7); _global.lockedtext = 1; } else { _global.lockedtext = 0; } if (_global.lockedtext == 0 && _global.classtouch == 0) { _root.naturalselector1.gotoAndStop(1); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 137 { stop(); } frame 137 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } movieClip 885 { frame 1 { stop(); } frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 2 { _global.bluebully1 = 1; } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 27 { _global.blueshirtbully1 = 1; stop(); } frame 49 { badshipalive = 0; } frame 90 { this.onEnterFrame = function () {}; stop(); } } movieClip 891 { } movieClip 904 { frame 32 { stop(); } } movieClip 905 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndStop(3); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { stop(); } frame 2 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndStop(3); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 2 { stop(); } frame 3 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 3 { this.onEnterFrame = function () { _root.mc_background5.redshirtrun.stop(); _global.redshirtdead = 1; }; stop(); } frame 49 { badshipalive = 0; } frame 90 { this.onEnterFrame = function () {}; stop(); } } movieClip 906 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(3); } if (this.hitTest(_root.lazer0)) { health -= 1; } if (this.hitTest(_root.lazer1)) { health -= 1; } if (this.hitTest(_root.lazer2)) { health -= 1; } if (this.hitTest(_root.lazer3)) { health -= 1; } if (this.hitTest(_root.lazer4)) { health -= 1; } if (this.hitTest(_root.lazer5)) { health -= 1; } if (this.hitTest(_root.lazer6)) { health -= 1; } if (this.hitTest(_root.lazer7)) { health -= 1; } if (this.hitTest(_root.lazer8)) { health -= 1; } if (this.hitTest(_root.lazer9)) { health -= 1; } if (this.hitTest(_root.lazer10)) { health -= 1; } if (this.hitTest(_root.lazer11)) { health -= 1; } if (this.hitTest(_root.lazer12)) { health -= 1; } if (this.hitTest(_root.lazer13)) { health -= 1; } if (this.hitTest(_root.lazer14)) { health -= 1; } if (this.hitTest(_root.lazer15)) { health -= 1; } if (this.hitTest(_root.lazer16)) { health -= 1; } if (this.hitTest(_root.lazer17)) { health -= 1; } if (this.hitTest(_root.lazer18)) { health -= 1; } if (this.hitTest(_root.lazer19)) { health -= 1; } if (this.hitTest(_root.lazer20)) { health -= 1; } }; stop(); } frame 1 { stop(); } frame 201 { stop(); _global.redshirt1escape = 1; } frame 203 { gotoAndStop(201); } } movieClip 913 { } movieClip 930 { frame 56 { stop(); } } movieClip 931 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { this.onEnterFrame = function () { _root.mc_background5.blondegirlrun.stop(); _global.blonde1dead = 1; }; stop(); } } movieClip 932 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; _root.mc_background5.blondegirlrun.blondegirl1.gotoAndStop(3); } if (this.hitTest(_root.lazer0)) { health -= 1; } if (this.hitTest(_root.lazer1)) { health -= 1; } if (this.hitTest(_root.lazer2)) { health -= 1; } if (this.hitTest(_root.lazer3)) { health -= 1; } if (this.hitTest(_root.lazer4)) { health -= 1; } if (this.hitTest(_root.lazer5)) { health -= 1; } if (this.hitTest(_root.lazer6)) { health -= 1; } if (this.hitTest(_root.lazer7)) { health -= 1; } if (this.hitTest(_root.lazer8)) { health -= 1; } if (this.hitTest(_root.lazer9)) { health -= 1; } if (this.hitTest(_root.lazer10)) { health -= 1; } if (this.hitTest(_root.lazer11)) { health -= 1; } if (this.hitTest(_root.lazer12)) { health -= 1; } if (this.hitTest(_root.lazer13)) { health -= 1; } if (this.hitTest(_root.lazer14)) { health -= 1; } if (this.hitTest(_root.lazer15)) { health -= 1; } if (this.hitTest(_root.lazer16)) { health -= 1; } if (this.hitTest(_root.lazer17)) { health -= 1; } if (this.hitTest(_root.lazer18)) { health -= 1; } if (this.hitTest(_root.lazer19)) { health -= 1; } if (this.hitTest(_root.lazer20)) { health -= 1; } }; stop(); } frame 1 { stop(); } frame 373 { stop(); } frame 376 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; _root.mc_background5.blondegirlrun.blondegirl1.gotoAndStop(3); } if (this.hitTest(_root.lazer0)) { health -= 1; } if (this.hitTest(_root.lazer1)) { health -= 1; } if (this.hitTest(_root.lazer2)) { health -= 1; } if (this.hitTest(_root.lazer3)) { health -= 1; } if (this.hitTest(_root.lazer4)) { health -= 1; } if (this.hitTest(_root.lazer5)) { health -= 1; } if (this.hitTest(_root.lazer6)) { health -= 1; } if (this.hitTest(_root.lazer7)) { health -= 1; } if (this.hitTest(_root.lazer8)) { health -= 1; } if (this.hitTest(_root.lazer9)) { health -= 1; } if (this.hitTest(_root.lazer10)) { health -= 1; } if (this.hitTest(_root.lazer11)) { health -= 1; } if (this.hitTest(_root.lazer12)) { health -= 1; } if (this.hitTest(_root.lazer13)) { health -= 1; } if (this.hitTest(_root.lazer14)) { health -= 1; } if (this.hitTest(_root.lazer15)) { health -= 1; } if (this.hitTest(_root.lazer16)) { health -= 1; } if (this.hitTest(_root.lazer17)) { health -= 1; } if (this.hitTest(_root.lazer18)) { health -= 1; } if (this.hitTest(_root.lazer19)) { health -= 1; } if (this.hitTest(_root.lazer20)) { health -= 1; } }; stop(); } frame 376 { gotoAndStop(373); } } movieClip 935 { frame 5 { badshipalive = 0; badshipgreyxspeed = 0; badshipgreyyspeed = 0; badshipend = 0; badshipalive = 1; health = 1; badshipgreyxspeed = 0.3; badshipgreyyspeed = 0.6; chaserengage = 1; badshipgrey1x = this._x; badshipgrey1y = this._y; badshipgreychase = 1; badshipgreyalive = 1; this.onEnterFrame = function () { this._x = badshipgrey1x; this._y = badshipgrey1y; if (Key.isDown(65)) { badshipgrey1x += _global.cameramoveright; } if (Key.isDown(68)) { badshipgrey1x -= _global.cameramoveleft; } if (Key.isDown(83)) { badshipgrey1y -= _global.cameramovedown; } if (Key.isDown(87)) { badshipgrey1y += _global.cameramoveup; } if (_global.gameover == 1) { this.removeMovieClip(); } }; } frame 24 { _root.gotoAndPlay(1342); stop(); } frame 26 { gotoAndStop(11); } } movieClip 952 { frame 1 { stop(); } frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 25 { _global.brunettepink = 1; stop(); } frame 49 { badshipalive = 0; } frame 90 { this.onEnterFrame = function () {}; stop(); } } movieClip 953 { } movieClip 954 { } movieClip 955 { frame 60 { gotoAndPlay(1); } } movieClip 956 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 957 { } movieClip 976 { } movieClip 977 { instance down of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(1); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(3); } } instance right of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(3); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(2); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(4); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(4); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { if (_global.shiftdown == 0) { _parent.car.gotoAndStop(6); } } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(6); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(8); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(8); } } instance down of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(5); } } instance right of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(7); } } instance down of movieClip 957 { onClipEvent (press) { if (_global.shiftdown == 0) { _parent.car.gotoAndStop(1); } } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(3); } } instance right of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(4); } } instance rightdown of movieClip 957 { onClipEvent (press) { _parent.car.gotoAndStop(2); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(4); } } instance rightdown of movieClip 957 { onClipEvent (press) { _parent.car.gotoAndStop(6); } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(6); } } instance rightdown of movieClip 957 { onClipEvent (press) { if (_global.shiftdown == 0) { _parent.car.gotoAndStop(8); } } } instance rightdown of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(8); } } instance rightdown of movieClip 957 { onClipEvent (press) { _parent.car.gotoAndStop(12); } } instance down of movieClip 957 { onClipEvent (press) { if (_global.shiftdown == 0) { _parent.car.gotoAndStop(7); } } } instance right of movieClip 957 { onClipEvent (rollOver) { _parent.car.gotoAndStop(7); } } } instance warrior of movieClip 977 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 139 { _global.gameover = 0; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 140 { _root.onMouseDown = function () {}; } frame 140 { } frame 140 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 0; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; _global.redshirtdead = 0; _global.bluebully1 = 0; _global.redbully1 = 0; _global.blackhair = 0; _global.blondehair = 0; _global.brunettehair = 0; _global.brownhair = 0; _global.teacher1 = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () { _root.warrior.car.muzzleflash.gotoAndPlay(2); if (_global.redshirtdead == 0) { _root.mc_background5.redshirtrun.play(); _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(2); } if (ambientover == 0) { ambientSound.stop('ambientnoise'); ambientover = 1; } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; crosshairplace.gotoAndStop(2); if (_global.lazeri >= 20) { _global.lazeri = 0; } ++_global.lazeri; _root.attachMovie('lazer', 'lazer' + _global.lazeri, _root.getNextHighestDepth()); _root['lazer' + _global.lazeri]._x = warrior._x; _root['lazer' + _global.lazeri]._y = warrior._y; }; warrior.onEnterFrame = function () { _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; crosshairplace.gotoAndStop(2); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.classroomleave1) && _global.bluebully1 == 1 && _global.redbully1 == 1 && _global.brunettehair == 1 && _global.blondehair == 1 && _global.brownhair == 1 && _global.teacher1 == 1 && _global.blackhair == 1) { _root.play(); _root.naturalselector1.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.classroomleave1)) { _root.naturalselector1.gotoAndStop(3); } else { _root.naturalselector1.gotoAndStop(1); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 140 { stop(); } frame 140 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } movieClip 981 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; play(); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 2 { _global.redbully1 = 1; } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 35 { stop(); } frame 39 { gotoAndStop(84); } frame 49 { badshipalive = 0; } frame 90 { this.onEnterFrame = function () {}; stop(); } } movieClip 1000 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { _global.blackhair = 1; stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 5 { _global.blackhair = 1; } frame 49 { badshipalive = 0; } frame 1100 { stop(); } } movieClip 1018 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 2 { _global.brunettehair = 1; } frame 49 { badshipalive = 0; } frame 844 { stop(); } } movieClip 1037 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 49 { badshipalive = 0; } frame 51 { _global.teacher1 = 1; stop(); } } movieClip 1038 { } movieClip 1039 { } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } instance warrior of movieClip 977 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 142 { _global.gameover = 0; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 143 { _root.onMouseDown = function () {}; } frame 143 { } frame 143 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 0; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; _global.redshirtdead = 0; _global.blonde1dead = 0; _global.blackgirl1dead = 0; _global.nurse = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () { _root.warrior.car.muzzleflash.gotoAndPlay(2); if (_global.blonde1dead == 0) { _root.mc_background5.blondegirlrun.play(); _root.mc_background5.blondegirlrun.blondegirl1.gotoAndStop(2); } if (_global.blackgirl1dead == 0) { _root.mc_background5.blackgirlrun.play(); _root.mc_background5.blackgirlrun.blackgirl1.gotoAndStop(2); } if (_global.redshirtdead == 0) { _root.mc_background5.redshirtrun.play(); _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(2); } if (ambientover == 0) { ambientSound.stop('ambientnoise'); ambientover = 1; } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; crosshairplace.gotoAndStop(2); if (_global.lazeri >= 20) { _global.lazeri = 0; } ++_global.lazeri; _root.attachMovie('lazer', 'lazer' + _global.lazeri, _root.getNextHighestDepth()); _root['lazer' + _global.lazeri]._x = warrior._x; _root['lazer' + _global.lazeri]._y = warrior._y; }; warrior.onEnterFrame = function () { if (_global.redshirtdead == 0) { _root.mc_background5.redshirtrun.play(); _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(2); } _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; crosshairplace.gotoAndStop(2); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.play(); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.nursetrigger) && _global.nurse == 1) { _root.play(); _root.naturalselector1.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.nursetrigger)) { _root.naturalselector1.gotoAndStop(2); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 143 { stop(); } frame 143 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } movieClip 1049 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 2 { _global.nurse = 1; } frame 49 { badshipalive = 0; } frame 51 { stop(); } } movieClip 1050 { } movieClip 1051 { } movieClip 1056 { } movieClip 1057 { frame 21 { stop(); } } instance warrior of movieClip 977 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 144 { stop(); } movieClip 1061 { frame 255 { _root.play(); this.removeMovieClip(); } } frame 146 { _global.gameover = 0; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 147 { _root.onMouseDown = function () {}; } frame 147 { } frame 147 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 0; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; _global.redshirtdead = 0; _global.principal = 0; _global.policetouch = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () { _root.warrior.car.muzzleflash.gotoAndPlay(2); if (ambientover == 0) { ambientSound.stop('ambientnoise'); ambientover = 1; } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; crosshairplace.gotoAndStop(2); if (_global.lazeri >= 20) { _global.lazeri = 0; } ++_global.lazeri; _root.attachMovie('lazer', 'lazer' + _global.lazeri, _root.getNextHighestDepth()); _root['lazer' + _global.lazeri]._x = warrior._x; _root['lazer' + _global.lazeri]._y = warrior._y; }; warrior.onEnterFrame = function () { if (_global.redshirtdead == 0) { _root.mc_background5.redshirtrun.play(); _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(2); } _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; crosshairplace.gotoAndStop(2); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.locked1) || (_root.warrior.car.hitTest(_root.mc_background5.locked2) || (_root.warrior.car.hitTest(_root.mc_background5.locked3) || (_root.warrior.car.hitTest(_root.mc_background5.locked4) || (_root.warrior.car.hitTest(_root.mc_background5.locked5) || _root.warrior.car.hitTest(_root.mc_background5.locked6)))))) { _root.naturalselector1.gotoAndStop(7); _global.lockedtext = 1; } else { _global.lockedtext = 0; } if (_global.lockedtext == 0 && _global.policetouch == 0 && _global.bathroomtouch == 0) { _root.naturalselector1.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.policetrigger) && _global.principal == 1) { _root.play(); _root.naturalselector1.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.policetrigger)) { _root.naturalselector1.gotoAndStop(4); _global.policetouch = 1; } else { _global.policetouch = 0; } if (_root.warrior.car.hitTest(_root.mc_background5.girlsbathroom)) { _root.naturalselector1.gotoAndStop(8); _global.bathroomtouch = 1; } else { _global.bathroomtouch = 0; } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 147 { stop(); } frame 147 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } movieClip 1064 { } movieClip 1079 { frame 1 { expbarrell = 0; badshipalive = 1; cannonalive = 1; health = 1; this.onEnterFrame = function () { if (health <= 0) { cannonalive = 0; badshipalive = 0; gotoAndPlay(2); } if (this.hitTest(_root.lazer0)) { health -= 1; _root.lazer0.play(); } if (this.hitTest(_root.lazer1)) { health -= 1; _root.lazer1.play(); } if (this.hitTest(_root.lazer2)) { health -= 1; _root.lazer2.play(); } if (this.hitTest(_root.lazer3)) { health -= 1; _root.lazer3.play(); } if (this.hitTest(_root.lazer4)) { health -= 1; _root.lazer4.play(); } if (this.hitTest(_root.lazer5)) { health -= 1; _root.lazer5.play(); } if (this.hitTest(_root.lazer6)) { health -= 1; _root.lazer6.play(); } if (this.hitTest(_root.lazer7)) { health -= 1; _root.lazer7.play(); } if (this.hitTest(_root.lazer8)) { health -= 1; _root.lazer8.play(); } if (this.hitTest(_root.lazer9)) { health -= 1; _root.lazer9.play(); } if (this.hitTest(_root.lazer10)) { health -= 1; _root.lazer10.play(); } if (this.hitTest(_root.lazer11)) { health -= 1; _root.lazer11.play(); } if (this.hitTest(_root.lazer12)) { health -= 1; _root.lazer12.play(); } if (this.hitTest(_root.lazer13)) { health -= 1; _root.lazer13.play(); } if (this.hitTest(_root.lazer14)) { health -= 1; _root.lazer14.play(); } if (this.hitTest(_root.lazer15)) { health -= 1; _root.lazer15.play(); } if (this.hitTest(_root.lazer16)) { health -= 1; _root.lazer16.play(); } if (this.hitTest(_root.lazer17)) { health -= 1; _root.lazer17.play(); } if (this.hitTest(_root.lazer18)) { health -= 1; _root.lazer18.play(); } if (this.hitTest(_root.lazer19)) { health -= 1; _root.lazer19.play(); } if (this.hitTest(_root.lazer20)) { health -= 1; _root.lazer20.play(); } }; stop(); } frame 1 { stop(); } frame 2 { explosiondone = 0; collisiondone = 0; this.onEnterFrame = function () {}; } frame 26 { _root.bullysequence2.gotoAndStop(32); _global.principal = 1; stop(); } frame 49 { badshipalive = 0; } } movieClip 1080 { } movieClip 1081 { } movieClip 1085 { frame 29 { Mouse.show; } frame 29 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 30 { Mouse.show; } frame 30 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 31 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 32 { Mouse.show; } frame 32 { this.onEnterFrame = function () { _global.talking = 0; }; stop(); } } instance warrior of movieClip 977 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 148 { _global.gameover = 0; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 149 { stop(); } movieClip 1088 { frame 50 { _root.play(); stop(); } } frame 150 { stop(); } movieClip 1091 { frame 50 { _root.play(); stop(); } } frame 151 { stop(); } movieClip 1094 { frame 50 { _root.play(); stop(); } } frame 152 { stop(); } movieClip 1097 { frame 50 { _root.play(); stop(); } } frame 153 { stop(); } movieClip 1100 { frame 195 { _root.play(); this.removeMovieClip(); } } frame 154 { stop(); } frame 155 { _root.onMouseDown = function () {}; } frame 155 { stop(); } movieClip 1108 { frame 180 { _root.play(); stop(); } } frame 156 { stopAllSounds(); } frame 157 { _global.gameover = 0; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 158 { _root.onMouseDown = function () {}; } frame 158 { } frame 158 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 0; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; _global.redshirtdead = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () { _root.warrior.car.muzzleflash.gotoAndPlay(2); if (ambientover == 0) { ambientSound.stop('ambientnoise'); ambientover = 1; } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; crosshairplace.gotoAndStop(2); if (_global.lazeri >= 20) { _global.lazeri = 0; } ++_global.lazeri; _root.attachMovie('lazer', 'lazer' + _global.lazeri, _root.getNextHighestDepth()); _root['lazer' + _global.lazeri]._x = warrior._x; _root['lazer' + _global.lazeri]._y = warrior._y; }; warrior.onEnterFrame = function () { if (_global.redshirtdead == 0) { _root.mc_background5.redshirtrun.play(); _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(2); } _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; crosshairplace.gotoAndStop(2); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.girlsbathroom)) { _root.naturalselector1.gotoAndStop(8); _global.bathroomtouch = 1; } else { _root.naturalselector1.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.bathroomenter1)) { _root.play(); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 158 { stop(); } frame 158 { _global.exphitboxi = 0; _global.gameover = 0; } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } movieClip 1111 { } movieClip 1112 { } movieClip 1116 { frame 29 { Mouse.show; } frame 29 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 30 { Mouse.show; } frame 30 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 31 { this.onEnterFrame = function () { _global.talking = 1; }; stop(); } frame 32 { Mouse.show; } frame 32 { this.onEnterFrame = function () { _global.talking = 0; }; stop(); } } instance warrior of movieClip 977 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 159 { stopAllSounds(); } frame 160 { _global.gameover = 0; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 161 { _root.onMouseDown = function () {}; } frame 161 { } frame 161 { this._quality = 'LOW'; Mouse.hide(); ambientSound = new Sound(this); ambientSound.attachSound(''); ambientSound.start(0, 99); var eating = false; arrive = 1; _root.warrior.car.gotoAndStop(5); _global.talking = 0; _global.missioncomplete = 0; _global.kills = 0; _global.killcount = 0; _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; _global.lazerreset = 0; _global.lazeri = 0; _global.badlazeri = 0; _global.hostility = 1; _global.comlinkshow = 0; _global.coini = 0; _global.moneyamount = 0; _global.redshirtdead = 0; _global.suicide = 0; walkdown = 0; walkingdown = 0; walkingleft = 0; walkingright = 0; walkingup = 0; ambientover = 0; collisionup = 0; var speed = 3; _root.mc_background.key1.gotoAndStop(2); var enemySpd = 2; _root.onMouseUp = function () {}; _root.onMouseDown = function () { if (_global.suicide == 1) { _root.play(); } if (_global.redshirtdead == 0) { _root.mc_background5.redshirtrun.play(); _root.mc_background5.redshirtrun.redshirt1.gotoAndStop(2); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; crosshairplace.gotoAndStop(2); if (_global.lazeri >= 20) { _global.lazeri = 0; } ++_global.lazeri; _root.attachMovie('lazer', 'lazer' + _global.lazeri, _root.getNextHighestDepth()); _root['lazer' + _global.lazeri]._x = warrior._x; _root['lazer' + _global.lazeri]._y = warrior._y; }; warrior.onEnterFrame = function () { if (_global.suicide == 1) { _root.warrior.car.gotoAndStop(9); } _global.cameramoveup = 2; _global.cameramovedown = 2; _global.cameramoveleft = 2; _global.cameramoveright = 2; crosshairplace.gotoAndStop(2); if (_root.crosshairplace.hitTest(_root.mc_background5.slayerposterbtn)) { _root.slayerposter.gotoAndStop(2); } else { _root.slayerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.prodigyposterbtn)) { _root.prodigyposter.gotoAndStop(2); } else { _root.prodigyposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.matrixposterbtn)) { _root.matrixposter.gotoAndStop(2); } else { _root.matrixposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.computerbtn)) { _root.computerposter.gotoAndStop(2); } else { _root.computerposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.deskbtn)) { _root.deskposter.gotoAndStop(2); } else { _root.deskposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.teacherbtn)) { _root.teacherposter.gotoAndStop(2); } else { _root.teacherposter.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male1btn)) { _root.male1poster.gotoAndStop(2); } else { _root.male1poster.gotoAndStop(1); } if (_root.crosshairplace.hitTest(_root.mc_background5.male2btn)) { _root.male2poster.gotoAndStop(2); } else { _root.male2poster.gotoAndStop(1); } if (_root.warrior.car.hitTest(_root.mc_background5.door1) && Key.isDown(83)) { _root.gotoAndPlay(17); stopAllSounds(); } if (_root.warrior.car.hitTest(_root.mc_background5.bathroomdoor)) { _root.naturalselector1.gotoAndStop(5); } if (_root.warrior.car.hitTest(_root.mc_background5.suicidestall)) { _root.naturalselector1.gotoAndStop(6); } _global.topcannonx = topcannon._rotation + 90; _global.topcannony = topcannon._rotation + 90; _root.kills.text = _global.kills; _root.killcount.text = _global.killcount; if (_global.kills == 20) { _global.missioncomplete = 1; _root.missioncomplete.play(); } if (_global.killcount == 22) { _root.mc_background.key1.gotoAndStop(1); } _global.playerx = warrior._x; _global.playery = warrior._y; plyrx.text = _global.playerx; abbhp.text = 100; plyry.text = _global.playery; abbx.text = _global.badshipx; abby.text = _global.badshipy; if (this.car.hitTest(mc_backgroundcol2.wallhitbox2) || (this.car.hitTest(mc_backgroundcol2.wallhitbox) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableU) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6U) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7U) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarU)))))))))))))))) { _global.cameramoveup = 0; } else { _global.cameramoveup = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox3) || (this.car.hitTest(mc_backgroundcol2.wallhitbox4) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallR2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6L) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarL)))))))))))))))) { _global.cameramoveleft = 0; } else { _global.cameramoveleft = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox5) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightfL) || (s.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftfL) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallL2) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableR) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6R) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7R) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarR)))))))))))))) { _global.cameramoveright = 0; } else { _global.cameramoveright = 2; } if (this.car.hitTest(mc_backgroundcol2.wallhitbox6) || (this.car.hitTest(mc_backgroundcol2.wallhitboxrightwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxleftwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxredwallD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxvendingD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetableD) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable2D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable3D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable4D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable5D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable6D) || (this.car.hitTest(mc_backgroundcol2.wallhitboxcafetable7D) || this.car.hitTest(mc_backgroundcol2.wallhitboxcarD))))))))))))) { _global.cameramovedown = 0; } else { _global.cameramovedown = 2; } if (Key.isDown(16)) { _global.shiftdown = 1; } else { _global.shiftdown = 0; } _global.foodx = food._x; warrior._x = bug._x; warrior._y = bug._y; if (Key.isDown(65) && _global.talking == 0) { _global.walking = 1; directionwalk1 = 1; walkingright = 1; _root.warrior.legs.gotoAndStop(2); mc_background._x += _global.cameramoveright; mc_background2._x += _global.cameramoveright; mc_background3._x += _global.cameramoveright; mc_background4._x += _global.cameramoveright; mc_background5._x += _global.cameramoveright; mc_background11._x += _global.cameramoveright; mc_background12._x += _global.cameramoveright; mc_background13._x += _global.cameramoveright; mc_background14._x += _global.cameramoveright; mc_backgroundcol._x += _global.cameramoveright; mc_backgroundcol2._x += _global.cameramoveright; mc_frontground._x += _global.cameramoveright; mc_frontground2._x += _global.cameramoveright; footplace._x += _global.cameramoveright; } else { directionwalk1 = 0; walkingright = 0; } if (Key.isDown(68) && _global.talking == 0) { _global.walking = 1; directionwalk2 = 1; walkingleft = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._x -= _global.cameramoveleft; mc_frontground2._x -= _global.cameramoveleft; mc_background._x -= _global.cameramoveleft; mc_background2._x -= _global.cameramoveleft; mc_background3._x -= _global.cameramoveleft; mc_background4._x -= _global.cameramoveleft; mc_background5._x -= _global.cameramoveleft; mc_background11._x -= _global.cameramoveleft; mc_background12._x -= _global.cameramoveleft; mc_background13._x -= _global.cameramoveleft; mc_background14._x -= _global.cameramoveleft; mc_backgroundcol._x -= _global.cameramoveleft; mc_backgroundcol2._x -= _global.cameramoveleft; footplace._x -= _global.cameramoveleft; } else { directionwalk2 = 0; walkingleft = 0; } if (Key.isDown(83) && _global.talking == 0) { _global.cameramoveup = 3; _global.walking = 1; directionwalk3 = 1; walkingdown = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y -= _global.cameramovedown; mc_frontground2._y -= _global.cameramovedown; mc_background._y -= _global.cameramovedown; mc_background2._y -= _global.cameramovedown; mc_background3._y -= _global.cameramovedown; mc_background4._y -= _global.cameramovedown; mc_background5._y -= _global.cameramovedown; mc_background11._y -= _global.cameramovedown; mc_background12._y -= _global.cameramovedown; mc_background13._y -= _global.cameramovedown; mc_background14._y -= _global.cameramovedown; mc_backgroundcol._y -= _global.cameramovedown; mc_backgroundcol2._y -= _global.cameramovedown; footplace._y -= _global.cameramovedown; } else { directionwalk3 = 0; walkingdown = 0; } if (Key.isDown(87) && collisionup == 0 && _global.talking == 0) { walkingup = 1; _global.walking = 1; directionwalk4 = 1; _root.warrior.legs.gotoAndStop(2); mc_frontground._y += _global.cameramoveup; mc_frontground2._y += _global.cameramoveup; mc_background._y += _global.cameramoveup; mc_background2._y += _global.cameramoveup; mc_background3._y += _global.cameramoveup; mc_background4._y += _global.cameramoveup; mc_background5._y += _global.cameramoveup; mc_background11._y += _global.cameramoveup; mc_background12._y += _global.cameramoveup; mc_background13._y += _global.cameramoveup; mc_background14._y += _global.cameramoveup; mc_backgroundcol._y += _global.cameramoveup; mc_backgroundcol2._y += _global.cameramoveup; footplace._y += _global.cameramoveup; } else { directionwalk4 = 0; walkingup = 0; } if (directionwalk1 == 0 && directionwalk2 == 0 && directionwalk3 == 0 && directionwalk4 == 0) { _global.walking = 0; _root.warrior.legs.gotoAndStop(1); } if (directionwalk3 == 1) { } }; footplace.onEnterFrame = function () { footplace._x = food._x; footplace._y = food._y; }; bug.onEnterFrame = function () { var v3 = this._x - food._x; var v2 = this._y - food._y; }; stop(); } frame 161 { stop(); } frame 161 { _global.exphitboxi = 0; _global.gameover = 0; } frame 161 { stopAllSounds(); } instance fadeout2 of movieClip 496 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); } } instance crosshairplace of movieClip 291 { onClipEvent (load) { mousex = _root._xmouse; mousey = _root._ymouse; } onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); startDrag(_parent.crosshairplace, true); if (_root._xmouse == mousex && _root._ymouse == mousey) { } else { mousex = _root._xmouse; mousey = _root._ymouse; } } } instance topcannon of movieClip 325 { onClipEvent (enterFrame) { this.swapDepths(_root.getNextHighestDepth()); this._x = _parent.warrior._x; this._y = _parent.warrior._y; this._rotation += (Math.atan2(_ymouse, _xmouse) / Math.PI) * 180; } } movieClip 1119 { } movieClip 1120 { } movieClip 1121 { } movieClip 1122 { } instance warrior of movieClip 977 { onClipEvent (enterFrame) { if (Key.isDown(65) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(7); } if (Key.isDown(68) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(3); } if (Key.isDown(83) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(1); } if (Key.isDown(87) && _global.player1firing == 1) { _root.warrior.car.gotoAndStop(5); } this.swapDepths(_root.getNextHighestDepth()); } } frame 162 { _global.gameover = 0; _root.fadeout2.removeMovieClip(); _root.fadeout1.removeMovieClip(); _root.crosshairplace.removeMovieClip(); _root.warrior.removeMovieClip(); _root.mc_frontground.removeMovieClip(); _root.mc_frontground2.removeMovieClip(); _root.mc_background.removeMovieClip(); _root.mc_backgroundcol2.wallhitbox6.removeMovieClip(); _root.mc_background5.removeMovieClip(); _root.mc_backgroundcol2.removeMovieClip(); _root.missioncomplete.removeMovieClip(); _root.badgreyship.removeMovieClip(); _root.badgreyship1.removeMovieClip(); _root.badgreyship2.removeMovieClip(); _root.badgreyship3.removeMovieClip(); _root.badgreyship4.removeMovieClip(); _root.badgreyship5.removeMovieClip(); _root.badgreyship6.removeMovieClip(); _root.badgreyship7.removeMovieClip(); _root.badgreyship8.removeMovieClip(); _root.badgreyship9.removeMovieClip(); _root.badgreyship10.removeMovieClip(); _root.badgreyship11.removeMovieClip(); _root.badgreyship12.removeMovieClip(); _root.badgreyship13.removeMovieClip(); _root.badgreyship14.removeMovieClip(); _root.badgreyship15.removeMovieClip(); _root.badgreyship16.removeMovieClip(); _root.badgreyship17.removeMovieClip(); _root.badgreyship18.removeMovieClip(); _root.badgreyship19.removeMovieClip(); _root.badgreyship20.removeMovieClip(); _root.badgreyship21.removeMovieClip(); _root.badgreyship22.removeMovieClip(); _root.badgreyship23.removeMovieClip(); _root.badgreyship24.removeMovieClip(); _root.badgreyship25.removeMovieClip(); _root.badgreyship26.removeMovieClip(); _root.badgreyship27.removeMovieClip(); _root.badgreyship28.removeMovieClip(); _root.badgreyship29.removeMovieClip(); _root.badgreyship30.removeMovieClip(); _root.badgreyship31.removeMovieClip(); _global.cameramoveup = 3; _global.cameramovedown = 3; _global.cameramoveleft = 3; _global.cameramoveright = 3; } frame 240 { _root.onMouseDown = function () {}; } frame 240 { _root.cry.removeMovieClip(); stop(); } frame 240 { stop(); } movieClip 1128 { frame 20441 { stop(); } }




http://swfchan.com/40/199030/info.shtml
Created: 31/7 -2019 12:33:25 Last modified: 31/7 -2019 12:33:25 Server time: 23/04 -2024 18:19:42