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

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

Tactical Tank.swf

This is the info page for
Flash #31147

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


Text
UGotGames.com

Loading...

M

*Game and MUsic Copyright UGotGames.com 2005

*Game and MUsic Copyright UGotGames.com 2005

Click Here
To PLay

Instructions

MUsic On/off

*Remember...if you're in a Jam, "R" Restarts Level

*Remember...if you're in a Jam, "R" Restarts Level

A

S

D

W

(optional ASWD)

(optional ASWD)

Arrow Keys
Control Tank
Movement

Arrow Keys
Control Tank
Movement

Mouse Aims and
Left Click Fires

Mouse Aims and
Left Click Fires

R

"r" key restarts
Current LEvel

"r" key restarts
Current LEvel

Back
(main Screen)

L
I
v
e
s

Press the Space Bar
to Continue...

You Lose.

Press the Space
Bar to Restart.

"R" button Restarts Level
If You're caught In a Jam!

"R" button Restarts Level
If You're caught In a Jam!

You Win!

You Win!

Thanks For Playing...

Thanks For Playing...

New Version Of Tactical
Tank Coming Soon!!!

New Version Of Tactical
Tank Coming Soon!!!

PLay Again?

Play More Games LIke This!

ActionScript [AS1/AS2]

Instance of Symbol 12 MovieClip "ugg" in Frame 1
onClipEvent (mouseUp) { getURL ("http://www.ugotgames.com/", "_blank"); }
Frame 80
_root.ready = true; stop();
Frame 190
gotoAndPlay (212);
Frame 212
mouse.show(); _root.lives = 3; bgMusic = new Sound(); bgMusic.attachSound("intro.wav"); bgMusic1 = new Sound(_root.music_mc); bgMusic1.attachSound("break it.wav"); bgMusic1.setVolume(50); bgMusic2 = new Sound(); bgMusic2.attachSound("badguys1.wav"); bgMusic3 = new Sound(); bgMusic3.attachSound("badguys2.wav"); if (musicInt != true) { _root.bgMusic.start(0, 999); _root.music = 0; musicInt = true; } if (((_root.music == 1) || (_root.music == 2)) || (_root.music == 3)) { bgMusic1.stop("break it.wav"); bgMusic2.stop("badguys1.wav"); bgMusic3.stop("badguys2.wav"); _root.bgMusic.start(0, 999); _root.music = 0; } stop();
Instance of Symbol 36 MovieClip "music_mc" in Frame 212
onClipEvent (enterFrame) { if (Key.isDown(221) && (Key.isDown(56))) { _root.frametest = true; _root.enemyCount = 0; _root.nextFrame(); } if (Key.isDown(219) && (Key.isDown(56))) { _root.frametest = true; _root.enemyCount = 0; _root.prevFrame(); } }
Frame 213
_root.frametest = true; stop();
Instance of Symbol 71 MovieClip in Frame 213
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { if (count <= 35) { count = count + 1; } else { _root.enemyCount = 0; _root.gotoAndPlay(_global.newLevel); } }
Frame 214
stop();
Frame 215
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 45; _root.player_mc._y = 355; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 0; _root.player_mc.shotCount = 0; if (_root.music == 0) { bgMusic.stop("intro.wav"); bgMusic1.start(0, 999); _root.music = 1; } stop();
Instance of Symbol 109 MovieClip "level_mc" in Frame 215
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level2"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 147 MovieClip "player_mc" in Frame 215
onClipEvent (load) { healthMax = 100; speedMax = 15; manuverSpeed = 4; accel = 14; decay = 0.2; bounce = 4; collideDamage = 0; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; _root.continue_mc._visible = false; _root.restart_mc._visible = false; tankSND = new Sound(); tankSND.attachSound("tank.wav"); tankSND.stop("tank.wav"); tankSND.start(0, 999); } onClipEvent (enterFrame) { if (!death) { this.playerhealth.gotoAndStop(health); speed = speed * decay; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _x = _global.timerX; _y = _global.timerY; } i = 1; while (i <= _root.enemyCount) { enemyDist = Math.sqrt(((this._x - _root["enemy_mc" + i]._x) * (this._x - _root["enemy_mc" + i]._x)) + ((this._y - _root["enemy_mc" + i]._y) * (this._y - _root["enemy_mc" + i]._y))); if (enemyDist <= 35) { _x = _global.timerX; _y = _global.timerY; } if (enemyDist <= 30) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } i++; } if (Key.isDown(37) || (Key.isDown(65))) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39) || (Key.isDown(68))) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38) || (Key.isDown(87))) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40) || (Key.isDown(83))) { if (speed > (-speedMax)) { speed = speed - accel; } } if (key.isDown(82)) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } } else if (Key.isDown(32)) { if (_root.lives >= 1) { _root.gotoAndPlay("nextLevel"); _root.continue_mc._visible = false; } else { _root.gotoAndPlay("intro"); } } else { _root.playerHealth._height = 1; } } onClipEvent (mouseDown) { if (!death) { cannonSND = new Sound(); cannonSND.attachSound("cannon.wav"); cannonSND.start(0, 1); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _root["shot_mc" + shotCount]._x = this._x + tipX; _root["shot_mc" + shotCount]._y = this._y - tipY; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } }
Instance of Symbol 154 MovieClip in Frame 215
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._y >= 110) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 325) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 215
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } 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)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 167 MovieClip "shot_mc" in Frame 215
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _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 (_root["enemy_mc" + i].hitTest(this._x, this._y, true) && (_root["enemy_mc" + i].death != true)) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } } }
Instance of Symbol 170 MovieClip "enemyshot_mc" in Frame 215
onClipEvent (load) { speed = 5; damageMin = 10; damageMax = 15; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _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 (_root.player_mc.hitTest(this._x, this._y, true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Instance of Symbol 172 MovieClip "enemyshot_mc2" in Frame 215
onClipEvent (load) { speed = 7; damageMin = 15; damageMax = 20; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _root.enemyshot_mc2.hit = true; _root.enemyshot_mc2._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 (_root.player_mc.hitTest(this._x, this._y, true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Instance of Symbol 176 MovieClip in Frame 215
onClipEvent (enterFrame) { mouse.hide(); } onClipEvent (enterFrame) { mousex = _root._xmouse; mousey = _root._ymouse; _root.aim._x = mousex; _root.aim._y = mousey; }
Instance of Symbol 178 MovieClip in Frame 215
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { if (count <= 2) { count++; } else { _global.timerX = _root.player_mc._x; _global.timerY = _root.player_mc._y; count = 0; } }
Instance of Symbol 180 MovieClip "playerHealth" in Frame 215
onClipEvent (enterFrame) { this._height = _root.player_mc.health; }
Frame 216
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 35; _root.player_mc._y = 300; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 50; _root.player_mc.shotCount = 0; stop();
Instance of Symbol 195 MovieClip "level_mc" in Frame 216
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level3"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 154 MovieClip in Frame 216
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._x >= 250) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 425) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 216
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = 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)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 216
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = 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)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 216
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = 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)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 217
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 436; _root.player_mc._y = 365; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 0; _root.player_mc.shotCount = 0; stop();
Instance of Symbol 198 MovieClip "level_mc" in Frame 217
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level4"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 154 MovieClip in Frame 217
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._x >= 150) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 325) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 217
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 420) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 217
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 420) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 217
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 420) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 217
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } 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)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Frame 217
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } 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)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 218
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 55; _root.player_mc._y = 365; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 0; _root.player_mc.shotCount = 0; stop();
Instance of Symbol 201 MovieClip "level_mc" in Frame 218
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level5"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 205 MovieClip in Frame 218
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 365) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 218
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._x >= 150) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 425) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 218
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 210) && (_root.player_mc._y >= 260)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 218
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._y >= 225) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 218
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x >= 225) && (_root.player_mc._y >= 225)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 218
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x <= 355) { active = false; } else { active = true; } if (!death) { if ((this._x >= 315) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 505) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 218
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 210) && (_root.player_mc._y >= 165)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 219
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 40; _root.player_mc._y = 360; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 0; _root.player_mc.shotCount = 0; stop();
Instance of Symbol 216 MovieClip "level_mc" in Frame 219
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level6"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 205 MovieClip in Frame 219
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 75) && (_root.player_mc._y >= 335)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 219
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 80) && (_root.player_mc._y >= 325)) { active = false; } else { active = true; } if (!death) { if ((this._x >= 150) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 425) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 219
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 210) && (_root.player_mc._y >= 225)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 219
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 4; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 80) && (_root.player_mc._y >= 325)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 219
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 80) && (_root.player_mc._y >= 325)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 219
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 80) && (_root.player_mc._y >= 325)) { active = false; } else { active = true; } if (!death) { if ((this._x >= 250) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 425) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 219
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 210) && (_root.player_mc._y >= 225)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 219
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 80) && (_root.player_mc._y >= 325)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 220
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 495; _root.player_mc._y = 375; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 0; _root.player_mc.shotCount = 0; stop();
Instance of Symbol 219 MovieClip "level_mc" in Frame 220
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level7"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 210 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._y <= 180) || (_root.player_mc._x >= 340)) { active = true; } else { active = false; } if (!death) { if ((this._x >= 295) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 505) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 485) && (_root.player_mc._y >= 175)) { active = true; } else { active = false; } if (!death) { if ((this._x >= 140) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 355) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x >= 170) && (_root.player_mc._y >= 150)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 80) && (_root.player_mc._y >= 325)) { active = false; } else { active = true; } if (!death) { if ((this._y >= 110) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 280) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._y >= 215) { active = false; } else { active = true; } if (!death) { if ((this._x >= 165) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 255) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 485) && (_root.player_mc._y >= 175)) { active = true; } else { active = false; } if (!death) { if ((this._x >= 235) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 355) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 320) { active = false; } else { active = true; } if (!death) { if ((this._y >= 110) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 355) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._y >= 215) { active = false; } else { active = true; } if (!death) { if ((this._x >= 180) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 255) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 220
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 390) && (_root.player_mc._y >= 90)) { active = true; } else { active = false; } if (!death) { if ((this._y >= 195) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 285) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 221
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 515; _root.player_mc._y = 40; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 180; _root.player_mc.shotCount = 0; stop();
Instance of Symbol 222 MovieClip "level_mc" in Frame 221
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level8"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 205 MovieClip in Frame 221
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 265) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 221
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 265) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 221
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 295) { active = false; } else { active = true; } if (!death) { if ((this._x >= 120) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 215) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 221
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 295) { active = false; } else { active = true; } if (!death) { if ((this._x >= 120) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 215) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 154 MovieClip in Frame 221
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; } onClipEvent (enterFrame) { if (_root.player_mc._x <= 145) { active = false; } else { active = true; } if (!death) { if ((this._x >= 210) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 410) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 154 MovieClip in Frame 221
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; } onClipEvent (enterFrame) { if (_root.player_mc._x <= 145) { active = false; } else { active = true; } if (!death) { if ((this._x >= 230) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 450) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 221
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x <= 170) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 205 MovieClip in Frame 221
onClipEvent (load) { health = 200; refireInterval = 20; shotMax = 3; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x <= 170) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 210 MovieClip in Frame 221
onClipEvent (load) { health = 200; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x <= 170) { active = false; } else { active = true; } if (!death) { if ((this._y >= 90) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 315) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc2.duplicateMovieClip((("enemyshot_mc2" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc2" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 222
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc.shotCount = 0; if (_root.music == 1) { bgMusic1.stop("break it.wav"); bgMusic2.start(0, 999); _root.music = 2; } stop();
Instance of Symbol 224 MovieClip "level_mc" in Frame 222
/* no clip actions */
Instance of Symbol 147 MovieClip "player_mc" in Frame 222
onClipEvent (load) { healthMax = 100; speedMax = 15; manuverSpeed = 4; accel = 14; decay = 0.2; bounce = 10; collideDamage = 0; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; _root.continue_mc._visible = false; _root.restart_mc._visible = false; tankSND = new Sound(); tankSND.attachSound("tank.wav"); tankSND.stop("tank.wav"); tankSND.start(0, 999); } onClipEvent (enterFrame) { if (!death) { this.playerhealth.gotoAndStop(health); speed = speed * decay; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _x = _global.timerX; _y = _global.timerY; } if (Math.sqrt(((this._x - _root.badBoss._x) * (this._x - _root.badBoss._x)) + ((this._y - _root.badBoss._y) * (this._y - _root.badBoss._y))) <= 105) { _x = _global.timerX; _y = _global.timerY; } if (Math.sqrt(((this._x - _root.badBoss._x) * (this._x - _root.badBoss._x)) + ((this._y - _root.badBoss._y) * (this._y - _root.badBoss._y))) <= 100) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } if (Key.isDown(37) || (Key.isDown(65))) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39) || (Key.isDown(68))) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38) || (Key.isDown(87))) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40) || (Key.isDown(83))) { if (speed > (-speedMax)) { speed = speed - accel; } } if (key.isDown(82)) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; } } else if (Key.isDown(32)) { if (_root.lives >= 1) { _root.gotoAndPlay("nextLevel"); _root.continue_mc._visible = false; } else { _root.gotoAndPlay("intro"); } } else { _root.playerHealth._height = 1; } } onClipEvent (mouseDown) { if (!death) { cannonSND = new Sound(); cannonSND.attachSound("cannon.wav"); cannonSND.start(0, 1); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _root["shot_mc" + shotCount]._x = this._x + tipX; _root["shot_mc" + shotCount]._y = this._y - tipY; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } }
Instance of Symbol 232 MovieClip "badBoss" in Frame 222
onClipEvent (load) { health = 6000; refireInterval = 15; shotMax = 7; _root.enemyCount++; ID = _root.enemyCount; death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x <= 0) { active = false; } else { active = true; } if ((!death) && (active == true)) { if ((this._y >= 160) && (forward != false)) { ySpeed = -0.8; this._y = this._y + ySpeed; } else if (this._y <= 240) { forward = false; ySpeed = 0.8; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc3.duplicateMovieClip((("enemyshot_mc3" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc3" + ID) + "_") + shotCount]) { tipX = 94 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 94 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } else if (count <= 150) { count++; } else { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level9"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 167 MovieClip "shot_mc" in Frame 222
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _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 if (_root.badBoss.hitTest(this._x, this._y, true) && (_root.badBoss.death != true)) { hitFunc(); _root.badBoss.health = _root.badBoss.health - (damageMin + random(damageMax - damageMin)); } else { i = 1; while (i <= _root.enemyCount) { if (_root["enemy_mc" + i].hitTest(this._x, this._y, true) && (_root["enemy_mc" + i].death != true)) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } } }
Instance of Symbol 170 MovieClip "enemyshot_mc" in Frame 222
onClipEvent (load) { speed = 6; damageMin = 8; damageMax = 18; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _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 (_root.player_mc.hitTest(this._x, this._y, true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Instance of Symbol 172 MovieClip "enemyshot_mc2" in Frame 222
onClipEvent (load) { speed = 5; damageMin = 10; damageMax = 15; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _root.enemyshot_mc2.hit = true; _root.enemyshot_mc2._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 (_root.player_mc.hitTest(this._x, this._y, true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Instance of Symbol 240 MovieClip "enemyshot_mc3" in Frame 222
onClipEvent (load) { speed = 3; damageMin = 20; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _root.enemyshot_mc3.hit = true; _root.enemyshot_mc3._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 (_root.player_mc.hitTest(this._x, this._y, true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Frame 223
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 270; _root.player_mc._y = 220; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 0; _root.player_mc.shotCount = 0; if (_root.music == 2) { bgMusic2.stop("badguys1.wav"); bgMusic1.start(0, 999); _root.music = 1; } stop();
Instance of Symbol 243 MovieClip "level_mc" in Frame 223
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level10"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 147 MovieClip "player_mc" in Frame 223
onClipEvent (load) { healthMax = 100; speedMax = 15; manuverSpeed = 4; accel = 14; decay = 0.2; bounce = 4; collideDamage = 0; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; _root.continue_mc._visible = false; _root.restart_mc._visible = false; tankSND = new Sound(); tankSND.attachSound("tank.wav"); tankSND.stop("tank.wav"); tankSND.start(0, 999); } onClipEvent (enterFrame) { if (!death) { this.playerhealth.gotoAndStop(health); speed = speed * decay; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _x = _global.timerX; _y = _global.timerY; } i = 1; while (i <= _root.enemyCount) { enemyDist = Math.sqrt(((this._x - _root["enemy_mc" + i]._x) * (this._x - _root["enemy_mc" + i]._x)) + ((this._y - _root["enemy_mc" + i]._y) * (this._y - _root["enemy_mc" + i]._y))); if (enemyDist <= 40) { _x = _global.timerX; _y = _global.timerY; } if (enemyDist <= 32.5) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } i++; } if (Key.isDown(37) || (Key.isDown(65))) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39) || (Key.isDown(68))) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38) || (Key.isDown(87))) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40) || (Key.isDown(83))) { if (speed > (-speedMax)) { speed = speed - accel; } } if (key.isDown(82)) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } } else if (Key.isDown(32)) { if (_root.lives >= 1) { _root.gotoAndPlay("nextLevel"); _root.continue_mc._visible = false; } else { _root.gotoAndPlay("intro"); } } else { _root.playerHealth._height = 1; } } onClipEvent (mouseDown) { if (!death) { cannonSND = new Sound(); cannonSND.attachSound("cannon.wav"); cannonSND.start(0, 1); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _root["shot_mc" + shotCount]._x = this._x + tipX; _root["shot_mc" + shotCount]._y = this._y - tipY; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } }
Instance of Symbol 250 MovieClip in Frame 223
onClipEvent (load) { health = 500; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._y >= 60) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 315) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 223
onClipEvent (load) { health = 500; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._y >= 80) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 340) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 223
onClipEvent (load) { health = 500; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._x >= 190) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 335) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 223
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 310) && (_root.player_mc._y >= 185)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 223
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x >= 245) && (_root.player_mc._y >= 175)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 223
onClipEvent (load) { health = 500; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; forward = false; } onClipEvent (enterFrame) { if (!death) { if ((this._x >= 190) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 335) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 167 MovieClip "shot_mc" in Frame 223
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _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 (_root["enemy_mc" + i].hitTest(this._x, this._y, true) && (_root["enemy_mc" + i].death != true)) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } } }
Instance of Symbol 256 MovieClip "enemyshot_mc4" in Frame 223
onClipEvent (load) { speed = 7; damageMin = 22.5; damageMax = 27.5; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _root.enemyshot_mc4.hit = true; _root.enemyshot_mc4._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 (_root.player_mc.hitTest(this._x, this._y, true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Frame 224
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 160; _root.player_mc._y = 30; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 180; _root.player_mc.shotCount = 0; stop();
Instance of Symbol 259 MovieClip "level_mc" in Frame 224
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level11"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 250 MovieClip in Frame 224
onClipEvent (load) { health = 500; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 215) && (_root.player_mc._y <= 125)) { active = false; } else { active = true; } if (!death) { if ((this._y >= 50) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 170) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 224
onClipEvent (load) { health = 500; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 320) { active = false; } else { active = true; } if (!death) { if ((this._x >= 245) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 335) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 224
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 365) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 224
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 190) && (_root.player_mc._y >= 175)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 224
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x >= 365) && (_root.player_mc._y >= 190)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 224
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if ((_root.player_mc._x <= 315) && (_root.player_mc._y <= 175)) { active = false; } else { active = true; } if ((!death) && (active == true)) { delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 224
onClipEvent (load) { health = 500; refireInterval = 15; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; ySpeed = 0; active = false; } onClipEvent (enterFrame) { if (_root.player_mc._x >= 320) { active = false; } else { active = true; } if (!death) { if ((this._x >= 245) && (forward != false)) { xSpeed = -2; this._x = this._x + xSpeed; } else if (this._x <= 340) { forward = false; xSpeed = 2; this._x = this._x + xSpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 225
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 105; _root.player_mc._y = 360; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 0; _root.player_mc.shotCount = 0; stop();
Instance of Symbol 262 MovieClip "level_mc" in Frame 225
onClipEvent (enterFrame) { if ((((_root.player_mc._x <= 0) || (_root.player_mc._y <= 0)) || (_root.player_mc._x >= 550)) || (_root.player_mc._y >= 400)) { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _global.newLevel = "level12"; _root.gotoAndPlay("nextLevel"); } }
Instance of Symbol 250 MovieClip in Frame 225
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._y >= 100) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 315) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 225
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._y >= 100) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 315) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 225
onClipEvent (load) { health = 500; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { if ((this._y >= 85) && (forward != false)) { ySpeed = -2; this._y = this._y + ySpeed; } else if (this._y <= 315) { forward = false; ySpeed = 2; this._y = this._y + ySpeed; } else { forward = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 225
onClipEvent (load) { health = 500; refireInterval = 40; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } 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)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 225
onClipEvent (load) { health = 750; refireInterval = 60; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (this._y >= 380) { active = false; } else { active = true; } if (!death) { if ((this._y >= 250) && (forward != false)) { ySpeed = -1; this._y = this._y + ySpeed; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 250 MovieClip in Frame 225
onClipEvent (load) { health = 750; refireInterval = 60; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; active = false; } onClipEvent (enterFrame) { if (this._y >= 380) { active = false; } else { active = true; } if (!death) { if ((this._y >= 250) && (forward != false)) { ySpeed = -1; this._y = this._y + ySpeed; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (active == true) { refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Frame 226
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; _root.player_mc._x = 55; _root.player_mc._y = 365; _root.player_mc.health = _root.player_mc.healthMax; _root.player_mc._rotation = 0; _root.player_mc.shotCount = 0; if (_root.music == 1) { bgMusic1.stop("break it.wav"); bgMusic3.start(0, 999); _root.music = 3; } stop();
Instance of Symbol 147 MovieClip "player_mc" in Frame 226
onClipEvent (load) { healthMax = 100; speedMax = 15; manuverSpeed = 4; accel = 14; decay = 0.2; bounce = 10; collideDamage = 0; shotMax = 10; health = healthMax; xSpeed = 0; ySpeed = 0; speed = 0; shotCount = 0; death = false; _root.continue_mc._visible = false; _root.restart_mc._visible = false; tankSND = new Sound(); tankSND.attachSound("tank.wav"); tankSND.stop("tank.wav"); tankSND.start(0, 999); } onClipEvent (enterFrame) { if (!death) { this.playerhealth.gotoAndStop(health); speed = speed * decay; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.level_mc.hitTest(this._x, this._y, true)) { _x = _global.timerX; _y = _global.timerY; } i = 1; while (i <= _root.enemyCount) { enemyDist = Math.sqrt(((this._x - _root["enemy_mc" + i]._x) * (this._x - _root["enemy_mc" + i]._x)) + ((this._y - _root["enemy_mc" + i]._y) * (this._y - _root["enemy_mc" + i]._y))); if (enemyDist <= 40) { _x = _global.timerX; _y = _global.timerY; } if (enemyDist <= 32.5) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } i++; } if (Math.sqrt(((this._x - _root.badBoss._x) * (this._x - _root.badBoss._x)) + ((this._y - _root.badBoss._y) * (this._y - _root.badBoss._y))) <= 75) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } if (Key.isDown(37) || (Key.isDown(65))) { this._rotation = this._rotation - manuverSpeed; } else if (Key.isDown(39) || (Key.isDown(68))) { this._rotation = this._rotation + manuverSpeed; } if (Key.isDown(38) || (Key.isDown(87))) { if (speed < speedMax) { speed = speed + accel; } } else if (Key.isDown(40) || (Key.isDown(83))) { if (speed > (-speedMax)) { speed = speed - accel; } } if (key.isDown(82)) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; } } delta_x = _x - _root._xmouse; delta_y = _y - _root._ymouse; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; if (health <= 0) { tankSND.stop("tank.wav"); this.gotoAndPlay("death"); death = true; _root.lives = _root.lives - 1; } } else if (Key.isDown(32)) { if (_root.lives >= 1) { _root.gotoAndPlay("nextLevel"); _root.continue_mc._visible = false; } else { _root.gotoAndPlay("intro"); } } else { _root.playerHealth._height = 1; } } onClipEvent (mouseDown) { if (!death) { cannonSND = new Sound(); cannonSND.attachSound("cannon.wav"); cannonSND.start(0, 1); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _root["shot_mc" + shotCount]._x = this._x + tipX; _root["shot_mc" + shotCount]._y = this._y - tipY; _root["shot_mc" + shotCount]._rotation = this.turret_mc._rotation + this._rotation; } }
Instance of Symbol 254 MovieClip in Frame 226
onClipEvent (load) { health = 500; refireInterval = 75; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } 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)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 226
onClipEvent (load) { health = 500; refireInterval = 75; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } 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)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 226
onClipEvent (load) { health = 500; refireInterval = 75; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } 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)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 254 MovieClip in Frame 226
onClipEvent (load) { health = 500; refireInterval = 75; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } 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)) / 0.017453; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc4.duplicateMovieClip((("enemyshot_mc4" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc4" + ID) + "_") + shotCount]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 269 MovieClip "badBoss" in Frame 226
onClipEvent (load) { health = 7500; refireInterval = 17.5; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; death = false; forwardX = false; } onClipEvent (enterFrame) { if (!death) { this._rotation = this._rotation + 5; if ((this._x >= 125) && (forwardX != false)) { xSpeed = -3; this._x = this._x + xSpeed; } else if (this._x <= 450) { forwardX = false; xSpeed = 3; this._x = this._x + xSpeed; } else { forwardX = true; } if ((this._y >= 110) && (forwardY != false)) { ySpeed = -1.8; this._y = this._y + ySpeed; } else if (this._y <= 275) { forwardY = false; ySpeed = 1.8; this._y = this._y + ySpeed; } else { forwardY = true; } delta_x = _x - _root.player_mc._x; delta_y = _y - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; this.turret_mc._rotation = this.turret_mc._rotation - this._rotation; refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc5.duplicateMovieClip((("enemyshot_mc5" + ID) + "_") + shotCount, -((3 * ID) + shotCount)); with (_root[(("enemyshot_mc5" + ID) + "_") + shotCount]) { tipX = 47.5 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 47.5 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = this._x + tipX; _y = this._y - tipY; _rotation = this.turret_mc._rotation + this._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } else if (count <= 150) { count++; } else { _root.frametest = true; _root.player_mc.tankSND.stop("tank.wav"); _root.gotoAndPlay("win"); } }
Instance of Symbol 167 MovieClip "shot_mc" in Frame 226
onClipEvent (load) { speed = 13; damageMin = 25; damageMax = 50; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _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 if (_root.badBoss.hitTest(this._x, this._y, true) && (_root.badBoss.death != true)) { hitFunc(); _root.badBoss.health = _root.badBoss.health - (damageMin + random(damageMax - damageMin)); } else { i = 1; while (i <= _root.enemyCount) { if (_root["enemy_mc" + i].hitTest(this._x, this._y, true) && (_root["enemy_mc" + i].death != true)) { hitFunc(); _root["enemy_mc" + i].health = _root["enemy_mc" + i].health - (damageMin + random(damageMax - damageMin)); break; } i++; } } } }
Instance of Symbol 271 MovieClip "enemyshot_mc5" in Frame 226
onClipEvent (load) { speed = 9; damageMin = 20; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _root.enemyshot_mc4.hit = true; _root.enemyshot_mc4._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 (_root.player_mc.hitTest(this._x, this._y, true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Instance of Symbol 256 MovieClip "enemyshot_mc4" in Frame 226
onClipEvent (load) { speed = 5; damageMin = 20; damageMax = 25; hit = false; xSpeed = speed * Math.sin(_rotation * 0.017453); ySpeed = speed * Math.cos(_rotation * 0.017453); _root.enemyshot_mc4.hit = true; _root.enemyshot_mc4._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 (_root.player_mc.hitTest(this._x, this._y, true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Frame 227
if (_root.frametest == false) { gotoAndPlay (212); } _root.frametest = false; mouse.show(); if (_root.music == 3) { bgMusic3.stop("badguys2.wav"); bgMusic.start(0, 999); _root.music = 0; } stop();
Instance of Symbol 36 MovieClip in Frame 245
onClipEvent (enterFrame) { if (Key.isDown(187)) { _root.nextFrame(); } if (Key.isDown(189)) { _root.prevFrame(); } }
Symbol 18 MovieClip Frame 1
eyeballGlobal = new Object(); eyeballGlobal.x = eyeball._x; eyeballGlobal.y = eyeball._y; localToGlobal(eyeballGlobal); degrees_per_radian = 57.2957795130823;
Symbol 18 MovieClip Frame 2
x = _root._xmouse - eyeballGlobal.x; y = _root._ymouse - eyeballGlobal.y; angle = Math.atan(y / x); if (eyeball.hitTest(_root._xmouse, _root._ymouse, true)) { mouseLocal = new Object(); mouseLocal.x = _root._xmouse; mouseLocal.y = _root._ymouse; globalToLocal(mouseLocal); pupil._x = mouseLocal.x; pupil._y = mouseLocal.y; } else if (_root._xmouse > eyeballGlobal.x) { pupil._x = eyeball._x + (Math.cos(angle) * (eyeball._width / 2)); pupil._y = eyeball._y + (Math.sin(angle) * (eyeball._width / 2)); } else { pupil._x = eyeball._x - (Math.cos(angle) * (eyeball._width / 2)); pupil._y = eyeball._y - (Math.sin(angle) * (eyeball._width / 2)); }
Symbol 18 MovieClip Frame 3
gotoAndPlay (2);
Instance of Symbol 20 MovieClip in Symbol 23 MovieClip Frame 1
onClipEvent (load) { var count = 0; } onClipEvent (enterFrame) { pcent_loaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; this._width = pcent_loaded * 1.65; if (_root.getBytesLoaded() >= _root.getBytesTotal()) { if (_root.ready == true) { if (loaded != true) { _root.gotoAndPlay("loaded"); loaded = true; } } if (count <= 100) { _root.progBarSet._alpha = _root.progBarSet._alpha - 1; count++; } } }
Symbol 51 Button
on (release) { _global.newLevel = "level1"; _root.nextFrame(); }
Symbol 54 Button
on (release) { getURL ("http://www.ugotgames.com/", "_blank"); }
Symbol 60 Button
on (release) { _global.newLevel = "level1"; _root.gotoAndPlay("instructions"); }
Symbol 66 Button
on (release) { if (_root.music != 0) { _root.bgMusic.start(0, 999); _root.music = 0; } else { _root.bgMusic.stop(); _root.music = 10; } }
Symbol 104 Button
on (release) { _global.newLevel = "level1"; _root.gotoAndPlay("intro"); }
Symbol 146 MovieClip Frame 26
gotoAndPlay (1);
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 22
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 22
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 22
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 8
stop(); this.removeMovieClip();
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 9
stop(); this.removeMovieClip();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 9
stop(); this.removeMovieClip();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 22
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 22
stop();
Symbol 213 MovieClip Frame 29
gotoAndPlay (1);
Symbol 232 MovieClip Frame 1
stop();
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 8; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 8; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 8; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 8; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) { health = 100; refireInterval = 15; shotMax = 8; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 8; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (health <= 0) { this.gotoAndPlay("death"); death = true; } } }
Symbol 232 MovieClip Frame 2
stop();
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 2
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; count = 0; dead = false; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (_root.badBoss.death == true) { death = true; } } if (count <= 10) { count++; } else if (dead != true) { this.gotoAndPlay("death"); dead = true; } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 2
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; count = 0; dead = false; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (_root.badBoss.death == true) { death = true; } } if (count <= 5) { count++; } else if (dead != true) { this.gotoAndPlay("death"); dead = true; } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 2
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; count = 0; dead = false; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (_root.badBoss.death == true) { death = true; } } if (count <= 20) { count++; } else if (dead != true) { this.gotoAndPlay("death"); dead = true; } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 2
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; count = 0; dead = false; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (_root.badBoss.death == true) { death = true; } } if (count <= 30) { count++; } else if (dead != true) { this.gotoAndPlay("death"); dead = true; } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 2
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; count = 0; dead = false; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (_root.badBoss.death == true) { death = true; } } if (count <= 25) { count++; } else if (dead != true) { this.gotoAndPlay("death"); dead = true; } }
Instance of Symbol 159 MovieClip in Symbol 232 MovieClip Frame 2
onClipEvent (load) { health = 100; refireInterval = 20; shotMax = 5; _root.enemyCount++; ID = _root.enemyCount; _name = ("enemy_mc" + ID); death = false; xSpeed = 0; count = 0; dead = false; } onClipEvent (enterFrame) { if (!death) { delta_x = (_x + _root.badBoss._x) - _root.player_mc._x; delta_y = (_y + _root.badBoss._y) - _root.player_mc._y; this.turret_mc._rotation = (-Math.atan2(delta_x, delta_y)) / 0.017453; 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]) { tipX = 35 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 35 * math.cos((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); _x = (this._x + tipX) + _root.badBoss._x; _y = (this._y - tipY) + _root.badBoss._y; _rotation = this.turret_mc._rotation; } } if (_root.badBoss.death == true) { death = true; } } if (count <= 15) { count++; } else if (dead != true) { this.gotoAndPlay("death"); dead = true; } }
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 9
stop(); this.removeMovieClip();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 22
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 22
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 9
this.removeMovieClip(); stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 90
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 9
this.removeMovieClip(); stop();
Symbol 285 Button
on (release) { _global.newLevel = "level1"; _root.gotoAndPlay("intro"); }
Symbol 290 Button
on (release) { getURL ("http://www.tacticaltank.com/", "_blank"); }

Library Items

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

Instance Names

"kent_mc"Frame 1Symbol 6 MovieClip
"ugg"Frame 1Symbol 12 MovieClip
"progBarSet"Frame 1Symbol 23 MovieClip
"kent_mc"Frame 85Symbol 6 MovieClip
"kent_mc"Frame 96Symbol 6 MovieClip
"kent_mc"Frame 115Symbol 6 MovieClip
"kent_mc"Frame 132Symbol 6 MovieClip
"kent_mc"Frame 142Symbol 6 MovieClip
"kent_mc"Frame 163Symbol 6 MovieClip
"music_mc"Frame 212Symbol 36 MovieClip
"level_mc"Frame 215Symbol 109 MovieClip
"player_mc"Frame 215Symbol 147 MovieClip
"shot_mc"Frame 215Symbol 167 MovieClip
"enemyshot_mc"Frame 215Symbol 170 MovieClip
"enemyshot_mc2"Frame 215Symbol 172 MovieClip
"aim"Frame 215Symbol 174 MovieClip
"playerHealth"Frame 215Symbol 180 MovieClip
"continue_mc"Frame 215Symbol 189 MovieClip
"restart_mc"Frame 215Symbol 192 MovieClip
"level_mc"Frame 216Symbol 195 MovieClip
"level_mc"Frame 217Symbol 198 MovieClip
"level_mc"Frame 218Symbol 201 MovieClip
"level_mc"Frame 219Symbol 216 MovieClip
"level_mc"Frame 220Symbol 219 MovieClip
"level_mc"Frame 221Symbol 222 MovieClip
"level_mc"Frame 222Symbol 224 MovieClip
"player_mc"Frame 222Symbol 147 MovieClip
"badBoss"Frame 222Symbol 232 MovieClip
"shot_mc"Frame 222Symbol 167 MovieClip
"enemyshot_mc"Frame 222Symbol 170 MovieClip
"enemyshot_mc2"Frame 222Symbol 172 MovieClip
"enemyshot_mc3"Frame 222Symbol 240 MovieClip
"level_mc"Frame 223Symbol 243 MovieClip
"player_mc"Frame 223Symbol 147 MovieClip
"shot_mc"Frame 223Symbol 167 MovieClip
"enemyshot_mc4"Frame 223Symbol 256 MovieClip
"level_mc"Frame 224Symbol 259 MovieClip
"level_mc"Frame 225Symbol 262 MovieClip
"level_mc"Frame 226Symbol 264 MovieClip
"player_mc"Frame 226Symbol 147 MovieClip
"badBoss"Frame 226Symbol 269 MovieClip
"shot_mc"Frame 226Symbol 167 MovieClip
"enemyshot_mc5"Frame 226Symbol 271 MovieClip
"enemyshot_mc4"Frame 226Symbol 256 MovieClip
"eyeball"Symbol 18 MovieClip Frame 1Symbol 15 MovieClip
"pupil"Symbol 18 MovieClip Frame 1Symbol 17 MovieClip
"turretTip_mc"Symbol 114 MovieClip Frame 1Symbol 113 MovieClip
"turret_mc"Symbol 147 MovieClip Frame 1Symbol 114 MovieClip
"turret_mc"Symbol 147 MovieClip Frame 19Symbol 114 MovieClip
"turretTip_mc"Symbol 150 MovieClip Frame 1Symbol 113 MovieClip
"turret_mc"Symbol 154 MovieClip Frame 1Symbol 150 MovieClip
"turret_mc"Symbol 154 MovieClip Frame 19Symbol 150 MovieClip
"turret_mc"Symbol 159 MovieClip Frame 1Symbol 157 MovieClip
"turret_mc"Symbol 159 MovieClip Frame 19Symbol 157 MovieClip
"turret_mc"Symbol 205 MovieClip Frame 1Symbol 157 MovieClip
"turret_mc"Symbol 205 MovieClip Frame 19Symbol 157 MovieClip
"turretTip_mc"Symbol 208 MovieClip Frame 1Symbol 113 MovieClip
"turret_mc"Symbol 210 MovieClip Frame 1Symbol 208 MovieClip
"turret_mc"Symbol 210 MovieClip Frame 19Symbol 208 MovieClip
"turretTip_mc"Symbol 231 MovieClip Frame 1Symbol 113 MovieClip
"turret_mc"Symbol 232 MovieClip Frame 1Symbol 231 MovieClip
"turretTip_mc"Symbol 248 MovieClip Frame 1Symbol 113 MovieClip
"turret_mc"Symbol 250 MovieClip Frame 1Symbol 248 MovieClip
"turret_mc"Symbol 250 MovieClip Frame 19Symbol 248 MovieClip
"turret_mc"Symbol 254 MovieClip Frame 1Symbol 253 MovieClip
"turret_mc"Symbol 254 MovieClip Frame 19Symbol 253 MovieClip
"turret_mc"Symbol 269 MovieClip Frame 1Symbol 253 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 195Symbol 28 as "badguys1.wav"
ExportAssets (56)Timeline Frame 196Symbol 29 as "badguys2.wav"
ExportAssets (56)Timeline Frame 197Symbol 30 as "Break It.wav"
ExportAssets (56)Timeline Frame 198Symbol 31 as "cannon.wav"
ExportAssets (56)Timeline Frame 199Symbol 32 as "intro.wav"
ExportAssets (56)Timeline Frame 200Symbol 33 as "tank.wav"

Labels

"loaded"Frame 81
"intro"Frame 212
"nextLevel"Frame 213
"instructions"Frame 214
"level1"Frame 215
"level2"Frame 216
"level3"Frame 217
"level4"Frame 218
"level5"Frame 219
"level6"Frame 220
"level7"Frame 221
"level8"Frame 222
"level9"Frame 223
"level10"Frame 224
"level11"Frame 225
"level12"Frame 226
"win"Frame 227
"smokeStart"Symbol 146 MovieClip Frame 1
"death"Symbol 147 MovieClip Frame 2
"death"Symbol 154 MovieClip Frame 2
"death"Symbol 159 MovieClip Frame 2
"hit"Symbol 167 MovieClip Frame 2
"hit"Symbol 170 MovieClip Frame 2
"hit"Symbol 172 MovieClip Frame 2
"death"Symbol 205 MovieClip Frame 2
"death"Symbol 210 MovieClip Frame 2
"start"Symbol 213 MovieClip Frame 1
"death"Symbol 232 MovieClip Frame 2
"hit"Symbol 240 MovieClip Frame 2
"death"Symbol 250 MovieClip Frame 2
"death"Symbol 254 MovieClip Frame 2
"hit"Symbol 256 MovieClip Frame 2
"death"Symbol 269 MovieClip Frame 2
"hit"Symbol 271 MovieClip Frame 2

Dynamic Text Variables

livesSymbol 183 EditableText""




http://swfchan.com/7/31147/info.shtml
Created: 18/5 -2019 20:39:39 Last modified: 18/5 -2019 20:39:39 Server time: 12/05 -2024 03:27:04