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

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

Tailspin Air Combat.swf

This is the info page for
Flash #23475

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


Text
Tailspin: Air Combat

Little City Games . Com

Loading...

*Game and Music Copyright Little City games 2005

*Game and Music Copyright Little City games 2005

*Game and Music Copyright Little City games 2005

Click Here
To PLay

Instructions

Music On/off

enter level name

Level Skip:

Submit

Back
(main Screen)

F

"F Key Fires

"F Key Fires

Throttle

Throttle

Tight Turn

Tight Turn

Rudder Left

Rudder Left

Rudder Right

Rudder Right

Health Meter

Health Meter

(slow throttle)

(slow throttle)

*Remember...F"Key Fires

*Remember...F Key Fires

1 UP EXTRA LIFE !

Code: Yeager

Lives:

3

Enemy

Press the Space Bar to
Continue...

You Lose.

Press the Space Bar
to Restart.

Level Name: Levelxx

Code: Pappy

Code: Butch

Code: Foss

Code: Ike

Code: Bud

Code: Buzz

Code: Duncan

Code: Blackburn

Code: Tex

You Win!

You Win!

Thanks For Playing...

Thanks For Playing...

New Version Of Tailspin
Air Combat Coming Soon!!!

New Version Of Tailspin
Air Combat Coming Soon!!!

PLay Again?

Play More Games LIke This!

ActionScript [AS1/AS2]

Frame 1
pcent_loaded = (getBytesLoaded() / getBytesTotal()) * 100; progBar._width = pcent_loaded * 7.2; if (getBytesLoaded() >= getBytesTotal()) { gotoAndPlay (3); }
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (mouseUp) { getURL ("http://www.littlecitygames.com/", "_blank"); }
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Instance of Symbol 19 MovieClip in Frame 3
onClipEvent (load) { var counter = 0; } onClipEvent (enterFrame) { if (counter <= 200) { counter++; } else { _root.nextFrame(); trace("hi"); } } onClipEvent (mouseUp) { getURL ("http://www.littlecitygames.com/", "_blank"); }
Frame 4
_root.lives = 3; _root.extraLifeSTAT = false; _global.newLevel = "level1"; _root.codeBox = "enter level name"; _root.resultBad = ""; bgMusic = new Sound(); bgMusic.attachSound("theme.wav"); if (_root.instructions != true) { _root.bgMusic.stop(); } if ((_root.music == false) && (_root.instructions != true)) { _root.bgMusic.start(0, 999); } if (musicInt != false) { _root.bgMusic.start(0, 999); _root.music = false; musicInt = false; } _root.instructions = false; stop();
Instance of Symbol 25 MovieClip "tailspin_mc" in Frame 4
onClipEvent (load) { id = 1; tracerID = 0; } onClipEvent (enterFrame) { if (id <= 30) { _root["enemy_mc" + ID].removeMovieClip(); id++; } if (tracerID <= 7) { _root["tracer_mc" + tracerID].removeMovieClip(); tracerID++; } if (Key.isDown(13)) { trace(_root.codeBox); if (((_root.codeBox == "yeager") || (_root.codeBox == "Yeager")) || (_root.codeBox == "YEAGER")) { _global.newLevel = "level1"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "pappy") || (_root.codeBox == "Pappy")) || (_root.codeBox == "PAPPY")) { _global.newLevel = "level2"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "butch") || (_root.codeBox == "Butch")) || (_root.codeBox == "BUTCH")) { _global.newLevel = "level3"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "foss") || (_root.codeBox == "Foss")) || (_root.codeBox == "FOSS")) { _global.newLevel = "level4"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "ike") || (_root.codeBox == "Ike")) || (_root.codeBox == "IKE")) { _global.newLevel = "level5"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "bud") || (_root.codeBox == "Bud")) || (_root.codeBox == "BUD")) { _global.newLevel = "level6"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "buzz") || (_root.codeBox == "Buzz")) || (_root.codeBox == "BUZZ")) { _global.newLevel = "level7"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "duncan") || (_root.codeBox == "Duncan")) || (_root.codeBox == "DUNCAN")) { _global.newLevel = "level8"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "blackburn") || (_root.codeBox == "Blackburn")) || (_root.codeBox == "BLACKBURN")) { _global.newLevel = "level9"; _root.gotoAndPlay("ready"); } else if (((_root.codeBox == "tex") || (_root.codeBox == "Tex")) || (_root.codeBox == "TEX")) { _global.newLevel = "level10"; _root.gotoAndPlay("ready"); } else { _global.newLevel = "level1"; _root.codeBox = "enter level name"; _root.resultBad = "Try Again"; } } }
Frame 5
_root.instructions = true; stop();
Frame 6
_root.bgMusic.stop(); if (extraLifeSTAT == true) { _root.extraLife._visible = true; } else { _root.extraLife._visible = false; } stop();
Instance of Symbol 94 MovieClip in Frame 6
onClipEvent (load) { var count = 0; tracerID = 0; var id = 1; var idMax = 30; } onClipEvent (enterFrame) { if (count <= 75) { count = count + 1; } else { _root.enemyCount = 0; _root.gotoAndPlay(_global.newLevel); } if (id <= idMax) { _root["enemy_mc" + ID].removeMovieClip(); _root["tracer_mc" + ID].removeMovieClip(); id++; } if (tracerID <= 5) { _root["enemy_mc" + tracerID].removeMovieClip(); _root["tracer_mc" + tracerID].removeMovieClip(); tracerID++; } }
Frame 7
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.tracer.removeMovieClip(); _root.levelStat = "Level Name: Yeager"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 7
onClipEvent (load) { _root.bgMusic.stop(); var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 16) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.bossMusic.stop(); _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level2"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 500; _root["enemy_mc" + ID]._y = 1000; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 510; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 520; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 3)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 5)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -200; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 7)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 400; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 600; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 9)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 400; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 500; _root["enemy_mc" + ID]._y = -250; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 600; _root["enemy_mc" + ID]._y = -30; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 12)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 15)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 107 MovieClip "tracer" in Frame 7
onClipEvent (load) { this._x = -20; this._y = -20; } onClipEvent (enterFrame) { if (_root["enemy_mc" + ID].dead != true) { if (_root["enemy_mc" + ID]._y <= 0) { this._x = _root["enemy_mc" + ID]._x; this._y = 7; } else if (_root["enemy_mc" + ID]._y >= 509) { this._x = _root["enemy_mc" + ID]._x; this._y = 502; } else if (_root["enemy_mc" + ID]._x <= 0) { this._y = _root["enemy_mc" + ID]._y; this._x = 7; } else if (_root["enemy_mc" + ID]._x >= 700) { this._y = _root["enemy_mc" + ID]._y; this._x = 693; } else { this._x = -20; this._y = -20; } } else { this.removeMovieClip(); } }
Instance of Symbol 121 MovieClip "trail" in Frame 7
onClipEvent (load) { var windSpeed = 0.5; _x = _root.player_mc._x; _y = _root.player_mc._y; _root.trail._x = -10; _root.trail._y = 10; } onClipEvent (enterFrame) { _x = (_x + windSpeed); }
Instance of Symbol 122 MovieClip "enemyTrail" in Frame 7
onClipEvent (load) { var windSpeed = 0.5; _root.enemyTrail._x = -10; _root.enemyTrail._y = 10; } onClipEvent (enterFrame) { _x = (_x + windSpeed); }
Instance of Symbol 128 MovieClip "shot_mc" in Frame 7
onClipEvent (load) { speed = 15; damageMin = 10; damageMax = 15; 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); _root.hitHolder.hitSND.start(0, 1); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { if ((((_x > 715) || (_x < -15)) || (_y > 524)) || (_y < -16)) { this.removeMovieClip(); } _y = (_y - ySpeed); _x = (_x + xSpeed); i = _root.enemyCount - 4; 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 130 MovieClip "enemyShot_mc" in Frame 7
onClipEvent (load) { hitSND = new Sound(); hitSND.attachSound("hit.wav"); speed = 12; damageMin = 15; damageMax = 20; 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); hitSND.start(0, 1); this.gotoAndPlay("hit"); hit = true; }; } onClipEvent (enterFrame) { if (!hit) { _y = (_y - ySpeed); _x = (_x + xSpeed); if (_root.player_mc.hitTest(this._x, this._y, true) && (_root.player_mc.dying != true)) { hitFunc(); _root.player_mc.health = _root.player_mc.health - (damageMin + random(damageMax - damageMin)); } } }
Instance of Symbol 132 MovieClip "player_mc" in Frame 7
onClipEvent (load) { expCount = 0; expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; airplaneSND = new Sound(); airplaneSND.attachSound("airplane.wav"); airplaneSND.start(0, 999); crashSND = new Sound(); crashSND.attachSound("crash.wav"); crashStart = false; var forwardSPD = 2; var reverseSPD = 0; var maxForwardSPD = 6; var minForwardSPD = 2; var maxReverseSPD = 1; var turnSPD = 3; var qkTurnSPD = 5; var tmpTurnSPD = 0; var acc = 0.08; var dec = 0.04; var enemyDist = 0; var healthMax = 100; var health = healthMax; var gunsOff = false; var shotMax = 10; var shotCount = 1; var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.trail); smokeColor.setRGB(16777215); pressKey = new Object(); key.addListener(pressKey); pressKey.onKeyDown = function () { if (key.getCode() == 70) { fire = true; } }; pressKey.onKeyUp = function () { fire = false; shot = false; }; swapDepths(100); } onClipEvent (enterFrame) { if (_x > 715) { _x = -15; } else if (_x < -15) { _x = 715; } if (_y > 524) { _y = -16; } else if (_y < -16) { _y = 524; } if (!death) { var xSPD = (forwardSPD * math.sin(_rotation * 0.017453)); var ySPD = (forwardSPD * math.cos(_rotation * 0.017453)); if (key.isDown(38)) { if (forwardSPD <= maxForwardSPD) { forwardSPD = forwardSPD + acc; } _x = (_x + xSPD); _y = (_y - ySPD); } else if (forwardSPD >= minForwardSPD) { forwardSPD = forwardSPD - dec; _x = (_x + xSPD); _y = (_y - ySPD); } else { _x = (_x + xSPD); _y = (_y - ySPD); } if (key.isDown(40)) { tmpTurnSPD = qkTurnSPD; } else { tmpTurnSPD = turnSPD; } if (key.isDown(37)) { _rotation = (_rotation - tmpTurnSPD); } else if (key.isDown(39)) { _rotation = (_rotation + tmpTurnSPD); } if (SMKcounter <= 2) { SMKcounter++; } else { _root.trail.duplicateMovieClip("trail" + depthCounter, depthCounter + 50); depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } } if (!dying) { if ((fire == true) && (shot != true)) { _root.cannonHolder.cannonSND.start(0, 1); shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.shot_mc.duplicateMovieClip("shot_mc" + shotCount, shotCount); tipX = 10 * math.sin(this._rotation * 0.017453); tipY = 10 * math.cos(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._rotation; shot = true; } } if (health <= 0) { health = 0; airplaneSND.stop("airplane.wav"); if (crashStart != true) { crashSND.start(0, 1); crashStart = true; } if (expStart != true) { if (expCount <= 5) { expCount++; } else { expSND.start(0, 1); expStart = true; } } dying = true; _rotation = (_rotation + 8); swapDepths(-20000); if (scaleCount <= 100) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.8); _yscale = (_yscale - 0.8); _alpha = (_alpha - 0.5); alphaCount++; } else { this.gotoAndPlay("death"); death = true; if (dead != true) { _root.lives = _root.lives - 1; dead = true; if (_root.lives >= 1) { _root.continue_mc._visible = true; } else { _root.restart_mc._visible = true; _root.deathLevelMC._visible = true; _root.deathLevel = _root.levelStat; } _root.extraLifeSTAT = false; } else if (Key.isDown(32)) { if (_root.lives >= 1) { _root.gotoAndPlay("ready"); _root.continue_mc._visible = false; this.removeMovieClip(); } else { _root.gotoAndPlay("intro"); this.removeMovieClip(); } } } } }
Instance of Symbol 134 MovieClip "cannonHolder" in Frame 7
onClipEvent (load) { cannonSND = new Sound(_root.cannonHolder); cannonSND.attachSound("cannon.wav"); }
Instance of Symbol 136 MovieClip "hitHolder" in Frame 7
onClipEvent (load) { hitSND = new Sound(_root.hitHolder); hitSND.attachSound("hit.wav"); }
Instance of Symbol 138 MovieClip "plane2" in Frame 7
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.15; var maxSPD = 4; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 140 MovieClip "plane3" in Frame 7
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.15; var maxSPD = 4; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 2) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Instance of Symbol 142 MovieClip "plane1" in Frame 7
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.12; var maxSPD = 4; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); var scaleCount = 0; var alphaCount = 0; } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 146 MovieClip "playerHealth" in Frame 7
onClipEvent (enterFrame) { this._height = _root.player_mc.health / 2; }
Instance of Symbol 150 MovieClip "bossHealth" in Frame 7
onClipEvent (load) { _root.bossHealth._visible = false; }
Frame 8
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Pappy"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 8
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 16) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level3"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = 200; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1100; _root["enemy_mc" + ID]._y = 220; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 950; _root["enemy_mc" + ID]._y = 230; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 3)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 400; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 5)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -200; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 7)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 400; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 600; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 9)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = -500; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 500; _root["enemy_mc" + ID]._y = -750; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 600; _root["enemy_mc" + ID]._y = -30; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 12)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -300; _root["enemy_mc" + ID]._y = 400; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 250; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 15)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 370; _root["enemy_mc" + ID]._y = 700; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 162 MovieClip "plane1" in Frame 8
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.18; var maxSPD = 4; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 164 MovieClip "plane2" in Frame 8
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.18; var maxSPD = 5; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 166 MovieClip "plane3" in Frame 8
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.14; var maxSPD = 5; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Instance of Symbol 150 MovieClip "bossHealth" in Frame 8
onClipEvent (load) { _root.bossHealth._visible = false; }
Frame 9
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Butch"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 9
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 20) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level4"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = 0; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = 50; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 3)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 0; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 140; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 280; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 420; _root["enemy_mc" + ID].countMax = 250; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 7)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 765; _root["enemy_mc" + ID]._y = 570; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 9)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 13)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 600; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 16)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = 550; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 550; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = 550; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 19)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 350; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 171 MovieClip "plane2" in Frame 9
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.24; var maxSPD = 6; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 173 MovieClip "plane1" in Frame 9
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.2; var maxSPD = 5; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 175 MovieClip "plane3" in Frame 9
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.18; var maxSPD = 8; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Instance of Symbol 150 MovieClip "bossHealth" in Frame 9
onClipEvent (load) { _root.bossHealth._visible = false; }
Frame 10
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Foss"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 10
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 19) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level5"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 709; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = 100; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -200; _root["enemy_mc" + ID]._y = 100; _root["enemy_mc" + ID].countMax = 75; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 4)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 50; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 650; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 6)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 0; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 509; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 8)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 11)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 14)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 200; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 500; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 18)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 700; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 180 MovieClip "plane1" in Frame 10
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.28; var maxSPD = 6; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 182 MovieClip "plane2" in Frame 10
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.3; var maxSPD = 7; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 184 MovieClip "plane3" in Frame 10
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.15; var maxSPD = 7; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Frame 11
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Ike"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 11
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.plane4.death = true; _root.plane4.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 23) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level6"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -200; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 0; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 75; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 4)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 50; _root["enemy_mc" + ID]._y = 1000; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 650; _root["enemy_mc" + ID]._y = 1000; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 50; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 650; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 8)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 250; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 450; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 180; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 10)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 120; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 90; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 14)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = -150; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 17)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = -150; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 75; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 659; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 21)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = 400; _root["enemy_mc" + ID].countMax = 40; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; _root.enemyCount++; ID = _root.enemyCount; _root.plane4.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = 400; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth2._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 122 MovieClip "enemyTrail2" in Frame 11
onClipEvent (load) { var windSpeed = 0.5; _root.enemyTrail2._x = -10; _root.enemyTrail2._y = 10; } onClipEvent (enterFrame) { _x = (_x + windSpeed); }
Instance of Symbol 189 MovieClip "plane1" in Frame 11
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.32; var maxSPD = 7; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 191 MovieClip "plane2" in Frame 11
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.34; var maxSPD = 8; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 193 MovieClip "plane3" in Frame 11
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.16; var maxSPD = 8; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Instance of Symbol 193 MovieClip "plane4" in Frame 11
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.14; var maxSPD = 8; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail2.duplicateMovieClip(("enemyTrail2" + depthCounter) + ID, depthCounter - 1050); _root[("enemyTrail2" + depthCounter) + ID]._x = _x; _root[("enemyTrail2" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth2.bossMeter2._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth2._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Instance of Symbol 194 MovieClip "bossHealth2" in Frame 11
onClipEvent (load) { _root.bossHealth2._visible = false; }
Frame 12
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Bud"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 12
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 23) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level7"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 850; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 130; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 850; _root["enemy_mc" + ID]._y = 150; _root["enemy_mc" + ID].countMax = 120; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = 355; _root["enemy_mc" + ID].countMax = 110; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = 609; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 4)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -150; _root["enemy_mc" + ID]._y = -150; _root["enemy_mc" + ID].countMax = 120; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 850; _root["enemy_mc" + ID]._y = -150; _root["enemy_mc" + ID].countMax = 110; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -150; _root["enemy_mc" + ID]._y = 400; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 850; _root["enemy_mc" + ID]._y = 400; _root["enemy_mc" + ID].countMax = 90; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 9)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 11)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -250; _root["enemy_mc" + ID].countMax = 75; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 14)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -800; _root["enemy_mc" + ID]._y = 609; _root["enemy_mc" + ID].countMax = 275; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 850; _root["enemy_mc" + ID]._y = 659; _root["enemy_mc" + ID].countMax = 250; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 17)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 160; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 140; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = -350; _root["enemy_mc" + ID].countMax = 120; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 1000; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 22)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = -100; _root["enemy_mc" + ID].countMax = 20; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 199 MovieClip "plane1" in Frame 12
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.4; var maxSPD = 8; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 201 MovieClip "plane3" in Frame 12
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.18; var maxSPD = 9; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Instance of Symbol 203 MovieClip "plane2" in Frame 12
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.4; var maxSPD = 8; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Frame 13
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Buzz"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 13
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 20) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level8"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 850; _root["enemy_mc" + ID]._y = 100; _root["enemy_mc" + ID].countMax = 180; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 850; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 160; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 850; _root["enemy_mc" + ID]._y = 405; _root["enemy_mc" + ID].countMax = 140; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 3)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -250; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 120; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -150; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 135; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 120; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 6)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -400; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 909; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 8)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -200; _root["enemy_mc" + ID]._y = 200; _root["enemy_mc" + ID].countMax = 250; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -200; _root["enemy_mc" + ID]._y = 300; _root["enemy_mc" + ID].countMax = 225; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1200; _root["enemy_mc" + ID]._y = 150; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1200; _root["enemy_mc" + ID]._y = 350; _root["enemy_mc" + ID].countMax = 175; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 12)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 0; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 825; _root["enemy_mc" + ID].countMax = 225; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 700; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 15)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 160; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = 709; _root["enemy_mc" + ID].countMax = 120; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 800; _root["enemy_mc" + ID]._y = 709; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 19)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 208 MovieClip "plane1" in Frame 13
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.42; var maxSPD = 10; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 210 MovieClip "plane2" in Frame 13
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.42; var maxSPD = 10; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 212 MovieClip "plane3" in Frame 13
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.2; var maxSPD = 9; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Frame 14
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Duncan"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 14
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 21) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level9"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 300; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 400; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 115; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 300; _root["enemy_mc" + ID]._y = 700; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 400; _root["enemy_mc" + ID]._y = 700; _root["enemy_mc" + ID].countMax = 85; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 4)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 70; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 200; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 90; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 6)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 115; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 750; _root["enemy_mc" + ID].countMax = 105; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 700; _root["enemy_mc" + ID].countMax = 95; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 650; _root["enemy_mc" + ID].countMax = 85; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 10)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 280; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 850; _root["enemy_mc" + ID].countMax = 270; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 260; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 13)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = 700; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -100; _root["enemy_mc" + ID]._y = 750; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 16)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -200; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -300; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 140; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 130; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 120; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 20)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 35; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 217 MovieClip "plane1" in Frame 14
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.44; var maxSPD = 10; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 219 MovieClip "plane2" in Frame 14
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.24; var maxSPD = 12; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 221 MovieClip "plane3" in Frame 14
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.22; var maxSPD = 11; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Frame 15
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Blackburn"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 15
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 21) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.lives = _root.lives + 1; _root.extraLifeSTAT = true; _global.newLevel = "level10"; _root.gotoAndPlay("ready"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 600; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 145; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 100; _root["enemy_mc" + ID]._y = -400; _root["enemy_mc" + ID].countMax = 140; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 600; _root["enemy_mc" + ID]._y = -400; _root["enemy_mc" + ID].countMax = 135; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 4)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -300; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 6)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -300; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 8)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -300; _root["enemy_mc" + ID]._y = 900; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -400; _root["enemy_mc" + ID]._y = 1000; _root["enemy_mc" + ID].countMax = 95; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1100; _root["enemy_mc" + ID]._y = -400; _root["enemy_mc" + ID].countMax = 75; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 12)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 300; _root["enemy_mc" + ID]._y = -400; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 400; _root["enemy_mc" + ID]._y = -400; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 0; _root["enemy_mc" + ID]._y = 909; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 700; _root["enemy_mc" + ID]._y = 909; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 16)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -300; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 300; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 295; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -400; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1100; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 145; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 20)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -500; _root["enemy_mc" + ID].countMax = 25; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 226 MovieClip "plane1" in Frame 15
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.32; var maxSPD = 14; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 228 MovieClip "plane2" in Frame 15
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.32; var maxSPD = 14; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 230 MovieClip "plane3" in Frame 15
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.4; var maxSPD = 14; var shotCount = 1; var shotMax = 5; var refire = 0; var refireInterval = 20; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Frame 16
_root.continue_mc._visible = false; _root.restart_mc._visible = false; _root.levelStat = "Level Name: Tex"; _root.deathLevelMC._visible = false; stop();
Instance of Symbol 105 MovieClip "planeMaker" in Frame 16
onClipEvent (load) { var tempDepth = 0; _root.plane1.death = true; _root.plane2.death = true; _root.plane3.death = true; _root.plane3.dead = true; _root.deathCount = 0; _root.enemyCount = 0; } onClipEvent (enterFrame) { if (((_root.deathCount >= 22) && (_root.player_mc.dying != true)) && (_root.player_mc.death != true)) { _root.player_mc.airplaneSND.stop(); _root.player_mc.removeMovieClip(); _root.plane1.removeMovieClip(); _root.plane2.removeMovieClip(); _root.plane3.removeMovieClip(); _root.gotoAndPlay("win"); } if (stage1 != true) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = 100; _root["enemy_mc" + ID].countMax = 150; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1000; _root["enemy_mc" + ID]._y = 150; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 2000; _root["enemy_mc" + ID]._y = 100; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 2100; _root["enemy_mc" + ID]._y = 150; _root["enemy_mc" + ID].countMax = 75; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage1 = true; } else if ((stage2 != true) && (_root.deathCount >= 4)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -300; _root["enemy_mc" + ID].countMax = 200; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 809; _root["enemy_mc" + ID].countMax = 195; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -500; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 100; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 1200; _root["enemy_mc" + ID]._y = 255; _root["enemy_mc" + ID].countMax = 95; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage2 = true; } else if ((stage3 != true) && (_root.deathCount >= 8)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 900; _root["enemy_mc" + ID]._y = -200; _root["enemy_mc" + ID].countMax = 45; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -200; _root["enemy_mc" + ID]._y = 709; _root["enemy_mc" + ID].countMax = 40; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage3 = true; } else if ((stage4 != true) && (_root.deathCount >= 10)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 125; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 80; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 600; _root["enemy_mc" + ID].countMax = 35; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage4 = true; } else if ((stage5 != true) && (_root.deathCount >= 13)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 750; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 400; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = -50; _root["enemy_mc" + ID]._y = 559; _root["enemy_mc" + ID].countMax = 390; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane1.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = -50; _root["enemy_mc" + ID].countMax = 380; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage5 = true; } else if ((stage6 != true) && (_root.deathCount >= 16)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 400; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 50; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 450; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 45; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 500; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 40; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 550; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 35; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.enemyCount++; ID = _root.enemyCount; _root.plane2.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 600; _root["enemy_mc" + ID]._y = 800; _root["enemy_mc" + ID].countMax = 30; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; stage6 = true; } else if ((stage7 != true) && (_root.deathCount >= 21)) { _root.enemyCount++; ID = _root.enemyCount; _root.plane3.duplicateMovieClip("enemy_mc" + ID, 120 + ID); _root["enemy_mc" + ID]._x = 350; _root["enemy_mc" + ID]._y = 850; _root["enemy_mc" + ID].countMax = 5; _root["enemy_mc" + ID].ID = ID; _root.tracer.duplicateMovieClip("tracer_mc" + ID, 350 + ID); _root["tracer_mc" + ID].id = ID; _root.bossHealth._visible = true; if (_root.music == false) { _root.cannonHolder.cannonSND.stop(); _root.hitHolder.hitSND.stop(); _root.bgMusic.start(0, 999); } stage7 = true; } }
Instance of Symbol 235 MovieClip "plane1" in Frame 16
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.36; var maxSPD = 14; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 237 MovieClip "plane2" in Frame 16
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); health = 1; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.4; var maxSPD = 14; var timerX = _root.player_mc._x; var timerY = _root.player_mc._y; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); trace(id); } onClipEvent (enterFrame) { if (!death) { if (count <= countMax) { count++; } else { timerX = _root.player_mc._x; timerY = _root.player_mc._y; count = 0; } _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < timerX) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= timerX) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < timerY) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= timerY) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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) { if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; expSND.start(0, 1); } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; this.removeMovieClip(); } } }
Instance of Symbol 239 MovieClip "plane3" in Frame 16
onClipEvent (load) { expSND = new Sound(); expSND.attachSound("explosion.wav"); expStart = false; var health = 100; var speed = 0; var xSpeed = 0; var ySpeed = 0; var acc = 0.6; var maxSPD = 8; var shotCount = 1; var shotMax = 2; var refire = 0; var refireInterval = 30; swapDepths(110 + id); var SMKcounter = 0; var depthCounter = 0; var scaleCount = 0; var alphaCount = 0; smokeColor = new color(_root.enemyTrail); smokeColor.setRGB(16777215); trace(id); } onClipEvent (enterFrame) { if (!death) { _x = (_x + xSpeed); _y = (_y + ySpeed); theta = math.atan2(xSpeed * 0.017453, (-ySpeed) * 0.017453); _rotation = (theta / 0.017453); if ((_x < _root.player_mc._x) && (xSpeed < maxSPD)) { xSpeed = xSpeed + acc; } else if ((_x >= _root.player_mc._x) && (xSpeed > (-maxSPD))) { xSpeed = xSpeed - acc; } if ((_y < _root.player_mc._y) && (ySpeed < maxSPD)) { ySpeed = ySpeed + acc; } else if ((_y >= _root.player_mc._y) && (ySpeed > (-maxSPD))) { ySpeed = ySpeed - acc; } if (_root.player_mc.dying != true) { enemyDist = Math.sqrt(((_root.player_mc._x - this._x) * (_root.player_mc._x - this._x)) + ((_root.player_mc._y - this._y) * (_root.player_mc._y - this._y))); if ((enemyDist <= 25) && (this.death != true)) { _root.player_mc.health = 0; this.health = 0; } } refire++; if (refire >= refireInterval) { refire = 0; shotCount++; if (shotCount > shotMax) { shotCount = 1; } _root.enemyshot_mc.duplicateMovieClip((("enemyshot_mc" + ID) + "_") + shotCount, -((10 * ID) + shotCount)); with (_root[(("enemyshot_mc" + ID) + "_") + shotCount]) { tipX = 15 * math.sin((this.turret_mc._rotation * 0.017453) + (this._rotation * 0.017453)); tipY = 15 * 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 (dead != true) { if (SMKcounter <= 3) { SMKcounter++; } else { _root.enemyTrail.duplicateMovieClip(("enemyTrail" + depthCounter) + ID, depthCounter - 150); _root[("enemyTrail" + depthCounter) + ID]._x = _x; _root[("enemyTrail" + depthCounter) + ID]._y = _y; depthCounter++; if (depthCounter >= 10) { depthCounter = 0; } SMKcounter = 0; } if (health > 90) { smokeColor.setRGB(16777215); } else if ((health > 80) && (health <= 90)) { smokeColor.setRGB(15066597); } else if ((health > 70) && (health <= 80)) { smokeColor.setRGB(13421772); } else if ((health > 60) && (health <= 70)) { smokeColor.setRGB(11711154); } else if ((health > 50) && (health <= 60)) { smokeColor.setRGB(10066329); } else if ((health > 40) && (health <= 50)) { smokeColor.setRGB(8355711); } else if ((health > 30) && (health <= 40)) { smokeColor.setRGB(6710886); } else if ((health > 20) && (health <= 30)) { smokeColor.setRGB(5000268); } else if ((health > 10) && (health <= 20)) { smokeColor.setRGB(3355443); } else if (health <= 10) { smokeColor.setRGB(1644825); } _root.bossHealth.bossMeter._height = health / 2; } if (health <= 0) { health = 0; if (expStart != true) { expSND.start(0, 1); expStart = true; } death = true; _x = (_x + xspeed); _y = (_y + yspeed); _rotation = (_rotation + 8); swapDepths(-100 - id); if (scaleCount <= 100) { _xscale = (_xscale - 0.2); _yscale = (_yscale - 0.2); scaleCount++; } else if (alphaCount <= 50) { _xscale = (_xscale - 0.4); _yscale = (_yscale - 0.4); _alpha = (_alpha - 2); alphaCount++; } else { death = true; _root.bossHealth._visible = false; this.removeMovieClip(); if (dead != true) { _root.deathCount = _root.deathCount + 1; dead = true; } } } }
Frame 17
mouse.show(); stop();
Instance of Symbol 25 MovieClip in Frame 17
onClipEvent (load) { id = 1; } onClipEvent (enterFrame) { if (id <= 20) { _root["enemy_mc" + ID].removeMovieClip(); id++; } }
Symbol 17 MovieClip Frame 40
gotoAndPlay (1);
Symbol 36 Button
on (release) { getURL ("http://www.littlecitygames.com/", "_blank"); }
Symbol 41 Button
on (release) { trace(_root.codeBox); gotoAndPlay (6); }
Symbol 46 Button
on (release) { _global.newLevel = "level1"; _root.gotoAndPlay("instructions"); }
Symbol 51 Button
on (release) { if (_root.music != false) { _root.bgMusic.start(0, 999); _root.music = false; } else { _root.bgMusic.stop(); _root.music = true; } }
Symbol 54 Button
on (release) { getURL ("http://www.ugotgames.com/", "_blank"); }
Symbol 60 Button
on (release) { trace(_root.codeBox); if (((_root.codeBox == "yeager") || (_root.codeBox == "Yeager")) || (_root.codeBox == "YEAGER")) { _global.newLevel = "level1"; gotoAndPlay (6); } else if (((_root.codeBox == "pappy") || (_root.codeBox == "Pappy")) || (_root.codeBox == "PAPPY")) { _global.newLevel = "level2"; gotoAndPlay (6); } else if (((_root.codeBox == "butch") || (_root.codeBox == "Butch")) || (_root.codeBox == "BUTCH")) { _global.newLevel = "level3"; gotoAndPlay (6); } else if (((_root.codeBox == "foss") || (_root.codeBox == "Foss")) || (_root.codeBox == "FOSS")) { _global.newLevel = "level4"; gotoAndPlay (6); } else if (((_root.codeBox == "ike") || (_root.codeBox == "Ike")) || (_root.codeBox == "IKE")) { _global.newLevel = "level5"; gotoAndPlay (6); } else if (((_root.codeBox == "bud") || (_root.codeBox == "Bud")) || (_root.codeBox == "BUD")) { _global.newLevel = "level6"; gotoAndPlay (6); } else if (((_root.codeBox == "buzz") || (_root.codeBox == "Buzz")) || (_root.codeBox == "BUZZ")) { _global.newLevel = "level7"; gotoAndPlay (6); } else if (((_root.codeBox == "duncan") || (_root.codeBox == "Duncan")) || (_root.codeBox == "DUNCAN")) { _global.newLevel = "level8"; gotoAndPlay (6); } else if (((_root.codeBox == "blackburn") || (_root.codeBox == "Blackburn")) || (_root.codeBox == "BLACKBURN")) { _global.newLevel = "level9"; gotoAndPlay (6); } else if (((_root.codeBox == "tex") || (_root.codeBox == "Tex")) || (_root.codeBox == "TEX")) { _global.newLevel = "level10"; gotoAndPlay (6); } else { _global.newLevel = "level1"; _root.codeBox = "enter level name"; _root.resultBad = "Try Again"; } }
Symbol 69 Button
on (release) { _global.newLevel = "level1"; _root.gotoAndPlay("intro"); }
Symbol 121 MovieClip Frame 28
stop();
Symbol 122 MovieClip Frame 28
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 6
stop(); this.removeMovieClip();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 6
stop(); this.removeMovieClip();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
stop();
Instance of Symbol 148 MovieClip "bossMeter" in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) { }
Instance of Symbol 148 MovieClip "bossMeter2" in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) { }
Symbol 250 Button
on (release) { _global.newLevel = "level1"; _root.gotoAndPlay("intro"); }
Symbol 255 Button
on (release) { getURL ("http://www.ugotgames.com/", "_blank"); }

Library Items

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

Instance Names

"progBar"Frame 1Symbol 9 MovieClip
"cityOutline"Frame 1Symbol 11 MovieClip
"tailspin_mc"Frame 4Symbol 25 MovieClip
"extraLife"Frame 6Symbol 99 MovieClip
"planeMaker"Frame 7Symbol 105 MovieClip
"tracer"Frame 7Symbol 107 MovieClip
"trail"Frame 7Symbol 121 MovieClip
"enemyTrail"Frame 7Symbol 122 MovieClip
"shot_mc"Frame 7Symbol 128 MovieClip
"enemyShot_mc"Frame 7Symbol 130 MovieClip
"player_mc"Frame 7Symbol 132 MovieClip
"cannonHolder"Frame 7Symbol 134 MovieClip
"hitHolder"Frame 7Symbol 136 MovieClip
"plane2"Frame 7Symbol 138 MovieClip
"plane3"Frame 7Symbol 140 MovieClip
"plane1"Frame 7Symbol 142 MovieClip
"playerHealth"Frame 7Symbol 146 MovieClip
"bossHealth"Frame 7Symbol 150 MovieClip
"continue_mc"Frame 7Symbol 152 MovieClip
"restart_mc"Frame 7Symbol 155 MovieClip
"deathLevelMC"Frame 7Symbol 157 EditableText
"planeMaker"Frame 8Symbol 105 MovieClip
"plane1"Frame 8Symbol 162 MovieClip
"plane2"Frame 8Symbol 164 MovieClip
"plane3"Frame 8Symbol 166 MovieClip
"bossHealth"Frame 8Symbol 150 MovieClip
"planeMaker"Frame 9Symbol 105 MovieClip
"plane2"Frame 9Symbol 171 MovieClip
"plane1"Frame 9Symbol 173 MovieClip
"plane3"Frame 9Symbol 175 MovieClip
"bossHealth"Frame 9Symbol 150 MovieClip
"planeMaker"Frame 10Symbol 105 MovieClip
"plane1"Frame 10Symbol 180 MovieClip
"plane2"Frame 10Symbol 182 MovieClip
"plane3"Frame 10Symbol 184 MovieClip
"planeMaker"Frame 11Symbol 105 MovieClip
"enemyTrail2"Frame 11Symbol 122 MovieClip
"plane1"Frame 11Symbol 189 MovieClip
"plane2"Frame 11Symbol 191 MovieClip
"plane3"Frame 11Symbol 193 MovieClip
"plane4"Frame 11Symbol 193 MovieClip
"bossHealth2"Frame 11Symbol 194 MovieClip
"planeMaker"Frame 12Symbol 105 MovieClip
"plane1"Frame 12Symbol 199 MovieClip
"plane3"Frame 12Symbol 201 MovieClip
"plane2"Frame 12Symbol 203 MovieClip
"planeMaker"Frame 13Symbol 105 MovieClip
"plane1"Frame 13Symbol 208 MovieClip
"plane2"Frame 13Symbol 210 MovieClip
"plane3"Frame 13Symbol 212 MovieClip
"planeMaker"Frame 14Symbol 105 MovieClip
"plane1"Frame 14Symbol 217 MovieClip
"plane2"Frame 14Symbol 219 MovieClip
"plane3"Frame 14Symbol 221 MovieClip
"planeMaker"Frame 15Symbol 105 MovieClip
"plane1"Frame 15Symbol 226 MovieClip
"plane2"Frame 15Symbol 228 MovieClip
"plane3"Frame 15Symbol 230 MovieClip
"planeMaker"Frame 16Symbol 105 MovieClip
"plane1"Frame 16Symbol 235 MovieClip
"plane2"Frame 16Symbol 237 MovieClip
"plane3"Frame 16Symbol 239 MovieClip
"cityOutline"Symbol 19 MovieClip Frame 1Symbol 11 MovieClip
"bossMeter"Symbol 150 MovieClip Frame 1Symbol 148 MovieClip
"bossMeter2"Symbol 194 MovieClip Frame 1Symbol 148 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "theme.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "hit.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "explosion.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "crash.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "cannon.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "airplane.wav"

Labels

"loading"Frame 1
"intro"Frame 4
"instructions"Frame 5
"ready"Frame 6
"level1"Frame 7
"level2"Frame 8
"level3"Frame 9
"level4"Frame 10
"level5"Frame 11
"level6"Frame 12
"level7"Frame 13
"level8"Frame 14
"level9"Frame 15
"level10"Frame 16
"win"Frame 17
"flashLoad"Symbol 17 MovieClip Frame 1
"hit"Symbol 128 MovieClip Frame 2
"hit"Symbol 130 MovieClip Frame 2
"death"Symbol 132 MovieClip Frame 2

Dynamic Text Variables

codeBoxSymbol 56 EditableText"enter level name"
resultBadSymbol 61 EditableText""
livesSymbol 144 EditableText"3"
deathLevelSymbol 157 EditableText"Level Name: Levelxx"




http://swfchan.com/5/23475/info.shtml
Created: 26/5 -2019 04:47:05 Last modified: 26/5 -2019 04:47:05 Server time: 16/05 -2024 03:38:16