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

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

Vulcan.swf

This is the info page for
Flash #42187

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


Text
AMMO

LOADING...

= PLAY =

LOADED!

m

o

c

.

U

I

R

E

P

M

EMPERIAL

GAMES.COM

NEW GAME

ENTER PROFILE NAME:

<p align="center"><font face="Carbon Block" size="45" color="#ffffff" letterSpacing="1.000000" kerning="0">&lt;NAME&gt;</font></p>

NEW GAME

HOW TO PLAY

INSTRUCTIONS

OPTIONS

CREDITS

LEVEL

URL!!

EMPERIUS.com © 2008

EMPERIUS.com © 2008

ACHIEVEMENTS

ACHIEVEMENTS

DDICTING

AM

E

S

SPONSORED BY:

EASY

ENEMIES ARE EASILY DEFEATED.
LAY BACK AND WATCH THE
ARGONS DROP TO THEIR KNEES
FOR YOU.

( CHOOSE DIFFICULTY )

NORMAL

Hordes of aliens vie to
destroy you, but nerves of
steel and a quick trigger
finger give you a solid
chance to prevail.

YOUR SUPREME WEAPONRY AND
WAR TACTICS WILL GET YOU
THROUGH THIS BATTLE.

HARD

Your enemies are as
numerous as they are
ferocious; their attacks are
devastating. Survival is not
guaranteed.

THE ARGONS SEEK ONE THING,
TO DESTROY YOU. THEIR
SUPERIOR FIREPOWER WILL
HAVE YOU AGAINST THE WALL.

CHAOTIC

chaoTIC

You face opponents who
have never known defeat,
who laugh in alien tongues
at your efforts to survive.
This is suicide.
*NO CROSS HAIR!*

MENU

LOW

MEDIUM

HIGH

( CHOOSE GAME QUALITY )

WASD : Move MASTER CHIEF

HOLD LEFT MOUSE BUTTON : SHOOT

HOLD Q or E : SWITCH WEAPONS

WALK OVER AMMO BOX TO REPLENISH AMMUNITION

VULCAN

DESIGNED BY: John Funtanilla of EMPERIUS designs

MUSIC: Popa Razvan (popraz) - Newgrounds

PROUDLY SPONSORED BY:

ACHIEVEMENTS

KILLS:

VULCAN HEART:
BEAT THE GAME WITHOUT DYING.

HunTer:
KILL 100 ENEMIES.

HUNTER:
Kill 100 enemies.

ASSASSIN:
KILL 300 ENEMIES.

<p align="left"></p>

FLASH:
BEAT THE GAME UNDER 540 SECONDS.

YOU ARE LEGEND:
BEAT THE GAME ON CHAOTIC.
(UNLOCKS GOD MODE)

YOU ARE LEGEND:

PLAY GOD MODE

It is the year 2051. The United Orbital Alliance has formed due to
an immenent threat on Earth. Satellites from different nations
have indicated that a "fleet" of ships is on a trajectory towards
Earth. A message has been relayed to the UOA stating,
"Surrender or be destroyed." After decades of testing and
research, Project Vulcan had finally been revealed. It is the first
fully integrated combat suit, that amplifies the attributes of a
single soldier. One test subject has grown alongside of the
Project, and is now the warrior who dons the Vulcan Armor.

> NEXT

+ NEXT

+ NEXT

+ NEXT

Weapons are online. Mental Scan complete. Reflex
Augmentation complete. Physical Augmentation complete. Full
Integration complete. Admiral, after 30 years of the most
intensive torture, or what you like to call "training", I believe I'm
ready to do some killing.

VULCAN

ADM. FULTON

Vulcan, you were always quite the soldier! But don't get too
cocky. This is a covert mission, and we need it to stay COVERT!
So no going Rambo like you did back in Iraq! These alien
bastards are going to-

Whoaaa, Admiral, let's not disrespect our alien guests, they call
themselves the Argon. The UOA said their fleet has stopped and
they are sending a scouting ship. Now we might be able to
reverse engineer their systems, that is if Vulcan can get on the
ship. Admiral please debrief our fellow veteran on this mission.

HALBERD

Thanks for the annoying information Dr. Halberd. Anyways,
Vulcan, we are going to blow a hole in the starboard section of
the Argon Scouting Ship with nuclear weapons. If we get lucky,
we could get you inside. Once inside, find the engine room and
send that bastard ship crashing to Earth. Our nerds will pick it
up and salvage their technological systems.

Another covert mission huh? Sounds easy. I'll be reporting to
UOA for any further info on the Argon before dispatching for my
mission. I'll be seeing you when I see you Admiral Fulton.
Vulcan out.

LEVEL


0

0

0

0

23

11
0

11
0

11
0

11
0

RECHARGE

17

0

000

000

000

000

0

000

0

0

0

0

000

000

Fulton I found the engine room. The nuclear pods are all set. I'm
blowing its engines and crashing it into Earth. Oh yeah, and tell
the UOA that the Argon wasn't as tough as they seemed. I don't
know if they're holding back but my shields can withstand their
weaponry.

Fulton I found the engine room. The nuclear pods are all set. I'm
blowing its engines and crashing it into Earth. Oh yeah, and tell
the UOA that the Argon wasn't as tough as they seemed. I don't
know if they're holding back but my shields can withstand their
weaponry.

Wow, that was fairly quick! Anyways, the data you've been
sending allowed us to locate some escape pods for you. Just
keep going down the rooms and you'll get there.

Thanks for the tip. I set the pods to 120 seconds. Back to my
little killing spree. Vulcan out.

TIME:

000

0

0

0

0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

000

0

0

0

0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

000

0

0

0

0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

11
0

0

0

KILLED:

BULLETS SHOT:

You bring down the Covenant FlagShip and make it back to
the Pillar of Autumn. Your fellow Spartans on Reach lose
contact quickly as Captain Keyes directs the ship into an
undefined slipspace. You enter cryostasis with thoughts of
your Spartan team who fought valiantly on reach.

0

0

Mission Complete. However the war has just begun. The
Argon Scouting Ship crashed into the Pacific, but UOA
satellites show that there is more to this fleet. The sentient
species has begun to mobilize, and a large entity is en
route to Earth...

0

0

You bring down the Argon Scouter and make it back to the
Guardian 5. Admiral Fulton notifies you of a different threat.
Your action's have dispursed the current Argon fleet, but a
larger entity is en route to earth.  Your homeworld's safety
is under siege, and only you can stop the sentient species...

0

0

0

GAME OVER

LAST CHECKPOINT

0

0

ActionScript [AS1/AS2]

Frame 1
System.security.allowDomain("shockwave.com", "intranet.shockwave.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com"); _level0.swHighScoreObject = new Object(); _level0.swHighScoreObject.showTab = "view"; _level0.swHighScoreObject.gameId = "Balls_01"; _level0.swHighScoreObject.gameTitle = "Balls Ahoy!"; _level0.swHighScoreObject.screenWidth = 550; _level0.swHighScoreObject.screenHeight = 400; _level0.swHighScoreObject.scoreDescriptor = "points"; _level0.swHighScoreObject.numPlayers = 1; _level0.swHighScoreObject.player1Score = 123456789 /* 0x75BCD15 */; _level0.swHighScoreObject.player2Score = 0; _level0.swHighScoreObject.player3Score = 0; _level0.swHighScoreObject.player4Score = 0; _level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf"; function doSomething() { } function doSomething3() { getURL ("http://google.com", _blank); } function doSomething2() { getURL ("http://emperius.com", _blank); } MENU.customItems.push(Functioned2); MENU = new ContextMenu(); MENU.hideBuiltInItems(); Functioned = new ContextMenuItem("Emperius Designs", doSomething); Functioned2 = new ContextMenuItem("SPONSOR GOES HERE", doSomething2); Functioned3 = new ContextMenuItem("OPTION", doSomething3); MENU.customItems.push(Functioned); MENU.customItems.push(Functioned2); MENU.customItems.push(Functioned3); _root.menu = MENU;
Instance of Symbol 134 MovieClip in Frame 1
onClipEvent (enterFrame) { _root.line._x = random(750); i = 0; while (i <= 2) { _root.circle.duplicateMovieClip("circle" + i, i + 1); i++; } if ((i = 2)) { i = 0; } }
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 5
gotoAndStop (699);
Frame 699
local_data = SharedObject.getLocal("local_data"); if (local_data.data.myname == undefined) { _root.gotoAndStop(700); } else { gamedie = local_data.data.gamedie; akill = local_data.data.akill; bkill = local_data.data.bkill; legendary = local_data.data.legendary; timebeat = local_data.data.timebeat; arbiter = local_data.data.arbiter; totalkills = local_data.data.totalkills; myname = local_data.data.myname; _root.gotoAndStop(703); }
Frame 703
AMMO2 = 100; AMMO3 = 110; AMMO4 = 150; AMMO5 = 30; AMMO6 = 8; AMMO7 = 45; AMMO8 = 50; AMMO9 = 8; AMMO10 = 55; AMMO11 = 200; crosshair2 = 1; _root.enemykillz = 0; if (_root.totalkills >= 100) { _root.akill = 2; } if (_root.totalkills >= 300) { _root.akill = 2; _root.bkill = 2; } _root.isdead = _root.isdead + 1; local_data.data.gamedie = gamedie; local_data.data.akill = akill; local_data.data.bkill = bkill; local_data.data.legendary = legendary; local_data.data.timebeat = timebeat; local_data.data.arbiter = arbiter; local_data.data.totalkills = totalkills; local_data.flush(); stop();
Frame 704
stop();
Frame 705
stop();
Frame 706
stop();
Frame 707
stop();
Frame 708
stop();
Instance of Symbol 296 MovieClip in Frame 708
onClipEvent (enterFrame) { if (_root.gamedie == 2) { this.gotoAndStop(2); } }
Instance of Symbol 301 MovieClip in Frame 708
onClipEvent (enterFrame) { if (_root.akill >= 2) { this.gotoAndStop(2); } }
Instance of Symbol 305 MovieClip in Frame 708
onClipEvent (enterFrame) { if (_root.bkill >= 2) { this.gotoAndStop(2); } }
Instance of Symbol 311 MovieClip in Frame 708
onClipEvent (enterFrame) { if (_root.timebeat == 2) { this.gotoAndStop(2); } }
Instance of Symbol 319 MovieClip in Frame 708
onClipEvent (enterFrame) { if (_root.legendary == 2) { this.gotoAndStop(2); } }
Frame 748
stop();
Frame 749
stop();
Frame 754
gotoAndPlay (821);
Frame 821
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.isdead = 0; _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Frame 822
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.herolifes = 25; _root.bullettime = 0; _root.gun = 1; _root.silences = 710; _root.LEVEL = 1; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 388 MovieClip "guy" in Frame 822
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 822
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda2"); } }
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 822
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 822
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 822
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Frame 823
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 823
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 824
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 2; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 824
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 824
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 824
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda3"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 824
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 824
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 825
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 825
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 826
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.bullettime = 0; _root.silences = 710; _root.LEVEL = 3; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 826
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 826
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 826
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda4"); } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 826
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda4"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 826
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 826
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Instance of Symbol 433 MovieClip "box" in Frame 826
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Frame 827
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 827
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda5"); } }
Instance of Symbol 138 MovieClip "crosshair" in Frame 827
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 828
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 4; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 828
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 828
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 828
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda5"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 828
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 828
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 388 MovieClip "guy" in Frame 828
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 829
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 388 MovieClip "guy" in Frame 829
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Instance of Symbol 138 MovieClip "crosshair" in Frame 829
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 830
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 5; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 830
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 830
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 830
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda6"); } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 830
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda6"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 830
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 830
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 830
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Frame 831
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 831
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 832
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 6; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 832
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 832
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 832
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda7"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 832
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 832
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 832
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 388 MovieClip "guy" in Frame 832
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 833
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 833
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 834
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 7; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 834
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 834
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 834
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda8"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 834
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 834
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 834
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 388 MovieClip "guy" in Frame 834
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 835
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 835
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 836
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 8; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 836
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 836
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 836
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda9"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 836
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 836
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 836
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 836
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 837
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 837
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 838
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 9; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 838
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 838
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 838
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda10"); } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 838
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 838
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 838
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 839
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 839
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 840
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 10; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 840
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 840
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 840
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda11"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 840
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 840
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 840
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 840
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 840
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 841
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 841
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 842
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 11; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 842
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 842
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 842
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda12"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 842
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 842
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 842
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 842
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 842
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 843
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 843
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 844
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 12; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 844
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 844
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 844
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda13"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 844
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 844
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 844
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 844
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 844
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 845
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 845
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 846
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 10; _root.badlife5 = _root.difficult + 10; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 13; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 846
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 846
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 846
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda14"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 846
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 846
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 846
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 846
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 846
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 847
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 847
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 848
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 14; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 848
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 848
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 848
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda15"); } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 848
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 848
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 848
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 848
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 849
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 849
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 850
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 15; _root.timer1 = 120; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 850
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 850
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 850
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda16"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 850
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 850
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 850
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 850
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 850
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 851
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 851
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 852
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 16; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 852
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 852
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 852
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda17"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 852
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 852
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 852
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 852
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 852
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (7); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (8); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 8) & (_root.AMMO8 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO8 = _root.AMMO8 - 1; tellTarget (_root.sounds) { gotoAndStop (9); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 9) & (_root.AMMO9 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO9 = _root.AMMO9 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (11); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (12); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 853
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 853
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 854
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 17; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 854
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 854
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 854
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda18"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 854
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 854
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 854
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 854
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 854
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (7); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (8); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 8) & (_root.AMMO8 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO8 = _root.AMMO8 - 1; tellTarget (_root.sounds) { gotoAndStop (9); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 9) & (_root.AMMO9 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO9 = _root.AMMO9 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (11); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (12); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 855
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 855
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 856
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 18; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 856
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 856
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 856
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda22"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 856
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 856
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 856
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 856
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 856
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 857
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 857
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 858
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 19; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 858
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 858
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 858
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda20"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 858
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 858
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 858
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 858
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 858
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (7); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (8); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 8) & (_root.AMMO8 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO8 = _root.AMMO8 - 1; tellTarget (_root.sounds) { gotoAndStop (9); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 9) & (_root.AMMO9 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO9 = _root.AMMO9 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (11); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (12); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 859
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Instance of Symbol 138 MovieClip "crosshair" in Frame 859
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 860
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 20; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); stop(); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.mshield.nextFrame(); _root.mrecharge.gotoAndPlay(1); tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 860
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 860
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 860
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda21"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 860
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 860
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 860
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 860
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 860
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (7); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (8); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 8) & (_root.AMMO8 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO8 = _root.AMMO8 - 1; tellTarget (_root.sounds) { gotoAndStop (9); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 9) & (_root.AMMO9 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO9 = _root.AMMO9 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (11); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (12); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Frame 861
function BadGuy() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy2() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy3() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy4() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy5() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } function BadGuy6() { this.goX = this._x; this.goY = this._y; this.seenPlayerX = null; this.seenPlayerYX = null; this.NUMBER = Number(this._name.substring(7)); this.I_saw_player = false; } _root.reload = 0; theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy.prototype = new MovieClip(); BadGuy.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead1 == 0) { _root.guyvisible = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible = 0; } } }; Object.registerClass("BadGuy", BadGuy); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy2.prototype = new MovieClip(); BadGuy2.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy2.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy2.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead2 == 0) { _root.guyvisible2 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible2 = 0; } } }; Object.registerClass("BadGuy2", BadGuy2); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy3.prototype = new MovieClip(); BadGuy3.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy3.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy3.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead3 == 0) { _root.guyvisible3 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible3 = 0; } } }; Object.registerClass("BadGuy3", BadGuy3); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy4.prototype = new MovieClip(); BadGuy4.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy4.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy4.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead4 == 0) { _root.guyvisible4 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible4 = 0; } } }; Object.registerClass("BadGuy4", BadGuy4); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy5.prototype = new MovieClip(); BadGuy5.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy5.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy5.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead5 == 0) { _root.guyvisible5 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible5 = 0; } } }; Object.registerClass("BadGuy5", BadGuy5); theDistance = function (obj1, obj2) { return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y)))); }; BadGuy6.prototype = new MovieClip(); BadGuy6.prototype.onEnterFrame = function () { this.lookForPlayer(); }; BadGuy6.prototype.I_see_player = function () { var _local6 = _root.guy._x - this._x; var _local5 = _root.guy._y - this._y; var _local4 = Math.floor(theDistance(this, _root.guy) / 5); var _local3 = 0; while (_local3 < _local4) { if (_root.walls.hitTest(this._x + ((_local3 * _local6) / _local4), this._y + ((_local3 * _local5) / _local4), true)) { return(false); } _local3++; } return(true); }; BadGuy6.prototype.lookForPlayer = function () { if ((_root.theDistance(_root.guy, this) <= 700) && (this.I_see_player())) { this.I_saw_player = true; this.seenPlayerX = _root.guy._x; this.seenPlayerY = _root.guy._y; if (_root.dead6 == 0) { _root.guyvisible6 = 1; } else if (this.I_saw_player) { this._x = this.seenPlayerX._x; this._y = this.seenPlayerY._y; _root.guyvisible6 = 0; } } }; Object.registerClass("BadGuy6", BadGuy6);
Frame 862
function Bullet() { if (_root.bullettime == 0) { this.speed = 18; } else if (_root.bullettime == 1) { this.speed = 6; } } function Bullet3() { if (_root.bullettime == 0) { this.speed = 15; } else if (_root.bullettime == 1) { this.speed = 5; } } function Bullet2() { this.speed = 6; } _root.badlife = _root.difficult; _root.badlife2 = _root.difficult; _root.badlife3 = _root.difficult; _root.badlife4 = _root.difficult + 2; _root.badlife5 = _root.difficult + 2; _root.badlife6 = _root.difficult; _root.bullettime = 0; _root.LEVEL = 21; _root.silence._width = _root.silences; bad6hat = random(5); bad5hat = random(5); bad4hat = random(5); bad3hat = random(5); bad2hat = random(5); bad1hat = random(5); n = "1"; onMouseDown = function () { _root.kurok = true; }; onMouseUp = function () { _root.kurok = false; }; _global.bullet_depth = 100000 /* 0x0186A0 */; addBullet = function (x, y, rot) { _root.attachMovie("bullet", "bullet_" + _global.bullet_depth, _global.bullet_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet_depth++; bn = "box" + n; duplicateMovieClip ("box", bn, n); n = Number(n) + 1; _root.shoots = _root.shoots + 1; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet.prototype = new MovieClip(); Bullet.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this.po)) { _root.badlife = _root.badlife - 1; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } if (_root.dead1 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad2.hit.hitTest(this.po)) { _root.badlife2 = _root.badlife2 - 1; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } if (_root.dead2 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad3.hit.hitTest(this.po)) { _root.badlife3 = _root.badlife3 - 1; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } if (_root.dead3 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad4.hit.hitTest(this.po)) { _root.badlife4 = _root.badlife4 - 1; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } if (_root.dead4 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad5.hit.hitTest(this.po)) { _root.badlife5 = _root.badlife5 - 1; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } if (_root.dead5 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } if (_root.bad6.hit.hitTest(this.po)) { _root.badlife6 = _root.badlife6 - 1; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } if (_root.dead6 == 0) { tellTarget (this) { gotoAndPlay (6); this.speed = 0; }; } } }; Object.registerClass("bullet", Bullet); _global.bullet3_depth = 1000; addBullet3 = function (x, y, rot) { _root.attachMovie("bullet3", "bullet3_" + _global.bullet3_depth, _global.bullet3_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet3_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet3.prototype = new MovieClip(); Bullet3.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.guy.point2.hitTest(this.pu)) { this.removeMovieClip(); _root.herolifes = _root.herolifes - 1; tellTarget (_root.healthbar) { gotoAndPlay (2); }; } }; Object.registerClass("bullet3", Bullet3); _global.bullet2_depth = 100; addBullet2 = function (x, y, rot) { _root.attachMovie("bullet2", "bullet2_" + _global.bullet2_depth, _global.bullet2_depth, {_x:x, _y:y, _rotation:rot}); _global.bullet2_depth++; }; degToRad = function (deg) { rad = (3.141593 * deg) / 180; return(rad); }; radToDeg = function (rad) { deg = (rad * 180) / 3.141593; return(deg); }; Bullet2.prototype = new MovieClip(); Bullet2.prototype.onEnterFrame = function () { var _local3 = degToRad(this._rotation); this._x = this._x + (this.speed * Math.cos(_local3)); this._y = this._y + (this.speed * Math.sin(_local3)); if (_root.walls.hitTest(this._x, this._y, true)) { tellTarget (this) { gotoAndPlay (2); this.speed = 0; }; } if (_root.bad.hit.hitTest(this)) { _root.badlife = _root.badlife - 10; if (_root.badlife < 1) { tellTarget (_root.bad) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad2.hit.hitTest(this)) { _root.badlife2 = _root.badlife2 - 10; if (_root.badlife2 < 1) { tellTarget (_root.bad2) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad3.hit.hitTest(this)) { _root.badlife3 = _root.badlife3 - 10; if (_root.badlife3 < 1) { tellTarget (_root.bad3) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad4.hit.hitTest(this)) { _root.badlife4 = _root.badlife4 - 10; if (_root.badlife4 < 1) { tellTarget (_root.bad4) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad5.hit.hitTest(this)) { _root.badlife5 = _root.badlife5 - 10; if (_root.badlife5 < 1) { tellTarget (_root.bad5) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } if (_root.bad6.hit.hitTest(this)) { _root.badlife6 = _root.badlife6 - 10; if (_root.badlife6 < 1) { tellTarget (_root.bad6) { gotoAndStop (9); }; } tellTarget (this) { gotoAndStop (2); }; this.speed = 0; } }; Object.registerClass("bullet2", Bullet2);
Instance of Symbol 429 MovieClip [BadGuy6] "bad6" in Frame 862
onClipEvent (enterFrame) { if (_root.guyvisible6 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 431 MovieClip [BadGuy5] "bad5" in Frame 862
onClipEvent (enterFrame) { if (_root.guyvisible5 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 400 MovieClip [NextLevel] "EXIT" in Frame 862
onClipEvent (enterFrame) { if (_root.guy.point.hitTest(this)) { _root.gotoAndPlay("runda22"); } }
Instance of Symbol 537 MovieClip [BadGuy4] "bad4" in Frame 862
onClipEvent (enterFrame) { if (_root.guyvisible4 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 551 MovieClip [BadGuy3] "bad3" in Frame 862
onClipEvent (enterFrame) { if (_root.guyvisible3 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 433 MovieClip "box" in Frame 862
onClipEvent (load) { this._x = _root.guy._x; this._y = _root.guy._y; this._rotation = random(360); }
Instance of Symbol 559 MovieClip [BadGuy2] "bad2" in Frame 862
onClipEvent (enterFrame) { if (_root.guyvisible2 == 1) { tellTarget (this) { gotoAndPlay (2); x_diff = this._x - _root.guy._x; y_diff = this._y - _root.guy._y; radian = Math.atan2(y_diff, x_diff); degree = (radian * 180) / 3.141593; degree = Math.round(degree); setProperty(this, _rotation , degree); a_x = Math.round(_root.guy._x); a_y = Math.round(_root.guy._y); c_x = Math.round(_root.collision_clip._x); c_y = Math.round(_root.collision_clip._y); if ((a_x < (c_x + boundary)) && (a_x > (c_x - boundary))) { if ((a_y < (c_y + boundary)) && (a_y > (c_y - boundary))) { gotoAndStop ("youLose"); } } }; } }
Instance of Symbol 388 MovieClip "guy" in Frame 862
onClipEvent (mouseDown) { if ((_root.gun == 1) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); tellTarget (_root.sounds) { gotoAndStop (2); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); tellTarget (_root.sounds) { gotoAndStop (3); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 2) & (_root.AMMO2 > 0)) & (_root.kurok == true)) & (_root.shoot1time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO2 = _root.AMMO2 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (4); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 3) & (_root.AMMO3 > 0)) & (_root.kurok == true)) & (_root.shoot2time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(10) + 355))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO3 = _root.AMMO3 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (5); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 4) & (_root.AMMO4 > 0)) & (_root.kurok == true)) & (_root.shoot3time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO4 = _root.AMMO4 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 5) & (_root.AMMO5 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); _root.addBullet(this._x, this._y, (this._rotation = this._rotation - 5)); _root.addBullet(this._x, this._y, (this._rotation = this._rotation + 10)); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO5 = _root.AMMO5 - 1; tellTarget (_root.sounds) { gotoAndStop (6); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (7); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 6) & (_root.AMMO6 > 0)) & (_root.kurok == true)) & (_root.shoot4time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO6 = _root.AMMO6 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (8); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 7) & (_root.AMMO7 > 0)) & (_root.kurok == true)) & (_root.shoot5time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(30) + 345))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO7 = _root.AMMO7 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 8) & (_root.AMMO8 > 0)) & (_root.reload == 0)) { _root.addBullet(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO8 = _root.AMMO8 - 1; tellTarget (_root.sounds) { gotoAndStop (9); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (mouseDown) { if (((_root.gun == 9) & (_root.AMMO9 > 0)) & (_root.reload == 0)) { _root.addBullet2(this._x, this._y, this._rotation); tellTarget (this.guy) { gotoAndPlay (2); _root.AMMO9 = _root.AMMO9 - 1; tellTarget (_root.sounds) { gotoAndStop (10); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (11); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 10) & (_root.AMMO10 > 0)) & (_root.kurok == true)) & (_root.shoot6time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(6) + 357))); tellTarget (this.guy) { gotoAndPlay (4); _root.AMMO10 = _root.AMMO10 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time == 1)) & (_root.bullettime == 0)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (12); tellTarget (_root.crosshair.cross) { nextFrame(); }; }; }; } } onClipEvent (enterFrame) { if (((((_root.gun == 11) & (_root.AMMO11 > 0)) & (_root.kurok == true)) & (_root.shoot7time1 == 1)) & (_root.bullettime == 1)) { _root.addBullet(this._x, this._y, (this._rotation = this._rotation + (random(20) + 350))); tellTarget (this.guy) { gotoAndPlay (6); _root.AMMO11 = _root.AMMO11 - 1; tellTarget (_root.sounds) { gotoAndStop (13); }; }; } } onClipEvent (enterFrame) { this._rotation = _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x)); } onClipEvent (enterFrame) { if (_root.bullettime == 0) { moveSpeed = 2; } else if (_root.bullettime == 1) { moveSpeed = 1; _root.silence._width = _root.silence._width - 1; _root.silences = _root.silences - 1; _root.slowmotiontime = _root.slowmotiontime + 1; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { this._x = this._x + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x - 3; } } else if (Key.isDown(65)) { this._x = this._x - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._x = this._x + 3; } } } onClipEvent (enterFrame) { if (Key.isDown(83)) { this._y = this._y + moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y - 3; } } else if (Key.isDown(87)) { this._y = this._y - moveSpeed; if (_root.bullettime == 1) { tellTarget (this) { gotoAndPlay (15); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } else if (_root.bullettime == 0) { tellTarget (this) { gotoAndPlay (2); tellTarget (_root.cursor) { gotoAndPlay (2); }; }; } if (_root.walls.hitTest(this._x, this._y, true)) { this._y = this._y + 3; } } } onClipEvent (enterFrame) { if ((_root.reload == 0) & (_root.ammo1 < 7)) { if (Key.isDown(82)) { tellTarget (this) { gotoAndPlay (27); }; } } }
Instance of Symbol 134 MovieClip in Frame 863
onClipEvent (enterFrame) { _root.line._x = random(750); i = 0; while (i <= 2) { _root.circle.duplicateMovieClip("circle" + i, i + 1); i++; } if ((i = 2)) { i = 0; } }
Instance of Symbol 138 MovieClip in Frame 863
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 876
stop();
Frame 877
if (_root.difficult == 14) { gotoAndStop (879); }
Frame 878
stop(); if (_root.totalkills >= 100) { _root.akill = 2; } if (_root.totalkills >= 300) { _root.akill = 2; _root.bkill = 2; } if (_root.difficult == 14) { _root.legendary = 2; } if (_root.timee <= 540) { _root.timebeat = 2; } if (_root.isdead == 0) { _root.gamedie = 2; } _root.totalkills = _root.totalkills + _root.enemykillz; local_data.data.gamedie = gamedie; local_data.data.akill = akill; local_data.data.bkill = bkill; local_data.data.legendary = legendary; local_data.data.timebeat = timebeat; local_data.data.arbiter = arbiter; local_data.data.totalkills = totalkills; local_data.flush();
Frame 879
stop(); if (_root.totalkills >= 100) { _root.akill = 2; } if (_root.totalkills >= 300) { _root.akill = 2; _root.bkill = 2; } if (_root.difficult == 14) { _root.legendary = 2; } if (_root.timee <= 540) { _root.timebeat = 2; } local_data.data.gamedie = gamedie; local_data.data.akill = akill; local_data.data.bkill = bkill; local_data.data.legendary = legendary; local_data.data.timebeat = timebeat; local_data.data.arbiter = arbiter; local_data.flush();
Frame 880
stop();
Frame 881
stop();
Frame 882
stop();
Frame 883
stop();
Frame 884
stop();
Frame 885
stop();
Instance of Symbol 138 MovieClip in Frame 900
onClipEvent (load) { Mouse.hide(); } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateafterevent(); }
Frame 973
stop(); if (_root.totalkills >= 100) { _root.akill = 2; } if (_root.totalkills >= 300) { _root.akill = 2; _root.bkill = 2; } _root.isdead = _root.isdead + 1; local_data.data.gamedie = gamedie; local_data.data.akill = akill; local_data.data.bkill = bkill; local_data.data.legendary = legendary; local_data.data.timebeat = timebeat; local_data.data.arbiter = arbiter; local_data.data.totalkills = totalkills; local_data.flush();
Symbol 8 MovieClip [Colt_1917] Frame 1
stop();
Symbol 8 MovieClip [Colt_1917] Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 12 MovieClip [Browning_1921] Frame 1
stop();
Symbol 12 MovieClip [Browning_1921] Frame 2
this._parent._parent.play(); var i = (-_global.OPTIONS.shotgun); while (i <= _global.OPTIONS.shotgun) { _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation + (i * _global.OPTIONS.drob), this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); i++; } _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 14 MovieClip [AK_47] Frame 1
stop();
Symbol 14 MovieClip [AK_47] Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 18 MovieClip Frame 16
stop();
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip Frame 3
onClipEvent (load) { this._rotation = random(360); }
Symbol 32 MovieClip Frame 24
stop(); _parent.removeMovieClip();
Symbol 49 MovieClip Frame 16
stop(); _parent.removeMovieClip();
Symbol 50 MovieClip [bullet] Frame 1
stop();
Symbol 50 MovieClip [bullet] Frame 2
stop();
Symbol 50 MovieClip [bullet] Frame 3
stop();
Symbol 50 MovieClip [bullet] Frame 4
gotoAndStop (3);
Symbol 50 MovieClip [bullet] Frame 5
stop();
Instance of Symbol 49 MovieClip in Symbol 50 MovieClip [bullet] Frame 5
onClipEvent (load) { this._rotation = random(360); }
Instance of Symbol 49 MovieClip in Symbol 50 MovieClip [bullet] Frame 5
onClipEvent (load) { this._rotation = random(360); }
Symbol 50 MovieClip [bullet] Frame 6
stop();
Symbol 50 MovieClip [bullet] Frame 7
gotoAndStop (6);
Symbol 52 MovieClip Frame 45
stop();
Symbol 54 MovieClip Frame 18
stop();
Symbol 65 MovieClip Frame 10
stop();
Symbol 66 MovieClip Frame 19
stop();
Symbol 67 MovieClip [bullet2] Frame 1
stop();
Symbol 67 MovieClip [bullet2] Frame 2
stop();
Symbol 67 MovieClip [bullet2] Frame 3
stop();
Symbol 67 MovieClip [bullet2] Frame 4
gotoAndStop (3);
Symbol 69 MovieClip Frame 16
stop();
Instance of Symbol 31 MovieClip in Symbol 70 MovieClip Frame 3
onClipEvent (load) { this._rotation = random(360); }
Symbol 70 MovieClip Frame 24
stop(); _parent.removeMovieClip();
Symbol 71 MovieClip [bullet3] Frame 1
stop();
Symbol 71 MovieClip [bullet3] Frame 2
stop();
Symbol 71 MovieClip [bullet3] Frame 3
stop();
Symbol 71 MovieClip [bullet3] Frame 4
gotoAndStop (3);
Symbol 81 MovieClip [Browning_1921_gr] Frame 1
stop();
Symbol 81 MovieClip [Browning_1921_gr] Frame 2
stop();
Symbol 89 MovieClip [SuperShotgun] Frame 1
stop();
Symbol 89 MovieClip [SuperShotgun] Frame 2
this._parent._parent.play(); var i = ((-_global.OPTIONS.shotgun) * 3); while (i <= (_global.OPTIONS.shotgun * 3)) { _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation + ((i * _global.OPTIONS.drob) / 2), this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); i++; } _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 91 MovieClip [M_16] Frame 1
stop();
Symbol 91 MovieClip [M_16] Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 93 MovieClip [RocketLauncher] Frame 1
stop();
Symbol 93 MovieClip [RocketLauncher] Frame 2
this._parent._parent.play(); _root.addRocket(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.kick); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 95 MovieClip [Thompson] Frame 1
stop();
Symbol 95 MovieClip [Thompson] Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 97 MovieClip [PM] Frame 1
stop();
Symbol 97 MovieClip [PM] Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 99 MovieClip [Beretta] Frame 1
stop();
Symbol 99 MovieClip [Beretta] Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 101 MovieClip [HK_28] Frame 1
stop();
Symbol 101 MovieClip [HK_28] Frame 2
this._parent._parent.play(); var i = ((-_global.OPTIONS.shotgun) * 2); while (i <= (_global.OPTIONS.shotgun * 2)) { _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation + (i * _global.OPTIONS.drob), this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); i++; } _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 103 MovieClip [UZI] Frame 1
stop();
Symbol 103 MovieClip [UZI] Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 119 Button
on (release) { _root.play(); }
Symbol 122 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }
Symbol 122 MovieClip Frame 2
gotoAndPlay (1);
Symbol 137 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
stop();
Symbol 734 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 735 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 736 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 737 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong { function Strong () { } static function easeIn(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOut(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static var version = "1.1.0.52"; }
Symbol 738 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce { function Bounce () { } static function easeOut(t, b, c, d) { t = t / d; if (t < 0.363636363636364) { return((c * ((7.5625 * t) * t)) + b); } if (t < 0.727272727272727) { t = t - 0.545454545454545; return((c * (((7.5625 * t) * t) + 0.75)) + b); } if (t < 0.909090909090909) { t = t - 0.818181818181818; return((c * (((7.5625 * t) * t) + 0.9375)) + b); } t = t - 0.954545454545455; return((c * (((7.5625 * t) * t) + 0.984375)) + b); } static function easeIn(t, b, c, d) { return((c - easeOut(d - t, 0, c, d)) + b); } static function easeInOut(t, b, c, d) { if (t < (d / 2)) { return((easeIn(t * 2, 0, c, d) * 0.5) + b); } return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static var version = "1.1.0.52"; }
Symbol 158 MovieClip Frame 1
function LOGO_IN() { var _local1 = new mx.transitions.Tween(AGlogo_mc, "_y", mx.transitions.easing.Strong.easeIn, -75, 85, 12, false); _local1.onMotionFinished = function () { LOGO_SMASH(); var _local3 = new mx.transitions.Tween(AGlogo_mc, "_y", mx.transitions.easing.Bounce.easeOut, 60, 85, 6, false); var _local4 = new mx.transitions.Tween(AGlogo_mc, "_x", mx.transitions.easing.Bounce.easeOut, 30, 50, 6, false); var _local2 = new mx.transitions.Tween(AGpresented_mc, "_y", mx.transitions.easing.Bounce.easeOut, 15, 25, 6, false); var _local1 = new mx.transitions.Tween(AGpresented_mc, "_x", mx.transitions.easing.Bounce.easeOut, 110, 100, 6, false); }; } function LOGO_SMASH() { AG_SMASH.start(); AGclick_btn._visible = true; } function AG_HOLD_COUNTER() { if (AG_COUNT == AG_TIME) { clearInterval(AG_HOLD_ID); _level0.START_ping.broadcastMessage("presented"); this.unloadMovie(); _root.play(); } else { AG_COUNT++; } } _parent.stop(); var AG_SMASH = new Sound(); AG_SMASH.attachSound("Smash"); var AG_COUNT = 0; var AG_TIME = 4; var AG_HOLD_ID; AG_HOLD_ID = setInterval(this, "AG_HOLD_COUNTER", 1000); AGpresented_mc._alpha = 0; AGclick_btn._visible = false; AGlogo_mc._y = -70; var AGpresented_IN = (new mx.transitions.Tween(AGpresented_mc, "_alpha", mx.transitions.easing.Strong.easeIn, 0, 100, 12, false)); AGpresented_IN.onMotionFinished = function () { LOGO_IN(); }; AGskip_btn.onRelease = function () { AG_COUNT = AG_TIME; AG_HOLD_COUNTER(); }; AGclick_btn.onRelease = function () { getURL ("http://www.addictinggames.com", "_blank"); };
Symbol 180 Button
on (press) { getURL ("http://www.emperius.com/", "_blank"); }
Symbol 182 Button
on (release) { _root.gotoAndPlay(195); }
Symbol 183 MovieClip Frame 1
_root.stop(); _root.stop();
Symbol 183 MovieClip Frame 115
_root.stop();
Symbol 183 MovieClip Frame 125
_root.play();
Symbol 189 Button
on (release) { local_data.clear(); local_data.clear(); local_data.data.myname = myname; local_data.flush(); _root.totalkills = 0; _root.akill = 0; _root.bkill = 0; _root.timebeat = 0; _root.legendary = 0; _root.gotoAndStop(703); }
Symbol 198 Button
on (press) { _root.gotoAndStop("start"); }
Symbol 202 Button
on (press) { _root.gotoAndStop("instructions"); }
Symbol 204 Button
on (press) { _root.gotoAndStop("options"); }
Symbol 206 Button
on (press) { _root.gotoAndStop("credit"); }
Symbol 214 Button
on (release) { getURL ("http://www.armorgames.com/games/black.html ", "_blank"); }
Symbol 216 MovieClip Frame 25
stop();
Symbol 224 Button
on (press) { getURL ("http://www.emperius.com", blank); }
Symbol 228 Button
on (release) { gotoAndStop (708); }
Symbol 237 Button
on (press) { getURL ("http://www.addictinggames.com", blank); }
Symbol 243 Button
on (press) { _root.gotoAndPlay("startgame"); _root.crosshair2 = 1; _root.difficult = 5; _root.shoots = 0; _root.timee = 0; _root.slowmotiontime = 0; _root.enemykillz = 0; }
Symbol 252 Button
on (press) { _root.gotoAndPlay("startgame"); _root.difficult = 7; _root.crosshair2 = 1; _root.shoots = 0; _root.timee = 0; _root.slowmotiontime = 0; _root.enemykillz = 0; play(); }
Symbol 260 Button
on (press) { _root.gotoAndPlay("startgame"); _root.difficult = 10; _root.crosshair2 = 1; _root.shoots = 0; _root.timee = 0; _root.enemykillz = 0; _root.slowmotiontime = 0; play(); }
Symbol 269 Button
on (press) { _root.gotoAndPlay("startgame"); _root.difficult = 14; _root.crosshair2 = 0; _root.shoots = 0; _root.timee = 0; _root.enemykillz = 0; _root.slowmotiontime = 0; play(); }
Symbol 271 Button
on (press) { _root.gotoAndStop("menu2"); }
Symbol 273 Button
on (release) { _quality = "LOW"; }
Symbol 275 Button
on (release) { _quality = "MEDIUM"; }
Symbol 277 Button
on (release) { _quality = "HIGH"; }
Symbol 296 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 318 Button
on (press) { _root.AMMO2 = 999; _root.AMMO3 = 999; _root.AMMO4 = 999; _root.AMMO5 = 999; _root.AMMO6 = 999; _root.AMMO7 = 999; _root.AMMO8 = 999; _root.AMMO9 = 999; _root.AMMO10 = 999; _root.AMMO11 = 999; _root.enemykillz = 0; _root.shoots = 0; _root.timee = 0; _root.slowmotiontime = 0; _root.difficult = 10; _root.crosshair2 = 1; _root.gotoAndPlay("startgame"); }
Symbol 319 MovieClip Frame 1
stop();
Symbol 333 Button
on (release) { nextFrame(); }
Symbol 353 MovieClip Frame 16
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 372 MovieClip [MP5] Frame 1
stop();
Symbol 372 MovieClip [MP5] Frame 2
stop();
Symbol 372 MovieClip [MP5] Frame 3
stop();
Symbol 372 MovieClip [MP5] Frame 4
stop();
Symbol 372 MovieClip [MP5] Frame 5
stop();
Symbol 372 MovieClip [MP5] Frame 6
stop();
Symbol 372 MovieClip [MP5] Frame 7
stop();
Symbol 372 MovieClip [MP5] Frame 8
stop();
Symbol 372 MovieClip [MP5] Frame 9
stop();
Symbol 372 MovieClip [MP5] Frame 10
stop();
Symbol 372 MovieClip [MP5] Frame 11
stop();
Symbol 380 MovieClip Frame 1
stop(); _root.reload = 0;
Symbol 380 MovieClip Frame 2
_root.reload = 1;
Symbol 380 MovieClip Frame 3
_root.reload = 1;
Symbol 380 MovieClip Frame 12
gotoAndStop (1); _root.reload = 0;
Symbol 386 MovieClip Frame 1
_root.moves = false;
Symbol 387 MovieClip Frame 1
_root.moves2 = false;
Symbol 388 MovieClip Frame 1
if (_root.gun == 1) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (1); }; } if (_root.gun == 2) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (2); }; } if (_root.gun == 3) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (3); }; } if (_root.gun == 4) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (4); }; } if (_root.gun == 5) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (5); }; } if (_root.gun == 6) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (9); }; } stop(); _root.moves = true; _root.moves2 = true;
Symbol 388 MovieClip Frame 2
if (_root.gun == 1) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (1); }; } if (_root.gun == 2) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (2); }; } if (_root.gun == 3) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (3); }; } if (_root.gun == 4) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (4); }; } if (_root.gun == 5) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (5); }; } if (_root.gun == 6) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (9); }; }
Symbol 388 MovieClip Frame 6
gotoAndPlay (1);
Symbol 388 MovieClip Frame 15
if (_root.gun == 1) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (1); }; } if (_root.gun == 2) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (2); }; } if (_root.gun == 3) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (3); }; } if (_root.gun == 4) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (4); }; } if (_root.gun == 5) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (5); }; } if (_root.gun == 6) { tellTarget (_root.guy.guy.guy.weapon) { gotoAndStop (9); }; }
Symbol 388 MovieClip Frame 18
gotoAndPlay (1);
Symbol 394 MovieClip Frame 1
stop();
Instance of Symbol 394 MovieClip "door" in Symbol 395 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip "door2" in Symbol 395 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 1
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 2
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 3
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 4
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 5
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 6
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 7
stop(); stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 8
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 9
stop(); stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 10
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 11
stop();
Symbol 407 MovieClip [Helm_Terror_Drug] Frame 12
stop();
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 2
this._parent._parent.play(); _root.addBullet(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation, this._parent._parent._parent.weapon.damage, this._parent._parent._parent.kick); _root.addShell(this._parent._parent._parent._x, this._parent._parent._parent._y, this._parent._parent._parent._rotation); if (this._parent._parent._parent.kick < this._parent._parent._parent.weapon.max_kick) { this._parent._parent._parent.kick = this._parent._parent._parent.kick + this._parent._parent._parent.weapon.kickback; } else { this._parent._parent._parent.kick = this._parent._parent._parent.weapon.max_kick; }
Symbol 412 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 2
stop();
Symbol 412 MovieClip Frame 3
stop();
Symbol 412 MovieClip Frame 4
stop();
Symbol 412 MovieClip Frame 5
stop();
Symbol 412 MovieClip Frame 6
stop();
Symbol 412 MovieClip Frame 7
stop();
Symbol 412 MovieClip Frame 8
stop();
Symbol 412 MovieClip Frame 9
stop();
Symbol 412 MovieClip Frame 10
stop();
Symbol 412 MovieClip Frame 11
stop();
Symbol 428 MovieClip Frame 4
_root.enemykillz = _root.enemykillz + 1;
Instance of Symbol 81 MovieClip [Browning_1921_gr] in Symbol 428 MovieClip Frame 26
onClipEvent (enterFrame) { if (this.hitTest(_root.guy.point)) { _root.AMMO2 = _root.AMMO2 + random(10); _root.AMMO3 = _root.AMMO3 + random(10); _root.AMMO4 = _root.AMMO4 + random(5); _root.AMMO5 = _root.AMMO5 + random(10); _root.AMMO6 = _root.AMMO6 + random(1); _root.AMMO7 = _root.AMMO7 + random(20); _root.AMMO8 = _root.AMMO8 + random(4); _root.AMMO9 = _root.AMMO9 + random(1); _root.AMMO10 = _root.AMMO10 + random(5); _root.AMMO11 = _root.AMMO11 + random(20); tellTarget (this) { gotoAndPlay (2); }; } }
Symbol 428 MovieClip Frame 60
stop();
Symbol 429 MovieClip [BadGuy6] Frame 1
stop(); _root.dead6 = 0;
Symbol 429 MovieClip [BadGuy6] Frame 3
_root.addBullet3(this._x, this._y, this._rotation + 180);
Symbol 429 MovieClip [BadGuy6] Frame 8
gotoAndPlay (1);
Symbol 429 MovieClip [BadGuy6] Frame 9
stop(); _root.dead6 = 1; _root.guyvisible6 = 0;
Symbol 429 MovieClip [BadGuy6] Frame 10
stop(); _root.dead6 = 1; _root.guyvisible6 = 0;
Symbol 431 MovieClip [BadGuy5] Frame 1
stop(); _root.dead5 = 0;
Symbol 431 MovieClip [BadGuy5] Frame 3
_root.addBullet3(this._x, this._y, this._rotation + 180);
Symbol 431 MovieClip [BadGuy5] Frame 8
gotoAndPlay (1);
Symbol 431 MovieClip [BadGuy5] Frame 9
stop(); _root.dead5 = 1; _root.guyvisible5 = 0;
Symbol 431 MovieClip [BadGuy5] Frame 10
stop(); _root.dead5 = 1; _root.guyvisible5 = 0;
Symbol 433 MovieClip Frame 46
this.removeMovieClip(); stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 2
stop();
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 2
play();
Symbol 450 MovieClip Frame 1
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 2
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 3
tellTarget (_root.crosshair.cross) { prevFrame(); }; _root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 4
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 5
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 6
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 7
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 8
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 9
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 10
tellTarget (_root.crosshair.cross) { prevFrame(); }; _root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 11
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 12
_root.guyvisible = 0; _root.guyvisible2 = 0; _root.guyvisible3 = 0; _root.guyvisible4 = 0; _root.guyvisible5 = 0; _root.guyvisible6 = 0; if (_root.herolifes < 1) { _root.gotoAndPlay("dead"); }
Symbol 450 MovieClip Frame 13
if ((_root.bullettime == 0) & (_root.silence._width < 705)) { _root.silence._width = _root.silence._width + 5; _root.silences = _root.silences + 5; } if (_root.silence._width < 1) { _root.bullettime = 0; tellTarget (_root.bulletshow) { gotoAndPlay (2); }; }
Symbol 452 MovieClip Frame 1
if (_root.bullettime == 1) { tellTarget (_root.bulletshow2) { gotoAndStop (2); }; } if (_root.bullettime == 0) { tellTarget (_root.bulletshow2) { gotoAndStop (1); }; } if (_root.crosshair2 == 0) { _root.crosshair._alpha = 0; } if (_root.gun == 1) { tellTarget (_root.weapon1) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (1); }; }; } if (_root.gun == 2) { tellTarget (_root.weapon2) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (2); }; }; } if (_root.gun == 3) { tellTarget (_root.weapon3) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (3); }; }; } if (_root.gun == 4) { tellTarget (_root.weapon4) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (4); }; }; } if (_root.gun == 5) { tellTarget (_root.weapon5) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (5); }; }; } if (_root.gun == 6) { tellTarget (_root.weapon6) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (9); }; }; } if (_root.bad6hat == 0) { tellTarget (_root.bad6.hat) { gotoAndStop (1); }; } if (_root.bad6hat == 1) { tellTarget (_root.bad6.hat) { gotoAndStop (3); }; } if (_root.bad6hat == 2) { tellTarget (_root.bad6.hat) { gotoAndStop (5); }; } if (_root.bad6hat == 3) { tellTarget (_root.bad6.hat) { gotoAndStop (7); }; } if (_root.bad6hat == 4) { tellTarget (_root.bad6.hat) { gotoAndStop (9); }; } if (_root.bad6hat == 5) { tellTarget (_root.bad6.hat) { gotoAndStop (11); }; } if (_root.bad5hat == 0) { tellTarget (_root.bad5.hat) { gotoAndStop (1); }; } if (_root.bad5hat == 1) { tellTarget (_root.bad5.hat) { gotoAndStop (3); }; } if (_root.bad5hat == 2) { tellTarget (_root.bad5.hat) { gotoAndStop (5); }; } if (_root.bad5hat == 3) { tellTarget (_root.bad5.hat) { gotoAndStop (7); }; } if (_root.bad5hat == 4) { tellTarget (_root.bad5.hat) { gotoAndStop (9); }; } if (_root.bad5hat == 5) { tellTarget (_root.bad5.hat) { gotoAndStop (11); }; } if (_root.bad4hat == 0) { tellTarget (_root.bad4.hat) { gotoAndStop (1); }; } if (_root.bad4hat == 1) { tellTarget (_root.bad4.hat) { gotoAndStop (3); }; } if (_root.bad4hat == 2) { tellTarget (_root.bad4.hat) { gotoAndStop (5); }; } if (_root.bad4hat == 3) { tellTarget (_root.bad4.hat) { gotoAndStop (7); }; } if (_root.bad4hat == 4) { tellTarget (_root.bad4.hat) { gotoAndStop (9); }; } if (_root.bad4hat == 5) { tellTarget (_root.bad4.hat) { gotoAndStop (11); }; } if (_root.bad3hat == 0) { tellTarget (_root.bad3.hat) { gotoAndStop (1); }; } if (_root.bad3hat == 1) { tellTarget (_root.bad3.hat) { gotoAndStop (3); }; } if (_root.bad3hat == 2) { tellTarget (_root.bad3.hat) { gotoAndStop (5); }; } if (_root.bad3hat == 3) { tellTarget (_root.bad3.hat) { gotoAndStop (7); }; } if (_root.bad3hat == 4) { tellTarget (_root.bad3.hat) { gotoAndStop (9); }; } if (_root.bad3hat == 5) { tellTarget (_root.bad3.hat) { gotoAndStop (11); }; } if (_root.bad2hat == 0) { tellTarget (_root.bad2.hat) { gotoAndStop (1); }; } if (_root.bad2hat == 1) { tellTarget (_root.bad2.hat) { gotoAndStop (3); }; } if (_root.bad2hat == 2) { tellTarget (_root.bad2.hat) { gotoAndStop (5); }; } if (_root.bad2hat == 3) { tellTarget (_root.bad2.hat) { gotoAndStop (7); }; } if (_root.bad2hat == 4) { tellTarget (_root.bad2.hat) { gotoAndStop (9); }; } if (_root.bad2hat == 5) { tellTarget (_root.bad2.hat) { gotoAndStop (11); }; }
Symbol 452 MovieClip Frame 2
if (_root.bullettime == 1) { tellTarget (_root.bulletshow2) { gotoAndStop (2); }; } if (_root.bullettime == 0) { tellTarget (_root.bulletshow2) { gotoAndStop (1); }; } if (_root.crosshair2 == 0) { _root.crosshair._alpha = 0; } if (_root.gun == 1) { tellTarget (_root.weapon1) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (1); }; }; } if (_root.gun == 2) { tellTarget (_root.weapon2) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (2); }; }; } if (_root.gun == 3) { tellTarget (_root.weapon3) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (3); }; }; } if (_root.gun == 4) { tellTarget (_root.weapon4) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (4); }; }; } if (_root.gun == 5) { tellTarget (_root.weapon5) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (5); }; }; } if (_root.gun == 6) { tellTarget (_root.weapon6) { gotoAndPlay (2); tellTarget (_root.guy.guy.weapon) { gotoAndPlay (9); }; }; } if (_root.bad6hat == 0) { tellTarget (_root.bad6.hat) { gotoAndStop (1); }; } if (_root.bad6hat == 1) { tellTarget (_root.bad6.hat) { gotoAndStop (3); }; } if (_root.bad6hat == 2) { tellTarget (_root.bad6.hat) { gotoAndStop (5); }; } if (_root.bad6hat == 3) { tellTarget (_root.bad6.hat) { gotoAndStop (7); }; } if (_root.bad6hat == 4) { tellTarget (_root.bad6.hat) { gotoAndStop (9); }; } if (_root.bad6hat == 5) { tellTarget (_root.bad6.hat) { gotoAndStop (11); }; } if (_root.bad5hat == 0) { tellTarget (_root.bad5.hat) { gotoAndStop (1); }; } if (_root.bad5hat == 1) { tellTarget (_root.bad5.hat) { gotoAndStop (3); }; } if (_root.bad5hat == 2) { tellTarget (_root.bad5.hat) { gotoAndStop (5); }; } if (_root.bad5hat == 3) { tellTarget (_root.bad5.hat) { gotoAndStop (7); }; } if (_root.bad5hat == 4) { tellTarget (_root.bad5.hat) { gotoAndStop (9); }; } if (_root.bad5hat == 5) { tellTarget (_root.bad5.hat) { gotoAndStop (11); }; } if (_root.bad4hat == 0) { tellTarget (_root.bad4.hat) { gotoAndStop (1); }; } if (_root.bad4hat == 1) { tellTarget (_root.bad4.hat) { gotoAndStop (3); }; } if (_root.bad4hat == 2) { tellTarget (_root.bad4.hat) { gotoAndStop (5); }; } if (_root.bad4hat == 3) { tellTarget (_root.bad4.hat) { gotoAndStop (7); }; } if (_root.bad4hat == 4) { tellTarget (_root.bad4.hat) { gotoAndStop (9); }; } if (_root.bad4hat == 5) { tellTarget (_root.bad4.hat) { gotoAndStop (11); }; } if (_root.bad3hat == 0) { tellTarget (_root.bad3.hat) { gotoAndStop (1); }; } if (_root.bad3hat == 1) { tellTarget (_root.bad3.hat) { gotoAndStop (3); }; } if (_root.bad3hat == 2) { tellTarget (_root.bad3.hat) { gotoAndStop (5); }; } if (_root.bad3hat == 3) { tellTarget (_root.bad3.hat) { gotoAndStop (7); }; } if (_root.bad3hat == 4) { tellTarget (_root.bad3.hat) { gotoAndStop (9); }; } if (_root.bad3hat == 5) { tellTarget (_root.bad3.hat) { gotoAndStop (11); }; } if (_root.bad2hat == 0) { tellTarget (_root.bad2.hat) { gotoAndStop (1); }; } if (_root.bad2hat == 1) { tellTarget (_root.bad2.hat) { gotoAndStop (3); }; } if (_root.bad2hat == 2) { tellTarget (_root.bad2.hat) { gotoAndStop (5); }; } if (_root.bad2hat == 3) { tellTarget (_root.bad2.hat) { gotoAndStop (7); }; } if (_root.bad2hat == 4) { tellTarget (_root.bad2.hat) { gotoAndStop (9); }; } if (_root.bad2hat == 5) { tellTarget (_root.bad2.hat) { gotoAndStop (11); }; }
Symbol 454 MovieClip Frame 1
_root.shoot1time = 0;
Symbol 454 MovieClip Frame 5
_root.shoot1time = 1;
Symbol 455 MovieClip Frame 1
_root.shoot2time = 0;
Symbol 455 MovieClip Frame 9
_root.shoot2time = 1;
Symbol 456 MovieClip Frame 1
_root.shoot3time = 0;
Symbol 456 MovieClip Frame 6
_root.shoot3time = 1;
Symbol 457 MovieClip Frame 1
_root.shoot4time = 0;
Symbol 457 MovieClip Frame 5
_root.shoot4time = 1;
Symbol 458 MovieClip Frame 1
_root.shoot5time = 0;
Symbol 458 MovieClip Frame 11
_root.shoot5time = 1;
Symbol 459 MovieClip Frame 1
_root.shoot6time = 0;
Symbol 459 MovieClip Frame 16
_root.shoot6time = 1;
Symbol 460 MovieClip Frame 1
_root.shoot7time = 0;
Symbol 460 MovieClip Frame 3
_root.shoot7time = 1;
Symbol 463 MovieClip Frame 1
if ((_root.reload == 0) & (_root.kurok == false)) { if (Key.isDown(69)) { tellTarget (_root.guy.guy.weapon) { nextFrame(); _root.gun = _root.gun + 1; if (_root.gun == 7) { _root.gun = 1; tellTarget (_root.guy.guy.weapon) { gotoAndStop (1); }; } }; } } if ((_root.reload == 0) & (_root.kurok == false)) { if (Key.isDown(81)) { tellTarget (_root.guy.guy.weapon) { prevFrame(); _root.gun = _root.gun - 1; if (_root.gun == 0) { _root.gun = 6; tellTarget (_root.guy.guy.weapon) { gotoAndStop (1); }; } }; } }
Symbol 466 MovieClip Frame 1
_root.shoot1time1 = 0;
Symbol 466 MovieClip Frame 15
_root.shoot1time1 = 1;
Symbol 467 MovieClip Frame 1
_root.shoot2time1 = 0;
Symbol 467 MovieClip Frame 18
_root.shoot2time1 = 1;
Symbol 468 MovieClip Frame 1
_root.shoot3time1 = 0;
Symbol 468 MovieClip Frame 16
_root.shoot3time1 = 1;
Symbol 469 MovieClip Frame 1
_root.shoot4time1 = 0;
Symbol 469 MovieClip Frame 9
_root.shoot4time1 = 1;
Symbol 470 MovieClip Frame 1
_root.shoot5time1 = 0;
Symbol 470 MovieClip Frame 18
_root.shoot5time1 = 1;
Symbol 471 MovieClip Frame 1
_root.shoot6time1 = 0;
Symbol 471 MovieClip Frame 22
_root.shoot6time1 = 1;
Symbol 472 MovieClip Frame 1
_root.shoot7time1 = 0;
Symbol 472 MovieClip Frame 6
_root.shoot7time1 = 1;
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
gotoAndStop (1);
Symbol 484 MovieClip Frame 3
gotoAndStop (1);
Symbol 484 MovieClip Frame 4
gotoAndStop (1);
Symbol 484 MovieClip Frame 5
gotoAndStop (1);
Symbol 484 MovieClip Frame 6
gotoAndStop (1);
Symbol 484 MovieClip Frame 7
gotoAndStop (1);
Symbol 484 MovieClip Frame 8
gotoAndStop (1);
Symbol 484 MovieClip Frame 9
gotoAndStop (1);
Symbol 484 MovieClip Frame 10
gotoAndStop (1);
Symbol 484 MovieClip Frame 11
gotoAndStop (1);
Symbol 484 MovieClip Frame 12
gotoAndStop (1);
Symbol 484 MovieClip Frame 13
gotoAndStop (1);
Symbol 486 MovieClip Frame 33
_root.timee = _root.timee + 1;
Symbol 494 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 2
stop();
Symbol 518 MovieClip Frame 3
stop();
Symbol 518 MovieClip Frame 4
stop();
Symbol 518 MovieClip Frame 5
stop();
Symbol 518 MovieClip Frame 6
stop();
Symbol 518 MovieClip Frame 7
stop();
Symbol 518 MovieClip Frame 8
Symbol 518 MovieClip Frame 9
_root.herolifes = _root.herolifes - 1; gotoAndStop (8);
Symbol 520 MovieClip Frame 130
_root.mshield.gotoAndStop(1);
Symbol 533 MovieClip Frame 1
stop();
Symbol 533 MovieClip Frame 2
play();
Symbol 537 MovieClip [BadGuy4] Frame 1
stop(); _root.dead4 = 0;
Symbol 537 MovieClip [BadGuy4] Frame 3
_root.addBullet3(this._x, this._y, this._rotation + 180);
Symbol 537 MovieClip [BadGuy4] Frame 8
gotoAndPlay (1);
Symbol 537 MovieClip [BadGuy4] Frame 9
stop(); _root.dead4 = 1; _root.guyvisible4 = 0;
Symbol 537 MovieClip [BadGuy4] Frame 10
stop(); _root.dead4 = 1; _root.guyvisible4 = 0;
Instance of Symbol 394 MovieClip "door" in Symbol 540 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 2
play();
Instance of Symbol 394 MovieClip "door" in Symbol 550 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Symbol 551 MovieClip [BadGuy3] Frame 1
stop(); _root.dead3 = 0;
Symbol 551 MovieClip [BadGuy3] Frame 3
_root.addBullet3(this._x, this._y, this._rotation + 180);
Symbol 551 MovieClip [BadGuy3] Frame 8
gotoAndPlay (1);
Symbol 551 MovieClip [BadGuy3] Frame 9
stop(); _root.dead3 = 1; _root.guyvisible3 = 0;
Symbol 551 MovieClip [BadGuy3] Frame 10
stop(); _root.dead3 = 1; _root.guyvisible3 = 0;
Symbol 559 MovieClip [BadGuy2] Frame 1
stop(); _root.dead2 = 0;
Symbol 559 MovieClip [BadGuy2] Frame 3
_root.addBullet3(this._x, this._y, this._rotation + 180);
Symbol 559 MovieClip [BadGuy2] Frame 8
gotoAndPlay (1);
Symbol 559 MovieClip [BadGuy2] Frame 9
stop(); _root.dead2 = 1; _root.guyvisible2 = 0;
Symbol 559 MovieClip [BadGuy2] Frame 10
stop(); _root.dead2 = 1; _root.guyvisible2 = 0;
Instance of Symbol 394 MovieClip in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 567 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Symbol 590 MovieClip Frame 1
_root.stop();
Symbol 590 MovieClip Frame 35
stop();
Symbol 590 MovieClip Frame 38
_root.play();
Instance of Symbol 394 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Symbol 596 MovieClip Frame 1
if (_root.timer1 <= 0) { _root.gotoAndPlay(900); }
Symbol 596 MovieClip Frame 35
_root.timer1 = _root.timer1 - 1; if (_root.timer1 <= 0) { _root.gotoAndPlay(900); }
Instance of Symbol 394 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Symbol 618 MovieClip Frame 1
stop();
Symbol 620 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 1
stop();
Symbol 629 Button
on (keyPress "<Space>") { tellTarget (_root.bulletshow) { gotoAndPlay (2); }; _root.bullettime = _root.bullettime + 1; if (_root.bullettime == 2) { _root.bullettime = 0; } }
Instance of Symbol 394 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Symbol 648 Button
on (keyPress "<Space>") { tellTarget (_root.bulletshow) { gotoAndPlay (2); }; _root.bullettime = _root.bullettime + 1; if (_root.bullettime == 2) { _root.bullettime = 0; } }
Instance of Symbol 394 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Instance of Symbol 394 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.guy)) { tellTarget (this) { nextFrame(); play(); }; } }
Symbol 662 Button
on (keyPress "<Space>") { tellTarget (_root.bulletshow) { gotoAndPlay (2); }; _root.bullettime = _root.bullettime + 1; if (_root.bullettime == 2) { _root.bullettime = 0; } }
Symbol 693 Button
on (press) { _root.play(); }
Symbol 695 Button
on (press) { _root.AMMO2 = 999; _root.AMMO3 = 999; _root.AMMO4 = 999; _root.AMMO5 = 999; _root.AMMO6 = 999; _root.AMMO7 = 999; _root.AMMO8 = 999; _root.AMMO9 = 999; _root.AMMO10 = 999; _root.AMMO11 = 999; _root.enemykillz = 0; _root.shoots = 0; _root.timee = 0; _root.slowmotiontime = 0; _root.gotoAndPlay("startgame"); }
Symbol 696 MovieClip Frame 250
_root.play();
Symbol 696 MovieClip Frame 251
stop();
Symbol 730 Button
on (release) { _root.herolifes = 25; if (_root.LEVEL == 1) { _root.gotoAndPlay("runda1"); } if (_root.LEVEL == 2) { _root.gotoAndPlay("runda2"); } if (_root.LEVEL == 3) { _root.gotoAndPlay("runda3"); } if (_root.LEVEL == 4) { _root.gotoAndPlay("runda4"); } if (_root.LEVEL == 5) { _root.gotoAndPlay("runda5"); } if (_root.LEVEL == 6) { _root.gotoAndPlay("runda6"); } if (_root.LEVEL == 7) { _root.gotoAndPlay("runda7"); } if (_root.LEVEL == 8) { _root.gotoAndPlay("runda8"); } if (_root.LEVEL == 9) { _root.gotoAndPlay("runda9"); } if (_root.LEVEL == 10) { _root.gotoAndPlay("runda10"); } if (_root.LEVEL == 11) { _root.gotoAndPlay("runda11"); } if (_root.LEVEL == 12) { _root.gotoAndPlay("runda12"); } if (_root.LEVEL == 13) { _root.gotoAndPlay("runda13"); } if (_root.LEVEL == 14) { _root.gotoAndPlay("runda14"); } if (_root.LEVEL == 15) { _root.gotoAndPlay("runda15"); } if (_root.LEVEL == 16) { _root.gotoAndPlay("runda15"); } if (_root.LEVEL == 17) { _root.gotoAndPlay("runda15"); } if (_root.LEVEL == 18) { _root.gotoAndPlay("runda15"); } if (_root.LEVEL == 19) { _root.gotoAndPlay("runda15"); } if (_root.LEVEL == 20) { _root.gotoAndPlay("runda15"); } if (_root.LEVEL == 21) { _root.gotoAndPlay("runda15"); } }
Symbol 731 Button
on (press) { _root.gotoAndPlay("startgame"); AMMO2 = 100; AMMO3 = 110; AMMO4 = 150; AMMO5 = 30; AMMO6 = 8; AMMO7 = 45; AMMO8 = 50; AMMO9 = 8; AMMO10 = 55; AMMO11 = 200; _root.enemykillz = 0; _root.shoots = 0; _root.timee = 0; _root.slowmotiontime = 0; }

Library Items

Symbol 1 Sound [Smash]
Symbol 2 Sound [DIE]Used by:428
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [Helm_Blood_MainHero]Uses:3
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip [Helm_CT_FSB]Uses:5
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip [Colt_1917]Uses:7
Symbol 9 GraphicUsed by:12 81 424
Symbol 10 FontUsed by:11
Symbol 11 TextUses:10Used by:12 81 424
Symbol 12 MovieClip [Browning_1921]Uses:9 11
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [AK_47]Uses:13
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [Hand_L_German_Officer]Uses:15
Symbol 17 GraphicUsed by:18 69
Symbol 18 MovieClipUses:17Used by:50
Symbol 19 GraphicUsed by:32 70
Symbol 20 GraphicUsed by:32 70
Symbol 21 GraphicUsed by:32 70
Symbol 22 GraphicUsed by:32 70
Symbol 23 GraphicUsed by:32 70
Symbol 24 GraphicUsed by:32 70
Symbol 25 SoundUsed by:32 70
Symbol 26 GraphicUsed by:30
Symbol 27 GraphicUsed by:30
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:26 27 28 29Used by:31
Symbol 31 MovieClipUses:30Used by:32 70
Symbol 32 MovieClipUses:19 20 21 22 23 24 25 31Used by:50
Symbol 33 GraphicUsed by:48
Symbol 34 GraphicUsed by:48
Symbol 35 GraphicUsed by:48
Symbol 36 GraphicUsed by:48
Symbol 37 GraphicUsed by:48
Symbol 38 GraphicUsed by:48
Symbol 39 GraphicUsed by:48
Symbol 40 GraphicUsed by:48
Symbol 41 GraphicUsed by:48
Symbol 42 GraphicUsed by:48
Symbol 43 GraphicUsed by:48
Symbol 44 GraphicUsed by:48
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:33 34 35 36 37 38 39 40 41 42 43 44 45 46 47Used by:49
Symbol 49 MovieClipUses:48Used by:50
Symbol 50 MovieClip [bullet]Uses:18 32 49
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:52 53Used by:67
Symbol 55 GraphicUsed by:65
Symbol 56 GraphicUsed by:65
Symbol 57 SoundUsed by:65
Symbol 58 GraphicUsed by:65
Symbol 59 GraphicUsed by:65
Symbol 60 GraphicUsed by:65
Symbol 61 GraphicUsed by:65
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:55 56 57 58 59 60 61 62 63 64Used by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClip [bullet2]Uses:54 66
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:17 68Used by:71
Symbol 70 MovieClipUses:19 20 21 22 23 24 25 31Used by:71
Symbol 71 MovieClip [bullet3]Uses:69 70
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClip [Helm_Terror_Mafia]Uses:72
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClip [Helm_Fallout_Raider]Uses:74
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:79
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:77 78Used by:81
Symbol 80 SoundUsed by:81
Symbol 81 MovieClip [Browning_1921_gr]Uses:79 9 11 80Used by:428
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClip [Helm_USA_Delta]Uses:82Used by:373
Symbol 84 GraphicUsed by:89
Symbol 85 GraphicUsed by:88
Symbol 86 SoundUsed by:88
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:85 86 87Used by:89 95 97 99 101
Symbol 89 MovieClip [SuperShotgun]Uses:84 88Used by:372 412
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClip [M_16]Uses:90Used by:372 412
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClip [RocketLauncher]Uses:92Used by:372 412
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClip [Thompson]Uses:94 88Used by:372 412
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClip [PM]Uses:96 88Used by:372 412
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClip [Beretta]Uses:98 88Used by:372 412
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClip [HK_28]Uses:100 88Used by:372 412
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip [UZI]Uses:102Used by:372 412
Symbol 104 GraphicUsed by:Timeline
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:Timeline
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:111
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:111 228 242 337 342 349
Symbol 111 MovieClipUses:108 110Used by:Timeline
Symbol 112 GraphicUsed by:113 122
Symbol 113 MovieClipUses:112Used by:122
Symbol 114 FontUsed by:115 117 120 244 263 278 279 280 281 282 283 284 285 286 517 593
Symbol 115 TextUses:114Used by:116
Symbol 116 MovieClipUses:115Used by:122
Symbol 117 TextUses:114Used by:119
Symbol 118 GraphicUsed by:119
Symbol 119 ButtonUses:117 118Used by:122
Symbol 120 TextUses:114Used by:121
Symbol 121 MovieClipUses:120Used by:122
Symbol 122 MovieClipUses:113 116 112 119 121Used by:Timeline
Symbol 123 GraphicUsed by:133
Symbol 124 GraphicUsed by:133
Symbol 125 GraphicUsed by:133
Symbol 126 GraphicUsed by:133
Symbol 127 GraphicUsed by:133
Symbol 128 GraphicUsed by:133
Symbol 129 GraphicUsed by:133
Symbol 130 GraphicUsed by:133
Symbol 131 GraphicUsed by:133
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:123 124 125 126 127 128 129 130 131 132Used by:134
Symbol 134 MovieClipUses:133Used by:Timeline
Symbol 135 GraphicUsed by:Timeline
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:138
Symbol 138 MovieClipUses:137Used by:Timeline
Symbol 734 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 735 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 736 MovieClip [__Packages.mx.transitions.Tween]
Symbol 737 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 738 MovieClip [__Packages.mx.transitions.easing.Bounce]
Symbol 139 SoundUsed by:Timeline
Symbol 140 SoundUsed by:Timeline
Symbol 141 GraphicUsed by:Timeline
Symbol 142 GraphicUsed by:147 158 180
Symbol 143 GraphicUsed by:147
Symbol 144 GraphicUsed by:147
Symbol 145 GraphicUsed by:147
Symbol 146 GraphicUsed by:147
Symbol 147 ButtonUses:142 143 144 145 146Used by:158
Symbol 148 GraphicUsed by:153
Symbol 149 GraphicUsed by:153
Symbol 150 GraphicUsed by:153
Symbol 151 GraphicUsed by:153
Symbol 152 GraphicUsed by:153
Symbol 153 ButtonUses:148 149 150 151 152Used by:158
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:158
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:156Used by:158
Symbol 158 MovieClipUses:142 147 153 155 157Used by:Timeline
Symbol 159 GraphicUsed by:160 179 182 327
Symbol 160 MovieClipUses:159Used by:183
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:161Used by:163
Symbol 163 MovieClipUses:162Used by:179 182
Symbol 164 GraphicUsed by:179 182
Symbol 165 FontUsed by:166 167 168 169 170 171 172 173 174 175 176
Symbol 166 TextUses:165Used by:179 182
Symbol 167 TextUses:165Used by:179 182
Symbol 168 TextUses:165Used by:179 182
Symbol 169 TextUses:165Used by:179 182
Symbol 170 TextUses:165Used by:179 182
Symbol 171 TextUses:165Used by:179 182
Symbol 172 TextUses:165Used by:179 182
Symbol 173 TextUses:165Used by:179 182
Symbol 174 TextUses:165Used by:179 182
Symbol 175 TextUses:165Used by:179 182
Symbol 176 TextUses:165Used by:179 182
Symbol 177 FontUsed by:178
Symbol 178 TextUses:177Used by:179 182
Symbol 179 ButtonUses:163 164 166 167 168 169 170 171 172 173 174 175 159 176 178Used by:183
Symbol 180 ButtonUses:142Used by:183
Symbol 181 SoundUsed by:183
Symbol 182 ButtonUses:163 164 166 167 168 169 170 171 172 173 174 175 159 176 178Used by:183
Symbol 183 MovieClipUses:160 179 180 181 182Used by:Timeline
Symbol 184 GraphicUsed by:185 288
Symbol 185 MovieClipUses:184Used by:Timeline
Symbol 186 FontUsed by:187 190 191 196 199 201 203 205 209 225 226 240 241 245 246 249 253 254 257 261 262 263 270 272 274 276 287 293 297 300 302 308 312 315 316 689 691 726 729
Symbol 187 TextUses:186Used by:189
Symbol 188 GraphicUsed by:189
Symbol 189 ButtonUses:187 188Used by:Timeline
Symbol 190 TextUses:186Used by:Timeline
Symbol 191 EditableTextUses:186Used by:Timeline
Symbol 192 GraphicUsed by:195
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClipUses:193Used by:195
Symbol 195 MovieClipUses:192 194Used by:Timeline
Symbol 196 TextUses:186Used by:198 243 252 260 269 271 273 275 277 318 693 695 731
Symbol 197 GraphicUsed by:198 243 252 260 271 273 275 277 693 731
Symbol 198 ButtonUses:196 197Used by:Timeline
Symbol 199 TextUses:186Used by:202
Symbol 200 GraphicUsed by:202 204 206
Symbol 201 TextUses:186Used by:202 204 206
Symbol 202 ButtonUses:199 200 201Used by:Timeline
Symbol 203 TextUses:186Used by:204
Symbol 204 ButtonUses:203 200 201Used by:Timeline
Symbol 205 TextUses:186Used by:206
Symbol 206 ButtonUses:205 200 201Used by:Timeline
Symbol 207 FontUsed by:208 354 434 487 488 489 490 543 563 573 574 575 576 610 611 612 613 644 645 646 647 663 664 665 666 703 704 705
Symbol 208 EditableTextUses:207Used by:Timeline
Symbol 209 TextUses:186Used by:210 214
Symbol 210 MovieClipUses:209Used by:212 214
Symbol 211 GraphicUsed by:214
Symbol 212 MovieClipUses:210Used by:214
Symbol 213 GraphicUsed by:214
Symbol 214 ButtonUses:210 211 212 213 209Used by:Timeline
Symbol 215 GraphicUsed by:216
Symbol 216 MovieClipUses:215Used by:Timeline
Symbol 217 GraphicUsed by:224
Symbol 218 FontUsed by:219 221 230 232 233 234 238 291 326 328 329 330 332 334 336 339 343 344 346 350 351 586 587 588 589 594 694 699 702
Symbol 219 TextUses:218Used by:224
Symbol 220 GraphicUsed by:224
Symbol 221 TextUses:218Used by:224
Symbol 222 GraphicUsed by:224
Symbol 223 GraphicUsed by:224
Symbol 224 ButtonUses:217 219 220 221 222 223Used by:Timeline
Symbol 225 TextUses:186Used by:228
Symbol 226 TextUses:186Used by:228
Symbol 227 GraphicUsed by:228
Symbol 228 ButtonUses:225 110 226 227Used by:Timeline
Symbol 229 GraphicUsed by:236 237
Symbol 230 EditableTextUses:218Used by:236 237
Symbol 231 GraphicUsed by:236 237
Symbol 232 EditableTextUses:218Used by:236 237
Symbol 233 EditableTextUses:218Used by:236 237
Symbol 234 EditableTextUses:218Used by:236 237
Symbol 235 GraphicUsed by:236 237
Symbol 236 MovieClipUses:229 230 231 232 233 234 235Used by:237
Symbol 237 ButtonUses:236 229 230 231 232 233 234 235Used by:Timeline
Symbol 238 TextUses:218Used by:Timeline
Symbol 239 TextUsed by:Timeline
Symbol 240 TextUses:186Used by:243
Symbol 241 TextUses:186Used by:243
Symbol 242 MovieClipUses:110Used by:243
Symbol 243 ButtonUses:240 241 242 197 196Used by:Timeline
Symbol 244 TextUses:114Used by:Timeline
Symbol 245 TextUses:186Used by:252
Symbol 246 TextUses:186Used by:252
Symbol 247 GraphicUsed by:248 252 260 269
Symbol 248 MovieClipUses:247Used by:252 260 269
Symbol 249 TextUses:186Used by:252 269
Symbol 250 GraphicUsed by:251 252
Symbol 251 MovieClipUses:250Used by:252
Symbol 252 ButtonUses:245 246 248 249 251 197 196 247 250Used by:Timeline
Symbol 253 TextUses:186Used by:260
Symbol 254 TextUses:186Used by:260
Symbol 255 GraphicUsed by:256 260 269
Symbol 256 MovieClipUses:255Used by:260 269
Symbol 257 TextUses:186Used by:260
Symbol 258 GraphicUsed by:259 260
Symbol 259 MovieClipUses:258Used by:260
Symbol 260 ButtonUses:253 254 248 256 257 259 197 196 247 255 258Used by:Timeline
Symbol 261 TextUses:186Used by:269
Symbol 262 TextUses:186Used by:269
Symbol 263 TextUses:186 114Used by:269
Symbol 264 GraphicUsed by:265 269
Symbol 265 MovieClipUses:264Used by:269
Symbol 266 GraphicUsed by:267 269
Symbol 267 MovieClipUses:266Used by:269
Symbol 268 GraphicUsed by:269
Symbol 269 ButtonUses:261 262 263 248 256 265 249 267 268 196 247 255 264 266Used by:Timeline
Symbol 270 TextUses:186Used by:271 693
Symbol 271 ButtonUses:270 197 196Used by:Timeline
Symbol 272 TextUses:186Used by:273
Symbol 273 ButtonUses:272 197 196Used by:Timeline
Symbol 274 TextUses:186Used by:275
Symbol 275 ButtonUses:274 197 196Used by:Timeline
Symbol 276 TextUses:186Used by:277
Symbol 277 ButtonUses:276 197 196Used by:Timeline
Symbol 278 TextUses:114Used by:Timeline
Symbol 279 TextUses:114Used by:Timeline
Symbol 280 TextUses:114Used by:Timeline
Symbol 281 TextUses:114Used by:Timeline
Symbol 282 TextUses:114Used by:Timeline
Symbol 283 TextUses:114Used by:Timeline
Symbol 284 TextUses:114Used by:Timeline
Symbol 285 TextUses:114Used by:Timeline
Symbol 286 TextUses:114Used by:Timeline
Symbol 287 TextUses:186Used by:288
Symbol 288 MovieClipUses:184 287Used by:Timeline
Symbol 289 FontUsed by:290
Symbol 290 EditableTextUses:289Used by:Timeline
Symbol 291 EditableTextUses:218Used by:Timeline
Symbol 292 GraphicUsed by:296 301 305 311 319
Symbol 293 TextUses:186Used by:296
Symbol 294 BitmapUsed by:295
Symbol 295 GraphicUses:294Used by:296
Symbol 296 MovieClipUses:292 293 295Used by:Timeline
Symbol 297 TextUses:186Used by:301
Symbol 298 BitmapUsed by:299
Symbol 299 GraphicUses:298Used by:301
Symbol 300 TextUses:186Used by:301
Symbol 301 MovieClipUses:292 297 299 300Used by:Timeline
Symbol 302 TextUses:186Used by:305
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:305
Symbol 305 MovieClipUses:292 302 304Used by:Timeline
Symbol 306 FontUsed by:307
Symbol 307 EditableTextUses:306Used by:Timeline
Symbol 308 TextUses:186Used by:311
Symbol 309 BitmapUsed by:310
Symbol 310 GraphicUses:309Used by:311
Symbol 311 MovieClipUses:292 308 310Used by:Timeline
Symbol 312 TextUses:186Used by:319
Symbol 313 BitmapUsed by:314
Symbol 314 GraphicUses:313Used by:319
Symbol 315 TextUses:186Used by:319
Symbol 316 TextUses:186Used by:318 695
Symbol 317 GraphicUsed by:318 695
Symbol 318 ButtonUses:316 317 196Used by:319  Timeline
Symbol 319 MovieClipUses:292 312 314 315 318Used by:Timeline
Symbol 320 GraphicUsed by:Timeline
Symbol 321 GraphicUsed by:325
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:325
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClipUses:321 323 324Used by:696  Timeline
Symbol 326 EditableTextUses:218Used by:Timeline
Symbol 327 MovieClipUses:159Used by:590  Timeline
Symbol 328 EditableTextUses:218Used by:333
Symbol 329 EditableTextUses:218Used by:333
Symbol 330 EditableTextUses:218Used by:333
Symbol 331 GraphicUsed by:333 730
Symbol 332 EditableTextUses:218Used by:333
Symbol 333 ButtonUses:328 329 330 331 332Used by:590  Timeline
Symbol 334 EditableTextUses:218Used by:Timeline
Symbol 335 GraphicUsed by:337
Symbol 336 EditableTextUses:218Used by:337
Symbol 337 MovieClipUses:335 336 110Used by:590  Timeline
Symbol 338 GraphicUsed by:342
Symbol 339 EditableTextUses:218Used by:342
Symbol 340 BitmapUsed by:341
Symbol 341 GraphicUses:340Used by:342
Symbol 342 MovieClipUses:338 339 110 341Used by:Timeline
Symbol 343 EditableTextUses:218Used by:Timeline
Symbol 344 EditableTextUses:218Used by:Timeline
Symbol 345 GraphicUsed by:349
Symbol 346 EditableTextUses:218Used by:349
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:347Used by:349
Symbol 349 MovieClipUses:345 346 110 348Used by:590  Timeline
Symbol 350 EditableTextUses:218Used by:Timeline
Symbol 351 EditableTextUses:218Used by:Timeline
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClipUses:352Used by:Timeline
Symbol 354 EditableTextUses:207Used by:Timeline
Symbol 355 GraphicUsed by:356 357
Symbol 356 MovieClipUses:355Used by:357
Symbol 357 ButtonUses:355 356Used by:358
Symbol 358 MovieClipUses:357Used by:Timeline
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:359Used by:Timeline
Symbol 361 GraphicUsed by:372 412
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:362Used by:372
Symbol 364 GraphicUsed by:372 412
Symbol 365 GraphicUsed by:372 412
Symbol 366 GraphicUsed by:372 412
Symbol 367 GraphicUsed by:372 412
Symbol 368 GraphicUsed by:372 412
Symbol 369 GraphicUsed by:372 412
Symbol 370 GraphicUsed by:372 412
Symbol 371 GraphicUsed by:372 412
Symbol 372 MovieClip [MP5]Uses:361 363 364 103 365 366 367 368 101 99 97 369 95 370 93 371 91 89Used by:380 416 419 429 431 537 551 559
Symbol 373 MovieClip [Helm_Vietnam_Sergant]Uses:83Used by:380 413 416 419
Symbol 374 BitmapUsed by:375 414
Symbol 375 GraphicUses:374Used by:380
Symbol 376 BitmapUsed by:377 418
Symbol 377 GraphicUses:376Used by:380
Symbol 378 BitmapUsed by:379 420
Symbol 379 GraphicUses:378Used by:380
Symbol 380 MovieClipUses:372 373 375 377 379Used by:388
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClipUses:381Used by:388
Symbol 383 GraphicUsed by:386 387
Symbol 384 GraphicUsed by:386 387
Symbol 385 SoundUsed by:386 387
Symbol 386 MovieClipUses:383 384 385Used by:388
Symbol 387 MovieClipUses:383 384 385Used by:388
Symbol 388 MovieClipUses:380 382 386 387Used by:Timeline
Symbol 389 GraphicUsed by:395
Symbol 390 GraphicUsed by:395 536 540 545 550 554 556 558 562 565 567 581 592 598 600 604 609 643 661
Symbol 391 GraphicUsed by:395 536 550 556 558 562 565 567 578 581 600 609 643
Symbol 392 GraphicUsed by:394
Symbol 393 GraphicUsed by:394
Symbol 394 MovieClipUses:392 393Used by:395 540 550 565 567 581 584 592 604 609 643 661
Symbol 395 MovieClipUses:389 390 391 394Used by:Timeline
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:400
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:398Used by:400
Symbol 400 MovieClip [NextLevel]Uses:397 399Used by:Timeline
Symbol 401 GraphicUsed by:407
Symbol 402 GraphicUsed by:407
Symbol 403 GraphicUsed by:407
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClipUses:404Used by:407
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClip [Helm_Terror_Drug]Uses:401 402 403 405 406Used by:429 431 537 551 559
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:408Used by:429 431 537 551 559
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:410Used by:412
Symbol 412 MovieClipUses:361 411 364 103 365 366 367 368 101 99 97 369 95 370 93 371 91 89Used by:413
Symbol 413 MovieClipUses:412 373Used by:421
Symbol 414 GraphicUses:374Used by:421 430
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClipUses:415 372 373Used by:421 430
Symbol 417 SoundUsed by:421 430
Symbol 418 GraphicUses:376Used by:421 430
Symbol 419 MovieClipUses:372 373Used by:421 430
Symbol 420 GraphicUses:378Used by:421 430
Symbol 421 MovieClipUses:413 414 416 417 418 419 420Used by:429
Symbol 422 ShapeTweeningUsed by:428
Symbol 423 ShapeTweeningUsed by:428
Symbol 424 MovieClipUses:9 11Used by:428
Symbol 425 GraphicUsed by:428
Symbol 426 GraphicUsed by:427
Symbol 427 MovieClipUses:426Used by:428
Symbol 428 MovieClipUses:422 423 424 2 425 81 427Used by:429 431 537 551 559
Symbol 429 MovieClip [BadGuy6]Uses:372 407 409 421 428Used by:Timeline
Symbol 430 MovieClipUses:419 414 416 417 418 420Used by:431 537 551 559
Symbol 431 MovieClip [BadGuy5]Uses:372 407 409 430 428Used by:Timeline
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:432Used by:Timeline
Symbol 434 EditableTextUses:207Used by:Timeline
Symbol 435 GraphicUsed by:437
Symbol 436 SoundUsed by:437
Symbol 437 MovieClipUses:435 436Used by:Timeline
Symbol 438 GraphicUsed by:447
Symbol 439 GraphicUsed by:447
Symbol 440 GraphicUsed by:447
Symbol 441 GraphicUsed by:447
Symbol 442 GraphicUsed by:447
Symbol 443 GraphicUsed by:447
Symbol 444 GraphicUsed by:447
Symbol 445 GraphicUsed by:447
Symbol 446 GraphicUsed by:447
Symbol 447 MovieClipUses:438 439 440 441 442 443 444 445 446Used by:448
Symbol 448 MovieClipUses:447Used by:Timeline
Symbol 449 GraphicUsed by:450
Symbol 450 MovieClipUses:449Used by:Timeline
Symbol 451 GraphicUsed by:452
Symbol 452 MovieClipUses:451Used by:Timeline
Symbol 453 GraphicUsed by:454 455 456 457 458 459 460 466 467 468 469 470 471 472
Symbol 454 MovieClipUses:453Used by:Timeline
Symbol 455 MovieClipUses:453Used by:Timeline
Symbol 456 MovieClipUses:453Used by:Timeline
Symbol 457 MovieClipUses:453Used by:Timeline
Symbol 458 MovieClipUses:453Used by:Timeline
Symbol 459 MovieClipUses:453Used by:Timeline
Symbol 460 MovieClipUses:453Used by:Timeline
Symbol 461 GraphicUsed by:462
Symbol 462 MovieClipUses:461Used by:463
Symbol 463 MovieClipUses:462Used by:Timeline
Symbol 464 GraphicUsed by:465 629 648 662
Symbol 465 ButtonUses:464Used by:Timeline
Symbol 466 MovieClipUses:453Used by:Timeline
Symbol 467 MovieClipUses:453Used by:Timeline
Symbol 468 MovieClipUses:453Used by:Timeline
Symbol 469 MovieClipUses:453Used by:Timeline
Symbol 470 MovieClipUses:453Used by:Timeline
Symbol 471 MovieClipUses:453Used by:Timeline
Symbol 472 MovieClipUses:453Used by:Timeline
Symbol 473 GraphicUsed by:484
Symbol 474 SoundUsed by:484
Symbol 475 SoundUsed by:484
Symbol 476 SoundUsed by:484
Symbol 477 SoundUsed by:484
Symbol 478 SoundUsed by:484
Symbol 479 SoundUsed by:484
Symbol 480 SoundUsed by:484
Symbol 481 SoundUsed by:484
Symbol 482 SoundUsed by:484
Symbol 483 SoundUsed by:484
Symbol 484 MovieClipUses:473 474 475 476 477 478 479 480 481 482 483Used by:Timeline
Symbol 485 GraphicUsed by:486
Symbol 486 MovieClipUses:485Used by:Timeline
Symbol 487 EditableTextUses:207Used by:Timeline
Symbol 488 EditableTextUses:207Used by:Timeline
Symbol 489 EditableTextUses:207Used by:Timeline
Symbol 490 EditableTextUses:207Used by:Timeline
Symbol 491 GraphicUsed by:Timeline
Symbol 492 GraphicUsed by:494
Symbol 493 GraphicUsed by:494 496 498 500 502 505 618 620 623 625 628  Timeline
Symbol 494 MovieClipUses:492 493Used by:Timeline
Symbol 495 GraphicUsed by:496
Symbol 496 MovieClipUses:495 493Used by:Timeline
Symbol 497 GraphicUsed by:498
Symbol 498 MovieClipUses:497 493Used by:Timeline
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:499 493Used by:Timeline
Symbol 501 GraphicUsed by:502
Symbol 502 MovieClipUses:501 493Used by:Timeline
Symbol 503 GraphicUsed by:504
Symbol 504 MovieClip [RocketLauncher_gr]Uses:503Used by:505
Symbol 505 MovieClipUses:504 493Used by:Timeline
Symbol 506 FontUsed by:507 508 509 510 511
Symbol 507 EditableTextUses:506Used by:Timeline
Symbol 508 EditableTextUses:506Used by:Timeline
Symbol 509 EditableTextUses:506Used by:Timeline
Symbol 510 EditableTextUses:506Used by:Timeline
Symbol 511 EditableTextUses:506Used by:Timeline
Symbol 512 GraphicUsed by:513
Symbol 513 MovieClipUses:512Used by:Timeline
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:518
Symbol 516 GraphicUsed by:518
Symbol 517 TextUses:114Used by:518
Symbol 518 MovieClipUses:515 516 517Used by:Timeline
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:Timeline
Symbol 521 GraphicUsed by:528
Symbol 522 GraphicUsed by:528
Symbol 523 GraphicUsed by:528
Symbol 524 GraphicUsed by:528
Symbol 525 GraphicUsed by:528
Symbol 526 GraphicUsed by:528
Symbol 527 GraphicUsed by:528
Symbol 528 MovieClipUses:521 522 523 524 525 526 527Used by:Timeline
Symbol 529 FontUsed by:530
Symbol 530 EditableTextUses:529Used by:Timeline
Symbol 531 GraphicUsed by:532
Symbol 532 MovieClipUses:531Used by:533
Symbol 533 MovieClipUses:532Used by:Timeline
Symbol 534 GraphicUsed by:536
Symbol 535 GraphicUsed by:536 540 550 554 562 565 567 578 581 584 592 598 600 609 643 661
Symbol 536 MovieClipUses:534 390 391 535Used by:Timeline
Symbol 537 MovieClip [BadGuy4]Uses:372 407 409 430 428Used by:Timeline
Symbol 538 GraphicUsed by:540
Symbol 539 GraphicUsed by:540 565 578 581 598 604
Symbol 540 MovieClipUses:538 390 539 535 394Used by:Timeline
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClipUses:541Used by:Timeline
Symbol 543 EditableTextUses:207Used by:Timeline
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClipUses:544 390Used by:Timeline
Symbol 546 FontUsed by:547 548 552 560 568 579 582 605 641 659
Symbol 547 EditableTextUses:546Used by:Timeline
Symbol 548 EditableTextUses:546Used by:Timeline
Symbol 549 GraphicUsed by:550
Symbol 550 MovieClipUses:549 391 390 535 394Used by:Timeline
Symbol 551 MovieClip [BadGuy3]Uses:372 407 409 430 428Used by:Timeline
Symbol 552 EditableTextUses:546Used by:Timeline
Symbol 553 GraphicUsed by:554
Symbol 554 MovieClipUses:553 390 535Used by:Timeline
Symbol 555 GraphicUsed by:556
Symbol 556 MovieClipUses:555 391 390Used by:Timeline
Symbol 557 GraphicUsed by:558
Symbol 558 MovieClipUses:557 391 390Used by:Timeline
Symbol 559 MovieClip [BadGuy2]Uses:372 407 409 430 428Used by:Timeline
Symbol 560 EditableTextUses:546Used by:Timeline
Symbol 561 GraphicUsed by:562
Symbol 562 MovieClipUses:561 390 391 535Used by:Timeline
Symbol 563 EditableTextUses:207Used by:Timeline
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClipUses:564 391 535 390 539 394Used by:Timeline
Symbol 566 GraphicUsed by:567
Symbol 567 MovieClipUses:566 391 535 390 394Used by:Timeline
Symbol 568 EditableTextUses:546Used by:Timeline
Symbol 569 GraphicUsed by:Timeline
Symbol 570 GraphicUsed by:571
Symbol 571 MovieClipUses:570Used by:572
Symbol 572 MovieClipUses:571Used by:Timeline
Symbol 573 EditableTextUses:207Used by:Timeline
Symbol 574 EditableTextUses:207Used by:Timeline
Symbol 575 EditableTextUses:207Used by:Timeline
Symbol 576 EditableTextUses:207Used by:Timeline
Symbol 577 GraphicUsed by:578
Symbol 578 MovieClipUses:577 391 535 539Used by:Timeline
Symbol 579 EditableTextUses:546Used by:Timeline
Symbol 580 GraphicUsed by:581
Symbol 581 MovieClipUses:580 391 539 394 390 535Used by:Timeline
Symbol 582 EditableTextUses:546Used by:Timeline
Symbol 583 GraphicUsed by:584
Symbol 584 MovieClipUses:535 583 394Used by:Timeline
Symbol 585 GraphicUsed by:590
Symbol 586 EditableTextUses:218Used by:590
Symbol 587 EditableTextUses:218Used by:590
Symbol 588 EditableTextUses:218Used by:590
Symbol 589 EditableTextUses:218Used by:590
Symbol 590 MovieClipUses:585 586 337 327 333 587 349 588 589Used by:Timeline
Symbol 591 GraphicUsed by:592
Symbol 592 MovieClipUses:591 535 390 394Used by:Timeline
Symbol 593 TextUses:114Used by:Timeline
Symbol 594 EditableTextUses:218Used by:Timeline
Symbol 595 GraphicUsed by:596
Symbol 596 MovieClipUses:595Used by:Timeline
Symbol 597 GraphicUsed by:598
Symbol 598 MovieClipUses:597 390 535 539Used by:Timeline
Symbol 599 GraphicUsed by:600
Symbol 600 MovieClipUses:599 390 391 535Used by:Timeline
Symbol 601 GraphicUsed by:602
Symbol 602 MovieClipUses:601Used by:604
Symbol 603 GraphicUsed by:604
Symbol 604 MovieClipUses:602 603 390 539 394Used by:Timeline
Symbol 605 EditableTextUses:546Used by:Timeline
Symbol 606 GraphicUsed by:609
Symbol 607 GraphicUsed by:609 643 661
Symbol 608 GraphicUsed by:609 643 661
Symbol 609 MovieClipUses:606 390 391 535 607 608 394Used by:Timeline
Symbol 610 EditableTextUses:207Used by:Timeline
Symbol 611 EditableTextUses:207Used by:Timeline
Symbol 612 EditableTextUses:207Used by:Timeline
Symbol 613 EditableTextUses:207Used by:Timeline
Symbol 614 GraphicUsed by:Timeline
Symbol 615 GraphicUsed by:616
Symbol 616 MovieClipUses:615Used by:Timeline
Symbol 617 GraphicUsed by:618
Symbol 618 MovieClipUses:617 493Used by:Timeline
Symbol 619 GraphicUsed by:620
Symbol 620 MovieClipUses:619 493Used by:Timeline
Symbol 621 GraphicUsed by:622
Symbol 622 MovieClipUses:621Used by:623
Symbol 623 MovieClipUses:622 493Used by:Timeline
Symbol 624 GraphicUsed by:625
Symbol 625 MovieClipUses:624 493Used by:Timeline
Symbol 626 GraphicUsed by:627
Symbol 627 MovieClipUses:626Used by:628
Symbol 628 MovieClipUses:627 493Used by:Timeline
Symbol 629 ButtonUses:464Used by:Timeline
Symbol 630 FontUsed by:631 632 633 634 635 636 637 638 639 640 649 650 651 652 653 654 655 656 657 658 667 668 669 670 671 672 673 674 675 676
Symbol 631 EditableTextUses:630Used by:Timeline
Symbol 632 EditableTextUses:630Used by:Timeline
Symbol 633 EditableTextUses:630Used by:Timeline
Symbol 634 EditableTextUses:630Used by:Timeline
Symbol 635 EditableTextUses:630Used by:Timeline
Symbol 636 EditableTextUses:630Used by:Timeline
Symbol 637 EditableTextUses:630Used by:Timeline
Symbol 638 EditableTextUses:630Used by:Timeline
Symbol 639 EditableTextUses:630Used by:Timeline
Symbol 640 EditableTextUses:630Used by:Timeline
Symbol 641 EditableTextUses:546Used by:Timeline
Symbol 642 GraphicUsed by:643
Symbol 643 MovieClipUses:642 390 391 535 607 608 394Used by:Timeline
Symbol 644 EditableTextUses:207Used by:Timeline
Symbol 645 EditableTextUses:207Used by:Timeline
Symbol 646 EditableTextUses:207Used by:Timeline
Symbol 647 EditableTextUses:207Used by:Timeline
Symbol 648 ButtonUses:464Used by:Timeline
Symbol 649 EditableTextUses:630Used by:Timeline
Symbol 650 EditableTextUses:630Used by:Timeline
Symbol 651 EditableTextUses:630Used by:Timeline
Symbol 652 EditableTextUses:630Used by:Timeline
Symbol 653 EditableTextUses:630Used by:Timeline
Symbol 654 EditableTextUses:630Used by:Timeline
Symbol 655 EditableTextUses:630Used by:Timeline
Symbol 656 EditableTextUses:630Used by:Timeline
Symbol 657 EditableTextUses:630Used by:Timeline
Symbol 658 EditableTextUses:630Used by:Timeline
Symbol 659 EditableTextUses:546Used by:Timeline
Symbol 660 GraphicUsed by:661
Symbol 661 MovieClipUses:660 390 535 607 608 394Used by:Timeline
Symbol 662 ButtonUses:464Used by:Timeline
Symbol 663 EditableTextUses:207Used by:Timeline
Symbol 664 EditableTextUses:207Used by:Timeline
Symbol 665 EditableTextUses:207Used by:Timeline
Symbol 666 EditableTextUses:207Used by:Timeline
Symbol 667 EditableTextUses:630Used by:Timeline
Symbol 668 EditableTextUses:630Used by:Timeline
Symbol 669 EditableTextUses:630Used by:Timeline
Symbol 670 EditableTextUses:630Used by:Timeline
Symbol 671 EditableTextUses:630Used by:Timeline
Symbol 672 EditableTextUses:630Used by:Timeline
Symbol 673 EditableTextUses:630Used by:Timeline
Symbol 674 EditableTextUses:630Used by:Timeline
Symbol 675 EditableTextUses:630Used by:Timeline
Symbol 676 EditableTextUses:630Used by:Timeline
Symbol 677 GraphicUsed by:Timeline
Symbol 678 GraphicUsed by:696
Symbol 679 GraphicUsed by:680
Symbol 680 MovieClipUses:679Used by:683
Symbol 681 GraphicUsed by:683
Symbol 682 GraphicUsed by:683
Symbol 683 MovieClipUses:680 681 682Used by:696
Symbol 684 GraphicUsed by:685
Symbol 685 MovieClipUses:684Used by:696
Symbol 686 FontUsed by:687 688 697 698 700 701 732 733
Symbol 687 EditableTextUses:686Used by:696
Symbol 688 EditableTextUses:686Used by:696
Symbol 689 TextUses:186Used by:690
Symbol 690 MovieClipUses:689Used by:696  Timeline
Symbol 691 TextUses:186Used by:692
Symbol 692 MovieClipUses:691Used by:696  Timeline
Symbol 693 ButtonUses:270 197 196Used by:696  Timeline
Symbol 694 TextUses:218Used by:696
Symbol 695 ButtonUses:316 317 196Used by:696
Symbol 696 MovieClipUses:678 325 683 685 687 688 690 692 693 694 695Used by:Timeline
Symbol 697 EditableTextUses:686Used by:Timeline
Symbol 698 EditableTextUses:686Used by:Timeline
Symbol 699 TextUses:218Used by:Timeline
Symbol 700 EditableTextUses:686Used by:Timeline
Symbol 701 EditableTextUses:686Used by:Timeline
Symbol 702 TextUses:218Used by:Timeline
Symbol 703 EditableTextUses:207Used by:Timeline
Symbol 704 EditableTextUses:207Used by:Timeline
Symbol 705 EditableTextUses:207Used by:Timeline
Symbol 706 GraphicUsed by:716
Symbol 707 GraphicUsed by:716 725
Symbol 708 GraphicUsed by:716
Symbol 709 GraphicUsed by:716 725
Symbol 710 GraphicUsed by:716 725
Symbol 711 GraphicUsed by:716
Symbol 712 GraphicUsed by:716 725
Symbol 713 GraphicUsed by:716 725
Symbol 714 GraphicUsed by:716
Symbol 715 GraphicUsed by:716
Symbol 716 MovieClipUses:706 707 708 709 710 711 712 713 714 715Used by:Timeline
Symbol 717 GraphicUsed by:725
Symbol 718 GraphicUsed by:725
Symbol 719 GraphicUsed by:725
Symbol 720 GraphicUsed by:725
Symbol 721 GraphicUsed by:725
Symbol 722 GraphicUsed by:725
Symbol 723 GraphicUsed by:725
Symbol 724 GraphicUsed by:725
Symbol 725 MovieClipUses:717 707 713 718 712 719 720 721 722 723 710 709 724Used by:Timeline
Symbol 726 TextUses:186Used by:727
Symbol 727 MovieClipUses:726Used by:Timeline
Symbol 728 GraphicUsed by:Timeline
Symbol 729 TextUses:186Used by:730
Symbol 730 ButtonUses:729 331Used by:Timeline
Symbol 731 ButtonUses:196 197Used by:Timeline
Symbol 732 EditableTextUses:686Used by:Timeline
Symbol 733 EditableTextUses:686Used by:Timeline

Instance Names

"agButton_btn"Frame 703Symbol 237 Button
"agButton_btn"Frame 707Symbol 237 Button
"guy"Frame 822Symbol 388 MovieClip
"walls"Frame 822Symbol 395 MovieClip
"EXIT"Frame 822Symbol 400 MovieClip [NextLevel]
"bad6"Frame 822Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 822Symbol 431 MovieClip [BadGuy5]
"box"Frame 822Symbol 433 MovieClip
"bulletshow2"Frame 822Symbol 437 MovieClip
"saved"Frame 822Symbol 448 MovieClip
"timer1"Frame 822Symbol 454 MovieClip
"sounds"Frame 822Symbol 484 MovieClip
"weapon1"Frame 822Symbol 494 MovieClip
"weapon2"Frame 822Symbol 496 MovieClip
"weapon3"Frame 822Symbol 498 MovieClip
"weapon4"Frame 822Symbol 500 MovieClip
"weapon5"Frame 822Symbol 502 MovieClip
"weapon6"Frame 822Symbol 505 MovieClip
"mshield"Frame 822Symbol 518 MovieClip
"mrecharge"Frame 822Symbol 520 MovieClip
"healthbar"Frame 822Symbol 533 MovieClip
"crosshair"Frame 823Symbol 138 MovieClip
"walls"Frame 824Symbol 536 MovieClip
"bad6"Frame 824Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 824Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 824Symbol 400 MovieClip [NextLevel]
"bad4"Frame 824Symbol 537 MovieClip [BadGuy4]
"guy"Frame 824Symbol 388 MovieClip
"bulletshow2"Frame 824Symbol 437 MovieClip
"crosshair"Frame 825Symbol 138 MovieClip
"walls"Frame 826Symbol 540 MovieClip
"bad6"Frame 826Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 826Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 826Symbol 400 MovieClip [NextLevel]
"EXIT"Frame 826Symbol 400 MovieClip [NextLevel]
"bad4"Frame 826Symbol 537 MovieClip [BadGuy4]
"guy"Frame 826Symbol 388 MovieClip
"bulletshow2"Frame 826Symbol 437 MovieClip
"box"Frame 826Symbol 433 MovieClip
"sounds"Frame 826Symbol 484 MovieClip
"healthbar"Frame 826Symbol 542 MovieClip
"EXIT"Frame 827Symbol 400 MovieClip [NextLevel]
"crosshair"Frame 827Symbol 138 MovieClip
"walls"Frame 828Symbol 545 MovieClip
"bad6"Frame 828Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 828Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 828Symbol 400 MovieClip [NextLevel]
"bad4"Frame 828Symbol 537 MovieClip [BadGuy4]
"box"Frame 828Symbol 433 MovieClip
"guy"Frame 828Symbol 388 MovieClip
"bulletshow2"Frame 828Symbol 437 MovieClip
"guy"Frame 829Symbol 388 MovieClip
"crosshair"Frame 829Symbol 138 MovieClip
"walls"Frame 830Symbol 550 MovieClip
"bad6"Frame 830Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 830Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 830Symbol 400 MovieClip [NextLevel]
"EXIT"Frame 830Symbol 400 MovieClip [NextLevel]
"bad4"Frame 830Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 830Symbol 551 MovieClip [BadGuy3]
"box"Frame 830Symbol 433 MovieClip
"bulletshow2"Frame 830Symbol 437 MovieClip
"sounds"Frame 830Symbol 484 MovieClip
"crosshair"Frame 831Symbol 138 MovieClip
"walls"Frame 832Symbol 554 MovieClip
"bad6"Frame 832Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 832Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 832Symbol 400 MovieClip [NextLevel]
"bad4"Frame 832Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 832Symbol 551 MovieClip [BadGuy3]
"box"Frame 832Symbol 433 MovieClip
"bulletshow2"Frame 832Symbol 437 MovieClip
"sounds"Frame 832Symbol 484 MovieClip
"guy"Frame 832Symbol 388 MovieClip
"crosshair"Frame 833Symbol 138 MovieClip
"walls"Frame 834Symbol 556 MovieClip
"bad6"Frame 834Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 834Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 834Symbol 400 MovieClip [NextLevel]
"bad4"Frame 834Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 834Symbol 551 MovieClip [BadGuy3]
"box"Frame 834Symbol 433 MovieClip
"bulletshow2"Frame 834Symbol 437 MovieClip
"sounds"Frame 834Symbol 484 MovieClip
"guy"Frame 834Symbol 388 MovieClip
"crosshair"Frame 835Symbol 138 MovieClip
"walls"Frame 836Symbol 558 MovieClip
"bad6"Frame 836Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 836Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 836Symbol 400 MovieClip [NextLevel]
"bad4"Frame 836Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 836Symbol 551 MovieClip [BadGuy3]
"bad2"Frame 836Symbol 559 MovieClip [BadGuy2]
"bulletshow2"Frame 836Symbol 437 MovieClip
"guy"Frame 836Symbol 388 MovieClip
"crosshair"Frame 837Symbol 138 MovieClip
"walls"Frame 838Symbol 562 MovieClip
"bad6"Frame 838Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 838Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 838Symbol 400 MovieClip [NextLevel]
"bad3"Frame 838Symbol 551 MovieClip [BadGuy3]
"bad2"Frame 838Symbol 559 MovieClip [BadGuy2]
"guy"Frame 838Symbol 388 MovieClip
"bulletshow2"Frame 838Symbol 437 MovieClip
"crosshair"Frame 839Symbol 138 MovieClip
"walls"Frame 840Symbol 565 MovieClip
"bad6"Frame 840Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 840Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 840Symbol 400 MovieClip [NextLevel]
"bad4"Frame 840Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 840Symbol 551 MovieClip [BadGuy3]
"box"Frame 840Symbol 433 MovieClip
"bad2"Frame 840Symbol 559 MovieClip [BadGuy2]
"guy"Frame 840Symbol 388 MovieClip
"bulletshow2"Frame 840Symbol 437 MovieClip
"crosshair"Frame 841Symbol 138 MovieClip
"walls"Frame 842Symbol 567 MovieClip
"bad6"Frame 842Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 842Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 842Symbol 400 MovieClip [NextLevel]
"bad4"Frame 842Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 842Symbol 551 MovieClip [BadGuy3]
"box"Frame 842Symbol 433 MovieClip
"bad2"Frame 842Symbol 559 MovieClip [BadGuy2]
"guy"Frame 842Symbol 388 MovieClip
"bulletshow2"Frame 842Symbol 437 MovieClip
"healthbar"Frame 842Symbol 542 MovieClip
"crosshair"Frame 843Symbol 138 MovieClip
"walls"Frame 844Symbol 578 MovieClip
"bad6"Frame 844Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 844Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 844Symbol 400 MovieClip [NextLevel]
"bad4"Frame 844Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 844Symbol 551 MovieClip [BadGuy3]
"box"Frame 844Symbol 433 MovieClip
"bad2"Frame 844Symbol 559 MovieClip [BadGuy2]
"guy"Frame 844Symbol 388 MovieClip
"bulletshow2"Frame 844Symbol 437 MovieClip
"crosshair"Frame 845Symbol 138 MovieClip
"walls"Frame 846Symbol 581 MovieClip
"bad6"Frame 846Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 846Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 846Symbol 400 MovieClip [NextLevel]
"bad4"Frame 846Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 846Symbol 551 MovieClip [BadGuy3]
"box"Frame 846Symbol 433 MovieClip
"bad2"Frame 846Symbol 559 MovieClip [BadGuy2]
"guy"Frame 846Symbol 388 MovieClip
"bulletshow2"Frame 846Symbol 437 MovieClip
"crosshair"Frame 847Symbol 138 MovieClip
"walls"Frame 848Symbol 584 MovieClip
"bad6"Frame 848Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 848Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 848Symbol 400 MovieClip [NextLevel]
"bad3"Frame 848Symbol 551 MovieClip [BadGuy3]
"box"Frame 848Symbol 433 MovieClip
"bad2"Frame 848Symbol 559 MovieClip [BadGuy2]
"guy"Frame 848Symbol 388 MovieClip
"bulletshow2"Frame 848Symbol 437 MovieClip
"crosshair"Frame 849Symbol 138 MovieClip
"walls"Frame 850Symbol 592 MovieClip
"bad6"Frame 850Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 850Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 850Symbol 400 MovieClip [NextLevel]
"bad4"Frame 850Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 850Symbol 551 MovieClip [BadGuy3]
"box"Frame 850Symbol 433 MovieClip
"bad2"Frame 850Symbol 559 MovieClip [BadGuy2]
"guy"Frame 850Symbol 388 MovieClip
"bulletshow2"Frame 850Symbol 437 MovieClip
"crosshair"Frame 851Symbol 138 MovieClip
"walls"Frame 852Symbol 598 MovieClip
"bad6"Frame 852Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 852Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 852Symbol 400 MovieClip [NextLevel]
"bad4"Frame 852Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 852Symbol 551 MovieClip [BadGuy3]
"box"Frame 852Symbol 433 MovieClip
"bad2"Frame 852Symbol 559 MovieClip [BadGuy2]
"guy"Frame 852Symbol 388 MovieClip
"bulletshow2"Frame 852Symbol 437 MovieClip
"crosshair"Frame 853Symbol 138 MovieClip
"walls"Frame 854Symbol 600 MovieClip
"bad6"Frame 854Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 854Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 854Symbol 400 MovieClip [NextLevel]
"bad4"Frame 854Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 854Symbol 551 MovieClip [BadGuy3]
"box"Frame 854Symbol 433 MovieClip
"bad2"Frame 854Symbol 559 MovieClip [BadGuy2]
"guy"Frame 854Symbol 388 MovieClip
"bulletshow2"Frame 854Symbol 437 MovieClip
"crosshair"Frame 855Symbol 138 MovieClip
"walls"Frame 856Symbol 604 MovieClip
"bad6"Frame 856Symbol 429 MovieClip [BadGuy6]
"bad5"Frame 856Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 856Symbol 400 MovieClip [NextLevel]
"bad4"Frame 856Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 856Symbol 551 MovieClip [BadGuy3]
"box"Frame 856Symbol 433 MovieClip
"bad2"Frame 856Symbol 559 MovieClip [BadGuy2]
"guy"Frame 856Symbol 388 MovieClip
"bulletshow2"Frame 856Symbol 437 MovieClip
"crosshair"Frame 857Symbol 138 MovieClip
"walls"Frame 858Symbol 609 MovieClip
"silence"Frame 858Symbol 616 MovieClip
"bad6"Frame 858Symbol 429 MovieClip [BadGuy6]
"weapon1"Frame 858Symbol 494 MovieClip
"weapon2"Frame 858Symbol 496 MovieClip
"weapon3"Frame 858Symbol 498 MovieClip
"weapon4"Frame 858Symbol 500 MovieClip
"weapon5"Frame 858Symbol 502 MovieClip
"weapon6"Frame 858Symbol 618 MovieClip
"weapon7"Frame 858Symbol 620 MovieClip
"weapon8"Frame 858Symbol 623 MovieClip
"weapon9"Frame 858Symbol 505 MovieClip
"weapon10"Frame 858Symbol 625 MovieClip
"weapon11"Frame 858Symbol 628 MovieClip
"timer1"Frame 858Symbol 454 MovieClip
"bad5"Frame 858Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 858Symbol 400 MovieClip [NextLevel]
"bad4"Frame 858Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 858Symbol 551 MovieClip [BadGuy3]
"box"Frame 858Symbol 433 MovieClip
"bad2"Frame 858Symbol 559 MovieClip [BadGuy2]
"guy"Frame 858Symbol 388 MovieClip
"bulletshow2"Frame 858Symbol 437 MovieClip
"sounds"Frame 858Symbol 484 MovieClip
"healthbar"Frame 858Symbol 542 MovieClip
"crosshair"Frame 859Symbol 138 MovieClip
"walls"Frame 860Symbol 643 MovieClip
"silence"Frame 860Symbol 616 MovieClip
"bad6"Frame 860Symbol 429 MovieClip [BadGuy6]
"weapon1"Frame 860Symbol 494 MovieClip
"weapon2"Frame 860Symbol 496 MovieClip
"weapon3"Frame 860Symbol 498 MovieClip
"weapon4"Frame 860Symbol 500 MovieClip
"weapon5"Frame 860Symbol 502 MovieClip
"weapon6"Frame 860Symbol 618 MovieClip
"weapon7"Frame 860Symbol 620 MovieClip
"weapon8"Frame 860Symbol 623 MovieClip
"weapon9"Frame 860Symbol 505 MovieClip
"weapon10"Frame 860Symbol 625 MovieClip
"weapon11"Frame 860Symbol 628 MovieClip
"timer1"Frame 860Symbol 454 MovieClip
"bad5"Frame 860Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 860Symbol 400 MovieClip [NextLevel]
"bad4"Frame 860Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 860Symbol 551 MovieClip [BadGuy3]
"box"Frame 860Symbol 433 MovieClip
"bad2"Frame 860Symbol 559 MovieClip [BadGuy2]
"guy"Frame 860Symbol 388 MovieClip
"bulletshow2"Frame 860Symbol 437 MovieClip
"sounds"Frame 860Symbol 484 MovieClip
"healthbar"Frame 860Symbol 542 MovieClip
"walls"Frame 862Symbol 661 MovieClip
"silence"Frame 862Symbol 616 MovieClip
"bad6"Frame 862Symbol 429 MovieClip [BadGuy6]
"weapon1"Frame 862Symbol 494 MovieClip
"weapon2"Frame 862Symbol 496 MovieClip
"weapon3"Frame 862Symbol 498 MovieClip
"weapon4"Frame 862Symbol 500 MovieClip
"weapon5"Frame 862Symbol 502 MovieClip
"weapon6"Frame 862Symbol 618 MovieClip
"weapon7"Frame 862Symbol 620 MovieClip
"weapon8"Frame 862Symbol 623 MovieClip
"weapon9"Frame 862Symbol 505 MovieClip
"weapon10"Frame 862Symbol 625 MovieClip
"weapon11"Frame 862Symbol 628 MovieClip
"timer1"Frame 862Symbol 454 MovieClip
"bad5"Frame 862Symbol 431 MovieClip [BadGuy5]
"EXIT"Frame 862Symbol 400 MovieClip [NextLevel]
"bad4"Frame 862Symbol 537 MovieClip [BadGuy4]
"bad3"Frame 862Symbol 551 MovieClip [BadGuy3]
"box"Frame 862Symbol 433 MovieClip
"bad2"Frame 862Symbol 559 MovieClip [BadGuy2]
"guy"Frame 862Symbol 388 MovieClip
"bulletshow2"Frame 862Symbol 437 MovieClip
"sounds"Frame 862Symbol 484 MovieClip
"healthbar"Frame 862Symbol 542 MovieClip
"agButton_btn"Frame 954Symbol 237 Button
"po"Symbol 50 MovieClip [bullet] Frame 1Symbol 18 MovieClip
"gruzy1"Symbol 50 MovieClip [bullet] Frame 2Symbol 32 MovieClip
"XBOCT"Symbol 54 MovieClip Frame 1Symbol 52 MovieClip
"pu"Symbol 67 MovieClip [bullet2] Frame 1Symbol 54 MovieClip
"pu"Symbol 71 MovieClip [bullet3] Frame 1Symbol 69 MovieClip
"gruzy1"Symbol 71 MovieClip [bullet3] Frame 2Symbol 70 MovieClip
"bar"Symbol 122 MovieClip Frame 1Symbol 113 MovieClip
"cross"Symbol 138 MovieClip Frame 1Symbol 137 MovieClip
"AGclick_btn"Symbol 158 MovieClip Frame 1Symbol 147 Button
"AGskip_btn"Symbol 158 MovieClip Frame 1Symbol 153 Button
"AGpresented_mc"Symbol 158 MovieClip Frame 1Symbol 155 MovieClip
"AGlogo_mc"Symbol 158 MovieClip Frame 1Symbol 157 MovieClip
"weapon"Symbol 380 MovieClip Frame 1Symbol 372 MovieClip [MP5]
"guy"Symbol 388 MovieClip Frame 1Symbol 380 MovieClip
"point"Symbol 388 MovieClip Frame 1Symbol 382 MovieClip
"point2"Symbol 388 MovieClip Frame 1Symbol 382 MovieClip
"guy"Symbol 388 MovieClip Frame 15Symbol 380 MovieClip
"door"Symbol 395 MovieClip Frame 1Symbol 394 MovieClip
"door2"Symbol 395 MovieClip Frame 1Symbol 394 MovieClip
"weapon"Symbol 413 MovieClip Frame 1Symbol 412 MovieClip
"weapon"Symbol 416 MovieClip Frame 1Symbol 372 MovieClip [MP5]
"weapon"Symbol 419 MovieClip Frame 1Symbol 372 MovieClip [MP5]
"weapon"Symbol 429 MovieClip [BadGuy6] Frame 1Symbol 372 MovieClip [MP5]
"hat"Symbol 429 MovieClip [BadGuy6] Frame 1Symbol 407 MovieClip [Helm_Terror_Drug]
"hit"Symbol 429 MovieClip [BadGuy6] Frame 1Symbol 409 MovieClip
"dead"Symbol 429 MovieClip [BadGuy6] Frame 9Symbol 428 MovieClip
"weapon"Symbol 431 MovieClip [BadGuy5] Frame 1Symbol 372 MovieClip [MP5]
"hat"Symbol 431 MovieClip [BadGuy5] Frame 1Symbol 407 MovieClip [Helm_Terror_Drug]
"hit"Symbol 431 MovieClip [BadGuy5] Frame 1Symbol 409 MovieClip
"dead"Symbol 431 MovieClip [BadGuy5] Frame 9Symbol 428 MovieClip
"weapon"Symbol 537 MovieClip [BadGuy4] Frame 1Symbol 372 MovieClip [MP5]
"hat"Symbol 537 MovieClip [BadGuy4] Frame 1Symbol 407 MovieClip [Helm_Terror_Drug]
"hit"Symbol 537 MovieClip [BadGuy4] Frame 1Symbol 409 MovieClip
"dead"Symbol 537 MovieClip [BadGuy4] Frame 9Symbol 428 MovieClip
"door"Symbol 540 MovieClip Frame 1Symbol 394 MovieClip
"door"Symbol 550 MovieClip Frame 1Symbol 394 MovieClip
"weapon"Symbol 551 MovieClip [BadGuy3] Frame 1Symbol 372 MovieClip [MP5]
"hat"Symbol 551 MovieClip [BadGuy3] Frame 1Symbol 407 MovieClip [Helm_Terror_Drug]
"hit"Symbol 551 MovieClip [BadGuy3] Frame 1Symbol 409 MovieClip
"dead"Symbol 551 MovieClip [BadGuy3] Frame 9Symbol 428 MovieClip
"weapon"Symbol 559 MovieClip [BadGuy2] Frame 1Symbol 372 MovieClip [MP5]
"hat"Symbol 559 MovieClip [BadGuy2] Frame 1Symbol 407 MovieClip [Helm_Terror_Drug]
"hit"Symbol 559 MovieClip [BadGuy2] Frame 1Symbol 409 MovieClip
"dead"Symbol 559 MovieClip [BadGuy2] Frame 9Symbol 428 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$Vr$fDVxd4Np/Yj60kfKL9l2r1."
ExportAssets (56)Timeline Frame 1Symbol 1 as "Smash"
ExportAssets (56)Timeline Frame 1Symbol 2 as "DIE"
ExportAssets (56)Timeline Frame 1Symbol 4 as "Helm_Blood_MainHero"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Helm_CT_FSB"
ExportAssets (56)Timeline Frame 1Symbol 8 as "Colt_1917"
ExportAssets (56)Timeline Frame 1Symbol 12 as "Browning_1921"
ExportAssets (56)Timeline Frame 1Symbol 14 as "AK_47"
ExportAssets (56)Timeline Frame 1Symbol 16 as "Hand_L_German_Officer"
ExportAssets (56)Timeline Frame 1Symbol 50 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 67 as "bullet2"
ExportAssets (56)Timeline Frame 1Symbol 71 as "bullet3"
ExportAssets (56)Timeline Frame 1Symbol 73 as "Helm_Terror_Mafia"
ExportAssets (56)Timeline Frame 1Symbol 75 as "Helm_Fallout_Raider"
ExportAssets (56)Timeline Frame 1Symbol 81 as "Browning_1921_gr"
ExportAssets (56)Timeline Frame 1Symbol 83 as "Helm_USA_Delta"
ExportAssets (56)Timeline Frame 1Symbol 89 as "SuperShotgun"
ExportAssets (56)Timeline Frame 1Symbol 91 as "M_16"
ExportAssets (56)Timeline Frame 1Symbol 93 as "RocketLauncher"
ExportAssets (56)Timeline Frame 1Symbol 95 as "Thompson"
ExportAssets (56)Timeline Frame 1Symbol 97 as "PM"
ExportAssets (56)Timeline Frame 1Symbol 99 as "Beretta"
ExportAssets (56)Timeline Frame 1Symbol 101 as "HK_28"
ExportAssets (56)Timeline Frame 1Symbol 103 as "UZI"
ExportAssets (56)Timeline Frame 1Symbol 734 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 735 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 736 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 737 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 1Symbol 738 as "__Packages.mx.transitions.easing.Bounce"
ExportAssets (56)Timeline Frame 822Symbol 372 as "MP5"
ExportAssets (56)Timeline Frame 822Symbol 373 as "Helm_Vietnam_Sergant"
ExportAssets (56)Timeline Frame 822Symbol 400 as "NextLevel"
ExportAssets (56)Timeline Frame 822Symbol 407 as "Helm_Terror_Drug"
ExportAssets (56)Timeline Frame 822Symbol 429 as "BadGuy6"
ExportAssets (56)Timeline Frame 822Symbol 431 as "BadGuy5"
ExportAssets (56)Timeline Frame 822Symbol 504 as "RocketLauncher_gr"
ExportAssets (56)Timeline Frame 824Symbol 537 as "BadGuy4"
ExportAssets (56)Timeline Frame 830Symbol 551 as "BadGuy3"
ExportAssets (56)Timeline Frame 836Symbol 559 as "BadGuy2"

Labels

"menu2"Frame 703
"start"Frame 704
"options"Frame 705
"instructions"Frame 706
"credit"Frame 707
"startgame"Frame 715
"runda1"Frame 821
"runda2"Frame 823
"runda3"Frame 825
"runda4"Frame 827
"runda5"Frame 829
"runda6"Frame 831
"runda7"Frame 833
"runda8"Frame 835
"bad2"Frame 836
"runda9"Frame 837
"bad2"Frame 838
"runda10"Frame 839
"bad2"Frame 840
"runda11"Frame 841
"bad2"Frame 842
"runda12"Frame 843
"bad2"Frame 844
"runda13"Frame 845
"bad2"Frame 846
"runda14"Frame 847
"bad2"Frame 848
"runda15"Frame 849
"bad2"Frame 850
"runda16"Frame 851
"bad2"Frame 852
"runda17"Frame 853
"bad2"Frame 854
"runda18"Frame 855
"bad2"Frame 856
"runda19"Frame 857
"bad2"Frame 858
"runda20"Frame 859
"bad2"Frame 860
"runda21"Frame 861
"bad2"Frame 862
"runda22"Frame 863
"dead"Frame 900
"loaded"Symbol 122 MovieClip Frame 3

Dynamic Text Variables

mynameSymbol 191 EditableText"<p align="center"><font face="Carbon Block" size="45" color="#ffffff" letterSpacing="1.000000" kerning="0">&lt;NAME&gt;</font></p>"
LEVELSymbol 208 EditableText"LEVEL "
totalkillsSymbol 290 EditableText""
mynameSymbol 307 EditableText"<p align="left"></p>"
LEVELSymbol 354 EditableText"LEVEL "
crosshair2Symbol 434 EditableText" "
enemykillzSymbol 487 EditableText"0 "
timeeSymbol 488 EditableText"0 "
slowmotiontimeSymbol 489 EditableText"0 "
shootsSymbol 490 EditableText"0 "
AMMO2Symbol 507 EditableText"23"
AMMO3Symbol 508 EditableText"11 0"
AMMO4Symbol 509 EditableText"11 0"
AMMO5Symbol 510 EditableText"11 0"
AMMO6Symbol 511 EditableText"11 0"
herolifesSymbol 530 EditableText"17 "
shootsSymbol 543 EditableText"0 "
herolifesSymbol 547 EditableText"000 "
herolifesSymbol 548 EditableText"000 "
herolifesSymbol 552 EditableText"000 "
herolifesSymbol 560 EditableText"000 "
shootsSymbol 563 EditableText"0 "
herolifesSymbol 568 EditableText"000 "
enemykillzSymbol 573 EditableText"0 "
timeeSymbol 574 EditableText"0 "
slowmotiontimeSymbol 575 EditableText"0 "
shootsSymbol 576 EditableText"0 "
herolifesSymbol 579 EditableText"000 "
herolifesSymbol 582 EditableText"000 "
timer1Symbol 594 EditableText""
herolifesSymbol 605 EditableText"000 "
enemykillzSymbol 610 EditableText"0 "
timeeSymbol 611 EditableText"0 "
slowmotiontimeSymbol 612 EditableText"0 "
shootsSymbol 613 EditableText"0 "
AMMO2Symbol 631 EditableText"11 0"
AMMO3Symbol 632 EditableText"11 0"
AMMO4Symbol 633 EditableText"11 0"
AMMO5Symbol 634 EditableText"11 0"
AMMO6Symbol 635 EditableText"11 0"
AMMO7Symbol 636 EditableText"11 0"
AMMO8Symbol 637 EditableText"11 0"
AMMO9Symbol 638 EditableText"11 0"
AMMO10Symbol 639 EditableText"11 0"
AMMO11Symbol 640 EditableText"11 0"
herolifesSymbol 641 EditableText"000 "
enemykillzSymbol 644 EditableText"0 "
timeeSymbol 645 EditableText"0 "
slowmotiontimeSymbol 646 EditableText"0 "
shootsSymbol 647 EditableText"0 "
AMMO2Symbol 649 EditableText"11 0"
AMMO3Symbol 650 EditableText"11 0"
AMMO4Symbol 651 EditableText"11 0"
AMMO5Symbol 652 EditableText"11 0"
AMMO6Symbol 653 EditableText"11 0"
AMMO7Symbol 654 EditableText"11 0"
AMMO8Symbol 655 EditableText"11 0"
AMMO9Symbol 656 EditableText"11 0"
AMMO10Symbol 657 EditableText"11 0"
AMMO11Symbol 658 EditableText"11 0"
herolifesSymbol 659 EditableText"000 "
enemykillzSymbol 663 EditableText"0 "
timeeSymbol 664 EditableText"0 "
slowmotiontimeSymbol 665 EditableText"0 "
shootsSymbol 666 EditableText"0 "
AMMO2Symbol 667 EditableText"11 0"
AMMO3Symbol 668 EditableText"11 0"
AMMO4Symbol 669 EditableText"11 0"
AMMO5Symbol 670 EditableText"11 0"
AMMO6Symbol 671 EditableText"11 0"
AMMO7Symbol 672 EditableText"11 0"
AMMO8Symbol 673 EditableText"11 0"
AMMO9Symbol 674 EditableText"11 0"
AMMO10Symbol 675 EditableText"11 0"
AMMO11Symbol 676 EditableText"11 0"
enemykillzSymbol 687 EditableText"0 "
shootsSymbol 688 EditableText"0 "
enemykillzSymbol 697 EditableText"0 "
shootsSymbol 698 EditableText"0 "
enemykillzSymbol 700 EditableText"0 "
shootsSymbol 701 EditableText"0 "
enemykillzSymbol 703 EditableText"0 "
slowmotiontimeSymbol 704 EditableText"0 "
shootsSymbol 705 EditableText"0 "
enemykillzSymbol 732 EditableText"0 "
shootsSymbol 733 EditableText"0 "




http://swfchan.com/9/42187/info.shtml
Created: 10/5 -2019 01:29:22 Last modified: 10/5 -2019 01:29:22 Server time: 14/05 -2024 13:54:06