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/30396740?noj=FRM30396740-16DC" width="1" height="1"></div>

Invader ZIM vs the S.E.B..swf

This is the info page for
Flash #36762

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


Text
Hi. Shut up.

ZIMgrounds-every zim, by
every zim.

Play,
brainless
earth filth!

Play!

WHAT ARE THE CONTROLS?!

Look, it's not that hard, earth
pig! Click to shoot, up is
forward, down is back, and left
and right rotate me! I don't
like being shot by lasers!

Any ways, dib has
locked me up with
the swollen meatball
thingy. i'm  going up
from the basement,
back to my house.
i'll need your help!

F1

Game over.

Try again, Earth monkey!

F1

ZAGR

Z

?

*

@

You won!

Congrats! You saved ZIM!

Main menu!

ActionScript [AS1/AS2]

Frame 1
Stage.showMenu = false;
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 1
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Instance of Symbol 124 MovieClip "shot_mc" in Frame 4
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 142 MovieClip "player_mc" in Frame 4
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 4
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 5
stop();
Instance of Symbol 124 MovieClip "shot_mc" in Frame 5
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 5
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 142 MovieClip "player_mc" in Frame 5
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 5
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 6
stop();
Instance of Symbol 124 MovieClip "shot_mc" in Frame 6
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 6
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 142 MovieClip "player_mc" in Frame 6
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 7
stop();
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 124 MovieClip "shot_mc" in Frame 7
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 7
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 142 MovieClip "player_mc" in Frame 7
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 142 MovieClip "player_mc" in Frame 8
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 124 MovieClip "shot_mc" in Frame 8
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 8
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 166 MovieClip "GIR" in Frame 8
onClipEvent (load) { health = 10000; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } } onClipEvent (load) { health = 10; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 9
stop();
Instance of Symbol 142 MovieClip "player_mc" in Frame 9
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 124 MovieClip "shot_mc" in Frame 9
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 9
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 166 MovieClip "GIR" in Frame 9
onClipEvent (load) { health = 10000; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } } onClipEvent (load) { health = 10; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 10
stop();
Instance of Symbol 142 MovieClip "player_mc" in Frame 10
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 10
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 124 MovieClip "shot_mc" in Frame 10
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 10
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 166 MovieClip "GIR" in Frame 10
onClipEvent (load) { health = 10000; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } } onClipEvent (load) { health = 10; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 11
stop();
Instance of Symbol 142 MovieClip "player_mc" in Frame 11
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 11
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 124 MovieClip "shot_mc" in Frame 11
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 11
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 166 MovieClip "GIR" in Frame 11
onClipEvent (load) { health = 10000; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } } onClipEvent (load) { health = 10; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 12
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 124 MovieClip "shot_mc" in Frame 12
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 12
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 142 MovieClip "player_mc" in Frame 12
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 166 MovieClip "GIR" in Frame 12
onClipEvent (load) { health = 10000; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } } onClipEvent (load) { health = 10; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 13
stop();
Instance of Symbol 124 MovieClip "shot_mc" in Frame 13
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 13
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 142 MovieClip "player_mc" in Frame 13
onClipEvent (load) { healthMax = 500; speedMax = 5; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 13
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 166 MovieClip "GIR" in Frame 13
onClipEvent (load) { health = 10000; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } } onClipEvent (load) { health = 10; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 14
stop();
Instance of Symbol 146 MovieClip in Frame 14
onClipEvent (load) { health = 300; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 124 MovieClip "shot_mc" in Frame 14
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.shot_mc.hit = true; _root.shot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else { i = 1; while (i <= _root.enemyCount) { if (this.hitTest(_root["enemy_mc" + i])) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (enterFrame) { if (_root.block.hitTest(this)) { _root.nextScene(); } }
Instance of Symbol 4 MovieClip "enemyshot_mc" in Frame 14
onClipEvent (load) { speed = 13; damageMin = 5; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _root.enemyshot_mc.hit = true; _root.enemyshot_mc._visible = false; hitFunc = function () { _y = (_y + ySpeed); _x = (_x - xSpeed); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { hitFunc(); } else if (this.hitTest(_root.player_mc)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } }
Instance of Symbol 142 MovieClip "player_mc" in Frame 14
onClipEvent (load) { healthMax = 500; speedMax = 8; manuverSpeed = 5; accel = 3; decay = 0.9; bounce = 0.75; collideDamage = 0.1; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; } onClipEvent (enterFrame) { if (!death) { speed = speed * decay; xSpeed = speed * Math.sin(_rotation * (Math.PI/180)); ySpeed = speed * Math.cos(_rotation * (Math.PI/180)); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); health = health - (Math.abs(speed) * collideDamage); } if (_root.enemy_mc.hitTest(this._x, this._y, true)) { _y = (_y + (ySpeed * 1.1)); _x = (_x - (xSpeed * 1.1)); speed = -(speed * bounce); } if (Key.isDown(37)) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39)) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38)) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40)) { if (speed > (-speedMax)) { speed = speed - accel; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { this.gotoAndPlay("death"); death = true; } if (_x < 0) { _x = 500; } if (_x > 500) { _x = 0; } if (_y < 0) { _y = 500; } if (_y > 500) { _y = 0; } } } onClipEvent (mouseDown) { if (!death) { this.turret_mc.gotoAndPlay("shoot"); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); _root["shot_mc" + shotCount]._x = this._x; _root["shot_mc" + shotCount]._y = this._y; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } } onClipEvent (enterFrame) { if (this.hitTest(_root.block)) { _root.nextFrame(); } }
Instance of Symbol 146 MovieClip in Frame 14
onClipEvent (load) { health = 300; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 166 MovieClip "GIR" in Frame 14
onClipEvent (load) { health = 10000; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } } onClipEvent (load) { health = 10; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("GIR" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.enemy_mc._x; delta_y = _y - _root.enemy_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip((("shot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("shot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 14
onClipEvent (load) { health = 300; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 146 MovieClip in Frame 14
onClipEvent (load) { health = 300; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 207 MovieClip in Frame 14
onClipEvent (load) { health = 2000; refireInterval = 15; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; } onClipEvent (enterFrame) { if (!death) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180); refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { _x = this._x; _y = this._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 15
stop();
Symbol 4 MovieClip Frame 1
stop();
Symbol 4 MovieClip Frame 7
stop(); this.removeMovieClip();
Symbol 100 Button
on (release) { getURL ("http://www.zimwiki.com", "blank"); }
Symbol 106 Button
on (release) { _root.play(); }
Symbol 107 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 107 MovieClip Frame 2
gotoAndPlay (1);
Symbol 109 Button
on (release) { gotoAndPlay (4); }
Symbol 111 Button
on (release) { nextFrame(); }
Symbol 114 Button
on (release) { nextFrame(); }
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 11
stop(); this.removeMovieClip();
Symbol 137 MovieClip Frame 1
_root.mainMovie.gotoAndPlay("Scene 1", 2);
Symbol 140 Button
on (release) { _root.gotoAndPlay("Scene 1", 2); }
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 31
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 7
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 7
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 7
stop();
Symbol 212 Button
on (release) { gotoAndPlay (2); }

Library Items

Symbol 1 GraphicUsed by:4
Symbol 2 ShapeTweeningUsed by:4
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:1 2 3Used by:Timeline
Symbol 5 GraphicUsed by:107 116
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:107
Symbol 8 GraphicUsed by:107
Symbol 9 GraphicUsed by:99 100
Symbol 10 FontUsed by:11 94 102 108 110 113 115 125 138 139 147 172 173 174 180 209 210 211
Symbol 11 TextUses:10Used by:99 100
Symbol 12 GraphicUsed by:99 100
Symbol 13 GraphicUsed by:90 100
Symbol 14 GraphicUsed by:90 100
Symbol 15 GraphicUsed by:90 100
Symbol 16 GraphicUsed by:90 100
Symbol 17 GraphicUsed by:90 100
Symbol 18 GraphicUsed by:90 100
Symbol 19 GraphicUsed by:90 100
Symbol 20 GraphicUsed by:90 100
Symbol 21 GraphicUsed by:90 100
Symbol 22 GraphicUsed by:90 100
Symbol 23 GraphicUsed by:90 100
Symbol 24 GraphicUsed by:90 100
Symbol 25 GraphicUsed by:90 100
Symbol 26 GraphicUsed by:90 100
Symbol 27 GraphicUsed by:90 100
Symbol 28 GraphicUsed by:90 100
Symbol 29 GraphicUsed by:90 100
Symbol 30 GraphicUsed by:90 100
Symbol 31 GraphicUsed by:90 100
Symbol 32 GraphicUsed by:90 100
Symbol 33 GraphicUsed by:90 100
Symbol 34 GraphicUsed by:90 100
Symbol 35 GraphicUsed by:90 100
Symbol 36 GraphicUsed by:90 100
Symbol 37 GraphicUsed by:90 100
Symbol 38 GraphicUsed by:90 100
Symbol 39 GraphicUsed by:90 100
Symbol 40 GraphicUsed by:90 100
Symbol 41 GraphicUsed by:90 100
Symbol 42 GraphicUsed by:90 100
Symbol 43 GraphicUsed by:90 100
Symbol 44 GraphicUsed by:90 100
Symbol 45 GraphicUsed by:90 100
Symbol 46 GraphicUsed by:90 100
Symbol 47 GraphicUsed by:90 100
Symbol 48 GraphicUsed by:90 100
Symbol 49 GraphicUsed by:90 100
Symbol 50 GraphicUsed by:90 100
Symbol 51 GraphicUsed by:90 100
Symbol 52 GraphicUsed by:90 100
Symbol 53 GraphicUsed by:90 100
Symbol 54 GraphicUsed by:90 100
Symbol 55 GraphicUsed by:90 100
Symbol 56 GraphicUsed by:90 100
Symbol 57 GraphicUsed by:90 100
Symbol 58 GraphicUsed by:90 100
Symbol 59 GraphicUsed by:90 100
Symbol 60 GraphicUsed by:90 100
Symbol 61 GraphicUsed by:90 100
Symbol 62 GraphicUsed by:90 100
Symbol 63 GraphicUsed by:90 100
Symbol 64 GraphicUsed by:90 100
Symbol 65 GraphicUsed by:90 100
Symbol 66 GraphicUsed by:90 100
Symbol 67 GraphicUsed by:90 100
Symbol 68 GraphicUsed by:90 100
Symbol 69 GraphicUsed by:90 100
Symbol 70 GraphicUsed by:90 100
Symbol 71 GraphicUsed by:90 100
Symbol 72 GraphicUsed by:90 100
Symbol 73 GraphicUsed by:90 100
Symbol 74 GraphicUsed by:90 100
Symbol 75 GraphicUsed by:90 100
Symbol 76 GraphicUsed by:90 100
Symbol 77 GraphicUsed by:90 100
Symbol 78 GraphicUsed by:90 100
Symbol 79 GraphicUsed by:90 100
Symbol 80 GraphicUsed by:90 100
Symbol 81 GraphicUsed by:90 100
Symbol 82 GraphicUsed by:90 100
Symbol 83 GraphicUsed by:90 100
Symbol 84 GraphicUsed by:90 100
Symbol 85 GraphicUsed by:90 100
Symbol 86 GraphicUsed by:90 100
Symbol 87 GraphicUsed by:90 100
Symbol 88 GraphicUsed by:90 100
Symbol 89 GraphicUsed by:90 100
Symbol 90 MovieClipUses:13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89Used by:99
Symbol 91 GraphicUsed by:92 100
Symbol 92 MovieClipUses:91Used by:99  Timeline
Symbol 93 GraphicUsed by:99
Symbol 94 TextUses:10Used by:99
Symbol 95 GraphicUsed by:99
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:99
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:9 11 12 90 92 93 94 95 97 98Used by:100
Symbol 100 ButtonUses:99 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91Used by:107
Symbol 101 GraphicUsed by:106
Symbol 102 TextUses:10Used by:106
Symbol 103 GraphicUsed by:106
Symbol 104 GraphicUsed by:106
Symbol 105 GraphicUsed by:106
Symbol 106 ButtonUses:101 102 103 104 105Used by:107
Symbol 107 MovieClipUses:5 7 8 100 106Used by:Timeline
Symbol 108 TextUses:10Used by:109 114
Symbol 109 ButtonUses:108Used by:Timeline
Symbol 110 TextUses:10Used by:111
Symbol 111 ButtonUses:110Used by:Timeline
Symbol 112 SoundUsed by:Timeline
Symbol 113 TextUses:10Used by:Timeline
Symbol 114 ButtonUses:108Used by:Timeline
Symbol 115 TextUses:10Used by:Timeline
Symbol 116 MovieClipUses:5Used by:Timeline
Symbol 117 GraphicUsed by:Timeline
Symbol 118 GraphicUsed by:124
Symbol 119 ShapeTweeningUsed by:124
Symbol 120 ShapeTweeningUsed by:124
Symbol 121 GraphicUsed by:124
Symbol 122 ShapeTweeningUsed by:124
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:118 119 120 121 122 123Used by:Timeline
Symbol 125 TextUses:10Used by:Timeline
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:Timeline
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:142 146
Symbol 130 GraphicUsed by:142
Symbol 131 ShapeTweeningUsed by:142
Symbol 132 ShapeTweeningUsed by:142
Symbol 133 ShapeTweeningUsed by:142
Symbol 134 GraphicUsed by:142
Symbol 135 GraphicUsed by:142
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:142
Symbol 138 TextUses:10Used by:142
Symbol 139 TextUses:10Used by:140
Symbol 140 ButtonUses:139Used by:142
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:129 130 131 132 133 134 135 137 138 140 141Used by:Timeline
Symbol 143 GraphicUsed by:146
Symbol 144 ShapeTweeningUsed by:146
Symbol 145 GraphicUsed by:146 207
Symbol 146 MovieClipUses:129 143 144 145Used by:Timeline
Symbol 147 TextUses:10Used by:Timeline
Symbol 148 SoundUsed by:Timeline
Symbol 149 GraphicUsed by:Timeline
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:Timeline
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:Timeline
Symbol 154 SoundUsed by:Timeline
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:Timeline
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157Used by:Timeline
Symbol 159 GraphicUsed by:166
Symbol 160 GraphicUsed by:166
Symbol 161 GraphicUsed by:166
Symbol 162 GraphicUsed by:166
Symbol 163 GraphicUsed by:166
Symbol 164 GraphicUsed by:166
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:159 160 161 162 163 164 165Used by:Timeline
Symbol 167 SoundUsed by:Timeline
Symbol 168 SoundUsed by:Timeline
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:Timeline
Symbol 171 GraphicUsed by:175
Symbol 172 TextUses:10Used by:175
Symbol 173 TextUses:10Used by:175
Symbol 174 TextUses:10Used by:175
Symbol 175 MovieClipUses:171 172 173 174Used by:Timeline
Symbol 176 SoundUsed by:Timeline
Symbol 177 GraphicUsed by:181
Symbol 178 FontUsed by:179
Symbol 179 TextUses:178Used by:181
Symbol 180 TextUses:10Used by:181
Symbol 181 MovieClipUses:177 179 180Used by:Timeline
Symbol 182 SoundUsed by:Timeline
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:183Used by:Timeline
Symbol 185 GraphicUsed by:Timeline
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:186Used by:Timeline
Symbol 188 GraphicUsed by:Timeline
Symbol 189 GraphicUsed by:203
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:203
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:203
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:194Used by:203
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:196Used by:203
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:198Used by:203
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:200Used by:203
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:189 191 193 195 197 199 201 202Used by:Timeline
Symbol 204 GraphicUsed by:207
Symbol 205 SoundUsed by:207
Symbol 206 ShapeTweeningUsed by:207
Symbol 207 MovieClipUses:204 205 206 145Used by:Timeline
Symbol 208 SoundUsed by:Timeline
Symbol 209 TextUses:10Used by:Timeline
Symbol 210 TextUses:10Used by:Timeline
Symbol 211 TextUses:10Used by:212
Symbol 212 ButtonUses:211Used by:Timeline
Symbol 213 SoundUsed by:Timeline

Instance Names

"enemyshot_mc"Frame 1Symbol 4 MovieClip
"block"Frame 4Symbol 116 MovieClip
"shot_mc"Frame 4Symbol 124 MovieClip
"level_mc"Frame 4Symbol 127 MovieClip
"player_mc"Frame 4Symbol 142 MovieClip
"level_mc"Frame 5Symbol 151 MovieClip
"shot_mc"Frame 5Symbol 124 MovieClip
"enemyshot_mc"Frame 5Symbol 4 MovieClip
"player_mc"Frame 5Symbol 142 MovieClip
"block"Frame 5Symbol 116 MovieClip
"level_mc"Frame 6Symbol 153 MovieClip
"shot_mc"Frame 6Symbol 124 MovieClip
"enemyshot_mc"Frame 6Symbol 4 MovieClip
"player_mc"Frame 6Symbol 142 MovieClip
"block"Frame 6Symbol 116 MovieClip
"level_mc"Frame 7Symbol 156 MovieClip
"shot_mc"Frame 7Symbol 124 MovieClip
"enemyshot_mc"Frame 7Symbol 4 MovieClip
"player_mc"Frame 7Symbol 142 MovieClip
"block"Frame 7Symbol 116 MovieClip
"level_mc"Frame 8Symbol 158 MovieClip
"block"Frame 8Symbol 116 MovieClip
"player_mc"Frame 8Symbol 142 MovieClip
"shot_mc"Frame 8Symbol 124 MovieClip
"enemyshot_mc"Frame 8Symbol 4 MovieClip
"GIR"Frame 8Symbol 166 MovieClip
"level_mc"Frame 9Symbol 170 MovieClip
"block"Frame 9Symbol 116 MovieClip
"player_mc"Frame 9Symbol 142 MovieClip
"shot_mc"Frame 9Symbol 124 MovieClip
"enemyshot_mc"Frame 9Symbol 4 MovieClip
"GIR"Frame 9Symbol 166 MovieClip
"level_mc"Frame 10Symbol 175 MovieClip
"block"Frame 10Symbol 116 MovieClip
"player_mc"Frame 10Symbol 142 MovieClip
"shot_mc"Frame 10Symbol 124 MovieClip
"enemyshot_mc"Frame 10Symbol 4 MovieClip
"GIR"Frame 10Symbol 166 MovieClip
"level_mc"Frame 11Symbol 181 MovieClip
"block"Frame 11Symbol 116 MovieClip
"player_mc"Frame 11Symbol 142 MovieClip
"shot_mc"Frame 11Symbol 124 MovieClip
"enemyshot_mc"Frame 11Symbol 4 MovieClip
"GIR"Frame 11Symbol 166 MovieClip
"level_mc"Frame 12Symbol 184 MovieClip
"block"Frame 12Symbol 116 MovieClip
"shot_mc"Frame 12Symbol 124 MovieClip
"enemyshot_mc"Frame 12Symbol 4 MovieClip
"player_mc"Frame 12Symbol 142 MovieClip
"GIR"Frame 12Symbol 166 MovieClip
"shot_mc"Frame 13Symbol 124 MovieClip
"enemyshot_mc"Frame 13Symbol 4 MovieClip
"player_mc"Frame 13Symbol 142 MovieClip
"block"Frame 13Symbol 116 MovieClip
"GIR"Frame 13Symbol 166 MovieClip
"level_mc"Frame 13Symbol 187 MovieClip
"block"Frame 14Symbol 116 MovieClip
"level_mc"Frame 14Symbol 203 MovieClip
"shot_mc"Frame 14Symbol 124 MovieClip
"enemyshot_mc"Frame 14Symbol 4 MovieClip
"player_mc"Frame 14Symbol 142 MovieClip
"GIR"Frame 14Symbol 166 MovieClip
"bar"Symbol 107 MovieClip Frame 1Symbol 7 MovieClip
"turret_mc"Symbol 146 MovieClip Frame 1Symbol 129 MovieClip
"object 2"Symbol 203 MovieClip Frame 1Symbol 191 MovieClip
"object 4"Symbol 203 MovieClip Frame 1Symbol 193 MovieClip
"object 3"Symbol 203 MovieClip Frame 1Symbol 195 MovieClip
"level_mc"Symbol 203 MovieClip Frame 1Symbol 197 MovieClip
"level_mc"Symbol 203 MovieClip Frame 1Symbol 199 MovieClip
"level_mc"Symbol 203 MovieClip Frame 1Symbol 201 MovieClip

Labels

"normal"Symbol 4 MovieClip Frame 1
"hit"Symbol 4 MovieClip Frame 2
"loaded"Symbol 107 MovieClip Frame 3
"normal"Symbol 124 MovieClip Frame 1
"hit"Symbol 124 MovieClip Frame 2
"normal"Symbol 142 MovieClip Frame 1
"death"Symbol 142 MovieClip Frame 2
"normal"Symbol 146 MovieClip Frame 1
"death"Symbol 146 MovieClip Frame 2
"Alive"Symbol 166 MovieClip Frame 1
"Death"Symbol 166 MovieClip Frame 2
"death"Symbol 207 MovieClip Frame 2




http://swfchan.com/8/36762/info.shtml
Created: 14/5 -2019 23:18:19 Last modified: 14/5 -2019 23:18:19 Server time: 16/05 -2024 02:54:47