STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229458 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2574 · P5148 |
This is the info page for Flash #42258 |
Weapons |
This power up will change colors, from red to blue to green and back to red. Your default weapon color is red at level 1. Getting the same color power up as your current weapon will increase the level of your weapon. Getting a different color will only change the weapon type, but not the weapon level. |
Maximum Levels |
Your maximum weapon level is 2 on Mission 1, but will increase as you get further along. Receiving another weapon power-up at maximum level will unleash a super attack corresponding to the weapon type! |
Bombs |
Pressing the bomb key will launch a bomb, and pressing the bomb key a second time will detonate the bomb. This will also destroy any bullets it touches and will not hurt you. Maximum Bombs: 15 |
Missiles |
The homing missile will follow the target it is assigned to when launched. Changing the target after the missile has been launched will not affect its course. If the target enemy is destroyed before the missile hits, the missile will become a "dumb" missile. You have infinite number of missiles, but there is a delay between launches. The missile level will determine how many missiles will be launched simultaneously. Maximum Missile Level: 5 |
Protectors |
When equiped, this will help block enemy bullets. Certain lasers can not be stopped. If the protector takes too many hits, it will be destroyed. Getting another protector power-up will heal all protectors. If auto-rotate is engaged, the protector will spin freely around your ship. Otherwise, it will rotate in the opposite direction of your ship's movement. The protector has the ability to shoot backwards. |
Scoring |
You receive points by destroying enemies. The tougher the enemy, the more points you will get. Getting power-ups at maximum level will give you point bonuses. At the end of each level, you will receive points based on the number of bombs you have left, how fast you beat the level, and how much shield you have left. Playing the game on expert difficulty will award you more points than on beginner. |
Survival Mode |
Try to obtain the most amount of points without getting hit. One hit from a bullet or touching an enemy will kill you. The tougher the enemy, the more points you get for killing it. Expert difficulty will still award more points, but you still receive less power-ups. |
Loading Game: |
Sound MC |
Loop MC |
Play Highscore Version |
Play Highscore Version |
Yes |
No |
Score: |
Enter this password in the options menu to continue your game. |
Abort |
Bombs |
Time |
Total Score |
Shield |
Bonus |
Input Password |
Enter |
Cancel |
Resume |
Resume |
Abort Mission |
Abort Mission |
Controls |
Controls |
Back |
Skip |
Skip |
Game Complete |
Stay tuned to submit your score |
Programmed by: DBarbarian Graphics by: DBarbarian Design Ideas: DBarbarian Alek Schmidt Brenden Edwards Beta Testers: Alek Schmidt Brenden Edwards DBarbarian People at Flashkit Sound Effects: Flashkit Music: Levels: "Waves of the Ocean" - Veniogenesis "Through the Night"- Calpomatt "A Night in Leon Pop"- Lee I. Garnett "Znake" - Osnoff Bosses: "Dark Treat Loop" - DeeJay Cox Know "Masu No Netsu's Rogue Revenge" - Netsu "Mozone 3" - Eric Johnson |
Credits: "Proson1" - Prosonica Audio |
Survival Mode: "Not Important VII" - poWer |
Special Thanks to Squize for the Starfield Code |
A |
Controls: Click to change |
HomingMissiles (when equiped): |
Space |
Target: |
Cycle Formward |
Cycle Backmwards |
D |
S |
Laser (when equiped): |
C |
Space |
Primary Weapon: |
Bomb: |
Z |
Protector Auto-Rotate: (when equiped): |
Pause: |
P |
Movement: Arrows |
TIP: You can control more than one function with one key. |
ActionScript [AS1/AS2]
Frame 1_root.loop1 = new Sound(loop1); _root.loop1.attachSound("loop1"); _root.loop2 = new Sound(loop2); _root.loop2.attachSound("loop2"); _root.loop3 = new Sound(loop3); _root.loop3.attachSound("loop3"); _root.loop4 = new Sound(loop4); _root.loop4.attachSound("loop4"); _root.boss1loop = new Sound(boss1loop); _root.boss1loop.attachSound("boss1loop"); _root.boss2loop = new Sound(boss2loop); _root.boss2loop.attachSound("boss2loop"); _root.boss3loop = new Sound(boss3loop); _root.boss3loop.attachSound("boss3loop"); _root.survivalloop = new Sound(survivalloop); _root.survivalloop.attachSound("survivalloop"); _root.creditsloop = new Sound(creditsloop); _root.creditsloop.attachSound("creditsloop"); _root.healthpowersound = new Sound(healthpower); _root.healthpowersound.attachSound("healthpower"); _root.weaponpowersound = new Sound(weaponpower); _root.weaponpowersound.attachSound("weaponpower"); _root.missilepowersound = new Sound(missilepower); _root.missilepowersound.attachSound("missilepower"); _root.bombpowersound = new Sound(bombpower); _root.bombpowersound.attachSound("bombpower"); _root.protectorpowersound = new Sound(protectorpower); _root.protectorpowersound.attachSound("protectorpower"); _root.redsound = new Sound(red); _root.redsound.attachSound("red"); _root.bluesound = new Sound(blue); _root.bluesound.attachSound("blue"); _root.greensound = new Sound(green); _root.greensound.attachSound("green"); _root.mhexplosion = new Sound(mhexplode); _root.mhexplosion.attachSound("mhexplode"); _root.lasersound = new Sound(laser); _root.lasersound.attachSound("laser"); _root.bombexplodesound = new Sound(bombexplode); _root.bombexplodesound.attachSound("bombexplode"); _root.bombexplodesound.onSoundComplete = function () { _root.bombexplode = false; _root.bombfire = false; _root.bombsound = false; }; _root.enemyexplodesound = new Sound(enemyexplodesound); _root.enemyexplodesound.attachSound("enemyexplode"); _root.airblast = new Sound(airblast); _root.airblast.attachSound("airblast"); _root.boss1canonsound = new Sound(boss1canon); _root.boss1canonsound.attachSound("boss1canon"); _root.boss1electricsound = new Sound(boss1electric); _root.boss1electricsound.attachSound("boss1electric"); _root.boss2lasersound = new Sound(boss2laser); _root.boss2lasersound.attachSound("boss2laser"); _root.boss2lasersound2 = new Sound(boss2laser2); _root.boss2lasersound2.attachSound("boss2laser2"); _root.boss2big = new Sound(boss2big); _root.boss2big.attachSound("boss2big"); stop(); _quality = "high"; Stage.showMenu = false; Stage.scaleMode = "noScale"; _root.customcontrols = false; _root.reset = true; _root.levelnumber = 1; _root.playbtn._visible = false;Instance of Symbol 92 MovieClip in Frame 1onClipEvent (enterFrame) { loading = _parent.getBytesLoaded(); total = _parent.getBytesTotal(); percent = percent - ((percent - ((loading / total) * 100)) * 0.25); per = int(percent); percentage = per + "%"; loadBar._width = per; if (percent > 99) { _root.playbtn._visible = true; } }Frame 2function createStarField() { var depthOffset = 15; var i = depthOffset; var gutter = 0; var layer1PlayHead = 1; var layer2PlayHead = 9; var layer3PlayHead = 17; while (--i) { playField.attachMovie("stars", "starsLayer3" + i, _root.depth); _root.depth++; tellTarget (playField["starsLayer3" + i]) { _x = Math.floor(Math.random() * 700); _y = gutter; gotoAndPlay(layer3PlayHead); }; if ((++layer3PlayHead) == 23) { layer3PlayHead = 17; } gutter = gutter + 11; playField.attachMovie("stars", "starsLayer2" + i, _root.depth); _root.depth++; tellTarget (playField["starsLayer2" + i]) { _x = Math.floor(Math.random() * 700); _y = gutter; gotoAndPlay(layer2PlayHead); }; if ((++layer2PlayHead) == 16) { layer2PlayHead = 9; } gutter = gutter + 11; playField.attachMovie("stars", "starsLayer1" + i, _root.depth); _root.depth++; tellTarget (playField["starsLayer1" + i]) { _x = Math.floor(Math.random() * 700); _y = gutter; gotoAndPlay(layer1PlayHead); }; if ((++layer1PlayHead) == 8) { layer1PlayHead = 0; } gutter = gutter + 11; } _root.ship.swapDepths(31); } function init() { var t = this.createEmptyMovieClip("playField", _root.depth); _root.depth++; t._x = 0; t._y = 16; createStarField(); } _root.depth = 2; _root.gamestart = false; _root.gametimer = false; _root.youaredead = false; _root.time = 0; _root.totalscore = 0; _root.totalscore2 = 0; _root.shipshieldtotal = (_root.shipshield = 50); _root.sheight = getProperty(_root.ship.shiptype, _height); _root.swidth = getProperty(_root.ship.shiptype, _width); _root.bombfire = false; _root.numberofbombs = 3; _root.bombsound = false; _root.havelaser = false; _root.mhshotting = false; _root.targetenemy = 0; _root.targeted = true; _root.mhlevel = 0; _root.autorotate = false; _root.protectorlevel = 0; _root.protector1health = (_root.protector2health = 15); _root.weapontype = "red"; _root.weaponnumber = 1; _root.hitshipcounter = 0; _root.powerupspeed = -2; _root.explosionxsize = 53; _root.bulletspeed = 39; _root.interval = 5; _root.x20 = _root.bulletspeed * 0.939692620785908; _root.y20 = _root.bulletspeed * 0.342020143325669; _root.enemyfiretime = 20; _root.bluedepth = 10010; _root.sgreenfunction = false; _root.sgreentimer = 0; _root.health = 2; _root.e = 0; _root.enemyticker = -25; _root.enemy1speed = 12; _root.enemy1bulletspeed = 17; _root.boss1speed = 5; _root.e1w1pos = (_root.e2w1pos = (_root.e3w1pos = (_root.e4w1pos = (_root.e4w2pos = (_root.e5w1pos = (_root.e6w1pos = (_root.e7w1pos = (_root.boss3counter = 0)))))))); _root.boss3x = 600; _root.boss3y = 100; _root.boss3s = 5; _root.boss3turndelay = 5; _root.boss3totalhealth = (_root.boss3health = 299 * _root.health); _root.bossdeadspeed = -2.5; _root.loopvolume = 100; _root.fade = "in"; _root.paused = false; _root.globalmusiccontrol = "play"; _root.difficulty = "easy"; _root.gcompletetimer = 0; _root.mode = "mission"; _root.enemyarray = new Array(); _root.enemy1wave1 = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health); _root["enemy" + _root.e].enemytypevar = "enemy1"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 5); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 825; _root["enemy" + _root.e]._y = random(500); _root["enemy" + _root.e].enemyfiretime = random(20) + 30; _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health); _root["enemy" + _root.e].enemytypevar = "enemy1"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 5); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 900; _root["enemy" + _root.e]._y = random(500); _root["enemy" + _root.e].enemyfiretime = random(20) + 30; _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health); _root["enemy" + _root.e].enemytypevar = "enemy1"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 5); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 975; _root["enemy" + _root.e]._y = random(500); _root["enemy" + _root.e].enemyfiretime = random(20) + 30; }; _root.enemy2wave1 = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("enemy2"); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health * 1.33333333333333); _root["enemy" + _root.e].enemytypevar = "enemy2"; _root["enemy" + _root.e].healthbar._y = (_root["enemy" + _root.e].enemytype._height / 2) + 5; _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 750; _root["enemy" + _root.e]._y = random(400) + 50; _root["enemy" + _root.e].enemyfiretime = random(20) + 30; }; _root.enemy3wave1 = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("enemy3"); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health * 4); _root["enemy" + _root.e].enemytypevar = "enemy3"; _root["enemy" + _root.e].healthbar._y = (_root["enemy" + _root.e].enemytype._height / 2) + 5; _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 750; _root["enemy" + _root.e]._y = random(400) + 50; _root["enemy" + _root.e].enemyfiretime = random(20) + 30; }; _root.enemy4wave1 = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("enemy4"); _root["enemy" + _root.e].desty = random(400) + 50; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health * 6); _root["enemy" + _root.e].enemytypevar = "enemy4"; _root["enemy" + _root.e].healthbar._y = (_root["enemy" + _root.e].enemytype._height / 2) + 5; _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 750; _root["enemy" + _root.e].enemyfiretime = random(20) + 30; torb = random(2) + 1; if (torb == 1) { _root["enemy" + _root.e]._y = -50; } else if (torb == 2) { _root["enemy" + _root.e]._y = 550; } }; _root.enemy4wave2 = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("enemy4"); _root["enemy" + _root.e].e4arrive = true; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health * 6); _root["enemy" + _root.e].enemytypevar = "enemy4wave2"; _root["enemy" + _root.e].healthbar._y = (_root["enemy" + _root.e].enemytype._height / 2) + 5; _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e].e4arrive = true; _root["enemy" + _root.e]._x = 750; _root["enemy" + _root.e].enemyfiretime = random(20) + 30; }; _root.enemy5wave1 = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("enemy5"); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health * 5); _root["enemy" + _root.e].enemytypevar = "enemy5"; _root["enemy" + _root.e].healthbar._y = (_root["enemy" + _root.e].enemytype._height / 2) + 5; _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 750; _root["enemy" + _root.e]._y = random(400) + 50; _root["enemy" + _root.e].enemyfiretime = random(20) + 30; }; _root.enemy6wave1 = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("enemy6"); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health * 6); _root["enemy" + _root.e].enemytypevar = "enemy6"; _root["enemy" + _root.e].healthbar._y = (_root["enemy" + _root.e].enemytype._height / 2) + 5; _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 750; _root["enemy" + _root.e]._y = random(400) + 50; _root["enemy" + _root.e].enemyfiretime = random(20) + 30; }; _root.enemy7wave1 = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("enemy7"); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = _root.health * 9); _root["enemy" + _root.e].enemytypevar = "enemy7"; _root["enemy" + _root.e].healthbar._y = (_root["enemy" + _root.e].enemytype._height / 2) + 5; _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e]._x = 750; _root["enemy" + _root.e]._y = random(400) + 50; _root["enemy" + _root.e].enemyfiretime = random(20) + 30; }; _root.enemy1wavetimer = new Array(50, 150, 250, 380, 450, 520, 600, 730, 840, 900, 940, 980, 1050, 1130, 1210, 1260, 1300, 1350, 1440, 1500, 1600, 1770, 1980, 2050, 2160, 2290, 2460, 2640, 2670, 2800, 2830, 2880, 3090, 3160, 3290, 3460, 3500, 3580); _root.enemy2wavetimer = new Array(300, 320, 420, 460, 580, 650, 790, 870, 940, 1040, 1060, 1100, 1160, 1200, 1250, 1350, 1410, 1480, 1580, 1620, 1730, 1850, 1940, 1990, 2050, 2150, 2200, 2279, 2350, 2370, 2590, 2620, 2790, 2890, 2910, 3060, 3120, 3290, 3480, 3550); _root.enemy3wavetimer = new Array(1000, 1280, 1450, 1560, 1600, 1650, 1720, 1830, 1920, 2050, 2110, 2480, 2600, 2840, 2960, 3060, 3270, 3480); _root.enemy4wavetimer = new Array(2340, 2400, 2540, 2600, 2700, 2790, 2840, 2930, 3000, 3150, 3220, 3350, 3400, 3450); _root.enemy4wave2timer = new Array(2760, 2840, 2030, 3000, 3150, 3220, 3570); _root.enemy1wavetimer2 = new Array(100, 200, 300, 350, 450, 540, 600, 700, 800, 920, 1200, 1350, 1530, 1700, 1800, 1840, 1900, 2010, 2200, 2400, 2500, 2580, 2800, 2980, 3010, 3100, 3200, 3360, 3500, 3620); _root.enemy2wavetimer2 = new Array(50, 80, 170, 250, 350, 400, 570, 620, 660, 730, 780, 890, 950, 1300, 1380, 1430, 1600, 1690, 1760, 1900, 2050, 2100, 2231, 2340, 2500, 2600, 2730, 2850, 2930, 3100, 3150, 3200, 3260, 3400, 3480, 3530, 3560); _root.enemy3wavetimer2 = new Array(100, 500, 750, 850, 1000, 1200, 1600, 2120, 2450, 2520, 2600, 2860, 2920, 3250, 3350, 3320, 3450); _root.enemy4wavetimer2 = new Array(450, 1450, 1800, 2500, 2800); _root.enemy4wave2timer2 = new Array(900, 1100, 1350, 1650, 1900, 2000, 2300, 2900, 3120, 3200, 3350, 3500); _root.enemy5wave1timer2 = new Array(850, 1020, 1500, 1800, 2220, 2620, 3250, 3400, 3560); _root.enemy6wave1timer2 = new Array(1700, 1950, 2200, 2300, 2450, 2630, 2860, 3050, 3200, 3400, 3480, 3550); _root.enemy1wavetimer3 = new Array(100, 250, 500, 600, 750, 900, 1050, 1120, 1220, 1300, 1350, 1420, 1650, 1730, 1800, 1900, 2020, 2120, 2250, 2320, 2400, 2650, 2750, 2820, 2950, 3050, 3200, 3300, 3400, 3460, 3500, 3550); _root.enemy2wavetimer3 = new Array(20, 80, 200, 400, 550, 620, 810, 950, 1100, 1230, 1280, 1400, 1480, 1610, 1850, 2000, 2150, 2280, 2400, 2560, 2660, 2800, 2920, 3010, 3200, 3250, 3400, 3500); _root.enemy3wavetimer3 = new Array(60, 160, 360, 690, 830, 1300, 1650, 1820, 2000, 2150, 2350, 2590, 2700, 2820, 3000, 3180, 3250, 3300, 3450); _root.enemy4wavetimer3 = new Array(150, 350, 1200, 1620, 1820, 2300, 2830, 3460); _root.enemy4wave2timer3 = new Array(860, 1030, 1450, 2030, 2550, 3120, 3250, 3360, 3480); _root.enemy5wave1timer3 = new Array(510, 1120, 1380, 1680, 1950, 2200, 2460, 2600, 2750, 2990, 3150, 3300.342); _root.enemy6wave1timer3 = new Array(300, 790, 980, 1480, 1600, 1920, 2060, 2230, 2620, 2790, 2900, 3150, 3250, 3390, 3450); _root.enemy7wave1timer3 = new Array(1330, 1560, 1750, 2200, 2360, 2520, 2750, 2870, 3000, 3250, 3320, 3500); _root.enemy1wavetimer4 = new Array(20, 80, 160, 200, 260, 320, 420, 500, 560, 650, 730); _root.enemy2wavetimer4 = new Array(50, 100, 150, 200, 250, 300, 380, 440, 520, 580, 620, 700); _root.enemy3wavetimer4 = new Array(70, 180, 290, 400, 540, 670, 750); _root.enemy4wavetimer4 = new Array(30, 120, 160, 250, 380, 460, 600, 660); _root.enemy4wave2timer4 = new Array(80, 130, 290, 520); _root.enemy5wave1timer4 = new Array(10, 160, 290, 410, 590, 690); _root.enemy6wave1timer4 = new Array(40, 150, 260, 340, 490, 620, 710); _root.enemy7wave1timer4 = new Array(90, 210, 350, 430, 550, 600); _root.enemy1wavetimer5 = 25; _root.enemy2wavetimer5 = 200; _root.enemy3wavetimer5 = 400; _root.enemy4wavetimer5 = 600; _root.enemy4wave2timer5 = 800; _root.enemy5wave1timer5 = 1000; _root.enemy6wave1timer5 = 1200; _root.enemy7wave1timer5 = 1400; _root.enemy1delay = 25; _root.enemy2delay = 25; _root.enemy3delay = 50; _root.enemy4delay = 75; _root.enemy4delay2 = 75; _root.enemy5delay = 100; _root.enemy6delay = 125; _root.enemy7delay = 125; _root.boss1function = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 35); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("boss1"); _root["enemy" + _root.e]._x = 1400; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 250 * _root.health); _root["enemy" + _root.e].enemytypevar = "boss1"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 5); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root.boss1electric = (_root.boss1canon = -70); _root.boss1arrive = true; }; _root.boss2function = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 35); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("boss2"); _root["enemy" + _root.e]._x = 1200; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 300 * _root.health); _root["enemy" + _root.e].enemytypevar = "boss2"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 5); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root.boss2arrive = true; }; _root.boss3function = function () { _root.boss3xarray = new Array(600, 200, 500, 350, 600, 200, 50, 500, 600, 350, 600, 100, 600, 600, 300, 500, 100, 500, 200, 689, 100, 300, 475, 256, 600, 140, 458, 100, 280, 670, 500, 150); _root.boss3yarray = new Array(100, 450, 400, 200, 100, 450, 300, 450, 100, 200, 400, 100, 300, 360, 250, 168, 470, 100, 480, 186, 357, 100, 480, 355, 100, 50, 466, 266, 100, 236, 480, 300); _root.boss3sarray = new Array(15, 10, 10, 10, 5, 10, 15, 10, 14, 10, 15, 10, 8, 12, 5, 10, 5, 15, 10, 8, 6, 8, 15, 6, 10, 8, 5, 14, 8, 5, 13, 7); _root.boss3turndelayarray = new Array(5, 8, 5, 5, 5, 5, 10, 8, 6, 5, 10, 5, 10, 5, 6, 4, 10, 6, 7, 10, 5, 5, 10, 20, 7, 5, 8, 5, 5, 8, 10, 7); _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 35); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("boss3head"); _root["enemy" + _root.e]._x = 600; _root["enemy" + _root.e]._y = 1200; _root["enemy" + _root.e]._rotation = -90; _root.boss3totalhealth = (_root.boss3health = 450 * _root.health); _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 450 * _root.health); _root["enemy" + _root.e].enemytypevar = "boss3head"; _root["enemy" + _root.e].healthbar.gotoAndStop("blank"); _root["enemy" + _root.e].border.gotoAndStop("blank"); _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 36); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("boss3body"); _root["enemy" + _root.e]._x = (_root["enemy" + (_root.e - 1)]._x + _root["enemy" + (_root.e - 1)].enemytype._x) + _root["enemy" + (_root.e - 1)].enemytype.attachpoint._x; _root["enemy" + _root.e]._y = (_root["enemy" + (_root.e - 1)]._y + _root["enemy" + (_root.e - 1)].enemytype._y) + _root["enemy" + (_root.e - 1)].enemytype.attachpoint._y; _root["enemy" + _root.e]._rotation = -90; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 450 * _root.health); _root["enemy" + _root.e].enemytypevar = "boss3body"; _root["enemy" + _root.e].healthbar.gotoAndStop("blank"); _root["enemy" + _root.e].border.gotoAndStop("blank"); _root["enemy" + _root.e].boss3counter = 0; _root["enemy" + _root.e].fire = random(75) + 75; _root["enemy" + _root.e].swapDepths(_root["enemy" + (_root.e - 1)]); _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 37); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("boss3body"); _root["enemy" + _root.e]._x = (_root["enemy" + (_root.e - 1)]._x + _root["enemy" + (_root.e - 1)].enemytype._x) + _root["enemy" + (_root.e - 1)].enemytype.attachpoint._x; _root["enemy" + _root.e]._y = (_root["enemy" + (_root.e - 1)]._y + _root["enemy" + (_root.e - 1)].enemytype._y) + _root["enemy" + (_root.e - 1)].enemytype.attachpoint._y; _root["enemy" + _root.e]._rotation = -90; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 450 * _root.health); _root["enemy" + _root.e].enemytypevar = "boss3body"; _root["enemy" + _root.e].healthbar.gotoAndStop("blank"); _root["enemy" + _root.e].border.gotoAndStop("blank"); _root["enemy" + _root.e].boss3counter = 0; _root["enemy" + _root.e].fire = random(75) + 75; _root["enemy" + _root.e].swapDepths(_root["enemy" + (_root.e - 1)]); _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 38); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("boss3body"); _root["enemy" + _root.e]._x = (_root["enemy" + (_root.e - 1)]._x + _root["enemy" + (_root.e - 1)].enemytype._x) + _root["enemy" + (_root.e - 1)].enemytype.attachpoint._x; _root["enemy" + _root.e]._y = (_root["enemy" + (_root.e - 1)]._y + _root["enemy" + (_root.e - 1)].enemytype._y) + _root["enemy" + (_root.e - 1)].enemytype.attachpoint._y; _root["enemy" + _root.e]._rotation = -90; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 450 * _root.health); _root["enemy" + _root.e].enemytypevar = "boss3body"; _root["enemy" + _root.e].healthbar.gotoAndStop("blank"); _root["enemy" + _root.e].border.gotoAndStop("blank"); _root["enemy" + _root.e].boss3counter = 0; _root["enemy" + _root.e].fire = random(75) + 75; _root["enemy" + _root.e].swapDepths(_root["enemy" + (_root.e - 1)]); _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 39); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("boss3tail"); _root["enemy" + _root.e]._x = (_root["enemy" + (_root.e - 1)]._x + _root["enemy" + (_root.e - 1)].enemytype._x) + _root["enemy" + (_root.e - 1)].enemytype.attachpoint._x; _root["enemy" + _root.e]._y = (_root["enemy" + (_root.e - 1)]._y + _root["enemy" + (_root.e - 1)].enemytype._y) + _root["enemy" + (_root.e - 1)].enemytype.attachpoint._y; _root["enemy" + _root.e]._rotation = -90; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 450 * _root.health); _root["enemy" + _root.e].enemytypevar = "boss3tail"; _root["enemy" + _root.e].healthbar._rotation = -90; _root["enemy" + _root.e].healthbar._x = -110; _root["enemy" + _root.e].border._rotation = -90; _root["enemy" + _root.e].border._x = _root["enemy" + _root.e].healthbar._x; _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e].swapDepths(_root["enemy" + (_root.e - 1)]); }; _root.fbossfunction = function () { _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 39); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("fboss"); _root["enemy" + _root.e]._x = 1500; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 575 * _root.health); _root["enemy" + _root.e].enemytypevar = "fboss"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 10); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e].healthbar._x = (_root["enemy" + _root.e].border._x = _root["enemy" + _root.e].healthbar._x + 30); _root.fbossarrive = true; _root["enemy" + _root.e].fire = random(75) + 75; _root["enemy" + _root.e].fire2 = random(100) + 100; _root["enemy" + _root.e].guncounter = 0; _root["enemy" + _root.e].lasercounter = 0; _root.fbossrest = false; _root.fbossrestcounter = 0; _root.fbosswave = 0; _root.fbossrestcounter = 0; _root.fbossresttime = 300; _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 35); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("launcher"); _root["enemy" + _root.e]._x = (_root["enemy" + (_root.e - 1)]._x + _root["enemy" + (_root.e - 1)].enemytype._x) + _root["enemy" + (_root.e - 1)].enemytype.missile._x; _root["enemy" + _root.e]._y = (_root["enemy" + (_root.e - 1)]._y + _root["enemy" + (_root.e - 1)].enemytype._y) + _root["enemy" + (_root.e - 1)].enemytype.missile._y; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 200 * _root.health); _root["enemy" + _root.e].enemytypevar = "launcher1"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 5); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e].healthbar._x = (_root["enemy" + _root.e].border._x = _root["enemy" + _root.e].healthbar._x - 30); _root["enemy" + _root.e].enemytype._rotation = 70; _root["enemy" + _root.e].fire = random(200) + 150; _root["enemy" + _root.e].counter = 0; _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 36); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("launcher"); _root["enemy" + _root.e]._x = (_root["enemy" + (_root.e - 2)]._x + _root["enemy" + (_root.e - 2)].enemytype._x) + _root["enemy" + (_root.e - 2)].enemytype.missile2._x; _root["enemy" + _root.e]._y = (_root["enemy" + (_root.e - 2)]._y + _root["enemy" + (_root.e - 2)].enemytype._y) + _root["enemy" + (_root.e - 2)].enemytype.missile2._y; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 200 * _root.health); _root["enemy" + _root.e].enemytypevar = "launcher2"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 30); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e].healthbar._x = (_root["enemy" + _root.e].border._x = _root["enemy" + _root.e].healthbar._x - 10); _root["enemy" + _root.e]._yscale = -100; _root["enemy" + _root.e].fire = random(200) + 150; _root["enemy" + _root.e].counter = 0; _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 37); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("launcher"); _root["enemy" + _root.e]._x = (_root["enemy" + (_root.e - 3)]._x + _root["enemy" + (_root.e - 3)].enemytype._x) + _root["enemy" + (_root.e - 3)].enemytype.missile3._x; _root["enemy" + _root.e]._y = (_root["enemy" + (_root.e - 3)]._y + _root["enemy" + (_root.e - 3)].enemytype._y) + _root["enemy" + (_root.e - 3)].enemytype.missile3._y; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 200 * _root.health); _root["enemy" + _root.e].enemytypevar = "launcher3"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 30); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e].healthbar._x = (_root["enemy" + _root.e].border._x = _root["enemy" + _root.e].healthbar._x - 10); _root["enemy" + _root.e].fire = random(200) + 150; _root["enemy" + _root.e].counter = 0; _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, 38); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("launcher"); _root["enemy" + _root.e]._x = (_root["enemy" + (_root.e - 4)]._x + _root["enemy" + (_root.e - 4)].enemytype._x) + _root["enemy" + (_root.e - 4)].enemytype.missile4._x; _root["enemy" + _root.e]._y = (_root["enemy" + (_root.e - 4)]._y + _root["enemy" + (_root.e - 4)].enemytype._y) + _root["enemy" + (_root.e - 4)].enemytype.missile4._y; _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 200 * _root.health); _root["enemy" + _root.e].enemytypevar = "launcher4"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 5); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root["enemy" + _root.e].healthbar._x = (_root["enemy" + _root.e].border._x = _root["enemy" + _root.e].healthbar._x - 30); _root["enemy" + _root.e]._yscale = -100; _root["enemy" + _root.e].enemytype._rotation = 70; _root["enemy" + _root.e].fire = random(200) + 150; _root["enemy" + _root.e].counter = 0; }; _root.enemymove = function () { var ec = (_root.enemyarray.length - 1); while (ec >= 0) { if (_root.paused == false) { _root.enemyarray[ec].enemywidth = getProperty(_root.enemyarray[ec].enemytype, _width); if (_root.enemyarray[ec].hitTest(_root.ship.shipmc)) { _root.hitship = true; _root.checkhealth = true; _root.shieldfadein = true; _root.enemyarray[ec].gotoAndPlay("hit"); if (((_root.enemyarray[ec].enemytypevar == "boss3head") or (_root.enemyarray[ec].enemytypevar == "boss3body")) or (_root.enemyarray[ec].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 3; _root.shipshield = _root.shipshield - 2; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); } else { _root.shipshield = _root.shipshield - 6; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.enemyarray[ec].health = _root.enemyarray[ec].health - 6; } } if (_root.enemyarray[ec].hitTest(_root.ship.protector.sphere)) { _root.enemyarray[ec].gotoAndPlay("hit"); _root.enemyarray[ec].health = _root.enemyarray[ec].health - 1; _root.protector1health = _root.protector1health - 1; if ((_root.protector1health < 7) and (_root.protector1health > 2)) { _root.ship.protector.sphere.gotoAndStop("half"); } else if ((_root.protector1health <= 2) and (_root.protector1health >= 0)) { _root.ship.protector.sphere.gotoAndStop("critical"); } else if (_root.protector1health < 0) { trace("Protector1 Gone"); if (_root.protectorlevel > 2) { _root.protectorframe = _root.ship.protector2._currentframe - 19; if (_root.protectorframe < 3) { _root.protectorframe = 41 + _root.protectorframe; } _root.protectorlevel = 2; if (_root.autorotate == true) { _root.ship.protector.gotoAndPlay(_root.protectorframe); } else { _root.ship.protector.gotoAndStop(_root.protectorframe); } _root.protector1health = _root.protector2health; if ((_root.protector1health < 7) and (_root.protector1health > 2)) { _root.ship.protector.sphere.gotoAndStop("half"); } else if ((_root.protector1health <= 2) and (_root.protector1health >= 0)) { _root.ship.protector.sphere.gotoAndStop("critical"); } } else { _root.protectorlevel = 0; } _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0); duplicateMovieClip (_root.shipexplosion, "shipexplosion" + _root.depth, _root.depth); _root["shipexplosion" + _root.depth]._x = (_root.ship._x + _root.ship.protector._x) + _root.ship.protector.sphere._x; _root["shipexplosion" + _root.depth]._y = (_root.ship._y + _root.ship.protector._y) + _root.ship.protector.sphere._y; _root["shipexplosion" + _root.depth]._xscale = (_root["shipexplosion" + _root.depth]._yscale = 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } } if (_root.enemyarray[ec].hitTest(_root.ship.protector2.sphere)) { _root.protector2health = _root.protector2health - 1; _root.enemyarray[ec].gotoAndPlay("hit"); _root.enemyarray[ec].health = _root.enemyarray[ec].health - 1; if ((_root.protector2health < 7) and (_root.protector2health > 2)) { _root.ship.protector2.sphere.gotoAndStop("half"); } else if ((_root.protector2health <= 2) and (_root.protector2health >= 0)) { _root.ship.protector2.sphere.gotoAndStop("critical"); } else if (_root.protector2health < 0) { trace("Protector2 Gone"); _root.protectorlevel = 2; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0); duplicateMovieClip (_root.shipexplosion, "shipexplosion" + _root.depth, _root.depth); _root["shipexplosion" + _root.depth]._x = (_root.ship._x + _root.ship.protector2._x) + _root.ship.protector2.sphere._x; _root["shipexplosion" + _root.depth]._y = (_root.ship._y + _root.ship.protector2._y) + _root.ship.protector2.sphere._y; _root["shipexplosion" + _root.depth]._xscale = (_root["shipexplosion" + _root.depth]._yscale = 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } } _root.enemyarray[ec].healthbar._xscale = (_root.enemyarray[ec].health / _root.enemyarray[ec].totalhealth) * 100; if (((_root.enemyarray[ec].enemytypevar == "boss3head") or (_root.enemyarray[ec].enemytypevar == "boss3body")) or (_root.enemyarray[ec].enemytypevar == "boss3tail")) { _root.enemyarray[_root.enemyarray.length - 1].healthbar._xscale = (_root.boss3health / _root.boss3totalhealth) * 100; } if ((_root.enemyarray[ec].health <= 0) or (_root.boss3health <= 0)) { if (_root.mode == "mission") { if (_root.difficulty == "easy") { _root.totalscore = _root.totalscore + int(Number((_root.enemyarray[ec].totalhealth / _root.health) * 3)); } else if (_root.difficulty == "expert") { _root.totalscore = _root.totalscore + int(Number((_root.enemyarray[ec].totalhealth / _root.health) * 5)); } _root.status.score = int(_root.totalscore); } else if (_root.mode == "survival") { if (_root.difficulty == "easy") { _root.totalscore2 = _root.totalscore2 + int(Number((_root.enemyarray[ec].totalhealth / _root.health) * 3)); } else if (_root.difficulty == "expert") { _root.totalscore2 = _root.totalscore2 + int(Number((_root.enemyarray[ec].totalhealth / _root.health) * 5)); } _root.status.score = int(_root.totalscore2); } if (_root.enemiesdestroyed < _root.enemiesrequired) { _root.enemiesdestroyed++; } else { _root.enemiesdestroyed = 0; if (_root.mode == "mission") { if (_root.levelnumber < 3) { tocreateornot = random(4) + 1; } else { tocreateornot = random(5) + 1; } if (tocreateornot == 1) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.weaponpowerupfunction(); } if (tocreateornot == 2) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.missilepowerupfunction(); } if (tocreateornot == 3) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.bombpowerupfunction(); } if (tocreateornot == 4) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.minihealthpowerupfunction(); } if (tocreateornot == 5) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.protectorpowerupfunction(); } } else { tocreateornot = random(4) + 1; if (tocreateornot == 1) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.weaponpowerupfunction(); } if (tocreateornot == 2) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.missilepowerupfunction(); } if (tocreateornot == 3) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.bombpowerupfunction(); } if (tocreateornot == 4) { _root.assignx = _root.enemyarray[ec]._x; _root.assigny = _root.enemyarray[ec]._y; _root.protectorpowerupfunction(); } } } _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0); duplicateMovieClip (_root.shipexplosion, "shipexplosion" + _root.depth, _root.depth); _root["shipexplosion" + _root.depth]._x = _root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x; _root["shipexplosion" + _root.depth]._y = _root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y; _root["shipexplosion" + _root.depth]._xscale = 100 * (_root.enemyarray[ec].enemywidth / _root.explosionxsize); _root["shipexplosion" + _root.depth]._yscale = _root["shipexplosion" + _root.depth]._xscale; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } if (((_root.enemyarray[ec].enemytypevar == "boss1") or (_root.enemyarray[ec].enemytypevar == "boss2")) or (_root.enemyarray[ec].enemytypevar == "boss3head")) { _root.display.gotoAndPlay("missioncomplete"); _root.gametimer = false; _root.bosskilled = true; } else if (_root.enemyarray[ec].enemytypevar == "fboss") { i = _root.enemyarray.length; while (i >= 0) { _root.enemyarray[i].health = 0; i--; } _root.enemyarray[ec].enemytype.explode.gotoAndPlay("explode"); _root.fbossrest = false; _root.fbossrestcounter = 0; _root.fbosswave = 0; _root.gametimer = false; _root.bosskilled = true; _root.enemyarray.splice(ec, 1); _root.fade = "out"; } if (_root.enemyarray[ec].enemytypevar != "fboss") { _root.enemyarray[ec].removeMovieClip(); _root.enemyarray.splice(ec, 1); } } if ((((_root.enemyarray[ec]._x < (-5 - _root.enemyarray[ec]._width)) and (_root.enemyarray[ec].enemytypevar != "boss3head")) and (_root.enemyarray[ec].enemytypevar != "boss3body")) and (_root.enemyarray[ec].enemytypevar != "boss3tail")) { _root.enemyarray[ec].removeMovieClip(); _root.enemyarray.splice(ec, 1); } if (_root.enemyarray[ec].enemytypevar == "boss1") { if (_root.boss1electric < 95) { _root.boss1electric++; } _root.boss1canon++; if (_root.boss1electric == 75) { _root.boss1electricsound.stop; _root.boss1electricsound.start(0, 0); _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun._y; _root["enemybullet" + _root.depth].gotoAndStop("boss1electric"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss1electric"; _root["enemybullet" + _root.depth].diffx = _root["enemybullet" + _root.depth]._x - (_root.ship._x + _root.ship.shipmc._x); _root["enemybullet" + _root.depth].diffy = _root["enemybullet" + _root.depth]._y - (_root.ship._y + _root.ship.shipmc._y); _root["enemybullet" + _root.depth].angle = Math.atan2(_root["enemybullet" + _root.depth].diffy, _root["enemybullet" + _root.depth].diffx); _root["enemybullet" + _root.depth].xvalue = -20 * Math.cos(_root["enemybullet" + _root.depth].angle); _root["enemybullet" + _root.depth].yvalue = -20 * Math.sin(_root["enemybullet" + _root.depth].angle); _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } if (_root.boss1electric == 85) { _root.boss1electricsound.stop; _root.boss1electricsound.start(0, 0); _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun2._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun2._y; _root["enemybullet" + _root.depth].gotoAndStop("boss1electric"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss1electric"; _root["enemybullet" + _root.depth].diffx = _root["enemybullet" + _root.depth]._x - (_root.ship._x + _root.ship.shipmc._x); _root["enemybullet" + _root.depth].diffy = _root["enemybullet" + _root.depth]._y - (_root.ship._y + _root.ship.shipmc._y); _root["enemybullet" + _root.depth].angle = Math.atan2(_root["enemybullet" + _root.depth].diffy, _root["enemybullet" + _root.depth].diffx); _root["enemybullet" + _root.depth].xvalue = -20 * Math.cos(_root["enemybullet" + _root.depth].angle); _root["enemybullet" + _root.depth].yvalue = -20 * Math.sin(_root["enemybullet" + _root.depth].angle); _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } if (_root.boss1electric == 95) { _root.boss1electric = 0; _root.boss1electricsound.stop; _root.boss1electricsound.start(0, 0); _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun3._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun3._y; _root["enemybullet" + _root.depth].gotoAndStop("boss1electric"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss1electric"; _root["enemybullet" + _root.depth].diffx = _root["enemybullet" + _root.depth]._x - (_root.ship._x + _root.ship.shipmc._x); _root["enemybullet" + _root.depth].diffy = _root["enemybullet" + _root.depth]._y - (_root.ship._y + _root.ship.shipmc._y); _root["enemybullet" + _root.depth].angle = Math.atan2(_root["enemybullet" + _root.depth].diffy, _root["enemybullet" + _root.depth].diffx); _root["enemybullet" + _root.depth].xvalue = -20 * Math.cos(_root["enemybullet" + _root.depth].angle); _root["enemybullet" + _root.depth].yvalue = -20 * Math.sin(_root["enemybullet" + _root.depth].angle); _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } if ((Math.abs((_root.ship._y + _root.ship.shipmc._y) - _root.enemyarray[ec]._y) < 100) and (_root.boss1canon > 60)) { _root.boss1canon = 0; _root.boss1canonsound.start(0, 0); _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.canon._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.canon._y; _root["enemybullet" + _root.depth].gotoAndStop("boss1canon"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss1canon"; _root["enemybullet" + _root.depth].xvalue = -17; _root["enemybullet" + _root.depth].yvalue = 0; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } } else if ((_root.enemyarray[ec].enemytypevar == "boss2") and (_root.bossready == true)) { _root.boss2laser++; _root.boss2gun++; if (_root.boss2laser == 210) { _root.boss2big.start(0, 0); _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.biggun1._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.biggun1._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2big"; _root["enemybullet" + _root.depth].gotoAndStop("boss2big"); _root["enemybullet" + _root.depth].xvalue = 2 * (-_root.enemy1bulletspeed); _root["enemybullet" + _root.depth].yvalue = 0; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.biggun2._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.biggun2._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2big"; _root["enemybullet" + _root.depth].gotoAndStop("boss2big"); _root["enemybullet" + _root.depth].xvalue = 2 * (-_root.enemy1bulletspeed); _root["enemybullet" + _root.depth].yvalue = 0; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.boss2laser = 0; } if (_root.boss2gun == 75) { _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun1._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun1._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = 0; _root["enemybullet" + _root.depth].yvalue = 0.8 * (-_root.enemy1bulletspeed); _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun2._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun2._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = (0.8 * _root.enemy1bulletspeed) * 0.866025403784439; _root["enemybullet" + _root.depth].yvalue = (0.8 * (-_root.enemy1bulletspeed)) * 0.5; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun3._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun3._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = (0.8 * _root.enemy1bulletspeed) * 0.5; _root["enemybullet" + _root.depth].yvalue = (0.8 * (-_root.enemy1bulletspeed)) * 0.866025403784439; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun4._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun4._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = 0.8 * _root.enemy1bulletspeed; _root["enemybullet" + _root.depth].yvalue = 0; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun5._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun5._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = (0.8 * _root.enemy1bulletspeed) * 0.866025403784439; _root["enemybullet" + _root.depth].yvalue = (0.8 * _root.enemy1bulletspeed) * 0.5; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun6._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun6._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = (0.8 * _root.enemy1bulletspeed) * 0.5; _root["enemybullet" + _root.depth].yvalue = (0.8 * _root.enemy1bulletspeed) * 0.866025403784439; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun7._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun7._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = 0; _root["enemybullet" + _root.depth].yvalue = 0.8 * _root.enemy1bulletspeed; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun8._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun8._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = (0.8 * (-_root.enemy1bulletspeed)) * 0.5; _root["enemybullet" + _root.depth].yvalue = (0.8 * _root.enemy1bulletspeed) * 0.866025403784439; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun9._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun9._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = (0.8 * (-_root.enemy1bulletspeed)) * 0.866025403784439; _root["enemybullet" + _root.depth].yvalue = (0.8 * _root.enemy1bulletspeed) * 0.5; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun10._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun10._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = 0.8 * (-_root.enemy1bulletspeed); _root["enemybullet" + _root.depth].yvalue = 0; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun11._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun11._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = (0.8 * (-_root.enemy1bulletspeed)) * 0.866025403784439; _root["enemybullet" + _root.depth].yvalue = (0.8 * (-_root.enemy1bulletspeed)) * 0.5; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun12._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun12._y; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2gun"; _root["enemybullet" + _root.depth].xvalue = (0.8 * (-_root.enemy1bulletspeed)) * 0.5; _root["enemybullet" + _root.depth].yvalue = (0.8 * (-_root.enemy1bulletspeed)) * 0.866025403784439; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.boss2gun = 0; } if (_root.boss2laser == 200) { _root.boss2stoplaser = true; } else if (_root.boss2laser == 60) { _root.boss2lasersound.start(0, 0); _root.enemyarray[ec].enemytype.lasercharge.gotoAndPlay(2); } else if (_root.boss2laser == 100) { _root.boss2lasersound.stop(); _root.boss2lasersound2.start(0, 0); _root.enemyarray[ec].enemytype.lasercharge.gotoAndStop(1); _root.boss2stoplaser = false; _root.boss2firelaser = true; _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.lasergun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.lasergun._y; _root["enemybullet" + _root.depth].gotoAndStop("boss2laser"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2laser1"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.lasergun2._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.lasergun2._y; _root["enemybullet" + _root.depth].gotoAndStop("boss2laser"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss2laser2"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } } else if (_root.enemyarray[ec].enemytypevar == "boss3body") { _root.enemyarray[ec].boss3counter++; if (_root.enemyarray[ec].boss3counter == _root.enemyarray[ec].fire) { _root.enemyarray[ec].fire = random(100) + 100; _root.enemyarray[ec].enemytype.hatch.gotoAndPlay("open"); _root.enemyarray[ec].boss3counter = 0; } } else if (_root.enemyarray[ec].enemytypevar == "fboss") { if (_root.fbossrest == false) { _root.enemyarray[ec].guncounter++; _root.enemyarray[ec].lasercounter++; if (_root.enemyarray[ec].guncounter == _root.enemyarray[ec].fire) { _root.enemyarray[ec].fire = random(75) + 50; _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun._y; _root["enemybullet" + _root.depth].starty = _root["enemybullet" + _root.depth]._y; _root["enemybullet" + _root.depth].desty = _root["enemybullet" + _root.depth].starty + 50; _root["enemybullet" + _root.depth].xvalue = -_root.enemy1bulletspeed; _root["enemybullet" + _root.depth].gotoAndStop("fbossgun"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "fbossgun"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemyarray[ec].guncounter = 0; } if (_root.enemyarray[ec].lasercounter == _root.enemyarray[ec].fire2) { _root.boss2lasersound.stop(); _root.boss2lasersound.start(0, 0); _root.enemyarray[ec].enemytype.charge.gotoAndPlay("charge"); _root.enemyarray[ec].fire2 = random(100) + 100; _root.enemyarray[ec].lasercounter = 0; } } } else if ((((_root.enemyarray[ec].enemytypevar == "launcher1") or (_root.enemyarray[ec].enemytypevar == "launcher2")) or (_root.enemyarray[ec].enemytypevar == "launcher3")) or (_root.enemyarray[ec].enemytypevar == "launcher4")) { _root.enemyarray[ec].counter++; if (_root.enemyarray[ec].counter == _root.enemyarray[ec].fire) { _root.enemyarray[ec].fire = random(200) + 150; _root.e++; _root.enemy.duplicateMovieClip("enemy" + _root.e, _root.depth); _root.enemyarray[_root.enemyarray.length] = _root["enemy" + _root.e]; _root["enemy" + _root.e].enemytype.gotoAndStop("rocket"); _root["enemy" + _root.e]._x = _root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x; _root["enemy" + _root.e]._y = _root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y; _root["enemy" + _root.e].megahomingturndelay = 3; _root["enemy" + _root.e].deploy = true; _root["enemy" + _root.e].deploycounter = 0; _root["enemy" + _root.e].speedx = 8; _root["enemy" + _root.e].speedy = 8; if (_root.enemyarray[ec].enemytypevar == "launcher1") { _root["enemy" + _root.e].angle = -2.79252680319093; } else if (_root.enemyarray[ec].enemytypevar == "launcher2") { _root["enemy" + _root.e].angle = -2.44346095279206; _root["enemy" + _root.e]._x = _root["enemy" + _root.e]._x + 10; } else if (_root.enemyarray[ec].enemytypevar == "launcher3") { _root["enemy" + _root.e].angle = 2.0943951023932; _root["enemy" + _root.e]._x = _root["enemy" + _root.e]._x + 5; } else if (_root.enemyarray[ec].enemytypevar == "launcher4") { _root["enemy" + _root.e].angle = 2.79252680319093; } if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root["enemy" + _root.e].totalhealth = (_root["enemy" + _root.e].health = 3 * _root.health); _root["enemy" + _root.e].enemytypevar = "rocket"; _root["enemy" + _root.e].healthbar._y = int((_root["enemy" + _root.e].enemytype._height / 2) + 5); _root["enemy" + _root.e].border._y = _root["enemy" + _root.e].healthbar._y; _root.enemyarray[ec].counter = 0; } } _root.enemyarray[ec].enemyfiretimer++; if (_root.enemyarray[ec].enemyfiretimer == _root.enemyarray[ec].enemyfiretime) { _root.enemyarray[ec].enemyfiretime = random(25) + 30; _root.enemyarray[ec].enemyfiretimer = 0; if ((_root.enemyarray[ec].enemytypevar == "enemy1") or (_root.enemyarray[ec].enemytypevar == "enemy4")) { _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun._y; _root["enemybullet" + _root.depth].xvalue = -_root.enemy1bulletspeed; _root["enemybullet" + _root.depth].yvalue = 0; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "shot1"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } else if (_root.enemyarray[ec].enemytypevar == "enemy2") { _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun._y; _root["enemybullet" + _root.depth].xvalue = -_root.enemy1bulletspeed; _root["enemybullet" + _root.depth].yvalue = 0; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "shot1"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun2._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun2._y; _root["enemybullet" + _root.depth].xvalue = -_root.enemy1bulletspeed; _root["enemybullet" + _root.depth].yvalue = 0; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "shot1"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } else if (_root.enemyarray[ec].enemytypevar == "enemy3") { _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun._y; _root["enemybullet" + _root.depth].xvalue = (-_root.enemy1bulletspeed) * 0.965925826289068; _root["enemybullet" + _root.depth].yvalue = (-_root.enemy1bulletspeed) * 0.258819045102521; _root["enemybullet" + _root.depth].enemyshottype = "shot1"; _root["enemybullet" + _root.depth].shottype = "enemy"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun2._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun2._y; _root["enemybullet" + _root.depth].xvalue = -_root.enemy1bulletspeed; _root["enemybullet" + _root.depth].yvalue = 0; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "shot1"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun3._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun3._y; _root["enemybullet" + _root.depth].xvalue = (-_root.enemy1bulletspeed) * 0.965925826289068; _root["enemybullet" + _root.depth].yvalue = _root.enemy1bulletspeed * 0.258819045102521; _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "shot1"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } else if (_root.enemyarray[ec].enemytypevar == "enemy6") { _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun._y; _root["enemybullet" + _root.depth].gotoAndStop("enemymissile"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "enemymissilet"; _root["enemybullet" + _root.depth].diffx = _root["enemybullet" + _root.depth]._x - (_root.ship._x + _root.ship.shipmc._x); _root["enemybullet" + _root.depth].diffy = (_root["enemybullet" + _root.depth]._y - (_root.ship._y + _root.ship.shipmc._y)) - 15; _root["enemybullet" + _root.depth].angle = Math.atan2(_root["enemybullet" + _root.depth].diffy, _root["enemybullet" + _root.depth].diffx); _root["enemybullet" + _root.depth].angle2 = _root["enemybullet" + _root.depth].angle * 57.2957795130823; _root["enemybullet" + _root.depth].deployrate = 10; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun2._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun2._y; _root["enemybullet" + _root.depth].gotoAndStop("enemymissile"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "enemymissileb"; _root["enemybullet" + _root.depth].diffx = _root["enemybullet" + _root.depth]._x - (_root.ship._x + _root.ship.shipmc._x); _root["enemybullet" + _root.depth].diffy = (_root["enemybullet" + _root.depth]._y - (_root.ship._y + _root.ship.shipmc._y)) + 15; _root["enemybullet" + _root.depth].angle = Math.atan2(_root["enemybullet" + _root.depth].diffy, _root["enemybullet" + _root.depth].diffx); _root["enemybullet" + _root.depth].angle2 = _root["enemybullet" + _root.depth].angle * 57.2957795130823; _root["enemybullet" + _root.depth].deployrate = 10; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } else if (_root.enemyarray[ec].enemytypevar == "enemy7") { _root.boss1electricsound.stop; _root.boss1electricsound.start(0, 0); _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun._y; _root["enemybullet" + _root.depth].gotoAndStop("enemy7"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "enemy7"; _root["enemybullet" + _root.depth].diffx = _root["enemybullet" + _root.depth]._x - (_root.ship._x + _root.ship.shipmc._x); _root["enemybullet" + _root.depth].diffy = _root["enemybullet" + _root.depth]._y - (_root.ship._y + _root.ship.shipmc._y); _root["enemybullet" + _root.depth].angle = Math.atan2(_root["enemybullet" + _root.depth].diffy, _root["enemybullet" + _root.depth].diffx); _root["enemybullet" + _root.depth].xvalue = -20 * Math.cos(_root["enemybullet" + _root.depth].angle); _root["enemybullet" + _root.depth].yvalue = -20 * Math.sin(_root["enemybullet" + _root.depth].angle); _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } } if (_root.enemyarray[ec].enemytypevar == "enemy5") { if (_root.enemyarray[ec].enemy5fire < 2) { _root.enemyarray[ec].enemy5fire++; } else { _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth]._x = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.gun._x; _root["enemybullet" + _root.depth]._y = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.gun._y; _root["enemybullet" + _root.depth].xvalue = _root.enemy1bulletspeed * Math.cos(_root.enemyarray[ec].enemytype._rotation * (Math.PI/180)); _root["enemybullet" + _root.depth].yvalue = _root.enemy1bulletspeed * Math.sin(_root.enemyarray[ec].enemytype._rotation * (Math.PI/180)); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "shot1"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.enemyarray[ec].enemy5fire = 0; } } } ec--; } }; _root.enemymove2 = function () { var ec = (_root.enemyarray.length - 1); while (ec >= 0) { if (_root.enemyarray[ec].enemytypevar == "boss1") { if ((_root.enemyarray[ec]._x == _root.enemyarray[ec].destx) and (_root.enemyarray[ec]._y == _root.enemyarray[ec].desty)) { _root.boss1arrive = true; } if (_root.boss1arrive == true) { _root.enemyarray[ec].destx = random(300) + 300; _root.enemyarray[ec].desty = random(300) + 100; _root.boss1arrive = false; } if (Math.abs(_root.enemyarray[ec].destx - _root.enemyarray[ec]._x) > _root.boss1speed) { if (_root.enemyarray[ec]._x < _root.enemyarray[ec].destx) { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x + _root.boss1speed; } else { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - _root.boss1speed; } } else { _root.enemyarray[ec]._x = _root.enemyarray[ec].destx; } if (Math.abs(_root.enemyarray[ec].desty - _root.enemyarray[ec]._y) > _root.boss1speed) { if (_root.enemyarray[ec]._y < _root.enemyarray[ec].desty) { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + _root.boss1speed; } else { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y - _root.boss1speed; } } else { _root.enemyarray[ec]._y = _root.enemyarray[ec].desty; } } else if (_root.enemyarray[ec].enemytypevar == "boss2") { if (_root.enemyarray[ec]._x < 700) { _root.bossready = true; } if ((_root.enemyarray[ec]._x == _root.enemyarray[ec].destx) and (_root.enemyarray[ec]._y == _root.enemyarray[ec].desty)) { _root.boss2arrive = true; } if (_root.boss2arrive == true) { _root.enemyarray[ec].destx = random(300) + 300; _root.enemyarray[ec].desty = random(300) + 100; _root.boss2arrive = false; } if (Math.abs(_root.enemyarray[ec].destx - _root.enemyarray[ec]._x) > (0.6 * _root.boss1speed)) { if (_root.enemyarray[ec]._x < _root.enemyarray[ec].destx) { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x + (0.6 * _root.boss1speed); } else { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - (0.6 * _root.boss1speed); } } else { _root.enemyarray[ec]._x = _root.enemyarray[ec].destx; } if (Math.abs(_root.enemyarray[ec].desty - _root.enemyarray[ec]._y) > (0.6 * _root.boss1speed)) { if (_root.enemyarray[ec]._y < _root.enemyarray[ec].desty) { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + (0.6 * _root.boss1speed); } else { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y - (0.6 * _root.boss1speed); } } else { _root.enemyarray[ec]._y = _root.enemyarray[ec].desty; } } else if (_root.enemyarray[ec].enemytypevar == "boss3head") { _root.enemyarray[ec].diffx = int(_root.boss3x - _root.enemyarray[ec]._x); _root.enemyarray[ec].diffy = int(_root.boss3y - _root.enemyarray[ec]._y); if ((_root.enemyarray[ec].diffx > 0) && (_root.enemyarray[ec].diffy > 0)) { _root.enemyarray[ec].quad = Number(4); } if ((_root.enemyarray[ec].diffx < 0) && (_root.enemyarray[ec].diffy > 0)) { _root.enemyarray[ec].quad = Number(1); } if ((_root.enemyarray[ec].diffx < 0) && (_root.enemyarray[ec].diffy < 0)) { _root.enemyarray[ec].quad = Number(2); } if ((_root.enemyarray[ec].diffx > 0) && (_root.enemyarray[ec].diffy < 0)) { _root.enemyarray[ec].quad = Number(3); } _root.enemyarray[ec].abs_x = Math.abs(_root.enemyarray[ec].diffx); _root.enemyarray[ec].abs_y = Math.abs(_root.enemyarray[ec].diffy); _root.enemyarray[ec].tg = _root.enemyarray[ec].abs_y / _root.enemyarray[ec].abs_x; _root.enemyarray[ec].maths = (Math.atan(_root.enemyarray[ec].tg) * Number(180)) / Math.PI; _root.enemyarray[ec].distance = Math.sqrt(((_root.enemyarray[ec]._x - _root.boss3x) ^ (2 + (_root.enemyarray[ec]._y - _root.boss3y))) ^ 2); if (_root.enemyarray[ec].quad == 1) { _root.enemyarray[ec].angle = Number(180) - Number(_root.enemyarray[ec].maths); } if (_root.enemyarray[ec].quad == 2) { _root.enemyarray[ec].angle = Number(180) + Number(_root.enemyarray[ec].maths); } if (_root.enemyarray[ec].quad == 3) { _root.enemyarray[ec].angle = Number(360) - Number(_root.enemyarray[ec].maths); } if (_root.enemyarray[ec].quad == 4) { _root.enemyarray[ec].angle = Number(_root.enemyarray[ec].maths); } if (_root.enemyarray[ec].angle <= 180) { if ((_root.enemyarray[ec]._rotation + 180) >= _root.enemyarray[ec].angle) { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation + ((_root.enemyarray[ec].angle - _root.enemyarray[ec]._rotation) / _root.boss3turndelay); } else if (_root.enemyarray[ec].angle >= _root.enemyarray[ec]._rotation) { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation + ((_root.enemyarray[ec].angle - _root.enemyarray[ec]._rotation) / _root.boss3turndelay); } else { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation - ((_root.enemyarray[ec]._rotation - _root.enemyarray[ec].angle) / _root.boss3turndelay); } } else if (_root.enemyarray[ec].angle > 180) { if ((_root.enemyarray[ec].angle - 180) < _root.enemyarray[ec]._rotation) { if (_root.enemyarray[ec]._rotation < _root.enemyarray[ec].angle) { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation + ((_root.enemyarray[ec].angle - _root.enemyarray[ec]._rotation) / _root.boss3turndelay); } else { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation - ((_root.enemyarray[ec]._rotation - _root.enemyarray[ec].angle) / _root.boss3turndelay); } } else { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation - ((360 - (_root.enemyarray[ec].angle - _root.enemyarray[ec]._rotation)) / _root.boss3turndelay); } } _root.enemyarray[ec].xmove = _root.boss3s * Math.cos((Math.PI/180) * _root.enemyarray[ec]._rotation); _root.enemyarray[ec].ymove = _root.boss3s * Math.sin((Math.PI/180) * _root.enemyarray[ec]._rotation); _root.enemyarray[ec]._x = _root.enemyarray[ec]._x + _root.enemyarray[ec].xmove; _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + _root.enemyarray[ec].ymove; if (_root.enemyarray[ec].distance < 5) { if (_root.difficulty == "easy") { if (_root.boss3counter < (_root.boss3xarray.length - 1)) { _root.boss3counter++; } else { _root.boss3counter = 0; } _root.boss3x = _root.boss3xarray[_root.boss3counter]; _root.boss3y = _root.boss3yarray[_root.boss3counter]; _root.boss3s = _root.boss3sarray[_root.boss3counter]; _root.boss3turndelay = _root.boss3turndelayarray[_root.boss3counter]; } else if (_root.difficulty == "expert") { _root.boss3x = random(699) + 1; _root.boss3y = random(499) + 1; _root.boss3s = random(11) + 5; _root.boss3turndelay = random(7) + 4; } } } else if ((_root.enemyarray[ec].enemytypevar == "boss3body") or (_root.enemyarray[ec].enemytypevar == "boss3tail")) { _root.enemyarray[ec].offx = _root.enemyarray[ec - 1].enemytype.attachpoint._x * Math.cos((_root.enemyarray[ec - 1]._rotation * Math.PI) / 180); _root.enemyarray[ec].offy = _root.enemyarray[ec - 1].enemytype.attachpoint._x * Math.sin(((-_root.enemyarray[ec - 1]._rotation) * Math.PI) / 180); _root.enemyarray[ec]._x = (_root.enemyarray[ec - 1]._x + _root.enemyarray[ec - 1].enemytype._x) + _root.enemyarray[ec].offx; _root.enemyarray[ec]._y = (_root.enemyarray[ec - 1]._y + _root.enemyarray[ec - 1].enemytype._y) - _root.enemyarray[ec].offy; _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation + ((_root.enemyarray[ec - 1]._rotation - _root.enemyarray[ec]._rotation) / 7); } else if (_root.enemyarray[ec].enemytypevar == "fboss") { if (_root.fbossrest == false) { if ((_root.enemyarray[ec]._x == _root.enemyarray[ec].destx) and (_root.enemyarray[ec]._y == _root.enemyarray[ec].desty)) { _root.fbossarrive = true; } if (_root.fbossarrive == true) { _root.enemyarray[ec].destx = random(300) + 300; _root.enemyarray[ec].desty = random(300) + 100; _root.fbossarrive = false; } if (Math.abs(_root.enemyarray[ec].destx - _root.enemyarray[ec]._x) > (0.6 * _root.boss1speed)) { if (_root.enemyarray[ec]._x < _root.enemyarray[ec].destx) { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x + (0.6 * _root.boss1speed); } else { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - (0.6 * _root.boss1speed); } } else { _root.enemyarray[ec]._x = _root.enemyarray[ec].destx; } if (Math.abs(_root.enemyarray[ec].desty - _root.enemyarray[ec]._y) > (0.6 * _root.boss1speed)) { if (_root.enemyarray[ec]._y < _root.enemyarray[ec].desty) { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + (0.6 * _root.boss1speed); } else { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y - (0.6 * _root.boss1speed); } } else { _root.enemyarray[ec]._y = _root.enemyarray[ec].desty; } _root.fbossrestcounter++; if (_root.fbossrestcounter == _root.fbossresttime) { _root.fbossrestcounter = 0; _root.fbossticker = 0; _root.e1w1pos = (_root.e2w1pos = (_root.e3w1pos = (_root.e4w1pos = (_root.e4w2pos = (_root.e5w1pos = (_root.e6w1pos = (_root.e7w1pos = 0))))))); if (_root.enemyarray[ec].health > (450 * _root.health)) { _root.fbosswave = 1; } else if (_root.enemyarray[ec].health > (350 * _root.health)) { _root.fbosswave = 2; _root.assignx = 800; _root.assigny = random(300) + 100; _root.healthpowerupfunction(); } else if (_root.enemyarray[ec].health > 0) { _root.fbosswave = 3; } _root.changeframes = true; _root.assignx = 900; _root.assigny = 250; _root.minihealthpowerupfunction(); _root.fbossrest = true; } } else { if (_root.enemyarray[ec]._x < 1500) { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x + (0.6 * _root.boss1speed); } if (_root.changeframes == true) { if (_root.enemyarray[ec]._x > (750 + _root.enemyarray[ec]._width)) { _root.enemyarray[ec].enemytype.gotoAndStop("blank"); _root.changeframes = false; } } _root.fbossrestcounter++; if (_root.fbossrestcounter == 500) { _root.enemyarray[ec].enemytype.gotoAndStop("fboss"); _root.fbossrest = false; _root.fbossresttime = 625; _root.changeframes = true; _root.fbossrestcounter = 0; _root.fbossarrive = true; _root.fbosswave = 0; } } _root.fbossnumber = ec; } else if (_root.enemyarray[ec].enemytypevar == "launcher1") { _root.enemyarray[ec]._x = (_root.enemyarray[_root.fbossnumber]._x + _root.enemyarray[_root.fbossnumber].enemytype._x) + _root.enemyarray[_root.fbossnumber].enemytype.missile._x; _root.enemyarray[ec]._y = (_root.enemyarray[_root.fbossnumber]._y + _root.enemyarray[_root.fbossnumber].enemytype._y) + _root.enemyarray[_root.fbossnumber].enemytype.missile._y; if (_root.changeframes == true) { if (_root.fbossrest == true) { if (_root.enemyarray[ec]._x > (700 + _root.enemyarray[ec]._width)) { _root.enemyarray[ec].enemytype.gotoAndStop("blank"); } } else { _root.enemyarray[ec].enemytype.gotoAndStop("launcher"); if (ec == 1) { _root.changeframes = false; } } } } else if (_root.enemyarray[ec].enemytypevar == "launcher2") { _root.enemyarray[ec]._x = (_root.enemyarray[_root.fbossnumber]._x + _root.enemyarray[_root.fbossnumber].enemytype._x) + _root.enemyarray[_root.fbossnumber].enemytype.missile2._x; _root.enemyarray[ec]._y = (_root.enemyarray[_root.fbossnumber]._y + _root.enemyarray[_root.fbossnumber].enemytype._y) + _root.enemyarray[_root.fbossnumber].enemytype.missile2._y; if (_root.changeframes == true) { if (_root.fbossrest == true) { if (_root.enemyarray[ec]._x > (700 + _root.enemyarray[ec]._width)) { _root.enemyarray[ec].enemytype.gotoAndStop("blank"); } } else { _root.enemyarray[ec].enemytype.gotoAndStop("launcher"); if (ec == 1) { _root.changeframes = false; } } } } else if (_root.enemyarray[ec].enemytypevar == "launcher3") { _root.enemyarray[ec]._x = (_root.enemyarray[_root.fbossnumber]._x + _root.enemyarray[_root.fbossnumber].enemytype._x) + _root.enemyarray[_root.fbossnumber].enemytype.missile3._x; _root.enemyarray[ec]._y = (_root.enemyarray[_root.fbossnumber]._y + _root.enemyarray[_root.fbossnumber].enemytype._y) + _root.enemyarray[_root.fbossnumber].enemytype.missile3._y; if (_root.changeframes == true) { if (_root.fbossrest == true) { if (_root.enemyarray[ec]._x > (700 + _root.enemyarray[ec]._width)) { _root.enemyarray[ec].enemytype.gotoAndStop("blank"); } } else { _root.enemyarray[ec].enemytype.gotoAndStop("launcher"); if (ec == 1) { _root.changeframes = false; } } } } else if (_root.enemyarray[ec].enemytypevar == "launcher4") { _root.enemyarray[ec]._x = (_root.enemyarray[_root.fbossnumber]._x + _root.enemyarray[_root.fbossnumber].enemytype._x) + _root.enemyarray[_root.fbossnumber].enemytype.missile4._x; _root.enemyarray[ec]._y = (_root.enemyarray[_root.fbossnumber]._y + _root.enemyarray[_root.fbossnumber].enemytype._y) + _root.enemyarray[_root.fbossnumber].enemytype.missile4._y; if (_root.changeframes == true) { if (_root.fbossrest == true) { if (_root.enemyarray[ec]._x > (700 + _root.enemyarray[ec]._width)) { _root.enemyarray[ec].enemytype.gotoAndStop("blank"); } } else { _root.enemyarray[ec].enemytype.gotoAndStop("launcher"); if (ec == 1) { _root.changeframes = false; } } } } else if (_root.enemyarray[ec].enemytypevar == "rocket") { if ((_root.enemyarray[ec]._x > 730) or (_root.enemyarray[ec]._x < -30)) { _root.enemyarray[ec].removeMovieClip(); _root.enemyarray.splice(ec, 1); } if (_root.enemyarray[ec].deploy == true) { _root.enemyarray[ec]._rotation = (_root.enemyarray[ec].angle * 180) / Math.PI; _root.enemyarray[ec]._x = _root.enemyarray[ec]._x + (_root.enemyarray[ec].speedx * Math.cos(_root.enemyarray[ec].angle)); _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + (_root.enemyarray[ec].speedy * Math.sin(_root.enemyarray[ec].angle)); _root.enemyarray[ec].deploytimer++; if (_root.enemyarray[ec].deploytimer == 15) { _root.enemyarray[ec].deploy = false; } } else if (_root.enemyarray[ec].deploy == false) { _root.enemyarray[ec].diffx = int((_root.ship._x + _root.ship.shipmc._x) - _root.enemyarray[ec]._x); _root.enemyarray[ec].diffy = int((_root.ship._y + _root.ship.shipmc._y) - _root.enemyarray[ec]._y); if ((_root.enemyarray[ec].diffx > 0) && (_root.enemyarray[ec].diffy > 0)) { _root.enemyarray[ec].quad = Number(4); } if ((_root.enemyarray[ec].diffx < 0) && (_root.enemyarray[ec].diffy > 0)) { _root.enemyarray[ec].quad = Number(1); } if ((_root.enemyarray[ec].diffx < 0) && (_root.enemyarray[ec].diffy < 0)) { _root.enemyarray[ec].quad = Number(2); } if ((_root.enemyarray[ec].diffx > 0) && (_root.enemyarray[ec].diffy < 0)) { _root.enemyarray[ec].quad = Number(3); } _root.enemyarray[ec].abs_x = Math.abs(_root.enemyarray[ec].diffx); _root.enemyarray[ec].abs_y = Math.abs(_root.enemyarray[ec].diffy); _root.enemyarray[ec].tg = _root.enemyarray[ec].abs_y / _root.enemyarray[ec].abs_x; _root.enemyarray[ec].maths = (Math.atan(_root.enemyarray[ec].tg) * Number(180)) / Math.PI; _root.enemyarray[ec].distance = Math.sqrt(((_root.enemyarray[ec]._x - (_root.ship._x + _root.ship.shipmc._x)) ^ (2 + (_root.enemyarray[ec]._y - (_root.ship._y + _root.ship.shipmc._y)))) ^ 2); if (_root.enemyarray[ec].quad == 1) { _root.enemyarray[ec].angle = Number(180) - Number(_root.enemyarray[ec].maths); } else if (_root.enemyarray[ec].quad == 2) { _root.enemyarray[ec].angle = Number(180) + Number(_root.enemyarray[ec].maths); } else if (_root.enemyarray[ec].quad == 3) { _root.enemyarray[ec].angle = Number(360) - Number(_root.enemyarray[ec].maths); } else if (_root.enemyarray[ec].quad == 4) { _root.enemyarray[ec].angle = Number(_root.enemyarray[ec].maths); } _root.enemyarray[ec].xmove = _root.enemyarray[ec].speedx * Math.cos((Math.PI/180) * _root.enemyarray[ec].angle); _root.enemyarray[ec].ymove = _root.enemyarray[ec].speedy * Math.sin((Math.PI/180) * _root.enemyarray[ec].angle); if (_root.enemyarray[ec].angle <= 180) { if ((_root.enemyarray[ec]._rotation + 180) >= _root.enemyarray[ec].angle) { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation + ((_root.enemyarray[ec].angle - _root.enemyarray[ec]._rotation) / _root.enemyarray[ec].megahomingturndelay); } else if (_root.enemyarray[ec].angle >= _root.enemyarray[ec]._rotation) { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation + ((_root.enemyarray[ec].angle - _root.enemyarray[ec]._rotation) / _root.enemyarray[ec].megahomingturndelay); } else { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation - ((_root.enemyarray[ec]._rotation - _root.enemyarray[ec].angle) / _root.enemyarray[ec].megahomingturndelay); } } else if (_root.enemyarray[ec].angle > 180) { if ((_root.enemyarray[ec].angle - 180) < _root.enemyarray[ec]._rotation) { if (_root.enemyarray[ec]._rotation < _root.enemyarray[ec].angle) { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation + ((_root.enemyarray[ec].angle - _root.enemyarray[ec]._rotation) / _root.enemyarray[ec].megahomingturndelay); } else { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation - ((_root.enemyarray[ec]._rotation - _root.enemyarray[ec].angle) / _root.enemyarray[ec].megahomingturndelay); } } else { _root.enemyarray[ec]._rotation = _root.enemyarray[ec]._rotation - ((360 - (_root.enemyarray[ec].angle - _root.enemyarray[ec]._rotation)) / _root.enemyarray[ec].megahomingturndelay); } } _root.enemyarray[ec]._x = _root.enemyarray[ec]._x + _root.enemyarray[ec].xmove; _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + _root.enemyarray[ec].ymove; } } else if (_root.enemyarray[ec].enemytypevar == "enemy1") { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - _root.enemy1speed; _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + ((_root.ship._y - (_root.enemyarray[ec]._y - _root.enemyarray[ec].enemytype._height)) / 25); } else if (_root.enemyarray[ec].enemytypevar == "enemy2") { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - (_root.enemy1speed * 0.666666666666667); if (_root.enemyarray[ec].e2arrive != false) { _root.enemyarray[ec].nextpos = 500 - _root.enemyarray[ec]._y; _root.enemyarray[ec].e2arrive = false; } else { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + (((_root.enemyarray[ec].nextpos - _root.enemyarray[ec]._y) / Math.abs(_root.enemyarray[ec].nextpos - _root.enemyarray[ec]._y)) * (_root.enemy1speed / 2)); if (Math.abs(_root.enemyarray[ec].nextpos - _root.enemyarray[ec]._y) < 5) { _root.enemyarray[ec].e2arrive = true; } } } else if (_root.enemyarray[ec].enemytypevar == "enemy3") { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - (_root.enemy1speed * 0.4); } else if (_root.enemyarray[ec].enemytypevar == "enemy4") { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + ((_root.enemyarray[ec].desty - _root.enemyarray[ec]._y) / 10); _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - (_root.enemy1speed / 2); } else if (_root.enemyarray[ec].enemytypevar == "enemy4wave2") { if ((_root.enemyarray[ec]._x == _root.enemyarray[ec].destx) and (_root.enemyarray[ec]._y == _root.enemyarray[ec].desty)) { _root.enemyarray[ec].e4arrive = true; } if (_root.enemyarray[ec].e4arrive == true) { _root.enemyarray[ec].destx = random(300) + 300; _root.enemyarray[ec].desty = random(300) + 100; _root.enemyarray[ec].e4arrive = false; } if (Math.abs(_root.enemyarray[ec].destx - _root.enemyarray[ec]._x) > _root.boss1speed) { if (_root.enemyarray[ec]._x < _root.enemyarray[ec].destx) { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x + _root.boss1speed; } else { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - _root.boss1speed; } } else { _root.enemyarray[ec]._x = _root.enemyarray[ec].destx; } if (Math.abs(_root.enemyarray[ec].desty - _root.enemyarray[ec]._y) > _root.boss1speed) { if (_root.enemyarray[ec]._y < _root.enemyarray[ec].desty) { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y + _root.boss1speed; } else { _root.enemyarray[ec]._y = _root.enemyarray[ec]._y - _root.boss1speed; } } else { _root.enemyarray[ec]._y = _root.enemyarray[ec].desty; } } else if (_root.enemyarray[ec].enemytypevar == "enemy5") { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - (_root.enemy1speed / 4); _root.enemyarray[ec].enemytype._rotation = _root.enemyarray[ec].enemytype._rotation + 8; } else if (_root.enemyarray[ec].enemytypevar == "enemy6") { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - (_root.enemy1speed / 3); } else if (_root.enemyarray[ec].enemytypevar == "enemy7") { _root.enemyarray[ec]._x = _root.enemyarray[ec]._x - (_root.enemy1speed / 3.5); } ec--; } }; _root.bulletarray = new Array(); _root.red1 = function () { _root.interval = 5; _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.gun._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.gun._y; _root["bullet" + _root.depth].xvalue = _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].shottype = "red1"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.red2 = function () { _root.interval = 5; _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.gun._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.gun._y; _root["bullet" + _root.depth].xvalue = _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("red2"); _root["bullet" + _root.depth].shottype = "red2"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.red3 = function () { _root.interval = 5; _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.gun._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.gun._y; _root["bullet" + _root.depth].xvalue = _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("red3"); _root["bullet" + _root.depth].shottype = "red3"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.red4 = function () { _root.interval = 6; _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.gun._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.gun._y; _root["bullet" + _root.depth].xvalue = _root.x20; _root["bullet" + _root.depth].yvalue = _root.y20; _root["bullet" + _root.depth]._rotation = 20; _root["bullet" + _root.depth].gotoAndStop("red2"); _root["bullet" + _root.depth].shottype = "red4"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.gun._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.gun._y; _root["bullet" + _root.depth].xvalue = _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("red2"); _root["bullet" + _root.depth].shottype = "red4"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.gun._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.gun._y; _root["bullet" + _root.depth].xvalue = _root.x20; _root["bullet" + _root.depth].yvalue = -_root.y20; _root["bullet" + _root.depth]._rotation = -20; _root["bullet" + _root.depth].gotoAndStop("red2"); _root["bullet" + _root.depth].shottype = "red4"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.sred = function () { _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.sredx; _root["bullet" + _root.depth]._y = _root.sredy; _root["bullet" + _root.depth].destx = 100; _root["bullet" + _root.depth].desty = 100; _root["bullet" + _root.depth].diffx = _root["bullet" + _root.depth]._x - _root["bullet" + _root.depth].destx; _root["bullet" + _root.depth].diffy = _root["bullet" + _root.depth]._y - _root["bullet" + _root.depth].desty; _root["bullet" + _root.depth].angle = Math.atan2(_root["bullet" + _root.depth].diffy, _root["bullet" + _root.depth].diffx); _root["bullet" + _root.depth].xvalue = -15 * Math.cos(_root["bullet" + _root.depth].angle); _root["bullet" + _root.depth].yvalue = -15 * Math.sin(_root["bullet" + _root.depth].angle); _root["bullet" + _root.depth].gotoAndStop("bomb"); _root["bullet" + _root.depth].shottype = "sred"; _root["bullet" + _root.depth].exploding = false; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.sredx; _root["bullet" + _root.depth]._y = _root.sredy; _root["bullet" + _root.depth].destx = 600; _root["bullet" + _root.depth].desty = 100; _root["bullet" + _root.depth].diffx = _root["bullet" + _root.depth]._x - _root["bullet" + _root.depth].destx; _root["bullet" + _root.depth].diffy = _root["bullet" + _root.depth]._y - _root["bullet" + _root.depth].desty; _root["bullet" + _root.depth].angle = Math.atan2(_root["bullet" + _root.depth].diffy, _root["bullet" + _root.depth].diffx); _root["bullet" + _root.depth].xvalue = -15 * Math.cos(_root["bullet" + _root.depth].angle); _root["bullet" + _root.depth].yvalue = -15 * Math.sin(_root["bullet" + _root.depth].angle); _root["bullet" + _root.depth].gotoAndStop("bomb"); _root["bullet" + _root.depth].shottype = "sred"; _root["bullet" + _root.depth].exploding = false; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.sredx; _root["bullet" + _root.depth]._y = _root.sredy; _root["bullet" + _root.depth].destx = 100; _root["bullet" + _root.depth].desty = 400; _root["bullet" + _root.depth].diffx = _root["bullet" + _root.depth]._x - _root["bullet" + _root.depth].destx; _root["bullet" + _root.depth].diffy = _root["bullet" + _root.depth]._y - _root["bullet" + _root.depth].desty; _root["bullet" + _root.depth].angle = Math.atan2(_root["bullet" + _root.depth].diffy, _root["bullet" + _root.depth].diffx); _root["bullet" + _root.depth].xvalue = -15 * Math.cos(_root["bullet" + _root.depth].angle); _root["bullet" + _root.depth].yvalue = -15 * Math.sin(_root["bullet" + _root.depth].angle); _root["bullet" + _root.depth].gotoAndStop("bomb"); _root["bullet" + _root.depth].shottype = "sred"; _root["bullet" + _root.depth].exploding = false; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.sredx; _root["bullet" + _root.depth]._y = _root.sredy; _root["bullet" + _root.depth].destx = 600; _root["bullet" + _root.depth].desty = 400; _root["bullet" + _root.depth].diffx = _root["bullet" + _root.depth]._x - _root["bullet" + _root.depth].destx; _root["bullet" + _root.depth].diffy = _root["bullet" + _root.depth]._y - _root["bullet" + _root.depth].desty; _root["bullet" + _root.depth].angle = Math.atan2(_root["bullet" + _root.depth].diffy, _root["bullet" + _root.depth].diffx); _root["bullet" + _root.depth].xvalue = -15 * Math.cos(_root["bullet" + _root.depth].angle); _root["bullet" + _root.depth].yvalue = -15 * Math.sin(_root["bullet" + _root.depth].angle); _root["bullet" + _root.depth].gotoAndStop("bomb"); _root["bullet" + _root.depth].shottype = "sred"; _root["bullet" + _root.depth].exploding = false; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.blue1 = function () { _root.interval = 10; _root.shot.duplicateMovieClip("bullet" + _root.bluedepth, _root.bluedepth); _root["bullet" + _root.bluedepth]._x = _root.ship._x; _root["bullet" + _root.bluedepth]._y = _root.ship._y; _root["bullet" + _root.bluedepth].xvalue = _root.bulletspeed; _root["bullet" + _root.bluedepth].yvalue = 0; _root["bullet" + _root.bluedepth].gotoAndStop("blue1"); _root["bullet" + _root.bluedepth].shottype = "blue1"; _root["bullet" + _root.bluedepth].randomframe = random(5) + 1; _root["bullet" + _root.bluedepth].blue.gotoAndPlay(randomframe); _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.bluedepth]; if (_root.bluedepth < 100040) { _root.bluedepth++; } else { _root.bluedepth = 100010 /* 0x0186AA */; } _root.blueready = false; _root["bullet" + _root.bluedepth].explodedelay = 0; }; _root.blue2 = function () { _root.interval = 11; _root.shot.duplicateMovieClip("bullet" + _root.bluedepth, _root.bluedepth); _root["bullet" + _root.bluedepth]._x = _root.ship._x; _root["bullet" + _root.bluedepth]._y = _root.ship._y; _root["bullet" + _root.bluedepth].xvalue = _root.bulletspeed; _root["bullet" + _root.bluedepth].yvalue = 0; _root["bullet" + _root.bluedepth].gotoAndStop("blue2"); _root["bullet" + _root.bluedepth].shottype = "blue2"; _root["bullet" + _root.bluedepth].randomframe = random(5) + 1; _root["bullet" + _root.bluedepth].blue.gotoAndPlay(randomframe); _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.bluedepth]; if (_root.bluedepth < 100040) { _root.bluedepth++; } else { _root.bluedepth = 100010 /* 0x0186AA */; } _root["bullet" + _root.bluedepth].explodedelay = 0; }; _root.blue3 = function () { _root.interval = 11; _root.shot.duplicateMovieClip("bullet" + _root.bluedepth, _root.bluedepth); _root["bullet" + _root.bluedepth]._x = _root.ship._x; _root["bullet" + _root.bluedepth]._y = _root.ship._y; _root["bullet" + _root.bluedepth].xvalue = _root.bulletspeed; _root["bullet" + _root.bluedepth].yvalue = 0; _root["bullet" + _root.bluedepth].gotoAndStop("blue3"); _root["bullet" + _root.bluedepth].shottype = "blue3"; _root["bullet" + _root.bluedepth].randomframe = random(5) + 1; _root["bullet" + _root.bluedepth].blue.gotoAndPlay(randomframe); _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.bluedepth]; if (_root.bluedepth < 100040) { _root.bluedepth++; } else { _root.bluedepth = 100010 /* 0x0186AA */; } _root["bullet" + _root.bluedepth].explodedelay = 0; }; _root.blue4 = function () { _root.interval = 12; _root.shot.duplicateMovieClip("bullet" + _root.bluedepth, _root.bluedepth); _root["bullet" + _root.bluedepth]._x = _root.ship._x; _root["bullet" + _root.bluedepth]._y = _root.ship._y; _root["bullet" + _root.bluedepth].xvalue = _root.bulletspeed; _root["bullet" + _root.bluedepth].yvalue = 0; _root["bullet" + _root.bluedepth].gotoAndStop("blue4"); _root["bullet" + _root.bluedepth].shottype = "blue4"; _root["bullet" + _root.bluedepth].randomframe = random(5) + 1; _root["bullet" + _root.bluedepth].blue.gotoAndPlay(randomframe); _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.bluedepth]; if (_root.bluedepth < 100040) { _root.bluedepth++; } else { _root.bluedepth = 100010 /* 0x0186AA */; } _root["bullet" + _root.bluedepth].explodedelay = 0; }; _root.sblue = function () { _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.sbluex; _root["bullet" + _root.depth]._y = _root.sbluey; _root["bullet" + _root.depth].xvalue = _root.powerupspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("sblue"); _root["bullet" + _root.depth].shottype = "sblue"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.green1 = function () { _root.interval = 6; _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.green._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.green._y; _root["bullet" + _root.depth].xvalue = 5 + _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("green1"); _root["bullet" + _root.depth].shottype = "green1"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.green2 = function () { _root.interval = 5; _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.green._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.green._y; _root["bullet" + _root.depth].xvalue = 5 + _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("green2"); _root["bullet" + _root.depth].shottype = "green2"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.green3 = function () { _root.interval = 5; _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.green._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.green._y; _root["bullet" + _root.depth].xvalue = 5 + _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("green3"); _root["bullet" + _root.depth].shottype = "green3"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.green4 = function () { _root.interval = 4; _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.green._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.green._y; _root["bullet" + _root.depth].xvalue = 5 + _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("green4"); _root["bullet" + _root.depth].shottype = "green4"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.firelaser = function () { if (_root.status.mask.laser._xscale == 100) { _root.lasersound.start(0, 0); _root.shot.duplicateMovieClip("bullet" + _root.bluedepth, _root.bluedepth); _root["bullet" + _root.bluedepth].gotoAndStop("laser"); _root["bullet" + _root.bluedepth]._x = _root.ship._x + _root.ship.laser._x; _root["bullet" + _root.bluedepth]._y = _root.ship._y + _root.ship.laser._y; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.bluedepth]; _root["bullet" + _root.bluedepth].xvalue = 40; _root["bullet" + _root.bluedepth].yvalue = 0; _root.status.mask.laser._xscale = 0; _root["bullet" + _root.bluedepth].shottype = "laser"; if (_root.bluedepth < 100040) { _root.bluedepth++; } else { _root.bluedepth = 100010 /* 0x0186AA */; } } }; _root.firehmfunction = function () { _root.megahoming.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = _root.ship._x + _root.ship.missile._x; _root["bullet" + _root.depth]._y = _root.ship._y + _root.ship.missile._y; if (_root.enemyarray.length >= 1) { _root["bullet" + _root.depth].enemynumber = Number(_root.targetenemy); _root["bullet" + _root.depth].targetname = _root.enemyarray[_root.targetenemy]._name; _root["bullet" + _root.depth].targetname._visible = true; } else { _root["bullet" + _root.depth].targetname._visible = false; } _root["bullet" + _root.depth].megahomingacceleratex = 2; _root["bullet" + _root.depth].megahomingacceleratey = 2; _root["bullet" + _root.depth].megahomingturndelay = 3; _root["bullet" + _root.depth].deploy = true; _root["bullet" + _root.depth].deployrate = 5; _root["bullet" + _root.depth].speedx = 0; _root["bullet" + _root.depth].speedy = 0; _root["bullet" + _root.depth].shottype = "homingmissile"; _root.bulletarray.push(_root["bullet" + _root.depth]); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.firebomb = function () { if (_root.numberofbombs >= 0) { if (_root.bombfire == true) { if (_root.bombsound == false) { _root.bombexplodesound.start(0, 0); _root.bombsound = true; } _root.bomb1.bomb.gotoAndStop(2); _root.bombexplode = true; } if (_root.numberofbombs > 0) { if (_root.bombfire == false) { _root.shot.duplicateMovieClip("bomb1", _root.bluedepth); _root.bomb1.gotoAndStop("bomb"); _root.bomb1._x = _root.ship._x + _root.ship.bomb._x; _root.bomb1._y = _root.ship._y + _root.ship.bomb._y; _root.bomb1.xvalue = 20; _root.bomb1.shottype = "bomb"; _root.bombfire = true; _root.numberofbombs--; _root.status.bomb.gotoAndStop(_root.numberofbombs + 1); _root.bulletarray[_root.bulletarray.length] = _root.bomb1; if (_root.bluedepth < 100040) { _root.bluedepth++; } else { _root.bluedepth = 100010 /* 0x0186AA */; } } } } }; _root.bulletmovement = function () { if (_root.bulletarray.length > 0) { var bc = (_root.bulletarray.length - 1); while (bc >= 0) { if (_root.bulletarray[bc]._name eq "") { _root.bulletarray.splice(bc, 1); } if (_root.bulletarray[bc].enemyshottype == "fbossgun") { if (Math.abs(_root.bulletarray[bc]._y - _root.bulletarray[bc].desty) > 5) { if (_root.bulletarray[bc]._y > _root.bulletarray[bc].desty) { _root.bulletarray[bc]._y = _root.bulletarray[bc]._y - 10; } else { _root.bulletarray[bc]._y = _root.bulletarray[bc]._y + 10; } } else { _root.bulletarray[bc].desty = _root.bulletarray[bc].starty + (_root.bulletarray[bc].starty - _root.bulletarray[bc].desty); } } if ((((((_root.bulletarray[bc].enemyshottype != "boss2laser1") and (_root.bulletarray[bc].enemyshottype != "boss2laser2")) and (_root.bulletarray[bc].enemyshottype != "enemymissilet")) and (_root.bulletarray[bc].enemyshottype != "enemymissileb")) and (_root.bulletarray[bc].shottype != "homingmissile")) and (_root.bulletarray[bc].shottype != "bomb")) { _root.bulletarray[bc]._x = _root.bulletarray[bc]._x + _root.bulletarray[bc].xvalue; _root.bulletarray[bc]._y = _root.bulletarray[bc]._y + _root.bulletarray[bc].yvalue; if (_root.bulletarray[bc].shottype == "sred") { if ((Math.abs(_root.bulletarray[bc]._x - _root.bulletarray[bc].destx) < 15) and (Math.abs(_root.bulletarray[bc]._y - _root.bulletarray[bc].desty) < 15)) { if (_root.bulletarray[bc].exploding == false) { _root.bulletarray[bc].bomb.gotoAndStop(2); _root.bombexplodesound.stop(); _root.bombexplodesound.start(0, 0); _root.bulletarray[bc].xvalue = 0; _root.bulletarray[bc].yvalue = 0; _root.bulletarray[bc].exploding = true; } } } } else if (_root.bulletarray[bc].enemyshottype == "boss2laser1") { _root.bulletarray[bc]._x = (_root.enemyarray[_root.enemyarray.length - 1]._x + _root.enemyarray[_root.enemyarray.length - 1].enemytype._x) + _root.enemyarray[_root.enemyarray.length - 1].enemytype.lasergun._x; _root.bulletarray[bc]._y = (_root.enemyarray[_root.enemyarray.length - 1]._y + _root.enemyarray[_root.enemyarray.length - 1].enemytype._y) + _root.enemyarray[_root.enemyarray.length - 1].enemytype.lasergun._y; } else if (_root.bulletarray[bc].enemyshottype == "boss2laser2") { _root.bulletarray[bc]._x = (_root.enemyarray[_root.enemyarray.length - 1]._x + _root.enemyarray[_root.enemyarray.length - 1].enemytype._x) + _root.enemyarray[_root.enemyarray.length - 1].enemytype.lasergun2._x; _root.bulletarray[bc]._y = (_root.enemyarray[_root.enemyarray.length - 1]._y + _root.enemyarray[_root.enemyarray.length - 1].enemytype._y) + _root.enemyarray[_root.enemyarray.length - 1].enemytype.lasergun2._y; } else if (_root.bulletarray[bc].shottype == "homingmissile") { if ((_root.bulletarray[bc]._x > 730) or (_root.bulletarray[bc]._x < -30)) { _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } if (_root.bulletarray[bc].deploy == true) { _root.bulletarray[bc]._y = _root.bulletarray[bc]._y + _root.bulletarray[bc].deployrate; _root.bulletarray[bc].deployrate = _root.bulletarray[bc].deployrate - 0.5; if (_root.bulletarray[bc].deployrate <= 0) { _root.bulletarray[bc].deployrate = false; } } if (_root.bulletarray[bc].deployrate <= 3) { _root.bulletarray[bc].gotoAndStop("boost"); if (_root[_root.bulletarray[bc].targetname]._visible == true) { diffx = int((_root[_root.bulletarray[bc].targetname]._x + _root[_root.bulletarray[bc].targetname].enemytype._x) - _root.bulletarray[bc]._x); diffy = int((_root[_root.bulletarray[bc].targetname]._y + _root[_root.bulletarray[bc].targetname].enemytype._y) - _root.bulletarray[bc]._y); if ((diffx > 0) && (diffy > 0)) { quad = Number(4); } if ((diffx < 0) && (diffy > 0)) { quad = Number(1); } if ((diffx < 0) && (diffy < 0)) { quad = Number(2); } if ((diffx > 0) && (diffy < 0)) { quad = Number(3); } abs_x = Math.abs(diffx); abs_y = Math.abs(diffy); tg = abs_y / abs_x; _root.maths = (Math.atan(tg) * Number(180)) / Math.PI; distance = Math.sqrt(((_root.bulletarray[bc]._x - _root.bulletarray[bc].targetx) ^ (2 + (_root.bulletarray[bc]._y - _root.bulletarray[bc].targety))) ^ 2); if (quad == 1) { angle = Number(180) - Number(_root.maths); } if (quad == 2) { angle = Number(180) + Number(_root.maths); } if (quad == 3) { angle = Number(360) - Number(_root.maths); } if (quad == 4) { angle = Number(_root.maths); } xmove = _root.bulletarray[bc].speedx * Math.cos((Math.PI/180) * angle); ymove = _root.bulletarray[bc].speedy * Math.sin((Math.PI/180) * angle); _root.bulletarray[bc].speedx = _root.bulletarray[bc].speedx + 2; _root.bulletarray[bc].speedy = _root.bulletarray[bc].speedy + 2; if (angle <= 180) { if ((_root.bulletarray[bc]._rotation + 180) >= angle) { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation + ((angle - _root.bulletarray[bc]._rotation) / _root.bulletarray[bc].megahomingturndelay); } else if (angle >= _root.bulletarray[bc]._rotation) { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation + ((angle - _root.bulletarray[bc]._rotation) / _root.bulletarray[bc].megahomingturndelay); } else { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation - ((_root.bulletarray[bc]._rotation - angle) / _root.bulletarray[bc].megahomingturndelay); } } else if (angle > 180) { if ((angle - 180) < _root.bulletarray[bc]._rotation) { if (_root.bulletarray[bc]._rotation < angle) { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation + ((angle - _root.bulletarray[bc]._rotation) / _root.bulletarray[bc].megahomingturndelay); } else { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation - ((_root.bulletarray[bc]._rotation - angle) / _root.bulletarray[bc].megahomingturndelay); } } else { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation - ((360 - (angle - _root.bulletarray[bc]._rotation)) / _root.bulletarray[bc].megahomingturndelay); } } _root.bulletarray[bc]._x = _root.bulletarray[bc]._x + xmove; _root.bulletarray[bc]._y = _root.bulletarray[bc]._y + ymove; } else { if (_root.bulletarray[bc]._rotation != 0) { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation - (_root.bulletarray[bc]._rotation / megahomingturndelay); } _root.bulletarray[bc]._x = _root.bulletarray[bc]._x + _root.bulletarray[bc].megahomingacceleratex; _root.bulletarray[bc].megahomingacceleratex = _root.bulletarray[bc].megahomingacceleratex + 2; } } } else if (_root.bulletarray[bc].shottype == "bomb") { if (_root.bombexplode != true) { _root.bulletarray[bc]._x = _root.bulletarray[bc]._x + _root.bulletarray[bc].xvalue; } } else if (_root.bulletarray[bc].enemyshottype == "enemymissilet") { if (_root.bulletarray[bc].deploy != false) { _root.bulletarray[bc]._y = _root.bulletarray[bc]._y - _root.bulletarray[bc].deployrate; _root.bulletarray[bc].deployrate--; if (_root.bulletarray[bc].angle2 > _root.bulletarray[bc]._rotation) { if ((_root.bulletarray[bc].angle2 - _root.bulletarray[bc]._rotation) > 20) { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation + 20; } else { _root.bulletarray[bc]._rotation = _root.bulletarray[bc].angle2; } } else if ((_root.bulletarray[bc]._rotation - _root.bulletarray[bc].angle2) > 50) { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation - 50; } else { _root.bulletarray[bc]._rotation = _root.bulletarray[bc].angle2; } if (_root.bulletarray[bc].deployrate <= 0) { _root.bulletarray[bc].speed = 5; _root.bulletarray[bc].xvalue = Math.cos(_root.bulletarray[bc].angle); _root.bulletarray[bc].yvalue = Math.sin(_root.bulletarray[bc].angle); _root.bulletarray[bc].deploy = false; } } else { _root.bulletarray[bc]._x = _root.bulletarray[bc]._x - (_root.bulletarray[bc].speed * _root.bulletarray[bc].xvalue); _root.bulletarray[bc]._y = _root.bulletarray[bc]._y - (_root.bulletarray[bc].speed * _root.bulletarray[bc].yvalue); _root.bulletarray[bc].speed = _root.bulletarray[bc].speed + 2; } } else if (_root.bulletarray[bc].enemyshottype == "enemymissileb") { if (_root.bulletarray[bc].deploy != false) { _root.bulletarray[bc]._y = _root.bulletarray[bc]._y + _root.bulletarray[bc].deployrate; _root.bulletarray[bc].deployrate--; if (_root.bulletarray[bc].angle2 > _root.bulletarray[bc]._rotation) { if ((_root.bulletarray[bc].angle2 - _root.bulletarray[bc]._rotation) > 50) { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation + 50; } else { _root.bulletarray[bc]._rotation = _root.bulletarray[bc].angle2; } } else if ((_root.bulletarray[bc]._rotation - _root.bulletarray[bc].angle2) > 50) { _root.bulletarray[bc]._rotation = _root.bulletarray[bc]._rotation - 50; } else { _root.bulletarray[bc]._rotation = _root.bulletarray[bc].angle2; } if (_root.bulletarray[bc].deployrate <= 0) { _root.bulletarray[bc].speed = 5; _root.bulletarray[bc].xvalue = Math.cos(_root.bulletarray[bc].angle); _root.bulletarray[bc].yvalue = Math.sin(_root.bulletarray[bc].angle); _root.bulletarray[bc].deploy = false; } } else { _root.bulletarray[bc]._x = _root.bulletarray[bc]._x - (_root.bulletarray[bc].speed * _root.bulletarray[bc].xvalue); _root.bulletarray[bc]._y = _root.bulletarray[bc]._y - (_root.bulletarray[bc].speed * _root.bulletarray[bc].yvalue); _root.bulletarray[bc].speed = _root.bulletarray[bc].speed + 2; } } if (_root.bulletarray[bc].enemyshottype == "boss3") { if (_root.bulletarray[bc].follow < 25) { _root.bulletarray[bc].follow++; _root.bulletarray[bc].diffx = _root.bulletarray[bc]._x - (_root.ship._x + _root.ship.shipmc._x); _root.bulletarray[bc].diffy = _root.bulletarray[bc]._y - (_root.ship._y + _root.ship.shipmc._y); _root.bulletarray[bc].angle = Math.atan2(_root.bulletarray[bc].diffy, _root.bulletarray[bc].diffx); _root.bulletarray[bc].xvalue = -7 * Math.cos(_root.bulletarray[bc].angle); _root.bulletarray[bc].yvalue = -7 * Math.sin(_root.bulletarray[bc].angle); } } if (_root.bulletarray[bc].shottype == "enemy") { if ((_root.bulletarray[bc].hitTest(_root.ship.protector.sphere) or _root.bulletarray[bc].hitTest(_root.ship.protector2.sphere)) or _root.bulletarray[bc].hitTest(_root.bomb1)) { if (((_root.bulletarray[bc].enemyshottype != "boss2laser1") and (_root.bulletarray[bc].enemyshottype != "boss2laser2")) and (_root.bulletarray[bc].enemyshottype != "fbosslaser")) { if (_root.bulletarray[bc].hitTest(_root.ship.protector.sphere)) { _root.protector1health = _root.protector1health - 1; if ((_root.protector1health < 7) and (_root.protector1health > 2)) { _root.ship.protector.sphere.gotoAndStop("half"); } else if ((_root.protector1health <= 2) and (_root.protector1health >= 0)) { _root.ship.protector.sphere.gotoAndStop("critical"); } else if (_root.protector1health < 0) { trace("Protector1 Gone"); if (_root.protectorlevel > 2) { _root.protectorframe = _root.ship.protector2._currentframe - 19; if (_root.protectorframe < 3) { _root.protectorframe = 41 + _root.protectorframe; } _root.protectorlevel = 2; if (_root.autorotate == true) { _root.ship.protector.gotoAndPlay(_root.protectorframe); } else { _root.ship.protector.gotoAndStop(_root.protectorframe); } _root.protector1health = _root.protector2health; if ((_root.protector1health < 7) and (_root.protector1health > 2)) { _root.ship.protector.sphere.gotoAndStop("half"); } else if ((_root.protector1health <= 2) and (_root.protector1health >= 0)) { _root.ship.protector.sphere.gotoAndStop("critical"); } } else { _root.protectorlevel = 0; } _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0); duplicateMovieClip (_root.shipexplosion, "shipexplosion" + _root.depth, _root.depth); _root["shipexplosion" + _root.depth]._x = (_root.ship._x + _root.ship.protector._x) + _root.ship.protector.sphere._x; _root["shipexplosion" + _root.depth]._y = (_root.ship._y + _root.ship.protector._y) + _root.ship.protector.sphere._y; _root["shipexplosion" + _root.depth]._xscale = (_root["shipexplosion" + _root.depth]._yscale = 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } } if (_root.bulletarray[bc].hitTest(_root.ship.protector2.sphere)) { _root.protector2health = _root.protector2health - 1; if ((_root.protector2health < 7) and (_root.protector2health > 2)) { _root.ship.protector2.sphere.gotoAndStop("half"); } else if ((_root.protector2health <= 2) and (_root.protector2health >= 0)) { _root.ship.protector2.sphere.gotoAndStop("critical"); } else if (_root.protector2health < 0) { trace("Protector2 Gone"); _root.protectorlevel = 2; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0); duplicateMovieClip (_root.shipexplosion, "shipexplosion" + _root.depth, _root.depth); _root["shipexplosion" + _root.depth]._x = (_root.ship._x + _root.ship.protector2._x) + _root.ship.protector2.sphere._x; _root["shipexplosion" + _root.depth]._y = (_root.ship._y + _root.ship.protector2._y) + _root.ship.protector2.sphere._y; _root["shipexplosion" + _root.depth]._xscale = (_root["shipexplosion" + _root.depth]._yscale = 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } } if (_root.boss2stoplaser == true) { if ((_root.bulletarray[bc].enemyshottype == "boss2laser1") or (_root.bulletarray[bc].enemyshottype == "boss2laser2")) { _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } } if (_root.bulletarray[bc].hitTest(_root.ship.shipmc)) { _root.hitship = true; _root.shieldfadein = true; _root.checkhealth = true; if (_root.difficulty == "expert") { _root.hitshipcounter++; if (_root.hitshipcounter == 6) { if (_root.weaponnumber > 1) { _root.weaponnumber--; } _root.hitshipcounter = 0; } } if (_root.bulletarray[bc].enemyshottype == "shot1") { _root.shipshield = _root.shipshield - 5; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if ((_root.bulletarray[bc].enemyshottype == "enemymissilet") or (_root.bulletarray[bc].enemyshottype == "enemymissileb")) { _root.shipshield = _root.shipshield - 7; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].enemyshottype == "enemy7") { _root.shipshield = _root.shipshield - 8; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].enemyshottype == "boss1electric") { _root.shipshield = _root.shipshield - 8; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].enemyshottype == "boss1canon") { _root.mhexplosion.stop(); _root.mhexplosion.start(0, 0); _root.mhexplosionmc.duplicateMovieClip("mhexplode" + _root.depth, _root.depth); _root["mhexplode" + _root.depth]._x = _root.bulletarray[bc]._x; _root["mhexplode" + _root.depth]._y = _root.bulletarray[bc]._y; _root["mhexplode" + _root.depth]._xscale = (_root["mhexplode" + _root.depth]._yscale = 300); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.shipshield = _root.shipshield - 15; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if ((_root.bulletarray[bc].enemyshottype == "boss2laser1") or (_root.bulletarray[bc].enemyshottype == "boss2laser2")) { _root.shipshield = _root.shipshield - 2; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); } else if (_root.bulletarray[bc].enemyshottype == "boss2gun") { _root.shipshield = _root.shipshield - 6; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].enemyshottype == "boss2big") { _root.shipshield = _root.shipshield - 10; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].enemyshottype == "boss3") { _root.shipshield = _root.shipshield - 4; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].enemyshottype == "fbossgun") { _root.shipshield = _root.shipshield - 6; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if ((_root.bulletarray[bc].enemyshottype == "fbosslaser") or (_root.bulletarray[bc].enemyshottype == "boss2laser2")) { _root.shipshield = _root.shipshield - 1; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); } } } else if (_root.bulletarray[bc].shottype != "enemy") { if ((_root.bulletarray[bc].shottype == "airmine") and _root.bulletarray[bc].hitTest(_root.ship.shipmc)) { _root.shipshield = _root.shipshield - 0.3; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); } i = 0; while (i < _root.enemyarray.length) { if (_root.bulletarray[bc].hitTest(_root.enemyarray[i].enemytype)) { _root.hitenemy = _root.enemyarray[i]._name; if ((((((((_root.bulletarray[bc].shottype != "blue1") and (_root.bulletarray[bc].shottype != "blue4")) and (_root.bulletarray[bc].shottype != "blue3")) and (_root.bulletarray[bc].shottype != "blue2")) and (_root.bulletarray[bc].shottype != "sblue")) and (_root.bulletarray[bc].shottype != "bomb")) and (_root.bulletarray[bc].shottype != "sred")) and (_root.bulletarray[bc].shottype != "sgreen")) { if (_root.bulletarray[bc].xvalue >= 0) { _root.mhexplosionmc.duplicateMovieClip("mhexplode" + _root.depth, _root.depth); _root["mhexplode" + _root.depth]._x = _root.bulletarray[bc]._x + 20; _root["mhexplode" + _root.depth]._y = _root.bulletarray[bc]._y; _root["mhexplode" + _root.depth]._xscale = (_root["mhexplode" + _root.depth]._yscale = 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } else { _root.mhexplosionmc.duplicateMovieClip("mhexplode" + _root.depth, _root.depth); _root["mhexplode" + _root.depth]._x = _root.bulletarray[bc]._x - 20; _root["mhexplode" + _root.depth]._y = _root.bulletarray[bc]._y; _root["mhexplode" + _root.depth]._xscale = (_root["mhexplode" + _root.depth]._yscale = 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } } else if ((((_root.bulletarray[bc].shottype != "sblue") and (_root.bulletarray[bc].shottype != "bomb")) and (_root.bulletarray[bc].shottype != "sred")) and (_root.bulletarray[bc].shottype != "sgreen")) { _root.bulletarray[bc].explodedelay++; if (_root.bulletarray[bc].explodedelay == 3) { _root.mhexplosionmc.duplicateMovieClip("mhexplode" + _root.depth, _root.depth); _root["mhexplode" + _root.depth]._x = _root.bulletarray[bc]._x + 30; _root["mhexplode" + _root.depth]._y = (_root.enemyarray[i]._y + _root.enemyarray[i].enemytype._y) + (random(30) - 15); _root["mhexplode" + _root.depth]._xscale = (_root["mhexplode" + _root.depth]._yscale = 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.bulletarray[bc].explodedelay = 0; } } if (_root.bulletarray[bc].shottype == "homingmissile") { _root.mhexplosion.stop(); _root.mhexplosion.start(0, 0); _root.enemyarray[i].health = _root.enemyarray[i].health - 2; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 2; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "red1") { _root.enemyarray[i].health = _root.enemyarray[i].health - 1.5; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 1.5; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "red2") { _root.enemyarray[i].health = _root.enemyarray[i].health - 1.9; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 1.9; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "red3") { _root.enemyarray[i].health = _root.enemyarray[i].health - 2.3; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 2.3; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "red4") { _root.enemyarray[i].health = _root.enemyarray[i].health - 2.7; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 2.7; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "sred") { if (_root.bulletarray[bc].exploding == true) { _root.enemyarray[i].health = _root.enemyarray[i].health - 1; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 0.2; } } } else if (_root.bulletarray[bc].shottype == "blue1") { _root.enemyarray[i].health = _root.enemyarray[i].health - 0.32; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 0.3; } } else if (_root.bulletarray[bc].shottype == "blue2") { _root.enemyarray[i].health = _root.enemyarray[i].health - 0.36; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 0.36; } } else if (_root.bulletarray[bc].shottype == "blue3") { _root.enemyarray[i].health = _root.enemyarray[i].health - 0.4; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 0.42; } } else if (_root.bulletarray[bc].shottype == "blue4") { _root.enemyarray[i].health = _root.enemyarray[i].health - 0.44; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 0.47; } } else if (_root.bulletarray[bc].shottype == "sblue") { _root.enemyarray[i].health = _root.enemyarray[i].health - 2; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 0.4; } } else if (_root.bulletarray[bc].shottype == "green1") { _root.enemyarray[i].health = _root.enemyarray[i].health - 1.8; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 1.8; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "green2") { _root.enemyarray[i].health = _root.enemyarray[i].health - 2; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 2; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "green3") { _root.enemyarray[i].health = _root.enemyarray[i].health - 2.2; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 2.4; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "green4") { _root.enemyarray[i].health = _root.enemyarray[i].health - 2.5; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 2.5; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } else if (_root.bulletarray[bc].shottype == "sgreen") { _root.enemyarray[i].health = _root.enemyarray[i].health - 2; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 0.4; } } else if (_root.bulletarray[bc].shottype == "laser") { _root.enemyarray[i].health = _root.enemyarray[i].health - 3.5; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 1.17; } } else if (_root.bulletarray[bc].shottype == "bomb") { if (_root.bombexplode == true) { _root.enemyarray[i].health = _root.enemyarray[i].health - 2; if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.boss3health = _root.boss3health - 0.4; } } } _root.enemyarray[i].gotoAndPlay("hit"); if (((_root.enemyarray[i].enemytypevar == "boss3head") or (_root.enemyarray[i].enemytypevar == "boss3body")) or (_root.enemyarray[i].enemytypevar == "boss3tail")) { _root.enemyarray[_root.enemyarray.length - 1].gotoAndPlay("hit"); _root.enemyarray[_root.enemyarray.length - 2].gotoAndPlay("hit"); _root.enemyarray[_root.enemyarray.length - 3].gotoAndPlay("hit"); _root.enemyarray[_root.enemyarray.length - 4].gotoAndPlay("hit"); _root.enemyarray[_root.enemyarray.length - 5].gotoAndPlay("hit"); } } i++; } } if (_root.bulletarray[bc].xvalue > 0) { if (((_root.bulletarray[bc]._x > 730) or (_root.bulletarray[bc]._y < -50)) or (_root.bulletarray[bc]._y > 550)) { if (_root.bulletarray[bc].shottype == "bomb") { _root.bombfire = false; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } } else if (_root.bulletarray[bc].xvalue < 0) { if (((_root.bulletarray[bc]._x < -30) or (_root.bulletarray[bc]._y < -50)) or (_root.bulletarray[bc]._y > 550)) { if (_root.bulletarray[bc].shottype == "bomb") { _root.bombfire = false; } _root.bulletarray[bc].removeMovieClip(); _root.bulletarray.splice(bc, 1); } } bc--; } } }; _root.powerupmove = function () { var pu = (_root.poweruparray.length - 1); while (pu >= 0) { _root.poweruparray[pu]._x = _root.poweruparray[pu]._x + _root.powerupspeed; if (_root.poweruparray[pu]._x < -50) { _root.poweruparray[pu].removeMovieClip(); } if (_root.poweruparray[pu].poweruptype == "weapon") { if (_root.poweruparray[pu].needchange == true) { if (_root.poweruparray[pu].ticks2 < 20) { _root.poweruparray[pu].ticks2++; } else { _root.poweruparray[pu].ticks2 = 0; _root.poweruparray[pu].needchange = false; _root.poweruparray[pu].play(); } } } if (_root.poweruparray[pu].hitTest(_root.ship.shipmc)) { if (_root.poweruparray[pu].poweruptype == "weapon") { _root.weaponpowersound.stop(); _root.weaponpowersound.start(0, 0); if (_root.weapontype == _root.poweruparray[pu].weaponpowercolor) { if (_root.levelnumber == 1) { if (_root.weaponnumber < 2) { _root.weaponnumber++; } else if (_root.poweruparray[pu].weaponpowercolor == "red") { _root.sredx = _root.poweruparray[pu]._x; _root.sredy = _root.poweruparray[pu]._y; _root.sred(); } else if (_root.poweruparray[pu].weaponpowercolor == "blue") { _root.sbluex = _root.poweruparray[pu]._x; _root.sbluey = _root.poweruparray[pu]._y; _root.sblue(); } else if (_root.poweruparray[pu].weaponpowercolor == "green") { _root.sgreenfunction = true; _root.sgreentimer = 0; } } else if (_root.levelnumber == 2) { if (_root.weaponnumber < 3) { _root.weaponnumber++; } else if (_root.poweruparray[pu].weaponpowercolor == "red") { _root.sredx = _root.poweruparray[pu]._x; _root.sredy = _root.poweruparray[pu]._y; _root.sred(); } else if (_root.poweruparray[pu].weaponpowercolor == "blue") { _root.sbluex = _root.poweruparray[pu]._x; _root.sbluey = _root.poweruparray[pu]._y; _root.sblue(); } else if (_root.poweruparray[pu].weaponpowercolor == "green") { _root.sgreenfunction = true; _root.sgreentimer = 0; } } else if (_root.levelnumber >= 3) { if (_root.weaponnumber < 4) { _root.weaponnumber++; } else if (_root.poweruparray[pu].weaponpowercolor == "red") { _root.sredx = _root.poweruparray[pu]._x; _root.sredy = _root.poweruparray[pu]._y; _root.sred(); } else if (_root.poweruparray[pu].weaponpowercolor == "blue") { _root.sbluex = _root.poweruparray[pu]._x; _root.sbluey = _root.poweruparray[pu]._y; _root.sblue(); } else if (_root.poweruparray[pu].weaponpowercolor == "green") { _root.sgreenfunction = true; _root.sgreentimer = 0; } } } else { _root.transform = true; } _root.weapontype = _root.poweruparray[pu].weaponpowercolor; _root.poweruparray[pu].removeMovieClip(); } else if (_root.poweruparray[pu].poweruptype == "missile") { _root.missilepowersound.stop(); _root.missilepowersound.start(0, 0); if (_root.mhlevel < 5) { _root.mhlevel++; _root.whichmissileframe = "level" + _root.mhlevel; _root.status.mask.missile.gotoAndStop(_root.whichmissileframe); } else if (_root.mode == "mission") { _root.totalscore = _root.totalscore + 10; _root.status.score = int(_root.totalscore); } else if (_root.mode == "survival") { _root.totalscore2 = _root.totalscore2 + 10; _root.status.score = int(_root.totalscore2); } } else if (_root.poweruparray[pu].poweruptype == "bomb") { _root.bombpowersound.stop(); _root.bombpowersound.start(0, 0); if (_root.numberofbombs < 15) { _root.numberofbombs++; _root.status.bomb.gotoAndStop(_root.numberofbombs + 1); } else if (_root.mode == "stage") { _root.totalscore = _root.totalscore + 10; _root.status.score = int(_root.totalscore); } else if (_root.mode == "survival") { _root.totalscore2 = _root.totalscore2 + 10; _root.status.score = int(_root.totalscore2); } } else if (_root.poweruparray[pu].poweruptype == "health") { _root.healthpowersound.stop(); _root.healthpowersound.start(0, 0); if (_root.shipshield > 35) { _root.shipshield = 50; } else { _root.shipshield = _root.shipshield + 15; } _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); } else if (_root.poweruparray[pu].poweruptype == "minihealth") { _root.healthpowersound.stop(); _root.healthpowersound.start(0, 0); if (_root.shipshield > 45) { _root.shipshield = 50; } else { _root.shipshield = _root.shipshield + 5; } _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); } else if (_root.poweruparray[pu].poweruptype == "protector") { _root.protectorpowersound.stop(); _root.protectorpowersound.start(0, 0); _root.protector1health = (_root.protector2health = 15); _root.ship.protector.sphere.gotoAndStop("full"); _root.ship.protector2.sphere.gotoAndStop("full"); if (_root.protectorlevel < 4) { _root.protectorlevel++; if (_root.protectorlevel > 2) { _root.ship.protector2.gotoAndStop("protector"); } else if (_root.protectorlevel == 1) { _root.ship.protector.gotoAndStop("protector"); } } else if (_root.mode == "stage") { _root.totalscore = _root.totalscore + 10; _root.status.score = int(_root.totalscore); } else if (_root.mode == "survival") { _root.totalscore2 = _root.totalscore2 + 10; _root.status.score = int(_root.totalscore2); } } _root.poweruparray[pu].removeMovieClip(); _root.poweruparray.splice(pu, 1); } pu--; } }; _root.getkey = function () { var k = Key.isDown; kleft = k(_root.leftkey); kright = k(_root.rightkey); kup = k(_root.upkey); kdown = k(_root.downkey); kspace = k(_root.firekey); if (kup) { _root.ship._y = _root.ship._y - _root.speed; if (_root.ship._y < _root.top_border) { _root.ship._y = _root.top_border; } } if (kdown) { _root.ship._y = _root.ship._y + _root.speed; if (_root.ship._y > _root.bottom_border) { _root.ship._y = _root.bottom_border; } } if (kright) { _root.ship._x = _root.ship._x + _root.speed; if (_root.ship._x > _root.right_border) { _root.ship._x = _root.right_border; } } if (kleft) { _root.ship._x = _root.ship._x - _root.speed; if (_root.ship._x < _root.left_border) { _root.ship._x = _root.left_border; } } _root.firetimer++; if (kspace && (_root.firetimer >= _root.interval)) { if (_root.weapontype == "red") { _root.redsound.stop(); _root.redsound.start(0, 0); } else if (_root.weapontype == "blue") { _root.bluesound.stop(); _root.bluesound.start(0, 0); } else if (_root.weapontype == "green") { _root.greensound.stop(); _root.greensound.start(0, 0); } _root[_root.weapontype + _root.weaponnumber](); _root.firetimer = 0; } }; function clean() { _root.status._visible = false; _root.ship._x = -200; _root.ship._y = -200; _root.target._x = 1200; _root.target._y = 100; _root.time = (_root.bosscoming = (_root.boss1electric = (_root.boss1canon = (_root.boss2laser = (_root.boss2gun = (_root.hitshipcounter = 0)))))); _root.boss = false; _root.enemyticker = -25; _root.boss2firelaser = false; _root.fbosswave == 0; _root.fbossrest = false; _root.fbossrestcounter = 0; _root.boss3totalhealth = (_root.boss3health = 299 * _root.health); _root.e1w1pos = (_root.e2w1pos = (_root.e3w1pos = (_root.e4w1pos = (_root.e4w2pos = (_root.e5w1pos = (_root.e6w1pos = (_root.e7w1pos = (_root.boss3counter = 0)))))))); _root.enemy1wavetimer5 = 100; _root.enemy2wavetimer5 = 500; _root.enemy3wavetimer5 = 800; _root.enemy4wavetimer5 = 900; _root.enemy4wave2timer5 = 1200; _root.enemy5wave1timer5 = 1500; _root.enemy6wave1timer5 = 1800; _root.enemy7wave1timer5 = 2100; _root.playField.removeMovieClip(); _root.bg.gotoAndStop("blank"); i = _root.enemyarray.length - 1; while (i >= 0) { _root.enemyarray[i].removeMovieClip(); _root.enemyarray.pop(); i--; } j = _root.bulletarray.length - 1; while (j >= 0) { _root.bulletarray[j].removeMovieClip(); _root.bulletarray.pop; j--; } k = _root.poweruparray.length - 1; while (k >= 0) { _root.poweruparray[k].removeMovieClip(); _root.poweruparray.pop; k--; } } _root.newlevel = function () { _root.e1w1pos = (_root.e2w1pos = (_root.e3w1pos = (_root.e4w1pos = (_root.e4w2pos = (_root.e5w1pos = (_root.e6w1pos = (_root.e7w1pos = (_root.boss3counter = 0)))))))); }; _root.boss2lasersound.onSoundComplete = function () { if ((_root.levelnumber == 4) and (_root.gamestart == true)) { _root.boss2lasersound2.stop(); _root.boss2lasersound2.start(0, 0); _root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); ec = 0; while (ec < _root.enemyarray.length) { if (_root.enemyarray[ec].enemytypevar == "fboss") { _root.fbosslaserx = (_root.enemyarray[ec]._x + _root.enemyarray[ec].enemytype._x) + _root.enemyarray[ec].enemytype.laser._x; _root.fbosslasery = (_root.enemyarray[ec]._y + _root.enemyarray[ec].enemytype._y) + _root.enemyarray[ec].enemytype.laser._y; _root.enemyarray[ec].enemytype.charge.gotoAndStop("blank"); } ec++; } _root["enemybullet" + _root.depth]._x = _root.fbosslaserx; _root["enemybullet" + _root.depth]._y = _root.fbosslasery; _root["enemybullet" + _root.depth].xvalue = 2 * (-_root.enemy1bulletspeed); _root["enemybullet" + _root.depth].gotoAndStop("fbosslaser"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "fbosslaser"; _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } }; _root.poweruparray = new Array(); _root.weaponpowerupfunction = function () { _root.weaponPower.duplicateMovieClip("weaponpower" + _root.depth, _root.depth); _root.poweruparray[_root.poweruparray.length] = _root["weaponpower" + _root.depth]; _root["weaponpower" + _root.depth].poweruptype = "weapon"; whichcolor = random(3) + 1; if (whichcolor == 1) { _root["weaponpower" + _root.depth].gotoAndStop("red"); } if (whichcolor == 2) { _root["weaponpower" + _root.depth].gotoAndStop("blue"); } if (whichcolor == 3) { _root["weaponpower" + _root.depth].gotoAndStop("green"); } _root["weaponpower" + _root.depth]._x = _root.assignx; _root["weaponpower" + _root.depth]._y = _root.assigny; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.healthpowerupfunction = function () { _root.healthpower.duplicateMovieClip("healthpower" + _root.depth, _root.depth); _root.poweruparray[_root.poweruparray.length] = _root["healthpower" + _root.depth]; _root["healthpower" + _root.depth].poweruptype = "health"; _root["healthpower" + _root.depth]._y = random(300) + 100; _root["healthpower" + _root.depth]._x = 720; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.minihealthpowerupfunction = function () { _root.healthpower.duplicateMovieClip("healthpower" + _root.depth, _root.depth); _root.poweruparray[_root.poweruparray.length] = _root["healthpower" + _root.depth]; _root["healthpower" + _root.depth].poweruptype = "minihealth"; _root["healthpower" + _root.depth]._x = _root.assignx; _root["healthpower" + _root.depth]._y = _root.assigny; _root["healthpower" + _root.depth]._xscale = (_root["healthpower" + _root.depth]._yscale = 60); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.missilepowerupfunction = function () { trace(_root.depth); _root.missilepower.duplicateMovieClip("missilepower" + _root.depth, _root.depth); _root.poweruparray[_root.poweruparray.length] = _root["missilepower" + _root.depth]; _root["missilepower" + _root.depth].poweruptype = "missile"; _root["missilepower" + _root.depth]._x = _root.assignx; _root["missilepower" + _root.depth]._y = _root.assigny; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.bombpowerupfunction = function () { _root.bombpower.duplicateMovieClip("bombpower" + _root.depth, _root.depth); _root.poweruparray[_root.poweruparray.length] = _root["bombpower" + _root.depth]; _root["bombpower" + _root.depth].poweruptype = "bomb"; _root["bombpower" + _root.depth]._x = _root.assignx; _root["bombpower" + _root.depth]._y = _root.assigny; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.protectorpowerupfunction = function () { _root.protectorpower.duplicateMovieClip("protectorpower" + _root.depth, _root.depth); _root.poweruparray[_root.poweruparray.length] = _root["protectorpower" + _root.depth]; _root["protectorpower" + _root.depth].poweruptype = "protector"; _root["protectorpower" + _root.depth]._x = _root.assignx; _root["protectorpower" + _root.depth]._y = _root.assigny; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } }; _root.targetenemyfunction = function () { if (_root.enemyarray.length >= 1) { _root.targeted = true; if (_root.targetdir == "forward") { if (_root.targetenemy >= (_root.enemyarray.length - 1)) { _root.targetenemy = 0; } else { _root.targetenemy++; } trace(_root.targetenemy); trace(_root.enemyarray.length); } else if (_root.targetdir == "backward") { if (_root.targetenemy == 0) { _root.targetenemy = _root.enemyarray.length - 1; } else { _root.targetenemy--; } } _root.target._x = _root.enemyarray[_root.targetenemy]._x + _root.enemyarray[_root.targetenemy].enemytype._x; _root.target._y = _root.enemyarray[_root.targetenemy]._y + _root.enemyarray[_root.targetenemy].enemytype._y; } }; _root.autorotatefunction = function () { if (_root.autorotate == false) { _root.autorotate = true; _root.ship.protector.play(); _root.ship.protector2.play(); } else { _root.autorotate = false; _root.ship.protector.stop(); _root.ship.protector2.stop(); } }; if (_root.customcontrols == false) { _root.upkey = 38; _root.downkey = 40; _root.leftkey = 37; _root.rightkey = 39; _root.firekey = 32; _root.bombkey = 90; _root.missilekey = 32; _root.laserkey = 67; _root.targetkey = 68; _root.targetkey2 = 83; _root.autokey = 65; _root.pausekey = 80; } if (_root.reset == true) { _root.maindisplay.gotoAndStop("title"); } _root.countdowntimer = 240; _root.status._visible = false; _root.transition._visible = false; _root.enemy.gotoAndStop("blank"); _root.shipexplosion.gotoAndStop("blank"); _root.mhexplosionmc.gotoAndStop("blank"); _root.healthpower.gotoAndStop("blank"); _root.protectorpower.gotoAndStop("blank"); _root.weaponpower.gotoAndStop("blank"); _root.missilepower.gotoAndStop("blank"); _root.bombpower.gotoAndStop("blank"); _root.megahoming.gotoAndStop("blank"); _root.shot.gotoAndStop("blank"); _root.enemybullet.gotoAndStop("blank");Instance of Symbol 286 MovieClip "target" in Frame 2onClipEvent (load) { _root.target.swapDepths(100049); }Instance of Symbol 362 MovieClip "status" in Frame 2onClipEvent (load) { this.swapDepths(100050); }Instance of Symbol 471 MovieClip "display" in Frame 2onClipEvent (load) { _root.display.swapDepths(100053); }Instance of Symbol 507 MovieClip "pausedisplay" in Frame 2onClipEvent (load) { _root.pausedisplay.swapDepths(100055); _root.pausedisplay._visible = false; }Instance of Symbol 586 MovieClip "controls" in Frame 2onClipEvent (load) { _root.controls.swapDepths(100060); _root.controls._visible = false; }Instance of Symbol 44 MovieClip [transition] "transition" in Frame 2onClipEvent (load) { _root.transition.swapDepths(100062); }Instance of Symbol 93 MovieClip in Frame 2onClipEvent (load) { _root.speed = 10; _root.top_border = 40; _root.left_border = (t = 1); _root.bottom_border = 500 - _root.sheight; _root.right_border = 700 - _root.swidth; var maxenemy = 4; var MegaHomingFiredTimer = 0; var MegaHomingFiredTimer2 = 0; done = false; done2 = false; } onClipEvent (keyDown) { if ((_root.gamestart == true) and (_root.bosskilled == false)) { if (Key.isDown(_root.pausekey)) { if (_root.paused == false) { _root.bomb1.bomb.explode.stop(); bc = _root.bulletarray.length - 1; while (bc >= 0) { if (_root.bulletarray[bc].shottype == "sred") { _root.bulletarray[bc].bomb.explode.stop(); } bc--; } _root.musicplaying = false; _root.pausedisplay._visible = true; if (_root.globalmusiccontrol == "play") { _root.fade = "out"; _root.status.mask.box._x = 245; } _root.gametimer = false; _root.paused = true; _root.display.lasertxt.stop(); _quality = "high"; } else { _root.bomb1.bomb.explode.play(); bc = _root.bulletarray.length - 1; while (bc >= 0) { if (_root.bulletarray[bc].shottype == "sred") { _root.bulletarray[bc].bomb.explode.play(); } bc--; } _root.musicplaying = true; if (_root.globalmusiccontrol == "play") { _root.fade = "in"; _root.status.mask.box._x = 212.3; } _root.paused = false; _root.pausedisplay._visible = false; _root.gametimer = true; _quality = "low"; if (_root.displaytextplaying) { _root.display.lasertxt.play(); } } } } } onClipEvent (enterFrame) { if (_root.changemusic == true) { if (_root.loopvolume > 0) { _root.loopvolume = _root.loopvolume - 5; _root[_root.currentloop].setVolume(_root.loopvolume); } else if (_root.loopvolume <= 0) { _root[_root.currentloop].stop(); _root.currentloop = _root.newloop; _root[_root.currentloop].start(0, 99999); _root.loopvolume = 100; _root[_root.currentloop].setVolume(_root.loopvolume); if (_root.globalmusiccontrol == "play") { _root.fade = "in"; } _root.changemusic = false; } } if (_root.fade == "in") { if (_root.mode == "mission") { if (_root.loopvolume < 100) { _root.loopvolume = _root.loopvolume + 8; _root[_root.currentloop].setVolume(_root.loopvolume); } else if (_root.loopvolume > 100) { _root.loopvolume = 100; _root[_root.currentloop].setVolume(_root.loopvolume); } } else if (_root.mode == "survival") { if (_root.loopvolume < 300) { _root.loopvolume = _root.loopvolume + 8; _root[_root.currentloop].setVolume(_root.loopvolume); } else if (_root.loopvolume > 300) { _root.loopvolume = 300; _root[_root.currentloop].setVolume(_root.loopvolume); } } } else if (_root.fade == "out") { if (_root.loopvolume > 0) { _root.loopvolume = _root.loopvolume - 20; _root[_root.currentloop].setVolume(_root.loopvolume); } else if (_root.loopvolume < 0) { _root.loopvolume = 0; _root[_root.currentloop].setVolume(_root.loopvolume); } } if (_root.gamestart == true) { _root.test = _root.enemyticker; if (_root.youaredead == true) { if (_root.bosskilled == true) { _root.youaredead = false; _root.ship._visible = true; } _root.deathdelay++; if (_root.deathdelay == 75) { _root.deathdelay = 0; _root.transition._visible = true; _root.transition.gotoAndPlay("Close"); } } if (_root.paused == false) { if (_root.gametimer == true) { _root.time = _root.time + 0.05; _root.status.timer = int(_root.time); } if (_root.transform == true) { if (_root.weapontype == "blue") { if (_root.ship.greenpower._currentframe > 1) { _root.ship.greenpower.prevFrame(); } if (_root.ship.blue._currentframe < _root.ship.blue._totalframes) { _root.ship.blue.nextFrame(); } if ((_root.ship.greenpower._currentframe == 1) and (_root.ship.blue._currentframe == _root.ship.blue._totalframes)) { _root.transform = false; } } else if (_root.weapontype == "green") { if (_root.ship.blue._currentframe > 1) { _root.ship.blue.prevFrame(); } if (_root.ship.greenpower._currentframe < _root.ship.greenpower._totalframes) { _root.ship.greenpower.nextFrame(); } if ((_root.ship.blue._currentframe == 1) and (_root.ship.greenpower._currentframe == _root.ship.greenpower._totalframes)) { _root.transform = false; } } else if (_root.weapontype == "red") { if (_root.ship.greenpower._currentframe > 1) { _root.ship.greenpower.prevFrame(); } if (_root.ship.blue._currentframe > 1) { _root.ship.blue.prevFrame(); } if ((_root.ship.greenpower._currentframe == 1) and (_root.ship.blue._currentframe == 1)) { _root.transform = false; } } } if (_root.boss != true) { _root.bosscoming++; if ((_root.levelnumber != 4) and (_root.levelnumber != "survival")) { if (_root.bosscoming == 3600) { _root.bosscoming = 0; _root.boss = true; _root.createboss = true; _root.changemusic = true; _root.newloop = ("boss" + _root.levelnumber) + "loop"; } } else if (_root.levelnumber == 4) { if (_root.bosscoming == 100) { _root.boss = true; _root.createboss = true; _root.bosscoming = 0; } } else if (_root.levelnumber == "survival") { _root.boss = true; } _root.enemyticker++; if (_root.levelnumber == 1) { if (((_root.enemyticker == 1000) or (_root.enemyticker == 2000)) or (_root.enemyticker == 3500)) { _root.healthpowerupfunction(); } if (_root.enemyticker == _root.enemy1wavetimer[_root.e1w1pos]) { _root.enemy1wave1(); _root.e1w1pos++; } if (_root.enemyticker == _root.enemy2wavetimer[_root.e2w1pos]) { _root.enemy2wave1(); _root.e2w1pos++; } if (_root.enemyticker == _root.enemy3wavetimer[_root.e3w1pos]) { _root.enemy3wave1(); _root.e3w1pos++; } if (_root.enemyticker == _root.enemy4wavetimer[_root.e4w1pos]) { _root.enemy4wave1(); _root.e4w1pos++; } if (_root.enemyticker == _root.enemy4wave2timer[_root.e4w2pos]) { _root.enemy4wave2(); _root.e4w2pos++; } } else if (_root.levelnumber == 2) { if (((_root.enemyticker == 1000) or (_root.enemyticker == 2000)) or (_root.enemyticker == 3500)) { _root.healthpowerupfunction(); } if (_root.enemyticker == _root.enemy1wavetimer2[_root.e1w1pos]) { _root.enemy1wave1(); _root.e1w1pos++; } if (_root.enemyticker == _root.enemy2wavetimer2[_root.e2w1pos]) { _root.enemy2wave1(); _root.e2w1pos++; } if (_root.enemyticker == _root.enemy3wavetimer2[_root.e3w1pos]) { _root.enemy3wave1(); _root.e3w1pos++; } if (_root.enemyticker == _root.enemy4wavetimer2[_root.e4w1pos]) { _root.enemy4wave1(); _root.e4w1pos++; } if (_root.enemyticker == _root.enemy4wave2timer2[_root.e4w2pos]) { _root.enemy4wave2(); _root.e4w2pos++; } if (_root.enemyticker == _root.enemy5wave1timer2[_root.e5w1pos]) { _root.enemy5wave1(); _root.e5w1pos++; } if (_root.enemyticker == _root.enemy6wave1timer2[_root.e6w1pos]) { _root.enemy6wave1(); _root.e6w1pos++; } } else if (_root.levelnumber == 3) { if (((_root.enemyticker == 1000) or (_root.enemyticker == 2000)) or (_root.enemyticker == 3500)) { _root.healthpowerupfunction(); } if (_root.enemyticker == _root.enemy1wavetimer3[_root.e1w1pos]) { _root.enemy1wave1(); _root.e1w1pos++; } if (_root.enemyticker == _root.enemy2wavetimer3[_root.e2w1pos]) { _root.enemy2wave1(); _root.e2w1pos++; } if (_root.enemyticker == _root.enemy3wavetimer3[_root.e3w1pos]) { _root.enemy3wave1(); _root.e3w1pos++; } if (_root.enemyticker == _root.enemy4wavetimer3[_root.e4w1pos]) { _root.enemy4wave1(); _root.e4w1pos++; } if (_root.enemyticker == _root.enemy4wave2timer3[_root.e4w2pos]) { _root.enemy4wave2(); _root.e4w2pos++; } if (_root.enemyticker == _root.enemy5wave1timer3[_root.e5w1pos]) { _root.enemy5wave1(); _root.e5w1pos++; } if (_root.enemyticker == _root.enemy6wave1timer3[_root.e6w1pos]) { _root.enemy6wave1(); _root.e6w1pos++; } if (_root.enemyticker == _root.enemy7wave1timer3[_root.e7w1pos]) { _root.enemy7wave1(); _root.e7w1pos++; } } } else { if (_root.createboss == true) { if (_root.levelnumber != 4) { _root.whichboss = _root.levelnumber; _root[("boss" + _root.whichboss) + "function"](); _root.fade = "hold"; } else { _root.fbossfunction(); } _root.createboss = false; } if (_root.levelnumber == 4) { _root.enemyticker++; if (_root.fbosswave == 1) { _root.fbossticker++; if (_root.fbossticker == _root.enemy1wavetimer4[_root.e1w1pos]) { _root.enemy1wave1(); _root.e1w1pos++; } if (_root.fbossticker == _root.enemy2wavetimer4[_root.e2w1pos]) { _root.enemy2wave1(); _root.e2w1pos++; } if (_root.fbossticker == _root.enemy3wavetimer4[_root.e3w1pos]) { _root.enemy3wave1(); _root.e3w1pos++; } } else if (_root.fbosswave == 2) { _root.fbossticker++; if (_root.fbossticker == _root.enemy1wavetimer4[_root.e1w1pos]) { _root.enemy1wave1(); _root.e1w1pos++; } if (_root.fbossticker == _root.enemy2wavetimer4[_root.e2w1pos]) { _root.enemy2wave1(); _root.e2w1pos++; } if (_root.fbossticker == _root.enemy3wavetimer4[_root.e3w1pos]) { _root.enemy3wave1(); _root.e3w1pos++; } if (_root.fbossticker == _root.enemy4wavetimer4[_root.e4w1pos]) { _root.enemy4wave1(); _root.e4w1pos++; } if (_root.fbossticker == _root.enemy4wave2timer4[_root.e4w2pos]) { _root.enemy4wave2(); _root.e4w2pos++; } if (_root.fbossticker == _root.enemy5wave1timer4[_root.e5w1pos]) { _root.enemy5wave1(); _root.e5w1pos++; } } else if (_root.fbosswave == 3) { _root.fbossticker++; if (_root.fbossticker == _root.enemy1wavetimer4[_root.e1w1pos]) { _root.enemy1wave1(); _root.e1w1pos++; } if (_root.fbossticker == _root.enemy2wavetimer4[_root.e2w1pos]) { _root.enemy2wave1(); _root.e2w1pos++; } if (_root.fbossticker == _root.enemy3wavetimer4[_root.e3w1pos]) { _root.enemy3wave1(); _root.e3w1pos++; } if (_root.fbossticker == _root.enemy4wavetimer4[_root.e4w1pos]) { _root.enemy4wave1(); _root.e4w1pos++; } if (_root.fbossticker == _root.enemy4wave2timer4[_root.e4w2pos]) { _root.enemy4wave2(); _root.e4w2pos++; } if (_root.fbossticker == _root.enemy5wave1timer4[_root.e5w1pos]) { _root.enemy5wave1(); _root.e5w1pos++; } if (_root.fbossticker == _root.enemy6wave1timer4[_root.e6w1pos]) { _root.enemy6wave1(); _root.e6w1pos++; } if (_root.fbossticker == _root.enemy7wave1timer4[_root.e7w1pos]) { _root.enemy7wave1(); _root.e7w1pos++; } } } else if (_root.levelnumber == "survival") { _root.enemyticker++; if (_root.enemyticker == 900) { _root.havelaser = true; _root.ship.shiptype.gotoAndStop("yeslaser"); _root.ship.powerup.gotoAndPlay("laser"); } if (_root.enemyticker >= 2500) { if (((((((_root.enemyticker == 2500) or (_root.enemyticker == 3100)) or (_root.enemyticker == 3700)) or (_root.enemyticker == 4300)) or (_root.enemyticker == 4900)) or (_root.enemyticker == 5500)) or (_root.enemyticker == 6100)) { _root.enemy1delay = _root.enemy1delay - 12; _root.enemy2delay = _root.enemy2delay - 12; _root.enemy3delay = _root.enemy3delay - 12; _root.enemy4delay = _root.enemy4delay - 12; _root.enemy4delay2 = _root.enemy4delay2 - 12; _root.enemy5delay = _root.enemy5delay - 12; _root.enemy6delay = _root.enemy6delay - 12; _root.enemy7delay = _root.enemy7delay - 12; if (_root.enemy1delay < 0) { _root.enemy1delay = 0; } if (_root.enemy2delay < 0) { _root.enemy2delay = 0; } if (_root.enemy3delay < 0) { _root.enemy3delay = 0; } if (_root.enemy4delay < 0) { _root.enemy4delay = 0; } if (_root.enemy4delay2 < 0) { _root.enemy4delay2 = 0; } if (_root.enemy5delay < 0) { _root.enemy5delay = 0; } if (_root.enemy6delay < 0) { _root.enemy6delay = 0; } if (_root.enemy7delay < 0) { _root.enemy7delay = 0; } } } if (_root.enemyticker == _root.enemy1wavetimer5) { _root.enemy1wave1(); _root.enemy1wavetimer5 = _root.enemy1wavetimer5 + (random(125) + _root.enemy1delay); } if (_root.enemyticker == _root.enemy2wavetimer5) { _root.enemy2wave1(); _root.enemy2wavetimer5 = _root.enemy2wavetimer5 + (random(125) + _root.enemy2delay); } if (_root.enemyticker == _root.enemy3wavetimer5) { _root.enemy3wave1(); _root.enemy3wavetimer5 = _root.enemy3wavetimer5 + (random(125) + _root.enemy3delay); } if (_root.enemyticker == _root.enemy4wavetimer5) { _root.enemy4wave1(); _root.enemy4wavetimer5 = _root.enemy4wavetimer5 + (random(125) + _root.enemy4delay); } if (_root.enemyticker == _root.enemy4wave2timer5) { _root.enemy4wave2(); _root.enemy4wave2timer5 = _root.enemy4wave2timer5 + (random(125) + _root.enemy4delay2); } if (_root.enemyticker == _root.enemy5wave1timer5) { _root.enemy5wave1(); _root.enemy5wave1timer5 = _root.enemy5wave1timer5 + (random(150) + _root.enemy5delay); _root.enemy3wavetimer5 = 0; } if (_root.enemyticker == _root.enemy6wave1timer5) { _root.enemy6wave1(); _root.enemy6wave1timer5 = _root.enemy6wave1timer5 + (random(175) + _root.enemy6delay); _root.enemy4wave2timer5 = 0; } if (_root.enemyticker == _root.enemy7wave1timer5) { _root.enemy7wave1(); _root.enemy7wave1timer5 = _root.enemy7wave1timer5 + (random(175) + _root.enemy7delay); } } } if (_root.enemyarray.length > 0) { _root.enemymove(); _root.enemymove2(); } if (_root.youaredead == false) { _root.getkey(); if (Key.isDown(65) && (getTimer() > (rotatetimer + 300))) { _root.autorotatefunction(); rotatetimer = getTimer(); } if (_root.protectorlevel <= 2) { _root.ship.protector2.gotoAndStop("blank"); if (_root.protectorlevel == 0) { _root.ship.protector.gotoAndStop("blank"); } } if (_root.protectorlevel >= 1) { if (Key.isDown(_root.firekey) && (getTimer() > (ProtectorFiredTimer + 300))) { _root.redsound.stop(); _root.redsound.start(0, 0); _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = ((_root.ship._x + _root.ship.protector._x) + _root.ship.protector.sphere._x) + _root.ship.protector.sphere.gun._x; _root["bullet" + _root.depth]._y = ((_root.ship._y + _root.ship.protector._y) + _root.ship.protector.sphere._y) + _root.ship.protector.sphere.gun._y; _root["bullet" + _root.depth].xvalue = _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].shottype = "red1"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } if (_root.protectorlevel >= 2) { _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = ((_root.ship._x + _root.ship.protector._x) + _root.ship.protector.sphere._x) + _root.ship.protector.sphere.gun2._x; _root["bullet" + _root.depth]._y = ((_root.ship._y + _root.ship.protector._y) + _root.ship.protector.sphere._y) + _root.ship.protector.sphere.gun2._y; _root["bullet" + _root.depth].xvalue = -_root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].shottype = "red1"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } if (_root.protectorlevel >= 3) { _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = ((_root.ship._x + _root.ship.protector2._x) + _root.ship.protector2.sphere._x) + _root.ship.protector2.sphere.gun._x; _root["bullet" + _root.depth]._y = ((_root.ship._y + _root.ship.protector2._y) + _root.ship.protector2.sphere._y) + _root.ship.protector2.sphere.gun._y; _root["bullet" + _root.depth].xvalue = _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].shottype = "red1"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } if (_root.protectorlevel == 4) { _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = ((_root.ship._x + _root.ship.protector2._x) + _root.ship.protector2.sphere._x) + _root.ship.protector2.sphere.gun2._x; _root["bullet" + _root.depth]._y = ((_root.ship._y + _root.ship.protector2._y) + _root.ship.protector2.sphere._y) + _root.ship.protector2.sphere.gun2._y; _root["bullet" + _root.depth].xvalue = -_root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].shottype = "red1"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } ProtectorFiredTimer = getTimer(); } if (_root.autorotate == false) { if (Key.isDown(_root.upkey)) { if (Key.isDown(_root.rightkey)) { if ((_root.ship.protector._currentframe <= 27) and (_root.ship.protector._currentframe > 7)) { _root.ship.protector.prevFrame(); } else if ((_root.ship.protector._currentframe > 27) or (_root.ship.protector._currentframe < 7)) { _root.ship.protector.nextFrame(); } } else if (Key.isDown(_root.leftkey)) { if ((_root.ship.protector._currentframe >= 37) or (_root.ship.protector._currentframe < 17)) { _root.ship.protector.nextFrame(); } else if ((_root.ship.protector._currentframe < 37) and (_root.ship.protector._currentframe > 17)) { _root.ship.protector.prevFrame(); } } else if ((_root.ship.protector._currentframe > 32) or (_root.ship.protector._currentframe < 12)) { _root.ship.protector.nextFrame(); } else if ((_root.ship.protector._currentframe <= 32) and (_root.ship.protector._currentframe > 12)) { _root.ship.protector.prevFrame(); } } if (Key.isDown(_root.downkey)) { if (Key.isDown(_root.rightkey)) { if ((_root.ship.protector._currentframe <= 17) or (_root.ship.protector._currentframe > 37)) { _root.ship.protector.prevFrame(); } else if ((_root.ship.protector._currentframe > 17) and (_root.ship.protector._currentframe < 37)) { _root.ship.protector.nextFrame(); } } else if (Key.isDown(_root.leftkey)) { if ((_root.ship.protector._currentframe <= 7) or (_root.ship.protector._currentframe > 27)) { _root.ship.protector.prevFrame(); } else if ((_root.ship.protector._currentframe > 7) and (_root.ship.protector._currentframe < 27)) { _root.ship.protector.nextFrame(); } } else if ((_root.ship.protector._currentframe <= 12) or (_root.ship.protector._currentframe > 32)) { _root.ship.protector.prevFrame(); } else if ((_root.ship.protector._currentframe < 32) and (_root.ship.protector._currentframe > 12)) { _root.ship.protector.nextFrame(); } } if (Key.isDown(_root.rightkey)) { if (Key.isDown(_root.upkey)) { } else if (Key.isDown(_root.downkey)) { } else if ((_root.ship.protector._currentframe <= 22) and (_root.ship.protector._currentframe > 3)) { _root.ship.protector.prevFrame(); } else if (_root.ship.protector._currentframe > 22) { _root.ship.protector.nextFrame(); } } if (Key.isDown(_root.leftkey)) { if (Key.isDown(_root.upkey)) { } else if (Key.isDown(_root.downkey)) { } else if ((_root.ship.protector._currentframe > 3) and (_root.ship.protector._currentframe < 22)) { _root.ship.protector.nextFrame(); } else if ((_root.ship.protector._currentframe > 22) or (_root.ship.protector._currentframe == 3)) { _root.ship.protector.prevFrame(); } } } } if (_root.protectorlevel >= 3) { if (_root.autorotate == false) { if (Key.isDown(_root.upkey)) { if (Key.isDown(_root.rightkey)) { if ((_root.ship.protector2._currentframe <= 27) and (_root.ship.protector2._currentframe > 7)) { _root.ship.protector2.prevFrame(); } else if ((_root.ship.protector2._currentframe > 27) or (_root.ship.protector2._currentframe < 7)) { _root.ship.protector2.nextFrame(); } } else if (Key.isDown(_root.leftkey)) { if ((_root.ship.protector2._currentframe >= 37) or (_root.ship.protector2._currentframe < 17)) { _root.ship.protector2.nextFrame(); } else if ((_root.ship.protector2._currentframe < 37) and (_root.ship.protector2._currentframe > 17)) { _root.ship.protector2.prevFrame(); } } else if ((_root.ship.protector2._currentframe > 32) or (_root.ship.protector2._currentframe < 12)) { _root.ship.protector2.nextFrame(); } else if ((_root.ship.protector2._currentframe <= 32) and (_root.ship.protector2._currentframe > 12)) { _root.ship.protector2.prevFrame(); } } if (Key.isDown(_root.downkey)) { if (Key.isDown(_root.rightkey)) { if ((_root.ship.protector2._currentframe <= 17) or (_root.ship.protector2._currentframe > 37)) { _root.ship.protector2.prevFrame(); } else if ((_root.ship.protector2._currentframe > 17) and (_root.ship.protector2._currentframe < 37)) { _root.ship.protector2.nextFrame(); } } else if (Key.isDown(_root.leftkey)) { if ((_root.ship.protector2._currentframe <= 7) or (_root.ship.protector2._currentframe > 27)) { _root.ship.protector2.prevFrame(); } else if ((_root.ship.protector2._currentframe > 7) and (_root.ship.protector2._currentframe < 27)) { _root.ship.protector2.nextFrame(); } } else if ((_root.ship.protector2._currentframe <= 12) or (_root.ship.protector2._currentframe > 32)) { _root.ship.protector2.prevFrame(); } else if ((_root.ship.protector2._currentframe < 32) and (_root.ship.protector2._currentframe > 12)) { _root.ship.protector2.nextFrame(); } } if (Key.isDown(_root.rightkey)) { if (Key.isDown(_root.upkey)) { } else if (Key.isDown(_root.downkey)) { } else if ((_root.ship.protector2._currentframe <= 22) and (_root.ship.protector2._currentframe > 3)) { _root.ship.protector2.prevFrame(); } else if (_root.ship.protector2._currentframe > 22) { _root.ship.protector2.nextFrame(); } } if (Key.isDown(_root.leftkey)) { if (Key.isDown(_root.upkey)) { } else if (Key.isDown(_root.downkey)) { } else if ((_root.ship.protector2._currentframe > 3) and (_root.ship.protector2._currentframe < 22)) { _root.ship.protector2.nextFrame(); } else if ((_root.ship.protector2._currentframe > 22) or (_root.ship.protector2._currentframe == 3)) { _root.ship.protector2.prevFrame(); } } } } if (Key.isDown(_root.bombkey) && (getTimer() > (BombFiredTimer + 150))) { _root.firebomb(); BombFiredTimer = getTimer(); } if (_root.havelaser == true) { if (Key.isDown(_root.laserkey)) { _root.firelaser(); } } if (_root.havelaser == true) { if (_root.status.mask.laser._xscale < 100) { _root.status.mask.laser._xscale = _root.status.mask.laser._xscale + 0.7; } else { _root.status.mask.laser._xscale = 100; } } if ((_root.mhlevel == 1) or (_root.mhlevel == 2)) { mhtimer = 36; } else if (_root.mhlevel == 3) { mhtimer = 53; } else if (_root.mhlevel == 4) { mhtimer = 60; } else if (_root.mhlevel == 5) { mhtimer = 67; } if (MegaHomingFiredTimer < 68) { MegaHomingFiredTimer++; } if (MegaHomingFiredTimer2 < 6) { MegaHomingFiredTimer2++; } if (Key.isDown(_root.missilekey) && (MegaHomingFiredTimer >= mhtimer)) { if (_root.mhlevel != 0) { _root.firemh = true; MegaHomingFiredTimer = 0; mhticks = 1; } } if (((_root.firemh == true) && (MegaHomingFiredTimer2 >= 5)) && (mhticks <= _root.mhlevel)) { if (mhticks == _root.mhlevel) { _root.firemh = false; } mhticks++; _root.firehmfunction(); MegaHomingFiredTimer2 = 0; } if (Key.isDown(_root.targetkey) && (getTimer() > (TargetTimer + 150))) { _root.targetdir = "forward"; _root.targetenemyfunction(); TargetTimer = getTimer(); } else if (Key.isDown(_root.targetkey2) && (getTimer() > (TargetTimer + 150))) { _root.targetdir = "backward"; _root.targetenemyfunction(); TargetTimer = getTimer(); } } if (_root.targetenemy >= _root.enemyarray.length) { _root.targetenemy = 0; } if (_root.enemyarray.length < 1) { _root.target._x = 900; _root.target._y = 175; } else if (_root.targeted == true) { if (_root.fbossrest == true) { if (_root.targetdir == "forward") { if ((((((_root.enemyarray[_root.targetenemy].enemytypevar == "launcher1") or (_root.enemyarray[_root.targetenemy].enemytypevar == "launcher2")) or (_root.enemyarray[_root.targetenemy].enemytypevar == "launcher3")) or (_root.enemyarray[_root.targetenemy].enemytypevar == "launcher4")) or (_root.enemyarray[_root.targetenemy].enemytypevar == "launcher5")) or (_root.enemyarray[_root.targetenemy].enemytypevar == "fboss")) { _root.targetenemy++; } } else if (_root.targetdir == "backward") { if ((((((_root.enemyarray[_root.targetenemy].enemytypevar == "launcher1") or (_root.enemyarray[_root.targetenemy].enemytypevar == "launcher2")) or (_root.enemyarray[_root.targetenemy].enemytypevar == "launcher3")) or (_root.enemyarray[_root.targetenemy].enemytypevar == "launcher4")) or (_root.enemyarray[_root.targetenemy].enemytypevar == "launcher5")) or (_root.enemyarray[_root.targetenemy].enemytypevar == "fboss")) { _root.targetenemy = _root.enemyarray.length - 1; } } } _root.target._x = _root.enemyarray[_root.targetenemy]._x + _root.enemyarray[_root.targetenemy].enemytype._x; _root.target._y = _root.enemyarray[_root.targetenemy]._y + _root.enemyarray[_root.targetenemy].enemytype._y; _root.target.tl._x = -(_root.enemyarray[_root.targetenemy]._width / 2); _root.target.tl._y = -(_root.enemyarray[_root.targetenemy]._height / 2); _root.target.tr._x = _root.enemyarray[_root.targetenemy]._width / 2; _root.target.tr._y = -(_root.enemyarray[_root.targetenemy]._height / 2); _root.target.bl._x = -(_root.enemyarray[_root.targetenemy]._width / 2); _root.target.bl._y = _root.enemyarray[_root.targetenemy]._height / 2; _root.target.br._x = _root.enemyarray[_root.targetenemy]._width / 2; _root.target.br._y = _root.enemyarray[_root.targetenemy]._height / 2; } if (_root.poweruparray.length > 0) { _root.powerupmove(); } _root.bulletmovement(); if (_root.changelevels == true) { _root.levelchangedelay++; if (_root.levelchangedelay == 100) { _root.levelchangedelay = 0; _root.levelnumber++; _root.transition._visible = true; _root.transition.gotoAndPlay("close"); _root.display.gotoAndStop(1); _root.startgame = true; _root.changelevels = false; _root[_root.currentloop].stop(); } } if (_root.sgreenfunction == true) { _root.sgreentimer++; if (_root.sgreentimer == 3) { _root.greensound.stop(); _root.greensound.start(0, 0); _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = -100; _root["bullet" + _root.depth]._y = 150; _root["bullet" + _root.depth].xvalue = 2 * _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("green4"); _root["bullet" + _root.depth].shottype = "sgreen"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; _root["bullet" + _root.depth]._xscale = (_root["bullet" + _root.depth]._yscale = 500); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } else if (_root.sgreentimer == 7) { _root.greensound.stop(); _root.greensound.start(0, 0); _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = -100; _root["bullet" + _root.depth]._y = 400; _root["bullet" + _root.depth].xvalue = 2 * _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("green4"); _root["bullet" + _root.depth].shottype = "sgreen"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; _root["bullet" + _root.depth]._xscale = (_root["bullet" + _root.depth]._yscale = 500); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } } else if (_root.sgreentimer == 12) { _root.greensound.stop(); _root.greensound.start(0, 0); _root.shot.duplicateMovieClip("bullet" + _root.depth, _root.depth); _root["bullet" + _root.depth]._x = -100; _root["bullet" + _root.depth]._y = 250; _root["bullet" + _root.depth].xvalue = 2 * _root.bulletspeed; _root["bullet" + _root.depth].yvalue = 0; _root["bullet" + _root.depth].gotoAndStop("green4"); _root["bullet" + _root.depth].shottype = "sgreen"; _root.bulletarray[_root.bulletarray.length] = _root["bullet" + _root.depth]; _root["bullet" + _root.depth]._xscale = (_root["bullet" + _root.depth]._yscale = 500); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.sgreenfunction = false; _root.sgreentimer = 0; } } if (_root.hitship == true) { if (_root.checkhealth == true) { if (_root.shipshield < 0) { if (_root.bosskilled == false) { _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0); duplicateMovieClip (_root.shipexplosion, "shipexplosion" + _root.depth, _root.depth); _root["shipexplosion" + _root.depth]._x = _root.ship._x + _root.ship.shipmc._x; _root["shipexplosion" + _root.depth]._y = _root.ship._y + _root.ship.shipmc._y; _root["shipexplosion" + _root.depth]._xscale = 200; _root["shipexplosion" + _root.depth]._yscale = _root["shipexplosion" + _root.depth]._xscale; if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } _root.ship._visible = false; _root.ship._x = -1500; _root.ship._y = 250; _root.shipshield = 1; _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.youaredead = true; _root.checkhealth = false; } else { _root.ship._y = 250; _root.shipshield = 1; } } } if (_root.shieldfadein == true) { if (_root.ship.shield._alpha < (_root.status.mask.shield._xscale + 40)) { _root.ship.shield._visible = true; _root.ship.shield._alpha = _root.ship.shield._alpha + ((_root.status.mask.shield._xscale + 40) / 2); } if (_root.ship.shield._alpha >= (_root.status.mask.shield._xscale + 40)) { _root.ship.shield._alpha = _root.status.mask.shield._xscale + 40; _root.shieldfadein = false; } } else if (_root.shieldfadein == false) { if (_root.ship.shield._alpha > 0) { _root.ship.shield._alpha = _root.ship.shield._alpha - ((_root.status.mask.shield._xscale + 40) / 6.67); } if (_root.ship.shield._alpha <= 0) { _root.ship.shield._alpha = 0; _root.ship.shield._visible = false; _root.hitship = false; } } } if (_root.levelnumber == 1) { if ((_root.bg.nebula1._x < -800) or (_root.bg.nebula1._x > 600)) { _root.bg.nebula1.gotoAndStop("blank"); } else { _root.bg.nebula1.gotoAndStop("graphic"); } if ((_root.bg.nebula2._x < -800) or (_root.bg.nebula2._x > 600)) { _root.bg.nebula2.gotoAndStop("blank"); } else { _root.bg.nebula2.gotoAndStop("graphic"); } if ((_root.bg.nebula3._x < -800) or (_root.bg.nebula3._x > 600)) { _root.bg.nebula3.gotoAndStop("blank"); } else { _root.bg.nebula3.gotoAndStop("graphic"); } if ((_root.enemyticker > 1000) and (_root.enemyticker < 3200)) { _root.bg.nebula1._x = _root.bg.nebula1._x - 0.8; _root.bg.nebula2._x = _root.bg.nebula1._x + _root.bg.nebula1._width; _root.bg.nebula3._x = _root.bg.nebula2._x + _root.bg.nebula2._width; } } else if (_root.levelnumber == 2) { if ((_root.bg.planet1._x < -600) or (_root.bg.planet1._x > 600)) { _root.bg.planet1.gotoAndStop("blank"); } else { _root.bg.planet1.gotoAndStop("graphic"); } if ((_root.bg.planet2._x < -550) or (_root.bg.planet2._x > 600)) { _root.bg.planet2.gotoAndStop("blank"); } else { _root.bg.planet2.gotoAndStop("graphic"); } if ((_root.enemyticker > 1500) and (_root.enemyticker < 2100)) { _root.bg.planet1._x = _root.bg.planet1._x - 3; } if ((_root.enemyticker > 2000) and (_root.enemyticker < 2550)) { _root.bg.planet2._x = _root.bg.planet2._x - 2.5; } } else if (_root.levelnumber == 3) { if ((_root.bg.galaxy._x < -800) or (_root.bg.galaxy._x > 600)) { _root.bg.galaxy.gotoAndStop("blank"); } else { _root.bg.galaxy.gotoAndStop("graphic"); } if ((_root.enemyticker > 1000) and (_root.enemyticker < 2400)) { _root.bg.galaxy._x = _root.bg.galaxy._x - 1; } } else if (_root.levelnumber == 4) { if ((_root.bg.asteroids._x < -800) or (_root.bg.asteroids._x > 700)) { _root.bg.asteroids.gotoAndStop("blank"); } else { _root.bg.asteroids.gotoAndStop("graphic"); } if ((_root.enemyticker > 1000) and (_root.enemyticker < 2400)) { _root.bg.asteroids._x = _root.bg.asteroids._x - 1.5; } } } } }Symbol 31 MovieClip [stars] Frame 7_x = (_x - 10); if (_x < 0) { _x = 700; } gotoAndPlay (1);Symbol 31 MovieClip [stars] Frame 15_x = (_x - 5); if (_x < 0) { _x = 700; } gotoAndPlay (9);Symbol 31 MovieClip [stars] Frame 23_x = (_x - 3); if (_x < 0) { _x = 700; } gotoAndPlay (17);Symbol 34 MovieClip [spark2] Frame 15this.removeMovieClip();Symbol 37 MovieClip [spark1] Frame 15this.removeMovieClip();Symbol 44 MovieClip [transition] Frame 1stop();Symbol 44 MovieClip [transition] Frame 2_root.fade = "out"; _root.airblast.start();Symbol 44 MovieClip [transition] Frame 23if (_root.youaredead == true) { _root.paused = false; _quality = "high"; _root.reset = false; _root.controls._visible = false; _root.gamestart = false; _root.gametimer = false; _root.shipshieldtotal = (_root.shipshield = 50); _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.numberofbombs = 3; _root.targetenemy = 0; _root.mhlevel = 0; _root.status.bomb.gotoAndStop(_root.numberofbombs + 1); _root.status.mask.missile.gotoAndStop(_root.whichmissileframe); _root.protectorlevel = 0; _root.weapontype = "red"; _root.weaponnumber = 1; _root.sgreenfunction = false; _root.sgreentimer = 0; _root.ship._visible = true; _root.youaredead = false; if (_root.mode == "mission") { _root.maindisplay.gotoAndStop("continue"); } else if (_root.mode == "survival") { _root.maindisplay.gotoAndStop("submit"); } _root.fade = "out"; _root.clean(); _root.ship.protector.gotoAndStop("blank"); _root.ship.protector.gotoAndStop("blank"); }Symbol 44 MovieClip [transition] Frame 24if (_root.fade == "out") { _root[_root.currentloop].stop(); } if (_root.startgame == true) { _root.maindisplay.gotoAndStop("blank"); _root.clean(); _root.depth = 2; _root.init(); _root.status._visible = true; if (_root.levelnumber == 1) { _root.ship.shiptype.gotoAndStop("nolaser"); _root.havelaser = false; _root.status.mask.laser._xscale = 0; _root.protectorlevel = 0; _root.weaponnumber = 1; _root.passtext1 = "neeL"; _root.display.gotoAndPlay("mission"); } else if (_root.levelnumber == 2) { _root.protectorlevel = 0; _root.havelaser = true; _root.ship.shiptype.gotoAndStop("yeslaser"); if (_root.weaponnumber > 2) { _root.weaponnumber = 1; } _root.passtext1 = "eGd1"; _root.display.gotoAndPlay("mission"); } else if (_root.levelnumber == 3) { if (_root.difficulty == "easy") { _root.protectorlevel = 2; _root.ship.protector.gotoAndStop("protector"); } else if (_root.difficulty == "expert") { _root.protectorlevel = 1; _root.ship.protector.gotoAndStop("protector"); } _root.havelaser = true; _root.ship.shiptype.gotoAndStop("yeslaser"); if (_root.weaponnumber > 3) { _root.weaponnumber = 1; } _root.passtext1 = "top8"; _root.display.gotoAndPlay("mission"); } else if (_root.levelnumber == 4) { _root.display.gotoAndPlay("fmission"); _root.havelaser = true; _root.ship.shiptype.gotoAndStop("yeslaser"); _root.passtext1 = "lylS"; _root.assignx = 900; _root.assigny = 100; _root.missilepowerupfunction(); _root.assignx = 900; _root.assigny = 200; _root.weaponpowerupfunction(); _root.assignx = 900; _root.assigny = 300; _root.missilepowerupfunction(); _root.assignx = 900; _root.assigny = 400; _root.protectorpowerupfunction(); } if (_root.mode == "survival") { _root.shipshield = 1; _root.assignx = 710; _root.assigny = 250; _root.weaponpowerupfunction(); _root.havelaser = false; _root.ship.shiptype.gotoAndStop("nolaser"); _root.status.mask.laser._xscale = 0; } else if (_root.mode == "mission") { if (_root.difficulty == "easy") { _root.shipshield = 50; } else if (_root.difficulty == "expert") { if (_root.shipshield > 45) { _root.shipshield = 50; } else { _root.shipshield = _root.shipshield + 5; } } } _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); if (_root.difficulty == "easy") { _root.enemiesrequired = 10; } else if (_root.difficulty == "expert") { _root.enemiesrequired = 13; } _quality = "low"; _root.bluedepth = 10010; _root.ship._x = 100; _root.ship._y = 200; _root.whichmissileframe = "level" + _root.mhlevel; _root.status.mask.missile.gotoAndStop(_root.whichmissileframe); _root.status.bomb.gotoAndStop(_root.numberofbombs + 1); _root.enemyticker = -25; _root.firetimer = 0; _root.sgreenfunction = false; _root.sgreentimer = 0; _root.bosskilled = false; _root.gamestart = true; _root.gametimer = true; _root.timing = true; _root.time = 0; _root.boss = false; _root.bosscoming = 0; _root.bossready = false; _root.targetenemy = 0; _root.maindisplay.gotoAndStop("blank"); _root.pausedisplay._visible = false; _root.bg.gotoAndStop("level" + _root.levelnumber); _root.currentscore = _root.totalscore; if (_root.globalmusiccontrol == "play") { _root.musicplaying = true; _root.fade = "in"; _root.loopvolume = 100; if (_root.mode == "mission") { _root.currentloop = "loop" + _root.levelnumber; _root[_root.currentloop].start(0, 20); _root[_root.currentloop].setVolume(100); } else if (_root.mode == "survival") { _root.currentloop = "survivalloop"; _root[_root.currentloop].start(0, 9999999); _root[_root.currentloop].setVolume(300); } _root.status.mask.box._x = 212.3; } _root.status._visible = true; _root.transform = true; _root.startgame = false; if (_root.numberofbombs == 0) { _root.passtext2 = "16Eg"; } else if (_root.numberofbombs == 1) { _root.passtext2 = "Gecl"; } else if (_root.numberofbombs == 2) { _root.passtext2 = "bvWi"; } else if (_root.numberofbombs == 3) { _root.passtext2 = "Sidk"; } else if (_root.numberofbombs == 4) { _root.passtext2 = "57Fd"; } else if (_root.numberofbombs == 5) { _root.passtext2 = "Wwpa"; } else if (_root.numberofbombs == 6) { _root.passtext2 = "3dEp"; } else if (_root.numberofbombs == 7) { _root.passtext2 = "rtms"; } else if (_root.numberofbombs == 8) { _root.passtext2 = "RFdY"; } else if (_root.numberofbombs == 9) { _root.passtext2 = "DFSc"; } else if (_root.numberofbombs == 10) { _root.passtext2 = "qwt7"; } else if (_root.numberofbombs == 11) { _root.passtext2 = "mzx6"; } else if (_root.numberofbombs == 12) { _root.passtext2 = "ukdf"; } else if (_root.numberofbombs == 13) { _root.passtext2 = "Elmb"; } else if (_root.numberofbombs == 14) { _root.passtext2 = "1l1l"; } else if (_root.numberofbombs == 15) { _root.passtext2 = "ghtc"; } if (_root.mhlevel == 0) { _root.passtext3 = "addd"; } else if (_root.mhlevel == 1) { _root.passtext3 = "ALfj"; } else if (_root.mhlevel == 2) { _root.passtext3 = "ruGk"; } else if (_root.mhlevel == 3) { _root.passtext3 = "ryNh"; } else if (_root.mhlevel == 4) { _root.passtext3 = "6kjs"; } else if (_root.mhlevel == 5) { _root.passtext3 = "142H"; } if (_root.weaponnumber == 1) { _root.passtext4 = "h8vb"; } else if (_root.weaponnumber == 2) { _root.passtext4 = "eaaP"; } else if (_root.weaponnumber == 3) { _root.passtext4 = "rty4"; } else if (_root.weaponnumber == 4) { _root.passtext4 = "7gf7"; } if (_root.weapontype == "red") { _root.passtext5 = "alsk"; } else if (_root.weapontype == "blue") { _root.passtext5 = "KAKA"; } else if (_root.weapontype == "green") { _root.passtext5 = "99Kl"; } } if (_root.abortmission == true) { _root[_root.currentloop].stop(); _root.pausedisplay.gotoAndStop("pause"); _root.pausedisplay._visible = false; _root.paused = false; _quality = "high"; _root.levelnumber = 1; _root.reset = true; _root.controls._visible = false; _root.gamestart = false; _root.abortmission = false; _root.maindisplay.gotoAndStop("title"); _root.clean(); _root.gamestart = false; _root.youaredead = false; _root.time = 0; _root.bombsound = false; _root.havelaser = false; _root.mhshotting = false; _root.sgreenfunction = false; _root.sgreentimer = 0; _root.autorotate = false; _root.protectorlevel = 0; _root.hitshipcounter = 0; _root.shipshieldtotal = (_root.shipshield = 50); _root.status.mask.shield._xscale = 100 * (_root.shipshield / _root.shipshieldtotal); _root.gametimer = false; _root.numberofbombs = 3; _root.targetenemy = 0; _root.mhlevel = 0; _root.whichmissileframe = "level" + _root.mhlevel; _root.status.mask.missile.gotoAndStop(_root.whichmissileframe); _root.protectorlevel = 0; _root.weapontype = "red"; _root.weaponnumber = 1; _root.boss3x = 600; _root.boss3y = 100; _root.boss3s = 5; _root.boss3turndelay = 5; _root.boss3totalhealth = (_root.boss3health = 299 * _root.health); _root.maindisplay.givepass.gotoAndStop("blank"); }Symbol 44 MovieClip [transition] Frame 51_root.transition._visible = false;Symbol 61 Buttonon (release) { this.nextFrame(); }Symbol 64 MovieClip Frame 1stop();Symbol 64 MovieClip Frame 2stop();Symbol 67 Buttonon (release) { this.prevFrame(); }Symbol 70 MovieClip Frame 1stop();Symbol 70 MovieClip Frame 2stop();Symbol 75 MovieClip Frame 1stop();Symbol 75 MovieClip Frame 2stop();Symbol 82 MovieClip Frame 1stop();Symbol 82 MovieClip Frame 2stop();Symbol 82 MovieClip Frame 3stop();Symbol 82 MovieClip Frame 4stop();Symbol 82 MovieClip Frame 5stop();Symbol 82 MovieClip Frame 6stop();Symbol 87 Buttonon (release) { _root.gotoAndStop("main"); }Symbol 92 MovieClip Frame 1stop();Symbol 102 MovieClip Frame 1stop();Symbol 102 MovieClip Frame 2stop();Symbol 105 MovieClip Frame 1stop();Symbol 105 MovieClip Frame 2stop();Symbol 108 MovieClip Frame 1stop();Symbol 108 MovieClip Frame 2stop();Symbol 111 MovieClip Frame 1stop();Symbol 111 MovieClip Frame 2stop();Symbol 114 MovieClip Frame 1stop();Symbol 114 MovieClip Frame 2stop();Symbol 117 MovieClip Frame 1stop();Symbol 117 MovieClip Frame 2stop();Symbol 120 MovieClip Frame 1stop();Symbol 120 MovieClip Frame 2stop();Symbol 121 MovieClip Frame 1stop();Symbol 121 MovieClip Frame 2stop(); _root.bg.swapDepths(1);Symbol 121 MovieClip Frame 3stop(); _root.bg.swapDepths(17);Symbol 121 MovieClip Frame 4stop(); _root.bg.swapDepths(1);Symbol 121 MovieClip Frame 5stop(); _root.bg.swapDepths(17);Symbol 161 MovieClip Frame 1stop();Symbol 161 MovieClip Frame 4this.gotoAndPlay(2);Symbol 169 MovieClip Frame 1stop();Symbol 169 MovieClip Frame 10_root.enemybullet.duplicateMovieClip("enemybullet" + _root.depth, _root.depth); _root["enemybullet" + _root.depth].offx = _parent.gun._x * Math.cos((_parent._parent._rotation * Math.PI) / 180); _root["enemybullet" + _root.depth].offy = _parent.gun._x * Math.sin(((-_parent._parent._rotation) * Math.PI) / 180); _root["enemybullet" + _root.depth]._x = (_parent._parent._x + _parent._x) + _root["enemybullet" + _root.depth].offx; _root["enemybullet" + _root.depth]._y = (_parent._parent._y + _parent._y) - _root["enemybullet" + _root.depth].offy; _root["enemybullet" + _root.depth].gotoAndStop("boss3"); _root["enemybullet" + _root.depth].shottype = "enemy"; _root["enemybullet" + _root.depth].enemyshottype = "boss3"; _root["enemybullet" + _root.depth].diffx = _root["enemybullet" + _root.depth]._x - (_root.ship._x + _root.ship.shipmc._x); _root["enemybullet" + _root.depth].diffy = _root["enemybullet" + _root.depth]._y - (_root.ship._y + _root.ship.shipmc._y); _root["enemybullet" + _root.depth].angle = Math.atan2(_root["enemybullet" + _root.depth].diffy, _root["enemybullet" + _root.depth].diffx); _root["enemybullet" + _root.depth].xvalue = -8 * Math.cos(_root["enemybullet" + _root.depth].angle); _root["enemybullet" + _root.depth].yvalue = -8 * Math.sin(_root["enemybullet" + _root.depth].angle); _root.bulletarray[_root.bulletarray.length] = _root["enemybullet" + _root.depth]; _root["enemybullet" + _root.depth].follow = 0; if (_root.depth < 10000) { _root.depth++; } else { _root.depth = 33; }Symbol 177 MovieClip Frame 1stop();Symbol 177 MovieClip Frame 5gotoAndPlay (2);Symbol 180 MovieClip Frame 1if (this._name == "shipexplosion") { this.stop(); }Symbol 180 MovieClip Frame 17this.removeMovieClip();Symbol 180 MovieClip Frame 18stop();Symbol 183 MovieClip Frame 1_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; stop();Symbol 183 MovieClip Frame 2_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 3_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 4_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 5_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 6_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 7_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 8_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 9_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 10_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 11_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 12_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 13_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 14_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 15_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 16_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 17_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 18_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 19_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 20_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 21_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 22_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 23_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 24_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 25_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 26_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 27_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 28_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 29_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 30_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 31_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 32_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 33_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 34_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 35_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 36_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 37_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 38_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 39_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 40_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 41_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 42_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 43_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 44_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 45_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 46_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 47_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 48_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 49_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 50_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 51_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 52_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 53_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 54_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 55_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 56_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 57_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 58_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 59_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 60_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 61_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 62_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 63_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 64_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 65_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 66_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 67_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 68_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 69_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 70_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 71_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 72_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 73_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 74_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 75_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 76_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 77_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 78_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 79_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 80_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 81_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 82_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 83_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 84_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 85_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 86_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 87_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 88_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 89_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 90_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 91_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 92_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 93_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 94_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 95_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 96_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 97_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 98_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 99_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 100_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 101_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 102_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 103_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 104_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 105_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 106_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 107_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 108_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 109_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 110_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 111_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 112_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 113_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 114_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 115_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 116_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 117_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 118_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 119_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 120_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.enemyexplodesound.stop(); _root.enemyexplodesound.start(0, 0);Symbol 183 MovieClip Frame 121_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 122_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 123_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 124_parent._parent._x = _parent._parent._x + _root.bossdeadspeed;Symbol 183 MovieClip Frame 125_parent._parent._x = _parent._parent._x + _root.bossdeadspeed; _root.gamecomplete = true; _root.credits.gotoAndPlay("start"); _parent._parent.removeMovieClip();Symbol 195 MovieClip Frame 1stop();Symbol 195 MovieClip Frame 2stop();Symbol 195 MovieClip Frame 3stop();Symbol 195 MovieClip Frame 4stop();Symbol 195 MovieClip Frame 5stop();Symbol 195 MovieClip Frame 6stop();Symbol 195 MovieClip Frame 7stop();Symbol 195 MovieClip Frame 8stop();Instance of Symbol 152 MovieClip in Symbol 195 MovieClip Frame 8onClipEvent (load) { randomframe = random(5) + 1; this.gotoAndPlay(randomframe); }Instance of Symbol 152 MovieClip in Symbol 195 MovieClip Frame 8onClipEvent (load) { randomframe = random(5) + 1; this.gotoAndPlay(randomframe); }Instance of Symbol 152 MovieClip in Symbol 195 MovieClip Frame 8onClipEvent (load) { randomframe = random(5) + 1; this.gotoAndPlay(randomframe); }Symbol 195 MovieClip Frame 9stop();Symbol 195 MovieClip Frame 10stop();Symbol 195 MovieClip Frame 11stop();Symbol 195 MovieClip Frame 12stop();Symbol 195 MovieClip Frame 13stop();Symbol 195 MovieClip Frame 14stop();Symbol 195 MovieClip Frame 15stop();Symbol 198 MovieClip Frame 1stop();Symbol 198 MovieClip Frame 2stop();Symbol 201 MovieClip Frame 1stop();Symbol 201 MovieClip Frame 2stop();Symbol 202 MovieClip Frame 1stop(); this.healthbar._visible = false; this.border._visible = false;Instance of Symbol 198 MovieClip "healthbar" in Symbol 202 MovieClip Frame 1/* no clip actions */Symbol 202 MovieClip Frame 2this.healthbar._visible = true; this.border._visible = true;Symbol 202 MovieClip Frame 13this.gotoAndStop("enemy");Symbol 202 MovieClip Frame 14stop();Symbol 242 MovieClip Frame 1stop();Symbol 242 MovieClip Frame 2stop();Symbol 242 MovieClip Frame 3stop();Symbol 242 MovieClip Frame 4stop();Symbol 242 MovieClip Frame 5stop();Symbol 242 MovieClip Frame 6stop();Symbol 242 MovieClip Frame 7stop();Symbol 242 MovieClip Frame 8stop();Symbol 242 MovieClip Frame 9stop();Symbol 242 MovieClip Frame 10stop();Symbol 242 MovieClip Frame 11stop();Symbol 246 MovieClip Frame 3gotoAndPlay (1);Symbol 253 MovieClip Frame 1stop();Symbol 253 MovieClip Frame 2stop();Symbol 260 MovieClip Frame 1stop();Symbol 260 MovieClip Frame 9stop();Symbol 268 MovieClip Frame 1stop();Symbol 268 MovieClip Frame 9stop();Symbol 273 MovieClip Frame 1stop();Symbol 273 MovieClip Frame 2stop();Symbol 273 MovieClip Frame 3stop();Symbol 274 MovieClip Frame 1stop();Symbol 274 MovieClip Frame 2gotoAndStop (41);Symbol 274 MovieClip Frame 42if (_root.autorotate == false) { gotoAndStop (3); } else { gotoAndPlay (3); }Symbol 275 MovieClip Frame 1stop();Symbol 275 MovieClip Frame 2gotoAndStop (41);Symbol 275 MovieClip Frame 42if (_root.autorotate == false) { gotoAndStop (3); } else { gotoAndPlay (3); }Symbol 279 MovieClip Frame 1stop();Symbol 279 MovieClip Frame 20_parent.powerup.gotoAndStop("blank");Symbol 280 MovieClip Frame 1stop(); _root.ship.shipmc._visible = false;Symbol 282 MovieClip Frame 1if (this._name == "mhexplosionmc") { stop(); }Symbol 282 MovieClip Frame 14this.removeMovieClip();Symbol 282 MovieClip Frame 15stop();Symbol 315 MovieClip Frame 21_parent.removeMovieClip();Symbol 330 MovieClip Frame 27stop(); _parent._parent.removeMovieClip();Symbol 331 MovieClip Frame 1stop();Symbol 331 MovieClip Frame 2stop();Symbol 332 MovieClip Frame 1stop();Symbol 332 MovieClip Frame 2stop();Symbol 332 MovieClip Frame 3stop();Symbol 332 MovieClip Frame 4stop();Symbol 332 MovieClip Frame 5stop();Symbol 332 MovieClip Frame 6stop();Symbol 332 MovieClip Frame 7stop();Symbol 332 MovieClip Frame 8stop();Symbol 332 MovieClip Frame 9stop();Symbol 332 MovieClip Frame 10stop();Symbol 332 MovieClip Frame 11stop();Symbol 332 MovieClip Frame 12stop();Symbol 332 MovieClip Frame 13stop(); this.shottype = "laser";Symbol 332 MovieClip Frame 14stop();Symbol 332 MovieClip Frame 15stop();Symbol 333 MovieClip Frame 1this.weaponpowercolor = "red"; this.needchange = true; stop();Symbol 333 MovieClip Frame 5this.weaponpowercolor = "blue"; this.needchange = true; stop();Symbol 333 MovieClip Frame 9this.weaponpowercolor = "green"; this.needchange = true; stop();Symbol 333 MovieClip Frame 13gotoAndStop (1);Symbol 333 MovieClip Frame 14stop();Symbol 336 MovieClip Frame 1stop();Symbol 336 MovieClip Frame 2stop();Symbol 339 MovieClip Frame 1stop();Symbol 339 MovieClip Frame 2stop();Symbol 339 MovieClip Frame 3stop();Symbol 349 MovieClip Frame 1stop();Symbol 349 MovieClip Frame 2stop();Symbol 349 MovieClip Frame 3stop();Symbol 349 MovieClip Frame 4stop();Symbol 349 MovieClip Frame 5stop();Symbol 349 MovieClip Frame 6stop();Instance of Symbol 344 MovieClip "laser" in Symbol 351 MovieClip Frame 1onClipEvent (load) { this._xscale = 0; }Symbol 357 Buttonon (release) { if (_root.paused == false) { if (_root.musicplaying == false) { _root.musicplaying = true; _root.status.mask.box._x = 212.3; _root.fade = "in"; _root.globalmusiccontrol = "play"; } } }Symbol 358 Buttonon (release) { if (_root.paused == false) { if (_root.musicplaying == true) { _root.musicplaying = false; _root.status.mask.box._x = 245; _root.fade = "out"; _root.globalmusiccontrol = "stop"; } } }Symbol 361 MovieClip Frame 1stop();Symbol 361 MovieClip Frame 2stop();Symbol 361 MovieClip Frame 3stop();Symbol 361 MovieClip Frame 4stop();Symbol 361 MovieClip Frame 5stop();Symbol 361 MovieClip Frame 6stop();Symbol 361 MovieClip Frame 7stop();Symbol 361 MovieClip Frame 8stop();Symbol 361 MovieClip Frame 9stop();Symbol 361 MovieClip Frame 10stop();Symbol 361 MovieClip Frame 11stop();Symbol 361 MovieClip Frame 12stop();Symbol 361 MovieClip Frame 13stop();Symbol 361 MovieClip Frame 14stop();Symbol 361 MovieClip Frame 15stop();Symbol 361 MovieClip Frame 16stop();Symbol 362 MovieClip Frame 1stop(); _root.status.score = _root.totalscore;Instance of Symbol 361 MovieClip "bomb" in Symbol 362 MovieClip Frame 1onClipEvent (load) { _root.status.bomb.gotoAndStop(_root.numberofbombs + 1); }Symbol 369 Buttonon (release) { _root.transition._visible = true; _root.transition.gotoAndPlay("close"); _root.totalscore2 = 0; _root.startgame = true; _root.mode = "survival"; _root.levelnumber = "survival"; _root.maindisplay.playbtn.enabled = false; _root.maindisplay.instructionsbtn.enabled = false; _root.maindisplay.optionsbtn.enabled = false; }Symbol 374 Buttonon (release) { _root.transition._visible = true; _root.transition.gotoAndPlay("close"); _root.mode = "mission"; _root.totalscore = 0; _root.startgame = true; _root.maindisplay.playbtn.enabled = false; _root.maindisplay.instructionsbtn.enabled = false; _root.maindisplay.optionsbtn.enabled = false; }Symbol 379 Buttonon (release) { _root.maindisplay.gotoAndStop("options"); if (_root.difficulty == "easy") { _root.maindisplay.beginner._visible = true; _root.maindisplay.expert._visible = false; } if (_root.difficulty == "expert") { _root.maindisplay.beginner._visible = false; _root.maindisplay.expert._visible = true; } }Symbol 384 Buttonon (release) { _root.maindisplay.gotoAndStop("instructions"); }Symbol 389 Buttonon (release) { _root.credits.gotoAndPlay("preview"); _root.maindisplay.gotoAndStop("blank"); }Symbol 393 Buttonon (release) { getURL ("http://members.lycos.co.uk/dounanthebarb/dragonforce.html?", "_blank"); }Symbol 400 Buttonon (release) { _root.controls._visible = true; _root.maindisplay._visible = false; }Symbol 405 Buttonon (release) { _root.passwordmc.gotoAndPlay("open"); _root.maindisplay.controlsbtn.enabled = false; _root.maindisplay.passwordbtn.enabled = false; _root.maindisplay.beginnerbtn.enabled = false; _root.maindisplay.expertbtn.enabled = false; }Symbol 410 Buttonon (release) { _root.difficulty = "easy"; _root.maindisplay.beginner._visible = true; _root.maindisplay.expert._visible = false; }Symbol 415 Buttonon (release) { _root.difficulty = "expert"; _root.maindisplay.beginner._visible = false; _root.maindisplay.expert._visible = true; }Symbol 420 Buttonon (release) { _root.maindisplay.gotoAndStop("title"); _root.passwordmc.gotoAndStop("blank"); _root.maindisplay.playbtn.enabled = true; _root.maindisplay.controlsbtn.enabled = true; _root.maindisplay.passwordbtn.enabled = true; }Symbol 424 Buttonon (release) { _root.maindisplay.gotoAndStop("title"); }Symbol 428 Buttonon (release) { _root.totalscore = _root.currentscore - 100; if (_root.totalscore < 0) { _root.totalscore = 0; } _root.status.score = int(_root.totalscore); score = _root.totalscore; _root.transition._visible = true; _root.transition.gotoAndPlay("close"); _root.startgame = true; _root.pausedisplay._visible = false; _root.yesbtn.enabled = false; _root.nobtn.enabled = false; }Symbol 430 Buttonon (release) { _root.maindisplay.givepass.gotoAndStop("pass"); }Symbol 443 Buttonon (release) { _root.maindisplay.yesbtn.enabled = false; _root.maindisplay.nobtn.enabled = false; _root.maindisplay.givepass.menu.enabled = false; _root.abortmission = true; _root.transition._visible = true; _root.transition.gotoAndPlay("close"); }Symbol 444 MovieClip Frame 1stop();Symbol 444 MovieClip Frame 2stop(); _root.maindisplay.givepass.passwordtext1 = _root.passtext1; _root.maindisplay.givepass.passwordtext2 = _root.passtext2; _root.maindisplay.givepass.passwordtext3 = _root.passtext3; _root.maindisplay.givepass.passwordtext4 = _root.passtext4; _root.maindisplay.givepass.passwordtext5 = _root.passtext5; _root.maindisplay.givepass.menu.enabled = true;Symbol 445 MovieClip Frame 1stop();Symbol 445 MovieClip Frame 2stop(); _root.maindisplay.playbtn.enabled = true; _root.maindisplay.instructionsbtn.enabled = true; _root.maindisplay.optionsbtn.enabled = true;Symbol 445 MovieClip Frame 3stop();Symbol 445 MovieClip Frame 4stop();Symbol 445 MovieClip Frame 5stop(); _root.countdowntimer = 240; score = _root.totalscore; _root.maindisplay.yesbtn.enabled = true; _root.maindisplay.nobtn.enabled = true;Instance of Symbol 93 MovieClip in Symbol 445 MovieClip Frame 5onClipEvent (enterFrame) { if (_root.countdowntimer > 0) { _root.countdowntimer--; _root.maindisplay.countdown = int(_root.countdowntimer / 24); } else { _root.maindisplay.givepass.gotoAndStop("pass"); } }Symbol 450 MovieClip Frame 1stop();Symbol 450 MovieClip Frame 2stop();Symbol 450 MovieClip Frame 3stop();Symbol 450 MovieClip Frame 4stop();Symbol 450 MovieClip Frame 5stop();Symbol 459 MovieClip Frame 1stop();Symbol 459 MovieClip Frame 50_root.display.play(); _root.display.lasertext.gotoAndStop("blank"); _root.displaytextplaying = false;Symbol 459 MovieClip Frame 99_root.display.play(); _root.display.laseretxt.gotoAndStop("blank"); _root.displaytextplaying = false;Symbol 471 MovieClip Frame 1stop();Symbol 471 MovieClip Frame 2_root.display.mission.gotoAndStop(_root.levelnumber);Symbol 471 MovieClip Frame 31_root.display.gotoAndStop("blank");Symbol 471 MovieClip Frame 32_root.fade = "out";Symbol 471 MovieClip Frame 74_root.display.gotoAndPlay("sumscore");Symbol 471 MovieClip Frame 115_root.display.gotoAndStop("blank");Symbol 471 MovieClip Frame 117if (_root.levelnumber == 1) { stop(); _root.havelaser = true; _root.ship.powerup.gotoAndPlay("laser"); _root.display.lasertext.gotoAndPlay("laser"); _root.havelaser = true; _root.ship.shiptype.gotoAndStop("yeslaser"); _root.displaytextplaying = true; } else if (_root.levelnumber == 2) { stop(); if (_root.difficulty == "easy") { _root.protectorlevel = 2; _root.ship.protector.gotoAndStop("protector"); } else if (_root.difficulty == "expert") { _root.protectorlevel = 1; _root.ship.protector.gotoAndStop("protector"); } _root.havelaser = true; _root.ship.shiptype.gotoAndStop("yeslaser"); _root.display.lasertext.gotoAndPlay("protector"); _root.ship.powerup.gotoAndPlay("laser"); _root.displaytextplaying = true; }Symbol 471 MovieClip Frame 140stop(); _quality = "high"; if (_root.difficulty == "easy") { _root.display.bombs = _root.numberofbombs * 3; _root.display.time = int(1000 / _root.time) * 3; _root.display.health = ("+" + (_root.shipshield * 3)) + " Shield Bonus"; _root.totalscore = _root.totalscore + int(((_root.numberofbombs * 3) + (int(1000 / _root.time) * 3)) + (_root.shipshield * 3)); } if (_root.difficulty == "expert") { _root.display.bombs = _root.numberofbombs * 5; _root.display.time = int(1000 / _root.time) * 5; _root.display.health = ("+" + (_root.shipshield * 5)) + " Shield Bonus"; _root.totalscore = _root.totalscore + int(((_root.numberofbombs * 5) + (int(1000 / _root.time) * 5)) + (_root.shipshield * 5)); } _root.display.totalscore = int(_root.totalscore); _root.status.score = int(_root.totalscore); _root.changelevels = true;Symbol 476 Buttonon (release) { if (_root.passwordmc.passwordtext1 == "neeL") { _root.levelnumber = 1; _root.text1 = "accept"; } else if (_root.passwordmc.passwordtext1 == "eGdl") { _root.levelnumber = 2; _root.text1 = "accept"; } else if (_root.passwordmc.passwordtext1 == "top8") { _root.levelnumber = 3; _root.text1 = "accept"; } else if (_root.passwordmc.passwordtext1 == "lylS") { _root.levelnumber = 4; _root.text1 = "accept"; } if (_root.passwordmc.passwordtext2 == "16Eg") { _root.numberofbombs = 0; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "Gecl") { _root.numberofbombs = 1; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "bvWi") { _root.numberofbombs = 2; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "Sidk") { _root.numberofbombs = 3; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "57Fd") { _root.numberofbombs = 4; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "Qwpa") { _root.numberofbombs = 5; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "3dEp") { _root.numberofbombs = 6; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "rtms") { _root.numberofbombs = 7; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "RFdY") { _root.numberofbombs = 8; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "DFSc") { _root.numberofbombs = 9; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "qwt7") { _root.numberofbombs = 10; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "mzx6") { _root.numberofbombs = 11; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "ukdf") { _root.numberofbombs = 12; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "Elmb") { _root.numberofbombs = 13; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "1l1l") { _root.numberofbombs = 14; _root.text2 = "accept"; } else if (_root.passwordmc.passwordtext2 == "ghtc") { _root.numberofbombs = 15; _root.text2 = "accept"; } if (_root.passwordmc.passwordtext3 == "addd") { _root.mhlevel = 0; _root.text3 = "accept"; } else if (_root.passwordmc.passwordtext3 == "ALfj") { _root.mhlevel = 1; _root.text3 = "accept"; } else if (_root.passwordmc.passwordtext3 == "ruGk") { _root.mhlevel = 2; _root.text3 = "accept"; } else if (_root.passwordmc.passwordtext3 == "ryNh") { _root.mhlevel = 3; _root.text3 = "accept"; } else if (_root.passwordmc.passwordtext3 == "6kjs") { _root.mhlevel = 4; _root.text3 = "accept"; } else if (_root.passwordmc.passwordtext3 == "142H") { _root.mhlevel = 5; _root.text3 = "accept"; } if (_root.passwordmc.passwordtext4 == "h8vb") { _root.weaponnumber = "1"; _root.text4 = "accept"; } else if (_root.passwordmc.passwordtext4 == "eaaP") { _root.weaponnumber = "2"; _root.text4 = "accept"; } else if (_root.passwordmc.passwordtext4 == "rty4") { _root.weaponnumber = "3"; _root.text4 = "accept"; } else if (_root.passwordmc.passwordtext4 == "7gf7") { _root.weaponnumber = "4"; _root.text4 = "accept"; } if (_root.passwordmc.passwordtext5 == "alsk") { _root.weapontype = "red"; _root.text5 = "accept"; } else if (_root.passwordmc.passwordtext5 == "KAKA") { _root.weapontype = "blue"; _root.text5 = "accept"; } else if (_root.passwordmc.passwordtext5 == "99Kl") { _root.weapontype = "green"; _root.text5 = "accept"; } if (((((_root.text1 == "accept") and (_root.text2 == "accept")) and (_root.text3 == "accept")) and (_root.text4 == "accept")) and (_root.text5 == "accept")) { _root.passwordmc.display = "Password Accepted"; _root.passwordmc.passwordtext1 = (_root.passwordmc.passwordtext2 = (_root.passwordmc.passwordtext3 = (_root.passwordmc.passwordtext4 = ""))); } else { _root.passwordmc.display = "Invalid Password"; _root.levelnumber = 1; _root.numberofbombs = 3; _root.mhlevel = 0; _root.weaponnumber = "1"; _root.weapontype = "red"; } _root.text1 = (_root.text2 = (_root.text3 = (_root.text4 = (_root.text5 = "Notaccept")))); }Symbol 478 Buttonon (release) { _root.passwordmc.gotoAndStop("blank"); _root.maindisplay.playbtn.enabled = true; _root.maindisplay.controlsbtn.enabled = true; _root.maindisplay.passwordbtn.enabled = true; _root.maindisplay.beginnerbtn.enabled = true; _root.maindisplay.expertbtn.enabled = true; }Symbol 485 MovieClip Frame 1stop();Symbol 485 MovieClip Frame 2stop();Symbol 491 Buttonon (release) { _root.pausedisplay._visible = false; _root.musicplaying = true; _root.status.mask.box._x = 212.3; _root.fade = "in"; _root.paused = false; _root.gametimer = true; _quality = "low"; }Symbol 494 Buttonon (release) { if (_root.mode == "mission") { _root.pausedisplay.gotoAndPlay("pass"); } else { _root.abortmission = true; _root.display.gotoAndStop(1); _root.pausedisplay.am.enabled = false; _root.pausedisplay.backbtn.enabled = false; _root.transition._visible = true; _root.transition.gotoAndPlay("close"); } }Symbol 497 Buttonon (release) { _root.controls._visible = true; _root.maindisplay._visible = false; }Symbol 505 Buttonon (release) { _root.abortmission = true; _root.display.gotoAndStop(1); _root.pausedisplay.am.enabled = false; _root.pausedisplay.backbtn.enabled = false; _root.transition._visible = true; _root.transition.gotoAndPlay("close"); }Symbol 506 Buttonon (release) { _root.pausedisplay.gotoAndStop("pause"); }Symbol 507 MovieClip Frame 1stop();Symbol 507 MovieClip Frame 2stop(); _root.pausedisplay.passwordtext1 = _root.passtext1; _root.pausedisplay.passwordtext2 = _root.passtext2; _root.pausedisplay.passwordtext3 = _root.passtext3; _root.pausedisplay.passwordtext4 = _root.passtext4; _root.pausedisplay.passwordtext5 = _root.passtext5; _root.pausedisplay.am.enabled = true; _root.pausedisplay.backbtn.enabled = true;Symbol 515 Buttonon (release) { _root.maindisplay.gotoAndStop("title"); _root.creditsloop.stop(); _root.credits.gotoAndStop("blank"); }Symbol 528 MovieClip Frame 1stop();Symbol 528 MovieClip Frame 2stop();Symbol 541 Buttonon (release) { getURL ("http://www.flashkit.com/loops/Techno-Dance/_Wa-Veniogen-7479/index.php", "_blank"); }Symbol 542 Buttonon (release) { getURL ("http://calpomatt.lavista.org/", "_blank"); }Symbol 543 Buttonon (release) { getURL ("http://www.flashkit.com/loops/Techno-Dance/Club/A_Night_-Lee_I_G-2522/index.php?chk=no", "_blank"); }Symbol 544 Buttonon (release) { getURL ("http://www.soundclick.com/bands/3/osnoff.htm", "_blank"); }Symbol 545 Buttonon (release) { getURL ("http://www.flashgrooves.com/", "_blank"); }Symbol 546 Buttonon (release) { getURL ("http://www.flashkit.com/loops/Alternative/Alternative/Mozone_3-Eric_Joh-5592/index.php", "_blank"); }Symbol 547 Buttonon (release) { getURL ("http://www.flashkit.com/loops/Alternative/Industrial/masu_no_-Netsu-4052/index.php?chk=no", "_blank"); }Symbol 548 Buttonon (release) { getURL ("http://flashkit.com/loops/", "_blank"); }Symbol 549 Buttonon (release) { getURL ("http://www.flashkit.com/loops/Pop-Rock/Rock/Proson1-Prosonic-93/index.php", "_blank"); }Symbol 550 Buttonon (release) { getURL ("http://smeric.sakarya.edu.tr/", "_blank"); }Symbol 553 Buttonon (release) { if (_root.previewcredits == false) { _root.maindisplay.gotoAndStop("submit"); } else if (_root.previewcredits == true) { _root.maindisplay.gotoAndStop("title"); } _root.creditsloop.stop(); _root.credits.gotoAndStop("blank"); }Symbol 554 MovieClip Frame 1stop();Symbol 554 MovieClip Frame 2_root.gamestart = false; _root.clean(); _root[_root.currentloop].stop();Symbol 554 MovieClip Frame 10_quality = "high"; _root.currentloop.stop(); _root.fade = "in"; _root.creditsloop.start(0, 100); _root.loopvolume2 = 100; _root.creditsloop.setVolume(_root.loopvolume2); i = 0; while (i < 15) { _root.credits.attachMovie("spark1", "spark" + _root.depth, _root.depth); _root.credits["spark" + _root.depth]._x = 0; _root.credits["spark" + _root.depth]._y = 0; _root.credits["spark" + _root.depth]._rotation = random(360); _root.credits["spark" + _root.depth]._xscale = (_root.credits["spark" + _root.depth]._yscale = random(50) + 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } i++; } i = 0; while (i < 15) { _root.credits.attachMovie("spark2", "spark" + _root.depth, _root.depth); _root.credits["spark" + _root.depth]._x = 0; _root.credits["spark" + _root.depth]._y = 0; _root.credits["spark" + _root.depth]._rotation = random(360); _root.credits["spark" + _root.depth]._xscale = (_root.credits["spark" + _root.depth]._yscale = random(50) + 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } i++; }Symbol 554 MovieClip Frame 71i = 0; while (i < 15) { _root.credits.attachMovie("spark1", "spark" + _root.depth, _root.depth); _root.credits["spark" + _root.depth]._x = 0; _root.credits["spark" + _root.depth]._y = 0; _root.credits["spark" + _root.depth]._rotation = random(360); _root.credits["spark" + _root.depth]._xscale = (_root.credits["spark" + _root.depth]._yscale = random(50) + 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } i++; } i = 0; while (i < 15) { _root.credits.attachMovie("spark2", "spark" + _root.depth, _root.depth); _root.credits["spark" + _root.depth]._x = 0; _root.credits["spark" + _root.depth]._y = 0; _root.credits["spark" + _root.depth]._rotation = random(360); _root.credits["spark" + _root.depth]._xscale = (_root.credits["spark" + _root.depth]._yscale = random(50) + 50); if (_root.depth < 100000) { _root.depth++; } else { _root.depth = 100; } i++; }Symbol 554 MovieClip Frame 136if (_root.previewcredits == false) { _root.credits.staytuned.gotoAndStop("graphic"); } else { _root.credits.staytuned.gotoAndStop("blank"); _root.creditsloop.start(0, 100); _root.loopvolume2 = 100; _root.creditsloop.setVolume(_root.loopvolume2); }Symbol 554 MovieClip Frame 679_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 680_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 681_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 682_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 683_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 684_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 685_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 686_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 687_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 688_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 689_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 690_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 691_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 692_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 693_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 694_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 695_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 696_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 697_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 698_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 699_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 700_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 701_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 702_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 703_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 704_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 705_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 706_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 707_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 708_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 709_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 710_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 711_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 712_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 713_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 714_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 715_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 716_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 717_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 718_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 719_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 720_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 721_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 722_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 723_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 724_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 725_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 726_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 727_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 728_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2);Symbol 554 MovieClip Frame 729_root.loopvolume2 = _root.loopvolume2 - 2; _root.creditsloop.setVolume(_root.loopvolume2); _root.creditsloop.stop();Symbol 554 MovieClip Frame 730_root.maindisplay.gotoAndStop("title");Symbol 554 MovieClip Frame 740_root.credits.gotoAndStop("blank");Symbol 576 Buttonon (release) { if (_root.selectkey == true) { _root.selectkey = false; if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controls.laserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.controls._visible = false; if (_root.gamestart == true) { _root.pausedisplay._visible = true; _root.maindisplay._visible = true; } else { _root.maindisplay._visible = true; } }Symbol 577 Buttonon (release) { if (_root.selectkey == true) { if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controls.laserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.selectkey = true; _root.whichkey = "fire"; _root.controls.firekey = ""; }Symbol 578 Buttonon (release) { if (_root.selectkey == true) { if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controls.laserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.selectkey = true; _root.whichkey = "bomb"; _root.controls.bombkey = ""; }Symbol 579 Buttonon (release) { if (_root.selectkey == true) { if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controls.laserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.selectkey = true; _root.whichkey = "laser"; _root.controls.laserkey = ""; }Symbol 580 Buttonon (release) { if (_root.selectkey == true) { if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controls.laserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.selectkey = true; _root.whichkey = "pause"; _root.controls.pausekey = ""; }Symbol 581 Buttonon (release) { if (_root.selectkey == true) { if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controls.laserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.selectkey = true; _root.whichkey = "auto"; _root.controls.autokey = ""; }Symbol 582 Buttonon (release) { if (_root.selectkey == true) { if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controls.laserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.selectkey = true; _root.whichkey = "missile"; _root.controls.missilekey = ""; }Symbol 583 Buttonon (release) { if (_root.selectkey == true) { if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controlslaserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.selectkey = true; _root.whichkey = "target"; _root.controls.targetkey = ""; }Symbol 584 Buttonon (release) { if (_root.selectkey == true) { if (_root.controls[_root.whichkey + "key"] == _root.controls.bombkey) { _root.controls.bombkey = "Z"; _root.bombkey = 90; } if (_root.controls[_root.whichkey + "key"] == _root.controls.firekey) { _root.controls.firekey = "Space"; _root.firekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.missilekey) { _root.controls.missilekey = "Space"; _root.missilekey = 32; } if (_root.controls[_root.whichkey + "key"] == _root.controls.laserkey) { _root.controlslaserkey = "C"; _root.missilekey = 67; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey) { _root.controls.targetkey = "D"; _root.targetkey = 68; } if (_root.controls[_root.whichkey + "key"] == _root.controls.targetkey2) { _root.controls.target2key = "S"; _root.targetkey = 83; } if (_root.controls[_root.whichkey + "key"] == _root.controls.autokey) { _root.controls.autokey = "A"; _root.autokey = 65; } if (_root.controls[_root.whichkey + "key"] == _root.controls.pausekey) { _root.controls.pausekey = "P"; _root.pausekey = 80; } } _root.selectkey = true; _root.whichkey = "target2"; _root.controls.target2key = ""; }Instance of Symbol 93 MovieClip in Symbol 586 MovieClip Frame 1onClipEvent (load) { letterkeys = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"); numberkeys = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9"); numpadkeys = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "+", "Enter", "-", ".", "/"); functionkeys = new Array("F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12"); otherkeys = new Array("Space", "Page Up", "Page Down", "End", "Home", "Left", "Up", "Right", "Down"); } onClipEvent (keyDown) { if (_root.selectkey == true) { _root.selectkey = false; _root.customcontrols = true; pressed = Key.getCode(); _root[_root.whichkey + "key"] = pressed; if ((pressed >= 65) and (pressed <= 90)) { _root.controls[_root.whichkey + "key"] = letterkeys[pressed - 65]; } if ((pressed >= 48) and (pressed <= 57)) { _root.controls[_root.whichkey + "key"] = numberkeys[pressed - 48]; } if ((pressed >= 96) and (pressed <= 111)) { _root.controls[_root.whichkey + "key"] = numpadkeys[pressed - 96]; } if ((pressed >= 112) and (pressed <= 123)) { _root.controls[_root.whichkey + "key"] = functionkeys[pressed - 112]; } if ((pressed >= 32) and (pressed <= 40)) { _root.controls[_root.whichkey + "key"] = otherkeys[pressed - 32]; } if (pressed == 8) { _root.controls[_root.whichkey + "key"] = "BackSpace"; } if (pressed == 9) { _root.controls[_root.whichkey + "key"] = "Tab"; } if (pressed == 12) { _root.controls[_root.whichkey + "key"] = "Clear"; } if (pressed == 13) { _root.controls[_root.whichkey + "key"] = "Enter"; } if (pressed == 16) { _root.controls[_root.whichkey + "key"] = "Shift"; } if (pressed == 17) { _root.controls[_root.whichkey + "key"] = "Control"; } if (pressed == 18) { _root.controls[_root.whichkey + "key"] = "Alt"; } if (pressed == 20) { _root.controls[_root.whichkey + "key"] = "Caps Lock"; } if (pressed == 27) { _root.controls[_root.whichkey + "key"] = "Esc"; } if (pressed == 45) { _root.controls[_root.whichkey + "key"] = "Insert"; } if (pressed == 46) { _root.controls[_root.whichkey + "key"] = "Delete"; } if (pressed == 47) { _root.controls[_root.whichkey + "key"] = "help"; } if (pressed == 144) { _root.controls[_root.whichkey + "key"] = "Num Lock"; } if (pressed == 186) { _root.controls[_root.whichkey + "key"] = ";:"; } if (pressed == 187) { _root.controls[_root.whichkey + "key"] = "=+"; } if (pressed == 189) { _root.controls[_root.whichkey + "key"] = "-_"; } if (pressed == 191) { _root.controls[_root.whichkey + "key"] = "/?"; } if (pressed == 192) { _root.controls[_root.whichkey + "key"] = "'@"; } if (pressed == 219) { _root.controls[_root.whichkey + "key"] = "[{"; } if (pressed == 220) { _root.controls[_root.whichkey + "key"] = "\\|"; } if (pressed == 221) { _root.controls[_root.whichkey + "key"] = "]}"; } } }
Library Items
Symbol 1 Sound [healthpower] | ||
Symbol 2 Sound [loop4] | ||
Symbol 3 Sound [boss1electric] | ||
Symbol 4 Sound [loop2] | ||
Symbol 5 Sound [blue] | ||
Symbol 6 Sound [red] | ||
Symbol 7 Sound [bombpower] | ||
Symbol 8 Sound [creditsloop] | ||
Symbol 9 Sound [weaponpower] | ||
Symbol 10 Sound [enemyexplode] | ||
Symbol 11 Sound [survivalloop] | ||
Symbol 12 Sound [boss3loop] | ||
Symbol 13 Sound [protectorpower] | ||
Symbol 14 Sound [boss2loop] | ||
Symbol 15 Sound [boss2big] | ||
Symbol 16 Sound [green] | ||
Symbol 17 Sound [mhexplode] | ||
Symbol 18 Sound [bombexplode] | ||
Symbol 19 Sound [boss1loop] | ||
Symbol 20 Sound [missilepower] | ||
Symbol 21 Sound [boss1canon] | ||
Symbol 22 Sound [boss2laser2] | ||
Symbol 23 Sound [boss2laser] | ||
Symbol 24 Sound [launchmh] | ||
Symbol 25 Sound [airblast] | ||
Symbol 26 Sound [loop3] | ||
Symbol 27 Sound [laser] | ||
Symbol 28 Sound [loop1] | ||
Symbol 29 Bitmap | Used by:30 555 557 | |
Symbol 30 Graphic | Uses:29 | Used by:31 |
Symbol 31 MovieClip [stars] | Uses:30 | |
Symbol 32 Graphic | Used by:33 | |
Symbol 33 MovieClip | Uses:32 | Used by:34 |
Symbol 34 MovieClip [spark2] | Uses:33 | |
Symbol 35 Graphic | Used by:36 | |
Symbol 36 MovieClip | Uses:35 | Used by:37 |
Symbol 37 MovieClip [spark1] | Uses:36 | |
Symbol 38 Bitmap | Used by:39 | |
Symbol 39 Graphic | Uses:38 | Used by:40 |
Symbol 40 MovieClip | Uses:39 | Used by:44 |
Symbol 41 Bitmap | Used by:42 | |
Symbol 42 Graphic | Uses:41 | Used by:43 |
Symbol 43 MovieClip | Uses:42 | Used by:44 |
Symbol 44 MovieClip [transition] | Uses:40 43 | Used by:Timeline |
Symbol 45 Bitmap | Used by:46 | |
Symbol 46 Graphic | Uses:45 | Used by:82 |
Symbol 47 Graphic | Used by:50 333 | |
Symbol 48 Bitmap | Used by:49 | |
Symbol 49 Graphic | Uses:48 | Used by:50 333 |
Symbol 50 MovieClip | Uses:47 49 | Used by:82 |
Symbol 51 Font | Used by:52 55 65 71 76 78 80 427 429 431 432 433 437 438 439 440 441 462 464 465 466 467 468 469 473 474 475 477 479 480 481 482 483 489 490 492 493 495 496 500 501 502 503 504 529 534 537 556 558 559 560 561 564 565 566 567 568 569 570 571 572 573 574 575 | |
Symbol 52 Text | Uses:51 | Used by:82 |
Symbol 53 Font | Used by:54 56 66 72 77 79 81 88 354 355 390 391 436 442 463 470 499 513 514 525 527 529 540 562 563 585 | |
Symbol 54 Text | Uses:53 | Used by:82 |
Symbol 55 Text | Uses:51 | Used by:82 |
Symbol 56 Text | Uses:53 | Used by:82 |
Symbol 57 Bitmap | Used by:58 | |
Symbol 58 Graphic | Uses:57 | Used by:61 67 |
Symbol 59 Bitmap | Used by:60 | |
Symbol 60 Graphic | Uses:59 | Used by:61 67 |
Symbol 61 Button | Uses:58 60 | Used by:82 |
Symbol 62 Bitmap | Used by:63 | |
Symbol 63 Graphic | Uses:62 | Used by:64 |
Symbol 64 MovieClip | Uses:63 | Used by:82 Timeline |
Symbol 65 Text | Uses:51 | Used by:82 |
Symbol 66 Text | Uses:53 | Used by:82 |
Symbol 67 Button | Uses:58 60 | Used by:82 |
Symbol 68 Bitmap | Used by:69 | |
Symbol 69 Graphic | Uses:68 | Used by:70 |
Symbol 70 MovieClip | Uses:69 | Used by:82 Timeline |
Symbol 71 Text | Uses:51 | Used by:82 |
Symbol 72 Text | Uses:53 | Used by:82 |
Symbol 73 Bitmap | Used by:74 555 | |
Symbol 74 Graphic | Uses:73 | Used by:75 273 |
Symbol 75 MovieClip | Uses:74 | Used by:82 Timeline |
Symbol 76 Text | Uses:51 | Used by:82 |
Symbol 77 Text | Uses:53 | Used by:82 |
Symbol 78 Text | Uses:51 | Used by:82 |
Symbol 79 Text | Uses:53 | Used by:82 |
Symbol 80 Text | Uses:51 | Used by:82 |
Symbol 81 Text | Uses:53 | Used by:82 |
Symbol 82 MovieClip | Uses:46 50 52 54 55 56 61 64 65 66 67 70 71 72 75 76 77 78 79 80 81 | Used by:445 Timeline |
Symbol 83 Bitmap | Used by:84 | |
Symbol 84 Graphic | Uses:83 | Used by:87 |
Symbol 85 Bitmap | Used by:86 | |
Symbol 86 Graphic | Uses:85 | Used by:87 |
Symbol 87 Button | Uses:84 86 | Used by:Timeline |
Symbol 88 Text | Uses:53 | Used by:92 |
Symbol 89 Graphic | Used by:90 248 350 361 450 | |
Symbol 90 MovieClip | Uses:89 | Used by:92 |
Symbol 91 Graphic | Used by:92 | |
Symbol 92 MovieClip | Uses:88 90 91 | Used by:Timeline |
Symbol 93 MovieClip | Used by:445 586 Timeline | |
Symbol 94 MovieClip | Used by:Timeline | |
Symbol 95 Font | Used by:96 97 | |
Symbol 96 EditableText | Uses:95 | Used by:Timeline |
Symbol 97 EditableText | Uses:95 | Used by:Timeline |
Symbol 98 Graphic | Used by:99 | |
Symbol 99 MovieClip | Uses:98 | Used by:362 Timeline |
Symbol 100 Bitmap | Used by:101 | |
Symbol 101 Graphic | Uses:100 | Used by:102 |
Symbol 102 MovieClip | Uses:101 | Used by:121 |
Symbol 103 Bitmap | Used by:104 | |
Symbol 104 Graphic | Uses:103 | Used by:105 |
Symbol 105 MovieClip | Uses:104 | Used by:121 |
Symbol 106 Bitmap | Used by:107 | |
Symbol 107 Graphic | Uses:106 | Used by:108 |
Symbol 108 MovieClip | Uses:107 | Used by:121 |
Symbol 109 Bitmap | Used by:110 | |
Symbol 110 Graphic | Uses:109 | Used by:111 |
Symbol 111 MovieClip | Uses:110 | Used by:121 |
Symbol 112 Bitmap | Used by:113 | |
Symbol 113 Graphic | Uses:112 | Used by:114 |
Symbol 114 MovieClip | Uses:113 | Used by:121 |
Symbol 115 Bitmap | Used by:116 | |
Symbol 116 Graphic | Uses:115 | Used by:117 |
Symbol 117 MovieClip | Uses:116 | Used by:121 |
Symbol 118 Bitmap | Used by:119 | |
Symbol 119 Graphic | Uses:118 | Used by:120 |
Symbol 120 MovieClip | Uses:119 | Used by:121 |
Symbol 121 MovieClip | Uses:102 105 108 111 114 117 120 | Used by:Timeline |
Symbol 122 Bitmap | Used by:123 555 | |
Symbol 123 Graphic | Uses:122 | Used by:195 |
Symbol 124 MovieClip | Used by:195 273 280 | |
Symbol 125 Bitmap | Used by:126 | |
Symbol 126 Graphic | Uses:125 | Used by:195 |
Symbol 127 Bitmap | Used by:128 | |
Symbol 128 Graphic | Uses:127 | Used by:195 |
Symbol 129 Bitmap | Used by:130 | |
Symbol 130 Graphic | Uses:129 | Used by:195 |
Symbol 131 Bitmap | Used by:132 | |
Symbol 132 Graphic | Uses:131 | Used by:195 |
Symbol 133 Bitmap | Used by:134 | |
Symbol 134 Graphic | Uses:133 | Used by:195 |
Symbol 135 Bitmap | Used by:136 | |
Symbol 136 Graphic | Uses:135 | Used by:195 |
Symbol 137 Bitmap | Used by:138 | |
Symbol 138 Graphic | Uses:137 | Used by:143 |
Symbol 139 Bitmap | Used by:140 | |
Symbol 140 Graphic | Uses:139 | Used by:143 |
Symbol 141 Bitmap | Used by:142 | |
Symbol 142 Graphic | Uses:141 | Used by:143 |
Symbol 143 MovieClip | Uses:138 140 142 | Used by:195 |
Symbol 144 Bitmap | Used by:145 | |
Symbol 145 Graphic | Uses:144 | Used by:195 |
Symbol 146 Bitmap | Used by:147 148 149 150 151 | |
Symbol 147 Graphic | Uses:146 | Used by:152 |
Symbol 148 Graphic | Uses:146 | Used by:152 |
Symbol 149 Graphic | Uses:146 | Used by:152 |
Symbol 150 Graphic | Uses:146 | Used by:152 |
Symbol 151 Graphic | Uses:146 | Used by:152 |
Symbol 152 MovieClip | Uses:147 148 149 150 151 | Used by:195 |
Symbol 153 Bitmap | Used by:154 | |
Symbol 154 Graphic | Uses:153 | Used by:195 |
Symbol 155 Bitmap | Used by:157 159 175 | |
Symbol 156 Bitmap | Used by:157 160 174 | |
Symbol 157 Graphic | Uses:155 156 | Used by:161 |
Symbol 158 Bitmap | Used by:159 160 176 | |
Symbol 159 Graphic | Uses:158 155 | Used by:161 |
Symbol 160 Graphic | Uses:156 158 | Used by:161 |
Symbol 161 MovieClip | Uses:157 159 160 | Used by:195 |
Symbol 162 Bitmap | Used by:163 | |
Symbol 163 Graphic | Uses:162 | Used by:195 |
Symbol 164 Bitmap | Used by:165 | |
Symbol 165 Graphic | Uses:164 | Used by:195 |
Symbol 166 Bitmap | Used by:167 | |
Symbol 167 Graphic | Uses:166 | Used by:168 |
Symbol 168 MovieClip | Uses:167 | Used by:169 |
Symbol 169 MovieClip | Uses:168 | Used by:195 |
Symbol 170 Bitmap | Used by:171 | |
Symbol 171 Graphic | Uses:170 | Used by:195 |
Symbol 172 Bitmap | Used by:173 | |
Symbol 173 Graphic | Uses:172 | Used by:195 |
Symbol 174 Graphic | Uses:156 | Used by:177 |
Symbol 175 Graphic | Uses:155 | Used by:177 |
Symbol 176 Graphic | Uses:158 | Used by:177 |
Symbol 177 MovieClip | Uses:174 175 176 | Used by:195 |
Symbol 178 Graphic | Used by:179 | |
Symbol 179 MovieClip | Uses:178 | Used by:180 |
Symbol 180 MovieClip | Uses:179 | Used by:183 Timeline |
Symbol 181 Graphic | Used by:182 279 349 | |
Symbol 182 MovieClip | Uses:181 | Used by:183 |
Symbol 183 MovieClip | Uses:180 182 | Used by:195 |
Symbol 184 Bitmap | Used by:185 | |
Symbol 185 Graphic | Uses:184 | Used by:195 |
Symbol 186 Bitmap | Used by:187 | |
Symbol 187 Graphic | Uses:186 | Used by:195 |
Symbol 188 Bitmap | Used by:189 | |
Symbol 189 Graphic | Uses:188 | Used by:194 |
Symbol 190 Bitmap | Used by:191 | |
Symbol 191 Graphic | Uses:190 | Used by:194 |
Symbol 192 Bitmap | Used by:193 | |
Symbol 193 Graphic | Uses:192 | Used by:194 |
Symbol 194 MovieClip | Uses:189 191 193 | Used by:195 |
Symbol 195 MovieClip | Uses:123 124 126 128 130 132 134 136 143 145 152 154 161 163 165 169 171 173 177 183 185 187 194 | Used by:202 |
Symbol 196 Bitmap | Used by:197 | |
Symbol 197 Graphic | Uses:196 | Used by:198 |
Symbol 198 MovieClip | Uses:197 | Used by:202 |
Symbol 199 Bitmap | Used by:200 | |
Symbol 200 Graphic | Uses:199 | Used by:201 |
Symbol 201 MovieClip | Uses:200 | Used by:202 |
Symbol 202 MovieClip | Uses:195 198 201 | Used by:Timeline |
Symbol 203 Bitmap | Used by:204 | |
Symbol 204 Graphic | Uses:203 | Used by:242 |
Symbol 205 Bitmap | Used by:206 555 | |
Symbol 206 Graphic | Uses:205 | Used by:207 |
Symbol 207 MovieClip | Uses:206 | Used by:242 339 |
Symbol 208 Bitmap | Used by:209 | |
Symbol 209 Graphic | Uses:208 | Used by:242 |
Symbol 210 Bitmap | Used by:211 | |
Symbol 211 Graphic | Uses:210 | Used by:216 |
Symbol 212 Bitmap | Used by:213 | |
Symbol 213 Graphic | Uses:212 | Used by:216 |
Symbol 214 Bitmap | Used by:215 | |
Symbol 215 Graphic | Uses:214 | Used by:216 |
Symbol 216 MovieClip | Uses:211 213 215 | Used by:242 |
Symbol 217 Bitmap | Used by:218 219 220 221 222 | |
Symbol 218 Graphic | Uses:217 | Used by:223 |
Symbol 219 Graphic | Uses:217 | Used by:223 |
Symbol 220 Graphic | Uses:217 | Used by:223 |
Symbol 221 Graphic | Uses:217 | Used by:223 |
Symbol 222 Graphic | Uses:217 | Used by:223 |
Symbol 223 MovieClip | Uses:218 219 220 221 222 | Used by:242 |
Symbol 224 Bitmap | Used by:225 | |
Symbol 225 Graphic | Uses:224 | Used by:242 |
Symbol 226 Bitmap | Used by:227 | |
Symbol 227 Graphic | Uses:226 | Used by:232 |
Symbol 228 Bitmap | Used by:229 | |
Symbol 229 Graphic | Uses:228 | Used by:232 |
Symbol 230 Bitmap | Used by:231 | |
Symbol 231 Graphic | Uses:230 | Used by:232 |
Symbol 232 MovieClip | Uses:227 229 231 | Used by:242 |
Symbol 233 Bitmap | Used by:234 | |
Symbol 234 Graphic | Uses:233 | Used by:242 |
Symbol 235 Bitmap | Used by:236 | |
Symbol 236 Graphic | Uses:235 | Used by:237 |
Symbol 237 MovieClip | Uses:236 | Used by:242 |
Symbol 238 Bitmap | Used by:239 | |
Symbol 239 Graphic | Uses:238 | Used by:242 |
Symbol 240 Bitmap | Used by:241 | |
Symbol 241 Graphic | Uses:240 | Used by:242 |
Symbol 242 MovieClip | Uses:204 207 209 216 223 225 232 234 237 239 241 | Used by:Timeline |
Symbol 243 Bitmap | Used by:244 245 555 | |
Symbol 244 Graphic | Uses:243 | Used by:246 |
Symbol 245 Graphic | Uses:243 | Used by:246 |
Symbol 246 MovieClip | Uses:244 245 | Used by:280 |
Symbol 247 Graphic | Used by:280 | |
Symbol 248 MovieClip | Uses:89 | Used by:280 |
Symbol 249 Bitmap | Used by:250 | |
Symbol 250 Graphic | Uses:249 | Used by:253 |
Symbol 251 Bitmap | Used by:252 555 | |
Symbol 252 Graphic | Uses:251 | Used by:253 |
Symbol 253 MovieClip | Uses:250 252 | Used by:280 |
Symbol 254 Bitmap | Used by:255 256 257 258 | |
Symbol 255 Graphic | Uses:254 | Used by:259 |
Symbol 256 Graphic | Uses:254 | Used by:259 |
Symbol 257 Graphic | Uses:254 | Used by:259 |
Symbol 258 Graphic | Uses:254 | Used by:259 |
Symbol 259 MovieClip | Uses:255 256 257 258 | Used by:260 |
Symbol 260 MovieClip | Uses:259 | Used by:280 |
Symbol 261 Bitmap | Used by:262 | |
Symbol 262 Graphic | Uses:261 | Used by:267 291 |
Symbol 263 Bitmap | Used by:264 | |
Symbol 264 Graphic | Uses:263 | Used by:267 291 |
Symbol 265 Bitmap | Used by:266 | |
Symbol 266 Graphic | Uses:265 | Used by:267 291 |
Symbol 267 MovieClip | Uses:262 264 266 | Used by:268 |
Symbol 268 MovieClip | Uses:267 | Used by:280 |
Symbol 269 Bitmap | Used by:270 | |
Symbol 270 Graphic | Uses:269 | Used by:273 |
Symbol 271 Bitmap | Used by:272 | |
Symbol 272 Graphic | Uses:271 | Used by:273 |
Symbol 273 MovieClip | Uses:74 124 270 272 | Used by:274 275 |
Symbol 274 MovieClip | Uses:273 | Used by:280 |
Symbol 275 MovieClip | Uses:273 | Used by:280 |
Symbol 276 Bitmap | Used by:277 | |
Symbol 277 Graphic | Uses:276 | Used by:278 |
Symbol 278 MovieClip | Uses:277 | Used by:280 |
Symbol 279 MovieClip | Uses:181 | Used by:280 |
Symbol 280 MovieClip | Uses:246 247 248 253 124 260 268 274 275 278 279 | Used by:Timeline |
Symbol 281 Graphic | Used by:282 | |
Symbol 282 MovieClip | Uses:281 | Used by:Timeline |
Symbol 283 Bitmap | Used by:284 555 | |
Symbol 284 Graphic | Uses:283 | Used by:285 |
Symbol 285 MovieClip | Uses:284 | Used by:286 |
Symbol 286 MovieClip | Uses:285 | Used by:Timeline |
Symbol 287 Bitmap | Used by:288 289 290 555 | |
Symbol 288 Graphic | Uses:287 | Used by:332 |
Symbol 289 Graphic | Uses:287 | Used by:332 |
Symbol 290 Graphic | Uses:287 | Used by:332 |
Symbol 291 MovieClip | Uses:262 264 266 | Used by:332 |
Symbol 292 Bitmap | Used by:293 | |
Symbol 293 Graphic | Uses:292 | Used by:298 |
Symbol 294 Bitmap | Used by:295 | |
Symbol 295 Graphic | Uses:294 | Used by:298 |
Symbol 296 Bitmap | Used by:297 | |
Symbol 297 Graphic | Uses:296 | Used by:298 |
Symbol 298 MovieClip | Uses:293 295 297 | Used by:332 |
Symbol 299 Bitmap | Used by:300 | |
Symbol 300 Graphic | Uses:299 | Used by:305 |
Symbol 301 Bitmap | Used by:302 | |
Symbol 302 Graphic | Uses:301 | Used by:305 |
Symbol 303 Bitmap | Used by:304 | |
Symbol 304 Graphic | Uses:303 | Used by:305 |
Symbol 305 MovieClip | Uses:300 302 304 | Used by:332 |
Symbol 306 Bitmap | Used by:307 | |
Symbol 307 Graphic | Uses:306 | Used by:312 |
Symbol 308 Bitmap | Used by:309 | |
Symbol 309 Graphic | Uses:308 | Used by:312 |
Symbol 310 Bitmap | Used by:311 | |
Symbol 311 Graphic | Uses:310 | Used by:312 |
Symbol 312 MovieClip | Uses:307 309 311 | Used by:332 |
Symbol 313 Graphic | Used by:314 | |
Symbol 314 MovieClip | Uses:313 | Used by:315 |
Symbol 315 MovieClip | Uses:314 | Used by:332 |
Symbol 316 Bitmap | Used by:317 | |
Symbol 317 Graphic | Uses:316 | Used by:332 |
Symbol 318 Bitmap | Used by:319 | |
Symbol 319 Graphic | Uses:318 | Used by:332 |
Symbol 320 Bitmap | Used by:321 | |
Symbol 321 Graphic | Uses:320 | Used by:332 |
Symbol 322 Bitmap | Used by:323 | |
Symbol 323 Graphic | Uses:322 | Used by:332 |
Symbol 324 Bitmap | Used by:325 555 | |
Symbol 325 Graphic | Uses:324 | Used by:332 |
Symbol 326 Bitmap | Used by:327 555 | |
Symbol 327 Graphic | Uses:326 | Used by:331 |
Symbol 328 Graphic | Used by:329 | |
Symbol 329 MovieClip | Uses:328 | Used by:330 |
Symbol 330 MovieClip | Uses:329 | Used by:331 |
Symbol 331 MovieClip | Uses:327 330 | Used by:332 |
Symbol 332 MovieClip | Uses:288 289 290 291 298 305 312 315 317 319 321 323 325 331 | Used by:Timeline |
Symbol 333 MovieClip | Uses:47 49 | Used by:Timeline |
Symbol 334 Bitmap | Used by:335 | |
Symbol 335 Graphic | Uses:334 | Used by:336 |
Symbol 336 MovieClip | Uses:335 | Used by:Timeline |
Symbol 337 Bitmap | Used by:338 555 | |
Symbol 338 Graphic | Uses:337 | Used by:339 |
Symbol 339 MovieClip | Uses:338 207 | Used by:Timeline |
Symbol 340 Bitmap | Used by:341 | |
Symbol 341 Graphic | Uses:340 | Used by:362 |
Symbol 342 Bitmap | Used by:343 | |
Symbol 343 Graphic | Uses:342 | Used by:344 |
Symbol 344 MovieClip | Uses:343 | Used by:351 |
Symbol 345 Graphic | Used by:349 | |
Symbol 346 Graphic | Used by:349 | |
Symbol 347 Graphic | Used by:349 | |
Symbol 348 Graphic | Used by:349 | |
Symbol 349 MovieClip | Uses:181 345 346 347 348 | Used by:351 |
Symbol 350 MovieClip | Uses:89 | Used by:351 |
Symbol 351 MovieClip | Uses:344 349 350 | Used by:362 |
Symbol 352 Bitmap | Used by:353 | |
Symbol 353 Graphic | Uses:352 | Used by:362 |
Symbol 354 EditableText | Uses:53 | Used by:362 |
Symbol 355 EditableText | Uses:53 | Used by:362 |
Symbol 356 Graphic | Used by:357 358 476 478 | |
Symbol 357 Button | Uses:356 | Used by:362 |
Symbol 358 Button | Uses:356 | Used by:362 |
Symbol 359 Bitmap | Used by:360 | |
Symbol 360 Graphic | Uses:359 | Used by:361 |
Symbol 361 MovieClip | Uses:89 360 | Used by:362 |
Symbol 362 MovieClip | Uses:341 351 353 354 355 357 358 361 99 | Used by:Timeline |
Symbol 363 Bitmap | Used by:364 | |
Symbol 364 Graphic | Uses:363 | Used by:445 |
Symbol 365 Bitmap | Used by:366 | |
Symbol 366 Graphic | Uses:365 | Used by:369 |
Symbol 367 Bitmap | Used by:368 | |
Symbol 368 Graphic | Uses:367 | Used by:369 |
Symbol 369 Button | Uses:366 368 | Used by:445 |
Symbol 370 Bitmap | Used by:371 | |
Symbol 371 Graphic | Uses:370 | Used by:374 |
Symbol 372 Bitmap | Used by:373 | |
Symbol 373 Graphic | Uses:372 | Used by:374 |
Symbol 374 Button | Uses:371 373 | Used by:445 |
Symbol 375 Bitmap | Used by:376 | |
Symbol 376 Graphic | Uses:375 | Used by:379 |
Symbol 377 Bitmap | Used by:378 | |
Symbol 378 Graphic | Uses:377 | Used by:379 |
Symbol 379 Button | Uses:376 378 | Used by:445 |
Symbol 380 Bitmap | Used by:381 | |
Symbol 381 Graphic | Uses:380 | Used by:384 |
Symbol 382 Bitmap | Used by:383 | |
Symbol 383 Graphic | Uses:382 | Used by:384 |
Symbol 384 Button | Uses:381 383 | Used by:445 |
Symbol 385 Bitmap | Used by:386 | |
Symbol 386 Graphic | Uses:385 | Used by:389 |
Symbol 387 Bitmap | Used by:388 | |
Symbol 388 Graphic | Uses:387 | Used by:389 |
Symbol 389 Button | Uses:386 388 | Used by:445 |
Symbol 390 Text | Uses:53 | Used by:393 |
Symbol 391 Text | Uses:53 | Used by:393 |
Symbol 392 Graphic | Used by:393 443 506 541 542 543 544 545 546 547 548 549 550 577 578 579 580 581 582 583 584 | |
Symbol 393 Button | Uses:390 391 392 | Used by:445 |
Symbol 394 Bitmap | Used by:395 | |
Symbol 395 Graphic | Uses:394 | Used by:445 |
Symbol 396 Bitmap | Used by:397 | |
Symbol 397 Graphic | Uses:396 | Used by:400 |
Symbol 398 Bitmap | Used by:399 | |
Symbol 399 Graphic | Uses:398 | Used by:400 |
Symbol 400 Button | Uses:397 399 | Used by:445 |
Symbol 401 Bitmap | Used by:402 | |
Symbol 402 Graphic | Uses:401 | Used by:405 |
Symbol 403 Bitmap | Used by:404 | |
Symbol 404 Graphic | Uses:403 | Used by:405 |
Symbol 405 Button | Uses:402 404 | Used by:445 |
Symbol 406 Bitmap | Used by:407 | |
Symbol 407 Graphic | Uses:406 | Used by:410 |
Symbol 408 Bitmap | Used by:409 | |
Symbol 409 Graphic | Uses:408 | Used by:410 |
Symbol 410 Button | Uses:407 409 | Used by:445 |
Symbol 411 Bitmap | Used by:412 | |
Symbol 412 Graphic | Uses:411 | Used by:415 |
Symbol 413 Bitmap | Used by:414 | |
Symbol 414 Graphic | Uses:413 | Used by:415 |
Symbol 415 Button | Uses:412 414 | Used by:445 |
Symbol 416 Bitmap | Used by:417 | |
Symbol 417 Graphic | Uses:416 | Used by:420 424 576 |
Symbol 418 Bitmap | Used by:419 | |
Symbol 419 Graphic | Uses:418 | Used by:420 424 576 |
Symbol 420 Button | Uses:417 419 | Used by:445 |
Symbol 421 Bitmap | Used by:422 | |
Symbol 422 Graphic | Uses:421 | Used by:423 |
Symbol 423 MovieClip | Uses:422 | Used by:445 |
Symbol 424 Button | Uses:417 419 | Used by:445 |
Symbol 425 Bitmap | Used by:426 | |
Symbol 426 Graphic | Uses:425 | Used by:445 |
Symbol 427 EditableText | Uses:51 | Used by:428 |
Symbol 428 Button | Uses:427 | Used by:445 |
Symbol 429 EditableText | Uses:51 | Used by:430 |
Symbol 430 Button | Uses:429 | Used by:445 |
Symbol 431 EditableText | Uses:51 | Used by:445 |
Symbol 432 Text | Uses:51 | Used by:445 |
Symbol 433 EditableText | Uses:51 | Used by:445 |
Symbol 434 Bitmap | Used by:435 472 498 | |
Symbol 435 Graphic | Uses:434 | Used by:444 |
Symbol 436 Text | Uses:53 | Used by:444 507 |
Symbol 437 EditableText | Uses:51 | Used by:444 |
Symbol 438 EditableText | Uses:51 | Used by:444 |
Symbol 439 EditableText | Uses:51 | Used by:444 |
Symbol 440 EditableText | Uses:51 | Used by:444 |
Symbol 441 EditableText | Uses:51 | Used by:444 |
Symbol 442 Text | Uses:53 | Used by:444 |
Symbol 443 Button | Uses:392 | Used by:444 |
Symbol 444 MovieClip | Uses:435 436 437 438 439 440 441 442 443 | Used by:445 |
Symbol 445 MovieClip | Uses:364 369 374 379 384 389 393 395 400 405 410 415 420 423 82 424 426 428 430 431 432 433 444 93 | Used by:Timeline |
Symbol 446 Bitmap | Used by:447 452 | |
Symbol 447 Graphic | Uses:446 | Used by:471 |
Symbol 448 Bitmap | Used by:449 | |
Symbol 449 Graphic | Uses:448 | Used by:450 |
Symbol 450 MovieClip | Uses:89 449 | Used by:471 |
Symbol 451 Bitmap | Used by:452 | |
Symbol 452 Graphic | Uses:451 446 | Used by:471 |
Symbol 453 Bitmap | Used by:454 | |
Symbol 454 Graphic | Uses:453 | Used by:471 |
Symbol 455 Bitmap | Used by:456 | |
Symbol 456 Graphic | Uses:455 | Used by:459 |
Symbol 457 Bitmap | Used by:458 | |
Symbol 458 Graphic | Uses:457 | Used by:459 |
Symbol 459 MovieClip | Uses:456 458 | Used by:471 |
Symbol 460 Bitmap | Used by:461 | |
Symbol 461 Graphic | Uses:460 | Used by:471 |
Symbol 462 Text | Uses:51 | Used by:471 |
Symbol 463 EditableText | Uses:53 | Used by:471 |
Symbol 464 Text | Uses:51 | Used by:471 |
Symbol 465 EditableText | Uses:51 | Used by:471 |
Symbol 466 Text | Uses:51 | Used by:471 |
Symbol 467 EditableText | Uses:51 | Used by:471 |
Symbol 468 Text | Uses:51 | Used by:471 |
Symbol 469 EditableText | Uses:51 | Used by:471 |
Symbol 470 Text | Uses:53 | Used by:471 |
Symbol 471 MovieClip | Uses:447 450 452 454 459 461 462 463 464 465 466 467 468 469 470 | Used by:Timeline |
Symbol 472 Graphic | Uses:434 | Used by:485 |
Symbol 473 EditableText | Uses:51 | Used by:485 |
Symbol 474 Text | Uses:51 | Used by:485 |
Symbol 475 Text | Uses:51 | Used by:476 |
Symbol 476 Button | Uses:356 475 | Used by:485 |
Symbol 477 Text | Uses:51 | Used by:478 |
Symbol 478 Button | Uses:356 477 | Used by:485 |
Symbol 479 EditableText | Uses:51 | Used by:485 |
Symbol 480 EditableText | Uses:51 | Used by:485 |
Symbol 481 EditableText | Uses:51 | Used by:485 |
Symbol 482 EditableText | Uses:51 | Used by:485 |
Symbol 483 EditableText | Uses:51 | Used by:485 |
Symbol 484 Graphic | Used by:485 | |
Symbol 485 MovieClip | Uses:472 473 474 476 478 479 480 481 482 483 484 | Used by:Timeline |
Symbol 486 Bitmap | Used by:487 | |
Symbol 487 Graphic | Uses:486 | Used by:507 |
Symbol 488 Graphic | Used by:491 494 497 505 | |
Symbol 489 Text | Uses:51 | Used by:491 |
Symbol 490 Text | Uses:51 | Used by:491 |
Symbol 491 Button | Uses:488 489 490 | Used by:507 |
Symbol 492 Text | Uses:51 | Used by:494 505 |
Symbol 493 Text | Uses:51 | Used by:494 505 |
Symbol 494 Button | Uses:488 492 493 | Used by:507 |
Symbol 495 Text | Uses:51 | Used by:497 |
Symbol 496 Text | Uses:51 | Used by:497 |
Symbol 497 Button | Uses:488 495 496 | Used by:507 |
Symbol 498 Graphic | Uses:434 | Used by:507 |
Symbol 499 Text | Uses:53 | Used by:507 |
Symbol 500 EditableText | Uses:51 | Used by:507 |
Symbol 501 EditableText | Uses:51 | Used by:507 |
Symbol 502 EditableText | Uses:51 | Used by:507 |
Symbol 503 EditableText | Uses:51 | Used by:507 |
Symbol 504 EditableText | Uses:51 | Used by:507 |
Symbol 505 Button | Uses:488 492 493 | Used by:507 |
Symbol 506 Button | Uses:392 | Used by:507 |
Symbol 507 MovieClip | Uses:487 491 494 497 498 436 499 500 501 502 503 504 505 506 | Used by:Timeline |
Symbol 508 Bitmap | Used by:509 | |
Symbol 509 Graphic | Uses:508 | Used by:554 |
Symbol 510 Graphic | Used by:511 | |
Symbol 511 MovieClip | Uses:510 | Used by:554 |
Symbol 512 Graphic | Used by:515 553 | |
Symbol 513 Text | Uses:53 | Used by:515 553 |
Symbol 514 Text | Uses:53 | Used by:515 553 |
Symbol 515 Button | Uses:512 513 514 | Used by:554 |
Symbol 516 Bitmap | Used by:517 | |
Symbol 517 Graphic | Uses:516 | Used by:522 |
Symbol 518 Bitmap | Used by:519 | |
Symbol 519 Graphic | Uses:518 | Used by:522 |
Symbol 520 Bitmap | Used by:521 | |
Symbol 521 Graphic | Uses:520 | Used by:522 |
Symbol 522 MovieClip | Uses:517 519 521 | Used by:554 |
Symbol 523 Graphic | Used by:524 | |
Symbol 524 MovieClip | Uses:523 | Used by:554 |
Symbol 525 Text | Uses:53 | Used by:526 |
Symbol 526 MovieClip | Uses:525 | Used by:554 |
Symbol 527 Text | Uses:53 | Used by:528 |
Symbol 528 MovieClip | Uses:527 | Used by:554 |
Symbol 529 Text | Uses:53 51 | Used by:551 |
Symbol 530 Bitmap | Used by:533 | |
Symbol 531 Bitmap | Used by:533 | |
Symbol 532 Bitmap | Used by:533 | |
Symbol 533 Graphic | Uses:530 531 532 | Used by:551 |
Symbol 534 Text | Uses:51 | Used by:551 |
Symbol 535 Bitmap | Used by:536 | |
Symbol 536 Graphic | Uses:535 | Used by:551 552 |
Symbol 537 Text | Uses:51 | Used by:551 |
Symbol 538 Bitmap | Used by:539 | |
Symbol 539 Graphic | Uses:538 | Used by:551 |
Symbol 540 Text | Uses:53 | Used by:551 |
Symbol 541 Button | Uses:392 | Used by:551 |
Symbol 542 Button | Uses:392 | Used by:551 |
Symbol 543 Button | Uses:392 | Used by:551 |
Symbol 544 Button | Uses:392 | Used by:551 |
Symbol 545 Button | Uses:392 | Used by:551 |
Symbol 546 Button | Uses:392 | Used by:551 |
Symbol 547 Button | Uses:392 | Used by:551 |
Symbol 548 Button | Uses:392 | Used by:551 |
Symbol 549 Button | Uses:392 | Used by:551 |
Symbol 550 Button | Uses:392 | Used by:551 |
Symbol 551 MovieClip | Uses:529 533 534 536 537 539 540 541 542 543 544 545 546 547 548 549 550 | Used by:554 |
Symbol 552 MovieClip | Uses:536 | Used by:554 |
Symbol 553 Button | Uses:512 513 514 | Used by:554 |
Symbol 554 MovieClip | Uses:509 511 515 522 524 526 528 551 552 553 | Used by:Timeline |
Symbol 555 Graphic | Uses:73 283 287 324 326 29 205 337 122 251 243 | Used by:586 |
Symbol 556 EditableText | Uses:51 | Used by:586 |
Symbol 557 Graphic | Uses:29 | Used by:586 |
Symbol 558 Text | Uses:51 | Used by:586 |
Symbol 559 Text | Uses:51 | Used by:586 |
Symbol 560 EditableText | Uses:51 | Used by:586 |
Symbol 561 Text | Uses:51 | Used by:586 |
Symbol 562 Text | Uses:53 | Used by:586 |
Symbol 563 Text | Uses:53 | Used by:586 |
Symbol 564 EditableText | Uses:51 | Used by:586 |
Symbol 565 EditableText | Uses:51 | Used by:586 |
Symbol 566 Text | Uses:51 | Used by:586 |
Symbol 567 EditableText | Uses:51 | Used by:586 |
Symbol 568 EditableText | Uses:51 | Used by:586 |
Symbol 569 Text | Uses:51 | Used by:586 |
Symbol 570 EditableText | Uses:51 | Used by:586 |
Symbol 571 EditableText | Uses:51 | Used by:586 |
Symbol 572 Text | Uses:51 | Used by:586 |
Symbol 573 Text | Uses:51 | Used by:586 |
Symbol 574 EditableText | Uses:51 | Used by:586 |
Symbol 575 EditableText | Uses:51 | Used by:586 |
Symbol 576 Button | Uses:417 419 | Used by:586 |
Symbol 577 Button | Uses:392 | Used by:586 |
Symbol 578 Button | Uses:392 | Used by:586 |
Symbol 579 Button | Uses:392 | Used by:586 |
Symbol 580 Button | Uses:392 | Used by:586 |
Symbol 581 Button | Uses:392 | Used by:586 |
Symbol 582 Button | Uses:392 | Used by:586 |
Symbol 583 Button | Uses:392 | Used by:586 |
Symbol 584 Button | Uses:392 | Used by:586 |
Symbol 585 EditableText | Uses:53 | Used by:586 |
Symbol 586 MovieClip | Uses:555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 93 585 | Used by:Timeline |
Symbol 587 Font | Used by:588 | |
Symbol 588 EditableText | Uses:587 | Used by:Timeline |
Instance Names
"playbtn" | Frame 1 | Symbol 87 Button |
"red" | Frame 1 | Symbol 93 MovieClip |
"blue" | Frame 1 | Symbol 93 MovieClip |
"laser" | Frame 1 | Symbol 93 MovieClip |
"bombexplode" | Frame 1 | Symbol 93 MovieClip |
"enemyexplodesound" | Frame 1 | Symbol 93 MovieClip |
"green" | Frame 1 | Symbol 93 MovieClip |
"mhexplode" | Frame 1 | Symbol 93 MovieClip |
"weaponpower" | Frame 1 | Symbol 93 MovieClip |
"missilepower" | Frame 1 | Symbol 93 MovieClip |
"boss1canon" | Frame 1 | Symbol 93 MovieClip |
"protectorpower" | Frame 1 | Symbol 93 MovieClip |
"bombpower" | Frame 1 | Symbol 93 MovieClip |
"boss1electric" | Frame 1 | Symbol 93 MovieClip |
"healthpower" | Frame 1 | Symbol 93 MovieClip |
"boss2laser" | Frame 1 | Symbol 93 MovieClip |
"boss2laser2" | Frame 1 | Symbol 93 MovieClip |
"boss2big" | Frame 1 | Symbol 93 MovieClip |
"airblast" | Frame 1 | Symbol 93 MovieClip |
"loop1" | Frame 1 | Symbol 94 MovieClip |
"boss1loop" | Frame 1 | Symbol 94 MovieClip |
"loop2" | Frame 1 | Symbol 94 MovieClip |
"boss2loop" | Frame 1 | Symbol 94 MovieClip |
"loop3" | Frame 1 | Symbol 94 MovieClip |
"boss3loop" | Frame 1 | Symbol 94 MovieClip |
"loop4" | Frame 1 | Symbol 94 MovieClip |
"creditsloop" | Frame 1 | Symbol 94 MovieClip |
"survivalloop" | Frame 1 | Symbol 94 MovieClip |
"border" | Frame 1 | Symbol 99 MovieClip |
"bg" | Frame 2 | Symbol 121 MovieClip |
"enemy" | Frame 2 | Symbol 202 MovieClip |
"enemybullet" | Frame 2 | Symbol 242 MovieClip |
"shipexplosion" | Frame 2 | Symbol 180 MovieClip |
"ship" | Frame 2 | Symbol 280 MovieClip |
"mhexplosionmc" | Frame 2 | Symbol 282 MovieClip |
"target" | Frame 2 | Symbol 286 MovieClip |
"shot" | Frame 2 | Symbol 332 MovieClip |
"weaponPower" | Frame 2 | Symbol 333 MovieClip |
"missilepower" | Frame 2 | Symbol 70 MovieClip |
"bombpower" | Frame 2 | Symbol 64 MovieClip |
"protectorpower" | Frame 2 | Symbol 75 MovieClip |
"healthpower" | Frame 2 | Symbol 336 MovieClip |
"megahoming" | Frame 2 | Symbol 339 MovieClip |
"status" | Frame 2 | Symbol 362 MovieClip |
"maindisplay" | Frame 2 | Symbol 445 MovieClip |
"display" | Frame 2 | Symbol 471 MovieClip |
"passwordmc" | Frame 2 | Symbol 485 MovieClip |
"pausedisplay" | Frame 2 | Symbol 507 MovieClip |
"credits" | Frame 2 | Symbol 554 MovieClip |
"controls" | Frame 2 | Symbol 586 MovieClip |
"transition" | Frame 2 | Symbol 44 MovieClip [transition] |
"loadBar" | Symbol 92 MovieClip Frame 1 | Symbol 90 MovieClip |
"nebula1" | Symbol 121 MovieClip Frame 2 | Symbol 102 MovieClip |
"nebula2" | Symbol 121 MovieClip Frame 2 | Symbol 105 MovieClip |
"nebula3" | Symbol 121 MovieClip Frame 2 | Symbol 108 MovieClip |
"planet1" | Symbol 121 MovieClip Frame 3 | Symbol 111 MovieClip |
"planet2" | Symbol 121 MovieClip Frame 3 | Symbol 114 MovieClip |
"galaxy" | Symbol 121 MovieClip Frame 4 | Symbol 117 MovieClip |
"asteroids" | Symbol 121 MovieClip Frame 5 | Symbol 120 MovieClip |
"gun" | Symbol 195 MovieClip Frame 1 | Symbol 124 MovieClip |
"gun2" | Symbol 195 MovieClip Frame 2 | Symbol 124 MovieClip |
"gun3" | Symbol 195 MovieClip Frame 3 | Symbol 124 MovieClip |
"gun2" | Symbol 195 MovieClip Frame 6 | Symbol 124 MovieClip |
"gun2" | Symbol 195 MovieClip Frame 8 | Symbol 124 MovieClip |
"gun3" | Symbol 195 MovieClip Frame 8 | Symbol 124 MovieClip |
"canon" | Symbol 195 MovieClip Frame 8 | Symbol 124 MovieClip |
"lasercharge" | Symbol 195 MovieClip Frame 9 | Symbol 161 MovieClip |
"lasergun" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"lasergun2" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun1" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun4" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun5" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun6" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun7" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun8" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun9" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun10" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun11" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"gun12" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"biggun1" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"biggun2" | Symbol 195 MovieClip Frame 9 | Symbol 124 MovieClip |
"attachpoint" | Symbol 195 MovieClip Frame 10 | Symbol 124 MovieClip |
"hatch" | Symbol 195 MovieClip Frame 11 | Symbol 169 MovieClip |
"gun" | Symbol 195 MovieClip Frame 11 | Symbol 124 MovieClip |
"charge" | Symbol 195 MovieClip Frame 13 | Symbol 177 MovieClip |
"missile" | Symbol 195 MovieClip Frame 13 | Symbol 124 MovieClip |
"missile2" | Symbol 195 MovieClip Frame 13 | Symbol 124 MovieClip |
"missile3" | Symbol 195 MovieClip Frame 13 | Symbol 124 MovieClip |
"missile4" | Symbol 195 MovieClip Frame 13 | Symbol 124 MovieClip |
"laser" | Symbol 195 MovieClip Frame 13 | Symbol 124 MovieClip |
"gun" | Symbol 195 MovieClip Frame 13 | Symbol 124 MovieClip |
"explode" | Symbol 195 MovieClip Frame 13 | Symbol 183 MovieClip |
"enemytype" | Symbol 202 MovieClip Frame 1 | Symbol 195 MovieClip |
"healthbar" | Symbol 202 MovieClip Frame 1 | Symbol 198 MovieClip |
"border" | Symbol 202 MovieClip Frame 1 | Symbol 201 MovieClip |
"gun" | Symbol 273 MovieClip Frame 1 | Symbol 124 MovieClip |
"gun2" | Symbol 273 MovieClip Frame 1 | Symbol 124 MovieClip |
"sphere" | Symbol 274 MovieClip Frame 2 | Symbol 273 MovieClip |
"sphere" | Symbol 275 MovieClip Frame 2 | Symbol 273 MovieClip |
"engine" | Symbol 280 MovieClip Frame 1 | Symbol 246 MovieClip |
"shipmc" | Symbol 280 MovieClip Frame 1 | Symbol 248 MovieClip |
"shiptype" | Symbol 280 MovieClip Frame 1 | Symbol 253 MovieClip |
"missile" | Symbol 280 MovieClip Frame 1 | Symbol 124 MovieClip |
"gun" | Symbol 280 MovieClip Frame 1 | Symbol 124 MovieClip |
"laser" | Symbol 280 MovieClip Frame 1 | Symbol 124 MovieClip |
"bomb" | Symbol 280 MovieClip Frame 1 | Symbol 124 MovieClip |
"green" | Symbol 280 MovieClip Frame 1 | Symbol 124 MovieClip |
"greenpower" | Symbol 280 MovieClip Frame 1 | Symbol 260 MovieClip |
"blue" | Symbol 280 MovieClip Frame 1 | Symbol 268 MovieClip |
"protector" | Symbol 280 MovieClip Frame 1 | Symbol 274 MovieClip |
"protector2" | Symbol 280 MovieClip Frame 1 | Symbol 275 MovieClip |
"shield" | Symbol 280 MovieClip Frame 1 | Symbol 278 MovieClip |
"powerup" | Symbol 280 MovieClip Frame 1 | Symbol 279 MovieClip |
"br" | Symbol 286 MovieClip Frame 1 | Symbol 285 MovieClip |
"tr" | Symbol 286 MovieClip Frame 1 | Symbol 285 MovieClip |
"tl" | Symbol 286 MovieClip Frame 1 | Symbol 285 MovieClip |
"bl" | Symbol 286 MovieClip Frame 1 | Symbol 285 MovieClip |
"explode" | Symbol 331 MovieClip Frame 2 | Symbol 330 MovieClip |
"blue" | Symbol 332 MovieClip Frame 4 | Symbol 291 MovieClip |
"blue" | Symbol 332 MovieClip Frame 5 | Symbol 298 MovieClip |
"blue" | Symbol 332 MovieClip Frame 6 | Symbol 305 MovieClip |
"blue" | Symbol 332 MovieClip Frame 7 | Symbol 312 MovieClip |
"bomb" | Symbol 332 MovieClip Frame 14 | Symbol 331 MovieClip |
"shield" | Symbol 351 MovieClip Frame 1 | Symbol 344 MovieClip |
"missile" | Symbol 351 MovieClip Frame 1 | Symbol 349 MovieClip |
"laser" | Symbol 351 MovieClip Frame 1 | Symbol 344 MovieClip |
"box" | Symbol 351 MovieClip Frame 1 | Symbol 350 MovieClip |
"mask" | Symbol 362 MovieClip Frame 1 | Symbol 351 MovieClip |
"onbtn" | Symbol 362 MovieClip Frame 1 | Symbol 357 Button |
"offbtn" | Symbol 362 MovieClip Frame 1 | Symbol 358 Button |
"bomb" | Symbol 362 MovieClip Frame 1 | Symbol 361 MovieClip |
"border" | Symbol 362 MovieClip Frame 1 | Symbol 99 MovieClip |
"menu" | Symbol 444 MovieClip Frame 2 | Symbol 443 Button |
"playbtn" | Symbol 445 MovieClip Frame 2 | Symbol 374 Button |
"optionsbtn" | Symbol 445 MovieClip Frame 2 | Symbol 379 Button |
"instructionsbtn" | Symbol 445 MovieClip Frame 2 | Symbol 384 Button |
"controlsbtn" | Symbol 445 MovieClip Frame 3 | Symbol 400 Button |
"passwordbtn" | Symbol 445 MovieClip Frame 3 | Symbol 405 Button |
"beginnerbtn" | Symbol 445 MovieClip Frame 3 | Symbol 410 Button |
"expertbtn" | Symbol 445 MovieClip Frame 3 | Symbol 415 Button |
"beginner" | Symbol 445 MovieClip Frame 3 | Symbol 423 MovieClip |
"expert" | Symbol 445 MovieClip Frame 3 | Symbol 423 MovieClip |
"instructions" | Symbol 445 MovieClip Frame 4 | Symbol 82 MovieClip |
"yesbtn" | Symbol 445 MovieClip Frame 5 | Symbol 428 Button |
"nobtn" | Symbol 445 MovieClip Frame 5 | Symbol 430 Button |
"givepass" | Symbol 445 MovieClip Frame 5 | Symbol 444 MovieClip |
"mission" | Symbol 471 MovieClip Frame 2 | Symbol 450 MovieClip |
"lasertext" | Symbol 471 MovieClip Frame 116 | Symbol 459 MovieClip |
"am" | Symbol 507 MovieClip Frame 2 | Symbol 505 Button |
"backbtn" | Symbol 507 MovieClip Frame 2 | Symbol 506 Button |
"staytuned" | Symbol 554 MovieClip Frame 71 | Symbol 528 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "healthpower" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "loop4" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "boss1electric" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "loop2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 5 as "blue" |
ExportAssets (56) | Timeline Frame 1 | Symbol 6 as "red" |
ExportAssets (56) | Timeline Frame 1 | Symbol 7 as "bombpower" |
ExportAssets (56) | Timeline Frame 1 | Symbol 8 as "creditsloop" |
ExportAssets (56) | Timeline Frame 1 | Symbol 9 as "weaponpower" |
ExportAssets (56) | Timeline Frame 1 | Symbol 10 as "enemyexplode" |
ExportAssets (56) | Timeline Frame 1 | Symbol 11 as "survivalloop" |
ExportAssets (56) | Timeline Frame 1 | Symbol 12 as "boss3loop" |
ExportAssets (56) | Timeline Frame 1 | Symbol 13 as "protectorpower" |
ExportAssets (56) | Timeline Frame 1 | Symbol 14 as "boss2loop" |
ExportAssets (56) | Timeline Frame 1 | Symbol 15 as "boss2big" |
ExportAssets (56) | Timeline Frame 1 | Symbol 16 as "green" |
ExportAssets (56) | Timeline Frame 1 | Symbol 17 as "mhexplode" |
ExportAssets (56) | Timeline Frame 1 | Symbol 18 as "bombexplode" |
ExportAssets (56) | Timeline Frame 1 | Symbol 19 as "boss1loop" |
ExportAssets (56) | Timeline Frame 1 | Symbol 20 as "missilepower" |
ExportAssets (56) | Timeline Frame 1 | Symbol 21 as "boss1canon" |
ExportAssets (56) | Timeline Frame 1 | Symbol 22 as "boss2laser2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 23 as "boss2laser" |
ExportAssets (56) | Timeline Frame 1 | Symbol 24 as "launchmh" |
ExportAssets (56) | Timeline Frame 1 | Symbol 25 as "airblast" |
ExportAssets (56) | Timeline Frame 1 | Symbol 26 as "loop3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 27 as "laser" |
ExportAssets (56) | Timeline Frame 1 | Symbol 28 as "loop1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 31 as "stars" |
ExportAssets (56) | Timeline Frame 1 | Symbol 34 as "spark2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 37 as "spark1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 44 as "transition" |
ExportAssets (56) | Timeline Frame 2 | Symbol 44 as "transition" |
Labels
"main" | Frame 2 |
"close" | Symbol 44 MovieClip [transition] Frame 2 |
"open" | Symbol 44 MovieClip [transition] Frame 24 |
"red" | Symbol 50 MovieClip Frame 1 |
"redchange" | Symbol 50 MovieClip Frame 2 |
"blue" | Symbol 50 MovieClip Frame 29 |
"bluechange" | Symbol 50 MovieClip Frame 30 |
"green" | Symbol 50 MovieClip Frame 55 |
"greenchange" | Symbol 50 MovieClip Frame 56 |
"blank" | Symbol 64 MovieClip Frame 2 |
"blank" | Symbol 70 MovieClip Frame 2 |
"blank" | Symbol 75 MovieClip Frame 2 |
"weapons" | Symbol 82 MovieClip Frame 1 |
"bombs" | Symbol 82 MovieClip Frame 2 |
"missiles" | Symbol 82 MovieClip Frame 3 |
"protectors" | Symbol 82 MovieClip Frame 4 |
"scoring" | Symbol 82 MovieClip Frame 5 |
"survival" | Symbol 82 MovieClip Frame 6 |
"blank" | Symbol 102 MovieClip Frame 1 |
"graphic" | Symbol 102 MovieClip Frame 2 |
"blank" | Symbol 105 MovieClip Frame 1 |
"graphic" | Symbol 105 MovieClip Frame 2 |
"blank" | Symbol 108 MovieClip Frame 1 |
"graphic" | Symbol 108 MovieClip Frame 2 |
"blank" | Symbol 111 MovieClip Frame 1 |
"graphic" | Symbol 111 MovieClip Frame 2 |
"blank" | Symbol 114 MovieClip Frame 1 |
"graphic" | Symbol 114 MovieClip Frame 2 |
"blank" | Symbol 117 MovieClip Frame 1 |
"graphic" | Symbol 117 MovieClip Frame 2 |
"blank" | Symbol 120 MovieClip Frame 1 |
"graphic" | Symbol 120 MovieClip Frame 2 |
"blank" | Symbol 121 MovieClip Frame 1 |
"level1" | Symbol 121 MovieClip Frame 2 |
"level2" | Symbol 121 MovieClip Frame 3 |
"level3" | Symbol 121 MovieClip Frame 4 |
"level4" | Symbol 121 MovieClip Frame 5 |
"charge" | Symbol 161 MovieClip Frame 2 |
"open" | Symbol 169 MovieClip Frame 2 |
"blank" | Symbol 177 MovieClip Frame 1 |
"charge" | Symbol 177 MovieClip Frame 2 |
"blank" | Symbol 180 MovieClip Frame 18 |
"blank" | Symbol 183 MovieClip Frame 1 |
"explode" | Symbol 183 MovieClip Frame 2 |
"enemy1" | Symbol 195 MovieClip Frame 1 |
"enemy2" | Symbol 195 MovieClip Frame 2 |
"enemy3" | Symbol 195 MovieClip Frame 3 |
"enemy4" | Symbol 195 MovieClip Frame 4 |
"enemy5" | Symbol 195 MovieClip Frame 5 |
"enemy6" | Symbol 195 MovieClip Frame 6 |
"enemy7" | Symbol 195 MovieClip Frame 7 |
"boss1" | Symbol 195 MovieClip Frame 8 |
"boss2" | Symbol 195 MovieClip Frame 9 |
"boss3head" | Symbol 195 MovieClip Frame 10 |
"boss3body" | Symbol 195 MovieClip Frame 11 |
"boss3tail" | Symbol 195 MovieClip Frame 12 |
"fboss" | Symbol 195 MovieClip Frame 13 |
"launcher" | Symbol 195 MovieClip Frame 14 |
"rocket" | Symbol 195 MovieClip Frame 15 |
"blank" | Symbol 195 MovieClip Frame 16 |
"blank" | Symbol 198 MovieClip Frame 2 |
"blank" | Symbol 201 MovieClip Frame 2 |
"enemy" | Symbol 202 MovieClip Frame 1 |
"hit" | Symbol 202 MovieClip Frame 2 |
"blank" | Symbol 202 MovieClip Frame 14 |
"ebullet1" | Symbol 242 MovieClip Frame 1 |
"enemymissile" | Symbol 242 MovieClip Frame 2 |
"enemy7" | Symbol 242 MovieClip Frame 3 |
"boss1electric" | Symbol 242 MovieClip Frame 4 |
"boss1canon" | Symbol 242 MovieClip Frame 5 |
"boss2laser" | Symbol 242 MovieClip Frame 6 |
"boss2big" | Symbol 242 MovieClip Frame 7 |
"boss3" | Symbol 242 MovieClip Frame 8 |
"fbosslaser" | Symbol 242 MovieClip Frame 9 |
"fbossgun" | Symbol 242 MovieClip Frame 10 |
"blank" | Symbol 242 MovieClip Frame 11 |
"forward" | Symbol 246 MovieClip Frame 1 |
"nolaser" | Symbol 253 MovieClip Frame 1 |
"yeslaser" | Symbol 253 MovieClip Frame 2 |
"full" | Symbol 273 MovieClip Frame 1 |
"half" | Symbol 273 MovieClip Frame 2 |
"critical" | Symbol 273 MovieClip Frame 3 |
"blank" | Symbol 274 MovieClip Frame 1 |
"protector" | Symbol 274 MovieClip Frame 2 |
"back" | Symbol 274 MovieClip Frame 3 |
"bl" | Symbol 274 MovieClip Frame 7 |
"bottom" | Symbol 274 MovieClip Frame 12 |
"br" | Symbol 274 MovieClip Frame 17 |
"front" | Symbol 274 MovieClip Frame 22 |
"tr" | Symbol 274 MovieClip Frame 27 |
"top" | Symbol 274 MovieClip Frame 32 |
"tl" | Symbol 274 MovieClip Frame 37 |
"last" | Symbol 274 MovieClip Frame 41 |
"blank" | Symbol 275 MovieClip Frame 1 |
"protector" | Symbol 275 MovieClip Frame 2 |
"back" | Symbol 275 MovieClip Frame 3 |
"bl" | Symbol 275 MovieClip Frame 7 |
"bottom" | Symbol 275 MovieClip Frame 12 |
"br" | Symbol 275 MovieClip Frame 17 |
"front" | Symbol 275 MovieClip Frame 22 |
"tr" | Symbol 275 MovieClip Frame 27 |
"top" | Symbol 275 MovieClip Frame 32 |
"tl" | Symbol 275 MovieClip Frame 37 |
"last" | Symbol 275 MovieClip Frame 41 |
"blank" | Symbol 279 MovieClip Frame 1 |
"laser" | Symbol 279 MovieClip Frame 2 |
"blank" | Symbol 282 MovieClip Frame 15 |
"red1" | Symbol 332 MovieClip Frame 1 |
"red2" | Symbol 332 MovieClip Frame 2 |
"red3" | Symbol 332 MovieClip Frame 3 |
"blue1" | Symbol 332 MovieClip Frame 4 |
"blue2" | Symbol 332 MovieClip Frame 5 |
"blue3" | Symbol 332 MovieClip Frame 6 |
"blue4" | Symbol 332 MovieClip Frame 7 |
"sblue" | Symbol 332 MovieClip Frame 8 |
"green1" | Symbol 332 MovieClip Frame 9 |
"green2" | Symbol 332 MovieClip Frame 10 |
"green3" | Symbol 332 MovieClip Frame 11 |
"green4" | Symbol 332 MovieClip Frame 12 |
"laser" | Symbol 332 MovieClip Frame 13 |
"bomb" | Symbol 332 MovieClip Frame 14 |
"blank" | Symbol 332 MovieClip Frame 15 |
"red" | Symbol 333 MovieClip Frame 1 |
"redchange" | Symbol 333 MovieClip Frame 2 |
"blue" | Symbol 333 MovieClip Frame 5 |
"bluechange" | Symbol 333 MovieClip Frame 6 |
"green" | Symbol 333 MovieClip Frame 9 |
"greenchange" | Symbol 333 MovieClip Frame 10 |
"blank" | Symbol 333 MovieClip Frame 14 |
"blank" | Symbol 336 MovieClip Frame 2 |
"boost" | Symbol 339 MovieClip Frame 2 |
"blank" | Symbol 339 MovieClip Frame 3 |
"level0" | Symbol 349 MovieClip Frame 1 |
"level1" | Symbol 349 MovieClip Frame 2 |
"level2" | Symbol 349 MovieClip Frame 3 |
"level3" | Symbol 349 MovieClip Frame 4 |
"level4" | Symbol 349 MovieClip Frame 5 |
"level5" | Symbol 349 MovieClip Frame 6 |
"blank" | Symbol 444 MovieClip Frame 1 |
"pass" | Symbol 444 MovieClip Frame 2 |
"blank" | Symbol 445 MovieClip Frame 1 |
"title" | Symbol 445 MovieClip Frame 2 |
"options" | Symbol 445 MovieClip Frame 3 |
"instructions" | Symbol 445 MovieClip Frame 4 |
"continue" | Symbol 445 MovieClip Frame 5 |
"1" | Symbol 450 MovieClip Frame 1 |
"2" | Symbol 450 MovieClip Frame 2 |
"3" | Symbol 450 MovieClip Frame 3 |
"4" | Symbol 450 MovieClip Frame 4 |
"5" | Symbol 450 MovieClip Frame 5 |
"blank" | Symbol 459 MovieClip Frame 1 |
"laser" | Symbol 459 MovieClip Frame 2 |
"protector" | Symbol 459 MovieClip Frame 51 |
"blank" | Symbol 471 MovieClip Frame 1 |
"mission" | Symbol 471 MovieClip Frame 2 |
"missioncomplete" | Symbol 471 MovieClip Frame 32 |
"fmission" | Symbol 471 MovieClip Frame 75 |
"sumscore" | Symbol 471 MovieClip Frame 116 |
"lasertext" | Symbol 471 MovieClip Frame 117 |
"blank" | Symbol 485 MovieClip Frame 1 |
"open" | Symbol 485 MovieClip Frame 2 |
"pause" | Symbol 507 MovieClip Frame 1 |
"pass" | Symbol 507 MovieClip Frame 2 |
"graphic" | Symbol 528 MovieClip Frame 1 |
"blank" | Symbol 528 MovieClip Frame 2 |
"blank" | Symbol 554 MovieClip Frame 1 |
"start" | Symbol 554 MovieClip Frame 2 |
"preview" | Symbol 554 MovieClip Frame 136 |
Dynamic Text Variables
timer | Symbol 354 EditableText | "" |
score | Symbol 355 EditableText | "" |
countdown | Symbol 431 EditableText | "" |
score | Symbol 433 EditableText | "" |
passwordtext1 | Symbol 437 EditableText | "" |
passwordtext2 | Symbol 438 EditableText | "" |
passwordtext4 | Symbol 439 EditableText | "" |
passwordtext3 | Symbol 440 EditableText | "" |
passwordtext5 | Symbol 441 EditableText | "" |
bombs | Symbol 463 EditableText | "" |
time | Symbol 465 EditableText | "" |
totalscore | Symbol 467 EditableText | "" |
health | Symbol 469 EditableText | "" |
passwordtext1 | Symbol 473 EditableText | "" |
display | Symbol 479 EditableText | "" |
passwordtext2 | Symbol 480 EditableText | "" |
passwordtext4 | Symbol 481 EditableText | "" |
passwordtext3 | Symbol 482 EditableText | "" |
passwordtext5 | Symbol 483 EditableText | "" |
passwordtext1 | Symbol 500 EditableText | "" |
passwordtext2 | Symbol 501 EditableText | "" |
passwordtext4 | Symbol 502 EditableText | "" |
passwordtext3 | Symbol 503 EditableText | "" |
passwordtext5 | Symbol 504 EditableText | "" |
autokey | Symbol 556 EditableText | "A" |
missilekey | Symbol 560 EditableText | "Space" |
targetkey | Symbol 564 EditableText | "D" |
target2key | Symbol 565 EditableText | "S" |
laserkey | Symbol 567 EditableText | "C" |
firekey | Symbol 568 EditableText | "Space" |
bombkey | Symbol 571 EditableText | "Z" |
pausekey | Symbol 574 EditableText | "P" |
test | Symbol 588 EditableText | "" |
|