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

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

Stealth Attack.swf

This is the info page for
Flash #69529

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


Text
File Size:

(

50%

note: a 'low' quality level is recommended
for most computers.

LOW QUALITY

note: a 'low' quality level is recommended
for most computers.

100%

SCOR3: 0

0

0

0

Based on the performance you demonstrated in enemy territory, we award you with a score of:

100%

SCOR3: 0

Welcome to the tutorial!

ActionScript [AS1/AS2]

Frame 1
loadedthusfar = getBytesLoaded() / getBytesTotal(); _root.moving_bar._x = -180 + (loadedthusfar * 271); _root.txtActual.text = ((("(" + getBytesLoaded()) + " bytes)/(") + getBytesTotal()) + " bytes)"; _root.txtPercent._x = 26 + (loadedthusfar * 271); _root.txtPercent.text = Math.floor(100 * loadedthusfar) + "%"; _root.txtSize.text = ("File Size = " + (Math.round(100 * (getBytesTotal() / 1048576)) / 100)) + " mb";
Frame 2
loadedthusfar = _root.getBytesLoaded() / _root.getBytesTotal(); if (loadedthusfar != 1) { _root.gotoAndPlay(1); }
Frame 3
stop();
Frame 149
_root._quality = "LOW";
Instance of Symbol 25 MovieClip in Frame 150
onClipEvent (enterFrame) { _root.qualitytag.text = _root._quality + " QUALITY"; }
Frame 179
stop();
Frame 180
_root.qbuffer = _quality; _quality = "HIGH";
Frame 1481
var dead = 0; var entity = 0; var numenem = 27; active_particles = new array(); your_bullets = new array(); enemy_bullets = new array(); var door1 = 0; var door2 = 0; var door3 = 0; var c4 = 0; var score = 0; var gold = 0; var headcount = 0; var detonation = 0; var detx; var dety; var doorbomb1 = 0; var doorbomb2 = 0; var youwin = 0; _quality = _root.qbuffer;
Frame 1482
Mouse.hide(); stop(); this.onEnterFrame = function () { if (_root.you.health <= 0) { _root.dead = 1; Mouse.show(); gotoAndStop (1483); delete this.onEnterFrame; } if (_root.youwin) { _root.dead = 1; Mouse.show(); _root.maincharhealth = _root.you.health; gotoAndPlay (1484); delete this.onEnterFrame; } };
Instance of Symbol 135 MovieClip "backdrop" in Frame 1482
onClipEvent (enterFrame) { if (!_root.dead) { var netx = 0; var nety = 0; if (Key.isDown(16)) { speed = 6; } else { speed = 4; } if ((Key.isDown(37) && (!Key.isDown(39))) || (Key.isDown(65) && (!Key.isDown(68)))) { netx = netx + speed; this._x = this._x + speed; _root.walls._x = _root.walls._x + speed; if (_root.walls.hitTest(_root.mask_you.getBounds(_root).xMin, _root.mask_you._y, true)) { netx = netx - speed; this._x = this._x - speed; _root.walls._x = _root.walls._x - speed; } } if ((Key.isDown(39) && (!Key.isDown(37))) || (Key.isDown(68) && (!Key.isDown(65)))) { netx = netx - speed; this._x = this._x - speed; _root.walls._x = _root.walls._x - speed; if (_root.walls.hitTest(_root.mask_you.getBounds(_root).xMax, _root.mask_you._y, true)) { netx = netx + speed; this._x = this._x + speed; _root.walls._x = _root.walls._x + speed; } } if ((Key.isDown(38) && (!Key.isDown(40))) || (Key.isDown(87) && (!Key.isDown(83)))) { nety = nety + speed; this._y = this._y + speed; _root.walls._y = _root.walls._y + speed; if (_root.walls.hitTest(_root.mask_you._x, _root.mask_you.getBounds(_root).yMin, true)) { nety = nety - speed; this._y = this._y - speed; _root.walls._y = _root.walls._y - speed; } } if ((Key.isDown(40) && (!Key.isDown(38))) || (Key.isDown(83) && (!Key.isDown(87)))) { nety = nety - speed; this._y = this._y - speed; _root.walls._y = _root.walls._y - speed; if (_root.walls.hitTest(_root.mask_you._x, _root.mask_you.getBounds(_root).yMax, true)) { nety = nety + speed; this._y = this._y + speed; _root.walls._y = _root.walls._y + speed; } } if (Key.isDown(17) || (Key.isDown(81))) { if (_root.c4) { _root.detonationDevice._x = _root.you._x; _root.detonationDevice._y = _root.you._y; _root.detonationDevice.play(); _root.c4 = 0; } } inst = 1; while (inst <= _root.numenem) { _root["en_" + inst]._x = _root["en_" + inst]._x + netx; _root["en_" + inst]._y = _root["en_" + inst]._y + nety; inst++; } inst = 0; while (inst <= _root.active_particles.length) { _root[_root.active_particles[inst]]._x = _root[_root.active_particles[inst]]._x + netx; _root[_root.active_particles[inst]]._y = _root[_root.active_particles[inst]]._y + nety; inst++; } inst = 1; while (inst <= 7) { _root["cam_" + inst]._x = _root["cam_" + inst]._x + netx; _root["cam_" + inst]._y = _root["cam_" + inst]._y + nety; inst++; } inst = 1; while (inst <= 5) { _root["cd" + inst]._x = _root["cd" + inst]._x + netx; _root["cd" + inst]._y = _root["cd" + inst]._y + nety; inst++; } inst = 1; while (inst <= 3) { _root["sc" + inst]._x = _root["sc" + inst]._x + netx; _root["sc" + inst]._y = _root["sc" + inst]._y + nety; inst++; } inst = 1; while (inst <= 22) { _root["entity_" + inst]._x = _root["entity_" + inst]._x + netx; _root["entity_" + inst]._y = _root["entity_" + inst]._y + nety; inst++; } _root.detonationDevice._x = _root.detonationDevice._x + netx; _root.detonationDevice._y = _root.detonationDevice._y + nety; } }
Instance of Symbol 159 MovieClip "entity_1" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.c4 = 1; _root.Text_Control.HUD_TEXT.text = "C-4 explosive package"; _root.Text_Control.play(); this._x = 50000; _root.score = _root.score + 50; this.soundlayer.play(); } }
Instance of Symbol 162 MovieClip "sc1" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.door1 = 1; _root.Text_Control.HUD_TEXT.text = "Key Card 1 Acquired"; _root.Text_Control.play(); this._x = 50000; this.soundlayer.play(); } }
Instance of Symbol 165 MovieClip "sc2" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.door2 = 1; _root.Text_Control.HUD_TEXT.text = "Key Card 2 Acquired"; _root.Text_Control.play(); this._x = 50000; this.soundlayer.play(); } }
Instance of Symbol 168 MovieClip "sc3" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.door3 = 1; _root.Text_Control.HUD_TEXT.text = "Key Card 3 Acquired"; _root.Text_Control.play(); this._x = 50000; this.soundlayer.play(); } }
Instance of Symbol 159 MovieClip "entity_21" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.c4 = 1; _root.Text_Control.HUD_TEXT.text = "C-4 explosive package"; _root.Text_Control.play(); this._x = 50000; _root.score = _root.score + 50; this.soundlayer.play(); } }
Instance of Symbol 170 MovieClip "cd5" in Frame 1482
onClipEvent (enterFrame) { if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._x = 50000; _root.doorbomb2 = 1; } } }
Instance of Symbol 195 MovieClip "en_1" in Frame 1482
onClipEvent (load) { var id_number = 1; var vision = 150; var speed = 3; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 200 MovieClip "entity_2" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 205 MovieClip "cd2" in Frame 1482
onClipEvent (load) { var opening = 0; } onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (opening) { this._alpha = this._alpha - 10; if (this._alpha <= 0) { this._x = 50000; } } else if ((dist < 50) && (_root.door2)) { opening = 1; _root.score = _root.score + 20; this.soundlayer.play(); } else if ((dist < 70) && (!_root.door2)) { _root.Text_Control.HUD_TEXT.text = "Key Card 2 Required"; _root.Text_Control.play(); } }
Instance of Symbol 205 MovieClip "cd1" in Frame 1482
onClipEvent (load) { var opening = 0; } onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (opening) { this._alpha = this._alpha - 10; if (this._alpha <= 0) { this._x = 50000; } } else if ((dist < 50) && (_root.door1)) { opening = 1; _root.score = _root.score + 20; this.soundlayer.play(); } else if ((dist < 70) && (!_root.door1)) { _root.Text_Control.HUD_TEXT.text = "Key Card 1 Required"; _root.Text_Control.play(); } }
Instance of Symbol 205 MovieClip "cd3" in Frame 1482
onClipEvent (load) { var opening = 0; } onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (opening) { this._alpha = this._alpha - 10; if (this._alpha <= 0) { this._x = 50000; } } else if ((dist < 50) && (_root.door3)) { opening = 1; _root.score = _root.score + 20; this.soundlayer.play(); } else if ((dist < 70) && (!_root.door3)) { _root.Text_Control.HUD_TEXT.text = "Key Card 3 Required"; _root.Text_Control.play(); } }
Instance of Symbol 200 MovieClip "entity_3" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_4" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_5" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_6" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_7" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_8" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_9" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_10" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_11" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_12" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_13" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_14" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_15" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_16" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_17" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_18" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_20" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 200 MovieClip "entity_19" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.gold = _root.gold + 1; this._x = 50000; _root.score = _root.score + 75; this.soundlayer.play(); } }
Instance of Symbol 205 MovieClip "cd4" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 70) { _root.Text_Control.HUD_TEXT.text = "Key Card 34B Required"; _root.Text_Control.play(); } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._x = 50000; _root.doorbomb1 = 1; } } }
Instance of Symbol 195 MovieClip "en_2" in Frame 1482
onClipEvent (load) { var id_number = 2; var vision = 0; var speed = 3; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_3" in Frame 1482
onClipEvent (load) { var id_number = 3; var vision = 0; var speed = 3; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_4" in Frame 1482
onClipEvent (load) { var id_number = 4; var vision = 150; var speed = 1; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_8" in Frame 1482
onClipEvent (load) { var id_number = 8; var vision = 150; var speed = 1; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_6" in Frame 1482
onClipEvent (load) { var id_number = 6; var vision = 150; var speed = 1; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_5" in Frame 1482
onClipEvent (load) { var id_number = 5; var vision = 150; var speed = 1; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_7" in Frame 1482
onClipEvent (load) { var id_number = 7; var vision = 150; var speed = 1; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_9" in Frame 1482
onClipEvent (load) { var id_number = 9; var vision = 150; var speed = 1; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_10" in Frame 1482
onClipEvent (load) { var id_number = 10; var vision = 150; var speed = 3; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_12" in Frame 1482
onClipEvent (load) { var id_number = 12; var vision = 150; var speed = 3; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_11" in Frame 1482
onClipEvent (load) { var id_number = 11; var vision = 150; var speed = 3; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_13" in Frame 1482
onClipEvent (load) { var id_number = 13; var vision = 150; var speed = 3; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_14" in Frame 1482
onClipEvent (load) { var id_number = 14; var vision = 400; var speed = 0; var health = 2; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_15" in Frame 1482
onClipEvent (load) { var id_number = 15; var vision = 200; var speed = 0; var health = 3; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_16" in Frame 1482
onClipEvent (load) { var id_number = 16; var vision = 200; var speed = 0; var health = 3; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_17" in Frame 1482
onClipEvent (load) { var id_number = 17; var vision = 200; var speed = 0; var health = 3; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_18" in Frame 1482
onClipEvent (load) { var id_number = 18; var vision = 200; var speed = 0; var health = 3; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_19" in Frame 1482
onClipEvent (load) { var id_number = 19; var vision = 200; var speed = 0; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_20" in Frame 1482
onClipEvent (load) { var id_number = 20; var vision = 150; var speed = 3; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_22" in Frame 1482
onClipEvent (load) { var id_number = 22; var vision = 150; var speed = 0; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_21" in Frame 1482
onClipEvent (load) { var id_number = 21; var vision = 150; var speed = 0; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_23" in Frame 1482
onClipEvent (load) { var id_number = 23; var vision = 150; var speed = 0; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_25" in Frame 1482
onClipEvent (load) { var id_number = 25; var vision = 150; var speed = 0; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_24" in Frame 1482
onClipEvent (load) { var id_number = 24; var vision = 150; var speed = 0; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_27" in Frame 1482
onClipEvent (load) { var id_number = 27; var vision = 150; var speed = 0; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 195 MovieClip "en_26" in Frame 1482
onClipEvent (load) { var id_number = 26; var vision = 150; var speed = 0; var health = 1; var aware = 0; var fire_counter = 0; var hunt_counter = 0; var hunt_type = 0; } onClipEvent (enterFrame) { if (!_root.dead) { _root["ens_" + id_number]._x = this._x; _root["ens_" + id_number]._y = this._y; if (health > 0) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (aware == 0) { if (dist <= vision) { aware = 1; } } else if (aware == 1) { if (dist > 50) { if (dist >= vision) { aware = 2; } this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); tempx = math.round(speed * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round(speed * math.sin((this._rotation * Math.PI) / 180)); this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } fire_counter++; if (fire_counter >= 10) { tempx = 20 * math.cos((_rotation * Math.PI) / 180); tempy = 20 * math.sin((_rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root[temp].ownership = 1; _root.enemy_bullets.push(temp); _root.active_particles.push(temp); this.soundlayer.play(); } fire_counter = 0; } } else { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= vision) { aware = 1; } hunt_counter++; if (hunt_counter >= 60) { if (math.random() >= 0.8) { hunt_type = 0; } else { hunt_type = 1; this._rotation = random(360); tempx = math.round((0.75 * speed) * math.cos((this._rotation * Math.PI) / 180)); tempy = math.round((0.75 * speed) * math.sin((this._rotation * Math.PI) / 180)); } hunt_counter = 0; } if (hunt_type == 1) { this._x = this._x + tempx; if ((tempx < 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMin, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } if ((tempx > 0) && (_root.walls.hitTest(_root["ens_" + id_number].getBounds(_root).xMax, _root["ens_" + id_number]._y, true))) { this._x = this._x - tempx; } this._y = this._y + tempy; if ((tempy < 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMin, true))) { this._y = this._y - tempy; } if ((tempy > 0) && (_root.walls.hitTest(_root["ens_" + id_number]._x, _root["ens_" + id_number].getBounds(_root).yMax, true))) { this._y = this._y - tempy; } } } for (everybullet in _root.your_bullets) { if (_root["ens_" + id_number].hitTest(_root[_root.your_bullets[everybullet]])) { health--; } if (health <= 0) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); this.play(); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; } } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._rotation = Math.atan2(_root.dety - this._y, _root.detx - this._x) / (Math.PI/180); this.gotoAndStop(331); _root.score = _root.score + 100; _root.bodycount = _root.bodycount + 1; health = 0; } } } } }
Instance of Symbol 214 MovieClip "you" in Frame 1482
onClipEvent (load) { health = 100; } onClipEvent (enterFrame) { if (!_root.dead) { for (everybullet in _root.enemy_bullets) { if (_root.mask_you.hitTest(_root[_root.enemy_bullets[everybullet]])) { health = health - 10; } } } if (_root.detonation) { dist = math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))); if (dist < 100) { health = health - (100 - dist); } } } onClipEvent (mouseDown) { if (!_root.dead) { var intensity = 20; tempx = intensity * math.cos((_root.you.arms._rotation * Math.PI) / 180); tempy = intensity * math.sin((_root.you.arms._rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { var intensity = 40; tempx = intensity * math.cos((_root.you.arms._rotation * Math.PI) / 180); tempy = intensity * math.sin((_root.you.arms._rotation * Math.PI) / 180); _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); var intensity = 20; tempx = intensity * math.cos((_root.you.arms._rotation * Math.PI) / 180); tempy = intensity * math.sin((_root.you.arms._rotation * Math.PI) / 180); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _root.you.arms._rotation; _root[temp].ownership = 0; _root.your_bullets.push(temp); _root.active_particles.push(temp); } } }
Instance of Symbol 216 MovieClip "bullet" in Frame 1482
onClipEvent (load) { var lifespan = 0; var intensity = 32; tempx = intensity * math.cos((_rotation * Math.PI) / 180); tempy = intensity * math.sin((_rotation * Math.PI) / 180); } onClipEvent (enterFrame) { if (!_root.dead) { if (_name == "bullet") { } else { _x = (_x + tempx); _y = (_y + tempy); lifespan++; if (lifespan >= 20) { temp = 0; while (this._name != _root.your_bullets[temp]) { temp++; } _root.your_bullets.splice(temp, 1); this.removeMovieClip(); } if (_root.walls.hitTest(_x, _y, true)) { if (ownership == 0) { temp = 0; while (this._name != _root.your_bullets[temp]) { temp++; } _root.your_bullets.splice(temp, 1); } else { temp = 0; while (this._name != _root.enemy_bullets[temp]) { temp++; } _root.enemy_bullets.splice(temp, 1); } temp = 0; while (this._name != _root.active_particles[temp]) { temp++; } _root.active_particles.splice(temp, 1); this.removeMovieClip(); } } } else { this.removeMovieClip(); } }
Instance of Symbol 219 MovieClip "cam_3" in Frame 1482
onClipEvent (enterFrame) { if (_root.you._y > this._y) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= 200) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); } } }
Instance of Symbol 219 MovieClip "cam_4" in Frame 1482
onClipEvent (enterFrame) { if (_root.you._y > this._y) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= 200) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); } } }
Instance of Symbol 219 MovieClip "cam_5" in Frame 1482
onClipEvent (enterFrame) { if (_root.you._y > this._y) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= 200) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); } } }
Instance of Symbol 219 MovieClip "cam_6" in Frame 1482
onClipEvent (enterFrame) { if (_root.you._y > this._y) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= 200) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); } } }
Instance of Symbol 219 MovieClip "cam_2" in Frame 1482
onClipEvent (enterFrame) { if (_root.you._x > this._x) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= 200) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); } } }
Instance of Symbol 219 MovieClip "cam_1" in Frame 1482
onClipEvent (enterFrame) { if (_root.you._x > this._x) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= 200) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); } } }
Instance of Symbol 219 MovieClip "cam_7" in Frame 1482
onClipEvent (enterFrame) { if (_root.you._x < this._x) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist <= 200) { this._rotation = Math.atan2(_root.you._y - this._y, _root.you._x - this._x) / (Math.PI/180); } } }
Instance of Symbol 223 MovieClip in Frame 1482
onClipEvent (enterFrame) { if (!_root.dead) { this._rotation = this._rotation + 1; this._x = _root._xmouse; this._y = _root._ymouse; this._xscale = math.sqrt(((_root._xmouse - _root.you._x) * (_root._xmouse - _root.you._x)) + ((_root._ymouse - _root.you._y) * (_root._ymouse - _root.you._y))) / 3; this._yscale = math.sqrt(((_root._xmouse - _root.you._x) * (_root._xmouse - _root.you._x)) + ((_root._ymouse - _root.you._y) * (_root._ymouse - _root.you._y))) / 3; } }
Instance of Symbol 229 MovieClip "entity_22" in Frame 1482
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.youwin = 1; } }
Instance of Symbol 231 MovieClip "on_screen_hud" in Frame 1482
onClipEvent (enterFrame) { _root.HUD_SCORE.text = "SCORE: " + _root.score; }
Instance of Symbol 241 MovieClip in Frame 1482
onClipEvent (enterFrame) { _root.myhealthtext.text = _root.you.health + "%"; }
Instance of Symbol 159 MovieClip "HUD_BOMB" in Frame 1482
onClipEvent (enterFrame) { if (_root.c4) { this._alpha = "100"; } else { this._alpha = "0"; } }
Frame 1483
_root.qbuffer = _quality; _quality = "HIGH"; stopAllSounds(); stop();
Frame 1484
_root.qbuffer = _quality; _quality = "HIGH"; stopAllSounds();
Instance of Symbol 264 MovieClip "score_break" in Frame 1601
onClipEvent (load) { _root.score_break.score_dude.text = _root.bodycount; _root.score_break.score_gold.text = _root.gold; _root.score_break.score_heart.text = _root.maincharhealth; }
Instance of Symbol 264 MovieClip "score_break" in Frame 1614
onClipEvent (load) { _root.score_break.score_dude.text = _root.bodycount; _root.score_break.score_gold.text = _root.gold; _root.score_break.score_heart.text = _root.maincharhealth; _root.your_score_sent.text = "Based on the performance you demonstrated in enemy territory, we award you with a score of: " + Math.floor((((100 * _root.maincharhealth) / 100) + ((100 * _root.bodycount) / 27)) + ((150 * _root.gold) / 19)); }
Frame 1626
stop();
Instance of Symbol 264 MovieClip "score_break" in Frame 1626
onClipEvent (load) { _root.score_break.score_dude.text = _root.bodycount; _root.score_break.score_gold.text = _root.gold; _root.score_break.score_heart.text = _root.maincharhealth; _root.text_for_end.your_score_sent.text = "Based on the performance you demonstrated in enemy territory, we award you with a score of: " + ((10 * Math.floor((((100 * _root.maincharhealth) / 100) + ((100 * _root.bodycount) / 27)) + ((150 * _root.gold) / 19))) + _root.score); }
Frame 1627
_root.qbuffer = _quality; _quality = "HIGH"; stop();
Frame 1628
var dead = 0; var entity = 0; var numenem = 27; active_particles = new array(); your_bullets = new array(); enemy_bullets = new array(); var door1 = 0; var door2 = 0; var c4 = 0; var score = 0; var gold = 0; var headcount = 0; var detonation = 0; var detx; var dety; var doorbomb1 = 0; var doorbomb2 = 0; var youwin = 0;
Frame 1629
Mouse.hide(); stop(); this.onEnterFrame = function () { if (_root.you.health <= 0) { stopAllSounds(); _root.dead = 1; Mouse.show(); gotoAndStop (150); delete this.onEnterFrame; } if (_root.youwin) { stopAllSounds(); _root.dead = 1; Mouse.show(); gotoAndPlay (150); delete this.onEnterFrame; } };
Instance of Symbol 271 MovieClip "backdrop" in Frame 1629
onClipEvent (enterFrame) { if (this._x >= 360.05) { _root.tutorial_hints.tutorial.text = "Keycards are required to enter certain doors. Use this one to open the door to the right of the level."; } else if (this._x <= 90) { _root.tutorial_hints.tutorial.text = "The door to the south asks for keycard 69, but that card isn't here, so we can use this c4 as a substitute. Ctrl, or Q will cause you to set it off."; } if (!_root.dead) { var netx = 0; var nety = 0; if (Key.isDown(16)) { speed = 6; } else { speed = 4; } if ((Key.isDown(37) && (!Key.isDown(39))) || (Key.isDown(65) && (!Key.isDown(68)))) { netx = netx + speed; this._x = this._x + speed; _root.walls._x = _root.walls._x + speed; if (_root.walls.hitTest(_root.mask_you.getBounds(_root).xMin, _root.mask_you._y, true)) { netx = netx - speed; this._x = this._x - speed; _root.walls._x = _root.walls._x - speed; } } if ((Key.isDown(39) && (!Key.isDown(37))) || (Key.isDown(68) && (!Key.isDown(65)))) { netx = netx - speed; this._x = this._x - speed; _root.walls._x = _root.walls._x - speed; if (_root.walls.hitTest(_root.mask_you.getBounds(_root).xMax, _root.mask_you._y, true)) { netx = netx + speed; this._x = this._x + speed; _root.walls._x = _root.walls._x + speed; } } if ((Key.isDown(38) && (!Key.isDown(40))) || (Key.isDown(87) && (!Key.isDown(83)))) { nety = nety + speed; this._y = this._y + speed; _root.walls._y = _root.walls._y + speed; if (_root.walls.hitTest(_root.mask_you._x, _root.mask_you.getBounds(_root).yMin, true)) { nety = nety - speed; this._y = this._y - speed; _root.walls._y = _root.walls._y - speed; } } if ((Key.isDown(40) && (!Key.isDown(38))) || (Key.isDown(83) && (!Key.isDown(87)))) { nety = nety - speed; this._y = this._y - speed; _root.walls._y = _root.walls._y - speed; if (_root.walls.hitTest(_root.mask_you._x, _root.mask_you.getBounds(_root).yMax, true)) { nety = nety + speed; this._y = this._y + speed; _root.walls._y = _root.walls._y + speed; } } if (Key.isDown(17) || (Key.isDown(81))) { if (_root.c4) { _root.detonationDevice._x = _root.you._x; _root.detonationDevice._y = _root.you._y; _root.detonationDevice.play(); _root.c4 = 0; _root.tutorial_hints.tutorial.text = "NOW GET AWAY!!!"; } } inst = 1; while (inst <= _root.numenem) { _root["en_" + inst]._x = _root["en_" + inst]._x + netx; _root["en_" + inst]._y = _root["en_" + inst]._y + nety; inst++; } inst = 0; while (inst <= _root.active_particles.length) { _root[_root.active_particles[inst]]._x = _root[_root.active_particles[inst]]._x + netx; _root[_root.active_particles[inst]]._y = _root[_root.active_particles[inst]]._y + nety; inst++; } _root.cad1._x = _root.cad1._x + netx; _root.cad1._y = _root.cad1._y + nety; _root.cd2._x = _root.cd2._x + netx; _root.cd2._y = _root.cd2._y + nety; inst = 1; while (inst <= 3) { _root["sc" + inst]._x = _root["sc" + inst]._x + netx; _root["sc" + inst]._y = _root["sc" + inst]._y + nety; inst++; } inst = 1; while (inst <= 22) { _root["entity_" + inst]._x = _root["entity_" + inst]._x + netx; _root["entity_" + inst]._y = _root["entity_" + inst]._y + nety; inst++; } _root.detonationDevice._x = _root.detonationDevice._x + netx; _root.detonationDevice._y = _root.detonationDevice._y + nety; } }
Instance of Symbol 159 MovieClip "entity_1" in Frame 1629
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.c4 = 1; _root.Text_Control.HUD_TEXT.text = "C-4 explosive package"; _root.Text_Control.play(); this._x = 50000; _root.score = _root.score + 50; this.soundlayer.play(); } }
Instance of Symbol 162 MovieClip "sc1" in Frame 1629
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.door1 = 1; _root.Text_Control.HUD_TEXT.text = "Key Card 1 Acquired"; _root.Text_Control.play(); this._x = 50000; this.soundlayer.play(); } }
Instance of Symbol 205 MovieClip "cd2" in Frame 1629
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 70) { _root.Text_Control.HUD_TEXT.text = "Key Card 69 Required"; _root.Text_Control.play(); } if (_root.detonation) { if (math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))) < 100) { this._x = 50000; _root.doorbomb1 = 1; } } }
Instance of Symbol 205 MovieClip "cad1" in Frame 1629
onClipEvent (load) { var opening = 0; } onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (opening) { this._alpha = this._alpha - 10; if (this._alpha <= 0) { this._x = 50000; } } else if ((dist < 50) && (_root.door1)) { opening = 1; _root.score = _root.score + 20; this.soundlayer.play(); } else if ((dist < 70) && (!_root.door1)) { _root.Text_Control.HUD_TEXT.text = "Key Card 1 Required"; _root.Text_Control.play(); } }
Instance of Symbol 214 MovieClip "you" in Frame 1629
onClipEvent (load) { health = 100; } onClipEvent (enterFrame) { if (!_root.dead) { for (everybullet in _root.enemy_bullets) { if (_root.mask_you.hitTest(_root[_root.enemy_bullets[everybullet]])) { health = health - 10; } } } if (_root.detonation) { dist = math.sqrt(((this._x - _root.detx) * (this._x - _root.detx)) + ((this._y - _root.dety) * (this._y - _root.dety))); if (dist < 100) { health = health - (100 - dist); } } } onClipEvent (mouseDown) { if (!_root.dead) { var intensity = 20; tempx = intensity * math.cos((_root.you.arms._rotation * Math.PI) / 180); tempy = intensity * math.sin((_root.you.arms._rotation * Math.PI) / 180); if (!_root.walls.hitTest(_x + tempx, _y + tempy, true)) { var intensity = 40; tempx = intensity * math.cos((_root.you.arms._rotation * Math.PI) / 180); tempy = intensity * math.sin((_root.you.arms._rotation * Math.PI) / 180); _root.entity++; temp = _root.entity; _root.smokeref.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _rotation; _root.active_particles.push(temp); var intensity = 20; tempx = intensity * math.cos((_root.you.arms._rotation * Math.PI) / 180); tempy = intensity * math.sin((_root.you.arms._rotation * Math.PI) / 180); _root.entity++; temp = _root.entity; _root.bullet.duplicateMovieClip(temp, temp); _root[temp]._x = _x + tempx; _root[temp]._y = _y + tempy; _root[temp]._rotation = _root.you.arms._rotation; _root[temp].ownership = 0; _root.your_bullets.push(temp); _root.active_particles.push(temp); } } }
Instance of Symbol 216 MovieClip "bullet" in Frame 1629
onClipEvent (load) { var lifespan = 0; var intensity = 32; tempx = intensity * math.cos((_rotation * Math.PI) / 180); tempy = intensity * math.sin((_rotation * Math.PI) / 180); } onClipEvent (enterFrame) { if (!_root.dead) { if (_name == "bullet") { } else { _x = (_x + tempx); _y = (_y + tempy); lifespan++; if (lifespan >= 20) { temp = 0; while (this._name != _root.your_bullets[temp]) { temp++; } _root.your_bullets.splice(temp, 1); this.removeMovieClip(); } if (_root.walls.hitTest(_x, _y, true)) { if (ownership == 0) { temp = 0; while (this._name != _root.your_bullets[temp]) { temp++; } _root.your_bullets.splice(temp, 1); } else { temp = 0; while (this._name != _root.enemy_bullets[temp]) { temp++; } _root.enemy_bullets.splice(temp, 1); } temp = 0; while (this._name != _root.active_particles[temp]) { temp++; } _root.active_particles.splice(temp, 1); this.removeMovieClip(); } } } else { this.removeMovieClip(); } }
Instance of Symbol 223 MovieClip in Frame 1629
onClipEvent (enterFrame) { if (!_root.dead) { this._rotation = this._rotation + 1; this._x = _root._xmouse; this._y = _root._ymouse; this._xscale = math.sqrt(((_root._xmouse - _root.you._x) * (_root._xmouse - _root.you._x)) + ((_root._ymouse - _root.you._y) * (_root._ymouse - _root.you._y))) / 3; this._yscale = math.sqrt(((_root._xmouse - _root.you._x) * (_root._xmouse - _root.you._x)) + ((_root._ymouse - _root.you._y) * (_root._ymouse - _root.you._y))) / 3; } }
Instance of Symbol 229 MovieClip "entity_22" in Frame 1629
onClipEvent (enterFrame) { var dist = math.sqrt(((this._x - _root.you._x) * (this._x - _root.you._x)) + ((this._y - _root.you._y) * (this._y - _root.you._y))); if (dist < 30) { _root.youwin = 1; } }
Instance of Symbol 231 MovieClip "on_screen_hud" in Frame 1629
onClipEvent (enterFrame) { _root.HUD_SCORE.text = "SCORE: " + _root.score; }
Instance of Symbol 241 MovieClip in Frame 1629
onClipEvent (enterFrame) { _root.myhealthtext.text = _root.you.health + "%"; }
Instance of Symbol 159 MovieClip "HUD_BOMB" in Frame 1629
onClipEvent (enterFrame) { if (_root.c4) { this._alpha = "100"; } else { this._alpha = "0"; } }
Frame 1630
_root.qbuffer = _quality; _quality = "HIGH"; stop();
Symbol 19 Button
on (release) { play(); }
Symbol 31 Button
on (press) { _root.qualityControl.play(); }
Symbol 38 Button
on (release) { _root._quality = "HIGH"; _root.qualityControl.play(); }
Symbol 43 Button
on (release) { _root._quality = "MEDIUM"; _root.qualityControl.play(); }
Symbol 48 Button
on (release) { _root._quality = "LOW"; _root.qualityControl.play(); }
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 30
stop();
Symbol 55 Button
on (release) { play(); }
Symbol 59 Button
on (release) { gotoAndPlay (1630); }
Symbol 63 Button
on (release) { gotoAndPlay (1627); }
Symbol 72 Button
on (release) { stopAllSounds(); gotoAndPlay (1481); }
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.door2) { this._x = 10000; } }
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.door3) { this._x = 10000; } }
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.door1) { this._x = 10000; } }
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.doorbomb1) { this._x = 50000; } }
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.doorbomb2) { this._x = 50000; } }
Symbol 138 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 165
_root.detonation = 1; _root.detx = this._x; _root.dety = this._y;
Symbol 159 MovieClip Frame 181
this._x = 50000; _root.detonation = 0;
Symbol 173 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 1
this.gotoAndStop(random(3) + 2);
Symbol 178 MovieClip Frame 2
stop();
Symbol 178 MovieClip Frame 3
stop();
Symbol 178 MovieClip Frame 4
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 330
stop();
Symbol 195 MovieClip Frame 331
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Instance of Symbol 211 MovieClip "arms" in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) { this._rotation = Math.atan2(_root._ymouse - _root.you._y, _root._xmouse - _root.you._x) / (Math.PI/180); } onClipEvent (mouseDown) { this.play(); }
Symbol 226 MovieClip Frame 15
if (this._name == "smokeref") { stop(); } else { temp = 0; while (this._name != _root.active_particles[temp]) { temp++; } _root.active_particles.splice(temp, 1); this.removeMovieClip(); }
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 90
_root.Text_Control.HUD_TEXT.text = "";
Symbol 253 Button
on (release) { _quality = _root.qbuffer; gotoAndPlay (150); }
Symbol 256 Button
on (release) { _quality = _root.qbuffer; stopAllSounds(); gotoAndPlay (150); }
Instance of Symbol 117 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.door1) { this._x = 10000; } }
Instance of Symbol 117 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.doorbomb1) { this._x = 50000; } }
Symbol 276 Button
on (release) { _root.youwin = 1; }
Symbol 281 Button
on (release) { _quality = _root.qbuffer; gotoAndPlay (1628); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:Timeline
Symbol 4 GraphicUsed by:6
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:4 5Used by:Timeline
Symbol 7 FontUsed by:8 26 64 66 244 245 247 273
Symbol 8 EditableTextUses:7Used by:Timeline
Symbol 9 FontUsed by:10 11
Symbol 10 EditableTextUses:9Used by:Timeline
Symbol 11 EditableTextUses:9Used by:Timeline
Symbol 12 GraphicUsed by:Timeline
Symbol 13 GraphicUsed by:Timeline
Symbol 14 GraphicUsed by:Timeline
Symbol 15 GraphicUsed by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:19
Symbol 18 GraphicUsed by:19
Symbol 19 ButtonUses:15 16 17 18Used by:Timeline
Symbol 20 GraphicUsed by:Timeline
Symbol 21 SoundUsed by:Timeline
Symbol 22 SoundUsed by:Timeline
Symbol 23 GraphicUsed by:Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:135 264  Timeline
Symbol 26 EditableTextUses:7Used by:Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 GraphicUsed by:31
Symbol 29 GraphicUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 ButtonUses:28 29 30Used by:Timeline
Symbol 32 GraphicUsed by:50
Symbol 33 GraphicUsed by:49
Symbol 34 GraphicUsed by:38
Symbol 35 GraphicUsed by:38
Symbol 36 GraphicUsed by:38
Symbol 37 GraphicUsed by:38
Symbol 38 ButtonUses:34 35 36 37Used by:49
Symbol 39 GraphicUsed by:43
Symbol 40 GraphicUsed by:43
Symbol 41 GraphicUsed by:43
Symbol 42 GraphicUsed by:43
Symbol 43 ButtonUses:39 40 41 42Used by:49
Symbol 44 GraphicUsed by:48
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 ButtonUses:44 45 46 47Used by:49
Symbol 49 MovieClipUses:33 38 43 48Used by:50
Symbol 50 MovieClipUses:32 49Used by:Timeline
Symbol 51 GraphicUsed by:55
Symbol 52 GraphicUsed by:55
Symbol 53 GraphicUsed by:55
Symbol 54 GraphicUsed by:55
Symbol 55 ButtonUses:51 52 53 54Used by:Timeline
Symbol 56 GraphicUsed by:59
Symbol 57 GraphicUsed by:59
Symbol 58 GraphicUsed by:59
Symbol 59 ButtonUses:56 57 58Used by:Timeline
Symbol 60 GraphicUsed by:63
Symbol 61 GraphicUsed by:63
Symbol 62 GraphicUsed by:63
Symbol 63 ButtonUses:60 61 62Used by:Timeline
Symbol 64 EditableTextUses:7Used by:Timeline
Symbol 65 GraphicUsed by:Timeline
Symbol 66 EditableTextUses:7Used by:Timeline
Symbol 67 GraphicUsed by:Timeline
Symbol 68 GraphicUsed by:72
Symbol 69 GraphicUsed by:72
Symbol 70 GraphicUsed by:72
Symbol 71 GraphicUsed by:72
Symbol 72 ButtonUses:68 69 70 71Used by:Timeline
Symbol 73 SoundUsed by:Timeline
Symbol 74 GraphicUsed by:Timeline
Symbol 75 GraphicUsed by:Timeline
Symbol 76 GraphicUsed by:Timeline
Symbol 77 GraphicUsed by:Timeline
Symbol 78 GraphicUsed by:Timeline
Symbol 79 GraphicUsed by:Timeline
Symbol 80 GraphicUsed by:Timeline
Symbol 81 GraphicUsed by:Timeline
Symbol 82 GraphicUsed by:264  Timeline
Symbol 83 GraphicUsed by:264  Timeline
Symbol 84 GraphicUsed by:264  Timeline
Symbol 85 GraphicUsed by:264  Timeline
Symbol 86 GraphicUsed by:264  Timeline
Symbol 87 GraphicUsed by:264  Timeline
Symbol 88 GraphicUsed by:Timeline
Symbol 89 GraphicUsed by:Timeline
Symbol 90 SoundUsed by:Timeline
Symbol 91 GraphicUsed by:Timeline
Symbol 92 GraphicUsed by:Timeline
Symbol 93 GraphicUsed by:Timeline
Symbol 94 GraphicUsed by:Timeline
Symbol 95 GraphicUsed by:Timeline
Symbol 96 GraphicUsed by:Timeline
Symbol 97 GraphicUsed by:Timeline
Symbol 98 GraphicUsed by:Timeline
Symbol 99 GraphicUsed by:Timeline
Symbol 100 SoundUsed by:159  Timeline
Symbol 101 GraphicUsed by:Timeline
Symbol 102 GraphicUsed by:159 200 229  Timeline
Symbol 103 GraphicUsed by:Timeline
Symbol 104 GraphicUsed by:159  Timeline
Symbol 105 SoundUsed by:159  Timeline
Symbol 106 SoundUsed by:138  Timeline
Symbol 107 GraphicUsed by:Timeline
Symbol 108 GraphicUsed by:Timeline
Symbol 109 GraphicUsed by:Timeline
Symbol 110 GraphicUsed by:Timeline
Symbol 111 GraphicUsed by:Timeline
Symbol 112 GraphicUsed by:253 256 276  Timeline
Symbol 113 SoundUsed by:Timeline
Symbol 114 GraphicUsed by:Timeline
Symbol 115 GraphicUsed by:118
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:118 269
Symbol 118 MovieClipUses:115 117Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:Timeline
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:121Used by:Timeline
Symbol 123 BitmapUsed by:125 169 270
Symbol 124 BitmapUsed by:125 270
Symbol 125 GraphicUses:123 124Used by:135
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:128
Symbol 128 MovieClipUses:127Used by:135
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:131
Symbol 131 MovieClipUses:130Used by:135
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:135
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:125 128 131 133 134 25Used by:Timeline
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:159
Symbol 138 MovieClipUses:106Used by:159 162 165 168
Symbol 139 GraphicUsed by:159
Symbol 140 GraphicUsed by:159
Symbol 141 GraphicUsed by:159
Symbol 142 GraphicUsed by:159
Symbol 143 GraphicUsed by:159
Symbol 144 GraphicUsed by:159
Symbol 145 GraphicUsed by:159
Symbol 146 GraphicUsed by:159
Symbol 147 GraphicUsed by:159
Symbol 148 GraphicUsed by:159
Symbol 149 GraphicUsed by:159
Symbol 150 GraphicUsed by:159
Symbol 151 GraphicUsed by:159
Symbol 152 GraphicUsed by:159
Symbol 153 GraphicUsed by:159
Symbol 154 GraphicUsed by:159
Symbol 155 GraphicUsed by:159
Symbol 156 GraphicUsed by:159
Symbol 157 GraphicUsed by:159
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:137 138 139 100 140 141 142 143 144 104 102 105 145 146 147 148 149 150 151 152 153 154 155 156 157 158Used by:Timeline
Symbol 160 BitmapUsed by:161
Symbol 161 GraphicUses:160Used by:162
Symbol 162 MovieClipUses:161 138Used by:Timeline
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:165
Symbol 165 MovieClipUses:164 138Used by:Timeline
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:168
Symbol 168 MovieClipUses:167 138Used by:Timeline
Symbol 169 GraphicUses:123Used by:170
Symbol 170 MovieClipUses:169Used by:Timeline
Symbol 171 GraphicUsed by:195
Symbol 172 SoundUsed by:173
Symbol 173 MovieClipUses:172Used by:195
Symbol 174 GraphicUsed by:195
Symbol 175 GraphicUsed by:195
Symbol 176 SoundUsed by:178
Symbol 177 SoundUsed by:178  Timeline
Symbol 178 MovieClipUses:176 177Used by:195
Symbol 179 GraphicUsed by:195
Symbol 180 GraphicUsed by:195
Symbol 181 GraphicUsed by:195
Symbol 182 GraphicUsed by:195
Symbol 183 GraphicUsed by:195
Symbol 184 GraphicUsed by:195
Symbol 185 GraphicUsed by:195
Symbol 186 GraphicUsed by:195
Symbol 187 GraphicUsed by:195
Symbol 188 GraphicUsed by:195
Symbol 189 GraphicUsed by:195
Symbol 190 GraphicUsed by:195
Symbol 191 GraphicUsed by:195
Symbol 192 GraphicUsed by:195
Symbol 193 GraphicUsed by:195
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:171 173 174 175 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194Used by:Timeline
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:200
Symbol 198 SoundUsed by:199
Symbol 199 MovieClipUses:198Used by:200
Symbol 200 MovieClipUses:197 199 102Used by:264  Timeline
Symbol 201 BitmapUsed by:202
Symbol 202 GraphicUses:201Used by:205
Symbol 203 SoundUsed by:204
Symbol 204 MovieClipUses:203Used by:205
Symbol 205 MovieClipUses:202 204Used by:Timeline
Symbol 206 GraphicUsed by:211
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:207Used by:211
Symbol 209 GraphicUsed by:211
Symbol 210 SoundUsed by:211
Symbol 211 MovieClipUses:206 208 209 210Used by:214
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212Used by:214
Symbol 214 MovieClipUses:211 213Used by:Timeline
Symbol 215 GraphicUsed by:216
Symbol 216 MovieClipUses:215Used by:Timeline
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:217Used by:219
Symbol 219 MovieClipUses:218Used by:Timeline
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:220Used by:Timeline
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClipUses:222Used by:Timeline
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:226
Symbol 226 MovieClipUses:225Used by:Timeline
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:229
Symbol 229 MovieClipUses:102 228Used by:Timeline
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230Used by:Timeline
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:241 264
Symbol 234 GraphicUsed by:241
Symbol 235 GraphicUsed by:241
Symbol 236 GraphicUsed by:241
Symbol 237 GraphicUsed by:241
Symbol 238 GraphicUsed by:241
Symbol 239 GraphicUsed by:241
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:233 234 235 236 237 238 239 240Used by:Timeline
Symbol 242 FontUsed by:243 272
Symbol 243 EditableTextUses:242Used by:Timeline
Symbol 244 EditableTextUses:7Used by:246
Symbol 245 EditableTextUses:7Used by:246
Symbol 246 MovieClipUses:244 245Used by:Timeline
Symbol 247 EditableTextUses:7Used by:Timeline
Symbol 248 GraphicUsed by:Timeline
Symbol 249 GraphicUsed by:253 256 276
Symbol 250 GraphicUsed by:253 256 276
Symbol 251 GraphicUsed by:253 256 276
Symbol 252 GraphicUsed by:253 256 276
Symbol 253 ButtonUses:112 249 250 251 252Used by:Timeline
Symbol 254 GraphicUsed by:Timeline
Symbol 255 GraphicUsed by:Timeline
Symbol 256 ButtonUses:112 249 250 251 252Used by:Timeline
Symbol 257 GraphicUsed by:Timeline
Symbol 258 GraphicUsed by:Timeline
Symbol 259 GraphicUsed by:264
Symbol 260 FontUsed by:261 262 263 265 274
Symbol 261 EditableTextUses:260Used by:264
Symbol 262 EditableTextUses:260Used by:264
Symbol 263 EditableTextUses:260Used by:264
Symbol 264 MovieClipUses:259 25 200 233 261 262 263 82 83 84 85 86 87Used by:Timeline
Symbol 265 EditableTextUses:260Used by:266
Symbol 266 MovieClipUses:265Used by:Timeline
Symbol 267 GraphicUsed by:Timeline
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClipUses:268 117Used by:Timeline
Symbol 270 GraphicUses:124 123Used by:271
Symbol 271 MovieClipUses:270Used by:Timeline
Symbol 272 EditableTextUses:242Used by:Timeline
Symbol 273 EditableTextUses:7Used by:Timeline
Symbol 274 EditableTextUses:260Used by:275
Symbol 275 MovieClipUses:274Used by:Timeline
Symbol 276 ButtonUses:112 249 250 251 252Used by:Timeline
Symbol 277 GraphicUsed by:Timeline
Symbol 278 GraphicUsed by:281
Symbol 279 GraphicUsed by:281
Symbol 280 GraphicUsed by:281
Symbol 281 ButtonUses:278 279 280Used by:Timeline

Instance Names

"moving_bar"Frame 1Symbol 3 MovieClip
"txtSize"Frame 1Symbol 8 EditableText
"txtActual"Frame 1Symbol 10 EditableText
"txtPercent"Frame 1Symbol 11 EditableText
"qualityControl"Frame 150Symbol 50 MovieClip
"qualitytag"Frame 150Symbol 64 EditableText
"walls"Frame 1482Symbol 118 MovieClip
"mask_you"Frame 1482Symbol 120 MovieClip
"ens_12"Frame 1482Symbol 122 MovieClip
"ens_11"Frame 1482Symbol 122 MovieClip
"ens_7"Frame 1482Symbol 122 MovieClip
"ens_6"Frame 1482Symbol 122 MovieClip
"ens_2"Frame 1482Symbol 122 MovieClip
"ens_1"Frame 1482Symbol 122 MovieClip
"ens_14"Frame 1482Symbol 122 MovieClip
"ens_13"Frame 1482Symbol 122 MovieClip
"ens_9"Frame 1482Symbol 122 MovieClip
"ens_8"Frame 1482Symbol 122 MovieClip
"ens_4"Frame 1482Symbol 122 MovieClip
"ens_3"Frame 1482Symbol 122 MovieClip
"ens_10"Frame 1482Symbol 122 MovieClip
"ens_27"Frame 1482Symbol 122 MovieClip
"ens_26"Frame 1482Symbol 122 MovieClip
"ens_22"Frame 1482Symbol 122 MovieClip
"ens_21"Frame 1482Symbol 122 MovieClip
"ens_17"Frame 1482Symbol 122 MovieClip
"ens_16"Frame 1482Symbol 122 MovieClip
"ens_29"Frame 1482Symbol 122 MovieClip
"ens_28"Frame 1482Symbol 122 MovieClip
"ens_24"Frame 1482Symbol 122 MovieClip
"ens_23"Frame 1482Symbol 122 MovieClip
"ens_19"Frame 1482Symbol 122 MovieClip
"ens_18"Frame 1482Symbol 122 MovieClip
"ens_25"Frame 1482Symbol 122 MovieClip
"ens_15"Frame 1482Symbol 122 MovieClip
"ens_5"Frame 1482Symbol 122 MovieClip
"ens_30"Frame 1482Symbol 122 MovieClip
"ens_20"Frame 1482Symbol 122 MovieClip
"backdrop"Frame 1482Symbol 135 MovieClip
"entity_1"Frame 1482Symbol 159 MovieClip
"sc1"Frame 1482Symbol 162 MovieClip
"sc2"Frame 1482Symbol 165 MovieClip
"sc3"Frame 1482Symbol 168 MovieClip
"entity_21"Frame 1482Symbol 159 MovieClip
"cd5"Frame 1482Symbol 170 MovieClip
"en_1"Frame 1482Symbol 195 MovieClip
"entity_2"Frame 1482Symbol 200 MovieClip
"cd2"Frame 1482Symbol 205 MovieClip
"cd1"Frame 1482Symbol 205 MovieClip
"cd3"Frame 1482Symbol 205 MovieClip
"entity_3"Frame 1482Symbol 200 MovieClip
"entity_4"Frame 1482Symbol 200 MovieClip
"entity_5"Frame 1482Symbol 200 MovieClip
"entity_6"Frame 1482Symbol 200 MovieClip
"entity_7"Frame 1482Symbol 200 MovieClip
"entity_8"Frame 1482Symbol 200 MovieClip
"entity_9"Frame 1482Symbol 200 MovieClip
"entity_10"Frame 1482Symbol 200 MovieClip
"entity_11"Frame 1482Symbol 200 MovieClip
"entity_12"Frame 1482Symbol 200 MovieClip
"entity_13"Frame 1482Symbol 200 MovieClip
"entity_14"Frame 1482Symbol 200 MovieClip
"entity_15"Frame 1482Symbol 200 MovieClip
"entity_16"Frame 1482Symbol 200 MovieClip
"entity_17"Frame 1482Symbol 200 MovieClip
"entity_18"Frame 1482Symbol 200 MovieClip
"entity_20"Frame 1482Symbol 200 MovieClip
"entity_19"Frame 1482Symbol 200 MovieClip
"cd4"Frame 1482Symbol 205 MovieClip
"en_2"Frame 1482Symbol 195 MovieClip
"en_3"Frame 1482Symbol 195 MovieClip
"en_4"Frame 1482Symbol 195 MovieClip
"en_8"Frame 1482Symbol 195 MovieClip
"en_6"Frame 1482Symbol 195 MovieClip
"en_5"Frame 1482Symbol 195 MovieClip
"en_7"Frame 1482Symbol 195 MovieClip
"en_9"Frame 1482Symbol 195 MovieClip
"en_10"Frame 1482Symbol 195 MovieClip
"en_12"Frame 1482Symbol 195 MovieClip
"en_11"Frame 1482Symbol 195 MovieClip
"en_13"Frame 1482Symbol 195 MovieClip
"en_14"Frame 1482Symbol 195 MovieClip
"en_15"Frame 1482Symbol 195 MovieClip
"en_16"Frame 1482Symbol 195 MovieClip
"en_17"Frame 1482Symbol 195 MovieClip
"en_18"Frame 1482Symbol 195 MovieClip
"en_19"Frame 1482Symbol 195 MovieClip
"en_20"Frame 1482Symbol 195 MovieClip
"en_22"Frame 1482Symbol 195 MovieClip
"en_21"Frame 1482Symbol 195 MovieClip
"en_23"Frame 1482Symbol 195 MovieClip
"en_25"Frame 1482Symbol 195 MovieClip
"en_24"Frame 1482Symbol 195 MovieClip
"en_27"Frame 1482Symbol 195 MovieClip
"en_26"Frame 1482Symbol 195 MovieClip
"you"Frame 1482Symbol 214 MovieClip
"bullet"Frame 1482Symbol 216 MovieClip
"cam_3"Frame 1482Symbol 219 MovieClip
"cam_4"Frame 1482Symbol 219 MovieClip
"cam_5"Frame 1482Symbol 219 MovieClip
"cam_6"Frame 1482Symbol 219 MovieClip
"cam_2"Frame 1482Symbol 219 MovieClip
"cam_1"Frame 1482Symbol 219 MovieClip
"cam_7"Frame 1482Symbol 219 MovieClip
"smokeref"Frame 1482Symbol 226 MovieClip
"detonationDevice"Frame 1482Symbol 159 MovieClip
"entity_22"Frame 1482Symbol 229 MovieClip
"on_screen_hud"Frame 1482Symbol 231 MovieClip
"myhealthtext"Frame 1482Symbol 243 EditableText
"HUD_BOMB"Frame 1482Symbol 159 MovieClip
"Text_Control"Frame 1482Symbol 246 MovieClip
"HUD_SCORE"Frame 1482Symbol 247 EditableText
"back2main"Frame 1483Symbol 253 Button
"back2main"Frame 1484Symbol 256 Button
"score_break"Frame 1601Symbol 264 MovieClip
"score_break"Frame 1614Symbol 264 MovieClip
"text_for_end"Frame 1614Symbol 266 MovieClip
"score_break"Frame 1626Symbol 264 MovieClip
"back2main"Frame 1627Symbol 253 Button
"walls"Frame 1629Symbol 269 MovieClip
"mask_you"Frame 1629Symbol 120 MovieClip
"backdrop"Frame 1629Symbol 271 MovieClip
"entity_1"Frame 1629Symbol 159 MovieClip
"sc1"Frame 1629Symbol 162 MovieClip
"cd2"Frame 1629Symbol 205 MovieClip
"cad1"Frame 1629Symbol 205 MovieClip
"you"Frame 1629Symbol 214 MovieClip
"bullet"Frame 1629Symbol 216 MovieClip
"detonationDevice"Frame 1629Symbol 159 MovieClip
"smokeref"Frame 1629Symbol 226 MovieClip
"entity_22"Frame 1629Symbol 229 MovieClip
"on_screen_hud"Frame 1629Symbol 231 MovieClip
"myhealthtext"Frame 1629Symbol 272 EditableText
"HUD_BOMB"Frame 1629Symbol 159 MovieClip
"Text_Control"Frame 1629Symbol 246 MovieClip
"HUD_SCORE"Frame 1629Symbol 273 EditableText
"tutorial_hints"Frame 1629Symbol 275 MovieClip
"back2main"Frame 1629Symbol 276 Button
"soundlayer"Symbol 159 MovieClip Frame 1Symbol 138 MovieClip
"soundlayer"Symbol 162 MovieClip Frame 1Symbol 138 MovieClip
"soundlayer"Symbol 165 MovieClip Frame 1Symbol 138 MovieClip
"soundlayer"Symbol 168 MovieClip Frame 1Symbol 138 MovieClip
"soundlayer"Symbol 195 MovieClip Frame 1Symbol 173 MovieClip
"dead_snds"Symbol 195 MovieClip Frame 2Symbol 178 MovieClip
"dead_snds"Symbol 195 MovieClip Frame 331Symbol 178 MovieClip
"soundlayer"Symbol 200 MovieClip Frame 1Symbol 199 MovieClip
"soundlayer"Symbol 205 MovieClip Frame 1Symbol 204 MovieClip
"arms"Symbol 214 MovieClip Frame 1Symbol 211 MovieClip
"HUD_TEXT"Symbol 246 MovieClip Frame 1Symbol 244 EditableText
"HUD_TEXT"Symbol 246 MovieClip Frame 90Symbol 245 EditableText
"score_gold"Symbol 264 MovieClip Frame 1Symbol 261 EditableText
"score_dude"Symbol 264 MovieClip Frame 1Symbol 262 EditableText
"score_heart"Symbol 264 MovieClip Frame 1Symbol 263 EditableText
"your_score_sent"Symbol 266 MovieClip Frame 1Symbol 265 EditableText
"tutorial"Symbol 275 MovieClip Frame 1Symbol 274 EditableText

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$DC$61enLFkTTwVEfQdemIf331."

Labels

"smokeref"Symbol 226 MovieClip Frame 15




http://swfchan.com/14/69529/info.shtml
Created: 10/4 -2019 09:19:56 Last modified: 10/4 -2019 09:19:56 Server time: 16/05 -2024 11:39:13