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

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

Particles Extreme - 8 bosses, bonus unlockables, and epic particle explosions.swf

This is the info page for
Flash #89153

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


ActionScript [AS1/AS2]
Combined Code
movieClip 5 { } movieClip 6 line { } movieClip 7 fade { frame 61 { this.getNextHighestDepth(); this.removeMovieClip(); } } movieClip 9 { } movieClip 10 bullet1 { frame 1 { var g = 0; } instance of movieClip 9 { onClipEvent (enterFrame) { this._x += 19; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } g = 0; while (g < _root.t) { if (this.hitTest(_root['enemy' + g])) { _root['enemy' + g].play(); if (_root.peirce == 0) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } ++g; } g = 0; } } } movieClip 12 { } movieClip 13 star { frame 1 { var speed = random(15); } instance of movieClip 12 { onClipEvent (enterFrame) { this._x -= speed; if (this._x > -525) { this._x = 0; } } } } movieClip 16 { } movieClip 19 { } movieClip 21 { } movieClip 24 { } movieClip 26 enemy { frame 1 { var speed = random(3) + 2; this.onEnterFrame = function () { this._x -= speed; if (this.hitTest(_root.deleter || _root.deleter2)) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } }; } frame 1 { stop(); } frame 2 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 3 { stop(); } frame 4 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 5 { stop(); } frame 6 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 7 { stop(); } frame 8 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 9 { stop(); } frame 10 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 11 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } var chance = 0; chance = random(20); if (chance >= 4) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 0) { _root.attachMovie('powerUp1', 'powerUp1' + _root.i, _root.getNextHighestDepth()); _root['powerUp1' + _root.i]._x = this._x; _root['powerUp1' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 1) { _root.attachMovie('powerUp2', 'powerUp2' + _root.i, _root.getNextHighestDepth()); _root['powerUp2' + _root.i]._x = this._x; _root['powerUp2' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 2) { _root.attachMovie('powerUp3', 'powerUp3' + _root.i, _root.getNextHighestDepth()); _root['powerUp3' + _root.i]._x = this._x; _root['powerUp3' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 3) { _root.attachMovie('powerUp4', 'powerUp4' + _root.i, _root.getNextHighestDepth()); _root['powerUp4' + _root.i]._x = this._x; _root['powerUp4' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } } } } } } // unknown tag 88 length 35 movieClip 29 { } movieClip 30 LevelUp { frame 55 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 32 { } movieClip 33 { frame 31 { stop(); this.swapDepths(_root.getNextHighestDepth()); _parent.removeMovieClip(); } } movieClip 35 { } movieClip 36 { frame 31 { stop(); this.swapDepths(_root.getNextHighestDepth()); _parent.removeMovieClip(); } } movieClip 38 { } movieClip 39 { frame 31 { stop(); this.swapDepths(_root.getNextHighestDepth()); _parent.removeMovieClip(); } } movieClip 41 { } movieClip 42 { frame 31 { stop(); this.swapDepths(_root.getNextHighestDepth()); _parent.removeMovieClip(); } } movieClip 43 boost { frame 1 { var b = random(4); if (b == 1) { gotoAndStop(2); } if (b == 2) { gotoAndStop(3); } if (b == 3) { gotoAndStop(5); } if (b == 0) { gotoAndStop(4); } } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 46 { } movieClip 47 { } movieClip 48 { } // unknown tag 88 length 35 movieClip 51 { } movieClip 53 powerUp1 { frame 1 { play(); } instance of movieClip 48 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.peirce += 45; _parent.gotoAndPlay(288); } } } frame 287 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } frame 288 { play(); } frame 324 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } movieClip 56 { } movieClip 57 { } movieClip 58 { } movieClip 60 { } movieClip 61 powerUp2 { frame 1 { play(); } instance of movieClip 58 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.hpTotal += random(5); _parent.gotoAndPlay(288); } } } instance of movieClip 58 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.hpTotal += random(15); _parent.gotoAndPlay(288); } } } frame 287 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } frame 324 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } movieClip 64 { } movieClip 65 { } movieClip 66 { } movieClip 68 { } movieClip 69 powerUp3 { frame 1 { play(); } instance of movieClip 66 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.hp += random(70) + 25; _parent.gotoAndPlay(288); } } } frame 287 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } frame 324 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } movieClip 72 { } movieClip 73 { } movieClip 75 { } movieClip 76 powerUp4 { frame 1 { play(); } instance of movieClip 73 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.xp += random(600); _parent.gotoAndPlay(288); } } } frame 287 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } frame 324 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } movieClip 77 bullet2 { frame 1 { var g = 0; } instance of movieClip 9 { onClipEvent (enterFrame) { this._x += 19; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.enemy.enemy2.flashing)) { _root.enemy.nextFrame(); _root.createExplosion(_root.enemy.enemy2.flashing._x, _root.enemy.enemy2.flashing._y); _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } g = 0; } } } movieClip 79 { } movieClip 80 enemyLaser { instance of movieClip 79 { onClipEvent (load) { if (_root.difficulty == 'EASY') { var speed = 5; } else { var speed = 8.5; } } onClipEvent (enterFrame) { this._x += speed; if (this._x > 500 || this._x < -500 || this._y > 400 || this._y < -400) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } if (this.hitTest(_root.playerHitBox)) { _root.hp -= 15; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 81 bullet3 { frame 1 { var g = 0; } instance of movieClip 9 { onClipEvent (enterFrame) { this._x += 19; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.shipHitBox)) { _root.enemyHealth -= 1; _root.ship.ship2.play(); if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 15; _root.particleRange = 130; _root.createExplosion(_root.ship._x, _root.ship._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 8; _root.particleRange = 100; _root.createExplosion(_root.ship._x, _root.ship._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } g = 0; } } } movieClip 83 { } movieClip 85 { frame 1 { stop(); } } movieClip 87 { } movieClip 88 { frame 1 { play(); } instance of movieClip 87 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.hp -= 0.1; } } } frame 8 { _root.attachMovie('boss2charge', 'boss2charge' + _root.i, _root.getNextHighestDepth()); _root['boss2charge' + _root.i]._x = _root.ship._x; _root['boss2charge' + _root.i]._y = _root.ship._y; _root['boss2charge' + _root.i]._rotation = random(360); ++_root.i; if (_root.enemyHealth < 40) { _root.attachMovie('boss2charge', 'boss2charge' + _root.i, _root.getNextHighestDepth()); _root['boss2charge' + _root.i]._x = _root.ship._x; _root['boss2charge' + _root.i]._y = _root.ship._y; _root['boss2charge' + _root.i]._rotation = random(360); ++_root.i; } } frame 15 { var chance = random(2); if (chance == 1) { _root.attachMovie('boss2Bullets', 'boss2Bullets' + _root.i, _root.getNextHighestDepth()); _root['boss2Bullets' + _root.i]._x = _root.ship._x; _root['boss2Bullets' + _root.i]._y = _root.ship._y; _root['boss2Bullets' + _root.i]._rotation = _root.ship._rotation + random(45); ++_root.i; } else { _root.attachMovie('boss2Bullets', 'boss2Bullets' + _root.i, _root.getNextHighestDepth()); _root['boss2Bullets' + _root.i]._x = _root.ship._x; _root['boss2Bullets' + _root.i]._y = _root.ship._y; _root['boss2Bullets' + _root.i]._rotation = _root.ship._rotation + random(-45); ++_root.i; } if (_root.enemyHealth < 40) { _root.attachMovie('boss2Bullets', 'boss2Bullets' + _root.i, _root.getNextHighestDepth()); _root['boss2Bullets' + _root.i]._x = _root.ship._x; _root['boss2Bullets' + _root.i]._y = _root.ship._y; _root['boss2Bullets' + _root.i]._rotation = _root.ship._rotation + random(-45); ++_root.i; } } } movieClip 89 boss2 { instance ship of movieClip 88 { onClipEvent (enterFrame) { ship._x += (_root.waypointx - ship._x) / 25; ship._y += (_root.waypointy - ship._y) / 25; var idy = _root.player._y - this._y; var idx = _root.player._x - this._x; var iradians = Math.atan2(idy, idx); this._rotation = iradians * 180 / Math.PI; } } } movieClip 91 { } movieClip 92 { frame 1 { _root._x += 5; } frame 2 { _root._y -= 5; } frame 3 { _root._x -= 5; } frame 4 { _root._y += 5; } } movieClip 93 boss_animation { frame 69 { play(); } frame 105 { _root.play(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 95 { } movieClip 96 boss2Bullets { instance of movieClip 95 { onClipEvent (enterFrame) { this._x += 10; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.playerHitBox)) { _root.hp -= 15; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 98 { } movieClip 99 { } movieClip 100 boss2charge { instance of movieClip 99 { onClipEvent (load) { var randomSpeed = random(7) + 2; } onClipEvent (enterFrame) { this._x += randomSpeed; if (this.hitTest(_root.playerHitBox)) { _root.hp -= 1; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } if (this._x > 500 || this._x < -500 || this._y > 400 || this._y < -400) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 101 enemy2 { frame 1 { var speed = random(7) + 1; this.onEnterFrame = function () { this._y += speed; if (this.hitTest(_root.deleter)) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } else { if (this.hitTest(_root.deleter2)) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } }; } frame 1 { stop(); } frame 2 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 8; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 4; _root.particleRange = 75; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 3 { stop(); } frame 4 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 8; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 4; _root.particleRange = 75; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 5 { stop(); } frame 6 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 8; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 4; _root.particleRange = 75; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 7 { stop(); } frame 8 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 8; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 4; _root.particleRange = 75; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 9 { stop(); } frame 10 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 8; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 4; _root.particleRange = 75; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 11 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } var chance = 0; chance = random(20); if (chance >= 4) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 0) { _root.attachMovie('powerUp1', 'powerUp1' + _root.i, _root.getNextHighestDepth()); _root['powerUp1' + _root.i]._x = this._x; _root['powerUp1' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 1) { _root.attachMovie('powerUp2', 'powerUp2' + _root.i, _root.getNextHighestDepth()); _root['powerUp2' + _root.i]._x = this._x; _root['powerUp2' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 2) { _root.attachMovie('powerUp3', 'powerUp3' + _root.i, _root.getNextHighestDepth()); _root['powerUp3' + _root.i]._x = this._x; _root['powerUp3' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 3) { _root.attachMovie('powerUp4', 'powerUp4' + _root.i, _root.getNextHighestDepth()); _root['powerUp4' + _root.i]._x = this._x; _root['powerUp4' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } } } } } } movieClip 102 bullet4 { frame 1 { var g = 0; } instance of movieClip 9 { onClipEvent (enterFrame) { this._x += 19; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } g = 0; while (g < _root.t) { if (this.hitTest(_root['enemy' + g])) { _root['enemy' + g].play(); if (_root.peirce == 0) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } ++g; } g = 0; if (this.hitTest(_root.boss3.enemy2.flashing)) { _root.boss3.nextFrame(); _root.createExplosion(488, 240); _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } } } } movieClip 103 boss3charge { instance of movieClip 99 { onClipEvent (load) { if (_root.difficulty == 'HARD') { var randomSpeed = random(10) + 5; } else { var randomSpeed = random(5) + 5; } } onClipEvent (enterFrame) { this._x += randomSpeed; if (this.hitTest(_root.playerHitBox)) { _root.hp -= 3; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } if (this._x > 500 || this._x < -500 || this._y > 400 || this._y < -400) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 106 { } movieClip 107 enemy3 { frame 1 { var speed = random(5) + 3; this.onEnterFrame = function () { this._y -= speed; if (this.hitTest(_root.deleter)) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } }; } frame 1 { stop(); } frame 2 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 7; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 3 { stop(); } frame 4 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 7; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 5 { stop(); } frame 6 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 7; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 7 { stop(); } frame 8 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 7; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 9 { stop(); } frame 11 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } var chance = 0; chance = random(18); if (chance >= 4) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 0) { _root.attachMovie('powerUp1', 'powerUp1' + _root.i, _root.getNextHighestDepth()); _root['powerUp1' + _root.i]._x = this._x; _root['powerUp1' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 1) { _root.attachMovie('powerUp2', 'powerUp2' + _root.i, _root.getNextHighestDepth()); _root['powerUp2' + _root.i]._x = this._x; _root['powerUp2' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 2) { _root.attachMovie('powerUp3', 'powerUp3' + _root.i, _root.getNextHighestDepth()); _root['powerUp3' + _root.i]._x = this._x; _root['powerUp3' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 3) { _root.attachMovie('powerUp4', 'powerUp4' + _root.i, _root.getNextHighestDepth()); _root['powerUp4' + _root.i]._x = this._x; _root['powerUp4' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } } } } } } movieClip 109 { } movieClip 110 fades { frame 70 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.play(); } } movieClip 112 { } movieClip 114 { } movieClip 116 { frame 1 { _root._x += 2; } frame 2 { _root._y -= 2; } frame 3 { _root._x -= 2; } frame 4 { _root._y += 2; } } movieClip 117 bigLaser { instance of movieClip 114 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.player.play(); _root.hp -= 5; } g = 0; while (g < _root.t) { if (this.hitTest(_root['enemy' + g])) { _root['enemy' + g].gotoAndStop(11); } ++g; } g = 0; } } frame 17 { _root._x = 0; _root._y = 0; } frame 101 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 119 { } movieClip 120 { instance of movieClip 119 { onClipEvent (load) { randomSpeed = random(5) + 1; } onClipEvent (enterFrame) { _parent._x -= randomSpeed; if (_parent._x < -10) { _parent._x = 530; _parent._y = random(450); randomSpeed = random(5) + 1; } } } } movieClip 121 starx { frame 1 { var chance = random(4) + 1; if (chance == 1) { stop(); } else { if (chance == 2) { gotoAndStop(2); } else { if (chance == 3) { gotoAndStop(3); } else { gotoAndStop(4); } } } } } movieClip 122 { } movieClip 123 boss4charge { instance of movieClip 122 { onClipEvent (load) { var randomSpeed = random(6) + 2; } onClipEvent (enterFrame) { this._x += randomSpeed; if (this.hitTest(_root.playerHitBox)) { _root.hp -= 1; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } if (this._x > 500 || this._x < -500 || this._y > 400 || this._y < -400) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 124 bullet5 { frame 1 { var g = 0; } instance of movieClip 9 { onClipEvent (enterFrame) { this._x += 19; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.enemy.enemy2.flashing)) { _root.enemy.nextFrame(); _root.createExplosion(268, 305); _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } else { if (this.hitTest(_root.turret1)) { _root.turret1.gotoAndPlay(31); _root.createExplosion3(392.7, 33); _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } else { if (this.hitTest(_root.turret2)) { _root.turret2.gotoAndPlay(31); _root.createExplosion3(129.7, 33); _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } } } g = 0; } } } movieClip 134 { } movieClip 135 { } movieClip 136 { } movieClip 137 { } movieClip 138 gameOver { frame 1 { this.onEnterFrame = function () { this.swapDepths(_root.getNextHighestDepth()); }; } frame 1 { _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 1000; _root.particleRange = 850; _root.createExplosion2(_root.player._x, _root.player._y); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _root.gameOver = true; } frame 128 { _root.gotoAndStop('gameOver'); stopAllSounds(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 143 { } movieClip 144 { frame 13 { stop(); } } movieClip 145 bossBulletX { instance of movieClip 144 { onClipEvent (enterFrame) { this._x += 9; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.playerHitBox)) { _root.hp -= 15; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 146 bullet6 { frame 1 { var g = 0; } instance of movieClip 9 { onClipEvent (enterFrame) { this._x += 19; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.boss3.enemy2.flashing)) { --_root.enemyHealth; _root.boss3.enemy2.play(); _root.createExplosion(434, 225); _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } } } } movieClip 147 gameOver2 { frame 1 { this.onEnterFrame = function () { this.swapDepths(_root.getNextHighestDepth()); }; } frame 1 { _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 1000; _root.particleRange = 850; _root.createExplosion2(_root.player._x, _root.player._y); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _root.gameOver = true; } frame 128 { _root.gotoAndStop('gameOver2'); stopAllSounds(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 148 enemyB { frame 1 { var speed = random(10) + 4; this.onEnterFrame = function () { this._x -= speed; if (this.hitTest(_root.deleter)) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } }; } frame 1 { stop(); } frame 2 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 3 { stop(); } frame 4 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 5 { stop(); } frame 6 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 7 { stop(); } frame 8 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 9 { stop(); } frame 10 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 11 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } var chance = 0; chance = random(20); if (chance >= 4) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 0) { _root.attachMovie('powerUp1', 'powerUp1' + _root.i, _root.getNextHighestDepth()); _root['powerUp1' + _root.i]._x = this._x; _root['powerUp1' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 1) { _root.attachMovie('powerUp2', 'powerUp2' + _root.i, _root.getNextHighestDepth()); _root['powerUp2' + _root.i]._x = this._x; _root['powerUp2' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 2) { _root.attachMovie('powerUp3', 'powerUp3' + _root.i, _root.getNextHighestDepth()); _root['powerUp3' + _root.i]._x = this._x; _root['powerUp3' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 3) { _root.attachMovie('powerUp4', 'powerUp4' + _root.i, _root.getNextHighestDepth()); _root['powerUp4' + _root.i]._x = this._x; _root['powerUp4' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } } } } } } movieClip 151 { } movieClip 152 bossWmissile { instance of movieClip 151 { onClipEvent (enterFrame) { this._x += 6; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.playerHitBox)) { _root.hp -= 12; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 153 enemy4 { frame 1 { var speed = random(5) + 3; this.onEnterFrame = function () { this._x += speed; if (this.hitTest(_root.deleter || _root.deleter2)) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } }; } frame 1 { stop(); } frame 2 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 7; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 3 { stop(); } frame 4 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 7; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 5 { stop(); } frame 6 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 7; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 7 { stop(); } frame 8 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 7; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 9 { stop(); } frame 11 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 110; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } var chance = 0; chance = random(18); if (chance >= 4) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 0) { _root.attachMovie('powerUp1', 'powerUp1' + _root.i, _root.getNextHighestDepth()); _root['powerUp1' + _root.i]._x = this._x; _root['powerUp1' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 1) { _root.attachMovie('powerUp2', 'powerUp2' + _root.i, _root.getNextHighestDepth()); _root['powerUp2' + _root.i]._x = this._x; _root['powerUp2' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 2) { _root.attachMovie('powerUp3', 'powerUp3' + _root.i, _root.getNextHighestDepth()); _root['powerUp3' + _root.i]._x = this._x; _root['powerUp3' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 3) { _root.attachMovie('powerUp4', 'powerUp4' + _root.i, _root.getNextHighestDepth()); _root['powerUp4' + _root.i]._x = this._x; _root['powerUp4' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } } } } } } movieClip 154 meteor3 { frame 1 { var speed = random(10) + 4; this.onEnterFrame = function () { this._x += speed; if (this.hitTest(_root.deleter2)) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } }; } frame 1 { stop(); } frame 2 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 3 { stop(); } frame 4 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 5 { stop(); } frame 6 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 7 { stop(); } frame 8 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 9 { stop(); } frame 10 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } } frame 11 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x, this._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } var chance = 0; chance = random(20); if (chance >= 4) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 0) { _root.attachMovie('powerUp1', 'powerUp1' + _root.i, _root.getNextHighestDepth()); _root['powerUp1' + _root.i]._x = this._x; _root['powerUp1' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 1) { _root.attachMovie('powerUp2', 'powerUp2' + _root.i, _root.getNextHighestDepth()); _root['powerUp2' + _root.i]._x = this._x; _root['powerUp2' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 2) { _root.attachMovie('powerUp3', 'powerUp3' + _root.i, _root.getNextHighestDepth()); _root['powerUp3' + _root.i]._x = this._x; _root['powerUp3' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } else { if (chance == 3) { _root.attachMovie('powerUp4', 'powerUp4' + _root.i, _root.getNextHighestDepth()); _root['powerUp4' + _root.i]._x = this._x; _root['powerUp4' + _root.i]._y = this._y; ++_root.i; this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); _root.removeMovieClip(this); } } } } } } } movieClip 155 bulletWaveBoss { frame 1 { var g = 0; } instance of movieClip 9 { onClipEvent (enterFrame) { this._x += 19; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.shipHitBox)) { _root.enemyHealth -= 1; _root.ship.ship2.play(); if (_root.particles == 3) { _root.particleFadeSpeed = 15; _root.particleTotal = 9; _root.particleRange = 120; _root.createExplosion(_root.ship._x, _root.ship._y); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(_root.ship._x, _root.ship._y); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 5; } } _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } } } } movieClip 158 { } movieClip 159 bossArmour { frame 1 { stop(); } instance of movieClip 158 { onClipEvent (enterFrame) { this._x += 5; if (this.hitTest(_root.playerHitBox)) { _root.hp -= 10; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } if (this._x > 500 || this._x < -500 || this._y > 400 || this._y < -400) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 161 { } movieClip 162 bossWaveBullet { instance of movieClip 161 { onClipEvent (enterFrame) { this._x += 8; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.playerHitBox)) { _root.hp -= 12; _root.player.play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(_root.player._x, _root.player._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } movieClip 164 { } movieClip 165 ultraAmmo { frame 1 { var g = 0; } instance of movieClip 164 { onClipEvent (enterFrame) { this._x += 25; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallBlock1)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallBlock2)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } } } if (this.hitTest(_root.ship.ship2.flashing)) { _root.enemyHealth -= 1; if (_root.enemyHealth == 50) { _root.play(); } _root.ship.ship2.play(); _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } } } } movieClip 166 ultraAmmo2 { frame 1 { var g = 0; } instance of movieClip 164 { onClipEvent (enterFrame) { this._x += 25; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.boss.boss2.flashing)) { _root.enemyHealth -= 1; _root.boss.boss2.play(); if (_root.enemyHealth == 100) { _root.play(); } _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } } } } movieClip 167 finalUltraAmmo { frame 1 { var g = 0; } instance of movieClip 164 { onClipEvent (enterFrame) { this._x += 25; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.boss.boss2.flashing)) { _root.enemyHealth -= 1; _root.boss.boss2.play(); if (_root.enemyHealth < 0) { _root.play(); } _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } } } } movieClip 170 { } movieClip 174 { } movieClip 175 bossWmine { frame 1 { var chance = random(4); var speed = random(5) / 10; this.onEnterFrame = function () { if (chance == 0) { this._x -= speed; } else { if (chance == 0) { this._x += speed; } else { if (chance == 0) { this._y -= speed; } else { this._y += speed; } } } }; } frame 159 { _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 125; _root.particleRange = 850; _root.createExplosion(this._x, this._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; } instance of movieClip 174 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.hp -= 25; _root.player.play(); _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } frame 172 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 176 mine { } movieClip 177 finalUltraAmmo2 { frame 1 { var g = 0; } instance of movieClip 164 { onClipEvent (enterFrame) { this._x += 25; if (this.hitTest(_root.wallT)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallB)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallR)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } else { if (this.hitTest(_root.wallL)) { _parent.getNextHighestDepth(); _parent.removeMovieClip(); } } } } if (this.hitTest(_root.boss.boss2.flashing)) { _root.enemyHealth -= 1; _root.boss.play(); _parent.getNextHighestDepth(); _parent.removeMovieClip(); this.removeMovieClip(); } } } } movieClip 181 { } movieClip 182 Laser { instance of movieClip 181 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.hp -= 15; _root.player.play(); } } } frame 10 { stop(); _root._x = 0; _root._y = 0; var i = 0; while (i < 25) { _root.createExplosion2(random(445), 225); ++i; } this.getNextHighestDepth(); this.removeMovieClip(); } } movieClip 184 { } movieClip 185 { frame 100 { stop(); } } movieClip 187 { } movieClip 188 bossHealthBar { frame 1 { var c; } instance hpBar of movieClip 185 { onClipEvent (enterFrame) { c = Math.floor((_root.enemyHealth / _root.enemyTotal) * 100 + 1); if (c > 100) { c = 100; } _root.bossHealthBar.hpBar.gotoAndStop(c); } } } frame 1 { function doSomething() {} function doSomething2() { getURL('http://www.zegman.deviantart.com', _blank); } MENU.customItems.push(Functioned2); MENU = new ContextMenu(); MENU.hideBuiltInItems(); Functioned = new ContextMenuItem('2010 ZEGMAN', doSomething2); MENU.customItems.push(Functioned); MENU.customItems.push(Functioned2); _root.menu = MENU; } frame 1 { function createExplosion2(targetX, targetY) { var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('bounce.jpg'); var v3 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } stop(); var i = 0; var particleMaxSpeed = 5; var particleFadeSpeed = 4; var particleTotal = 120; var particleRange = 275; var particles = 3; var backgroundOn = false; var Level = 1; var gameOver = false; } frame 1 { _global.BytesTotal = _root.getBytesTotal(); _global.BytesLoaded = 0; } frame 1 { var bonusUnlocked = true; } movieClip 190 { } button 191 { on (press) { getURL('http://www.zegman.deviantart.com', _blank); } } movieClip 193 { } movieClip 195 { } movieClip 197 { } movieClip 199 { } movieClip 201 { } movieClip 203 { } movieClip 204 { } movieClip 205 { } movieClip 206 { frame 5 { _root.createExplosion2(262.5, 225); _root.createExplosion2(362.5, 225); _root.createExplosion2(162.5, 225); _root.createExplosion2(262.5, 325); _root.createExplosion2(262.5, 125); } frame 243 { _root.description.play(); } frame 301 { stop(); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 8; _root.particleTotal = 8; _root.particleRange = 275; } instance of movieClip 205 { onClipEvent (enterFrame) { if (_root.g == 100) { _root.play(); } } } } // unknown tag 88 length 425 movieClip 209 { } movieClip 210 { } movieClip 211 { } movieClip 213 { } movieClip 214 { } movieClip 215 { frame 1 { stop(); } frame 2 { stop(); _root.loadcheck = 1; } instance of movieClip 214 { onClipEvent (enterFrame) { if (_root.logocheck == 1) { _root.gotoAndStop('main'); } } } } movieClip 219 { } movieClip 220 { } movieClip 221 { frame 1 { stop(); } frame 99 { _root.texta.gotoAndStop(35); } frame 100 { stop(); _root.loading.gotoAndStop(2); } } movieClip 222 { } movieClip 223 { } movieClip 224 { } instance bar of movieClip 224 { onClipEvent (enterFrame) { _root.g = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; _root.g = Math.floor(_root.g); if (g <= 100) { _root.bar.dx.f.bar2.gotoAndStop(_root.g); } if (_root.g == 100) { _root.fade.play(); } } } movieClip 226 { } // unknown tag 88 length 68 movieClip 244 { frame 1 { __________________________________; __________________________________; MainColor = 65280; alphaSpeed = 5; ease = 0.25; EffectQuality = 1; xGlow = 5; yGlow = 5; GlowAlpha = 100; GlowIntensity = 0.5; XBlurMax = 5; YBlurMax = 0; var blur = new flash.filters.BlurFilter(0, 0, EffectQuality); var glow = new flash.filters.GlowFilter(16777215, GlowAlpha, 1, 1, GlowIntensity, EffectQuality); var myColor = new Color(this); myColor.setRGB(MainColor); onEnterFrame = function () { if (this._alpha < 100) { this._alpha += alphaSpeed; } _x = _x + (_parent._xmouse - _x) * ease; _y = _y + (_parent._ymouse - _y) * ease; glow.blurX = xGlow; glow.blurY = yGlow; blur.blurX = random(XBlurMax); blur.blurY = random(YBlurMax); this.filters = [blur, glow]; }; } frame 1 { _parent.stop(); Mouse.hide(); BytesLoaded = _root.getBytesLoaded(); totalBytes = 'Total bytes: ' + Math.round(_root.getBytesTotal()) + ' bytes'; loadedBytes = 'Bytes loaded: ' + Math.round(_root.getBytesLoaded()) + ' bytes'; leftBytes = 'Bytes left: ' + Math.round(_root.getBytesTotal() - _root.getBytesLoaded()) + ' bytes'; PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); percentage = Math.round(PercentLoaded) + '%'; if (PercentLoaded >= 100) { gotoAndStop(3); leftBytes = 'Bytes left: 0 bytes'; percentage = '100%'; loadedBytes = totalBytes; } else { bar._xscale = PercentLoaded; } if (this._alpha == 100) { this._alpha = 0; } } frame 2 { gotoAndPlay(1); } frame 4 { stop(); this.onEnterFrame = function () { this._alpha -= 5; if (this._alpha < 1) { this._parent.play(); } }; } } frame 2 { function createExplosionx(targetX, targetY) { var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('bounce.jpg'); var v3 = _root.createEmptyMovieClip('main_holder2', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder2', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } function createExplosion2(targetX, targetY) { var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('fire.jpg'); var v3 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } stop(); _root._quality = 'MEDIUM'; Mouse.show(); var i = 0; onEnterFrame = function () { positionX = _root._xmouse; positionY = _root._ymouse; awesome._x += (positionX - awesome._x) / 20; awesome._y += (positionY - awesome._y) / 20; _root.awesome._rotation = random(360); _root.attachMovie('fade', 'fade' + _root.i, _root.getNextHighestDepth()); _root['fade' + _root.i]._x = _root.awesome._x; _root['fade' + _root.i]._y = _root.awesome._y; _root['fade' + _root.i]._rotation = _root.awesome._rotation; _root['fade' + _root.i]._xscale = _root.awesome._xscale; _root['fade' + _root.i]._yscale = _root.awesome._yscale; ++_root.i; _root.menux.swapDepths(_root.getNextHighestDepth()); _root.oMouse._x = _root._xmouse; _root.oMouse._y = _root._ymouse; }; } frame 2 { _root.music.gotoAndStop(1); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); } movieClip 249 { frame 1 { stop(); stopAllSounds(); } frame 2 { stopAllSounds(); play(); } frame 3 { stop(); } frame 4 { stopAllSounds(); play(); } frame 5 { stop(); } frame 6 { stopAllSounds(); play(); } frame 7 { stop(); } frame 8 { stopAllSounds(); play(); } frame 9 { stop(); } frame 10 { stopAllSounds(); play(); } frame 11 { stop(); } } movieClip 251 { } movieClip 253 { } movieClip 255 { } movieClip 257 { } movieClip 259 { } movieClip 260 { } movieClip 262 { } movieClip 264 { } movieClip 266 { } movieClip 268 { } movieClip 269 { } movieClip 271 { } movieClip 272 { } movieClip 273 { } movieClip 274 { } movieClip 276 { } movieClip 277 { } movieClip 278 { } movieClip 279 { } movieClip 281 { } movieClip 283 { } movieClip 284 { } movieClip 286 { } movieClip 287 { } movieClip 288 { } movieClip 289 { } movieClip 291 { } movieClip 292 { } movieClip 294 { } movieClip 295 { } movieClip 296 { } movieClip 297 { } movieClip 299 { } movieClip 300 { } movieClip 302 { } movieClip 304 { } movieClip 305 { } movieClip 306 { } movieClip 308 { } movieClip 309 { } movieClip 311 { } movieClip 312 { } movieClip 314 { } movieClip 316 { } movieClip 317 { } movieClip 318 { frame 38 { stop(); } } // unknown tag 88 length 166 movieClip 321 { } movieClip 322 { } movieClip 323 { } movieClip 324 { frame 95 { _root.particleTotal = 8; } frame 118 { stop(); } } movieClip 326 { } movieClip 328 { } movieClip 330 { } movieClip 331 { instance of movieClip 330 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 366); _parent.play(); } } } frame 40 { stop(); } } movieClip 332 { } button 335 { on (press) { _root.gotoAndStop(21); } } movieClip 336 { } movieClip 338 { frame 1 { stop(); } instance of movieClip 336 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _parent.play(); } } } instance of movieClip 336 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 411); } } } frame 14 { stop(); } instance of movieClip 336 { onClipEvent (enterFrame) { if (!this.hitTest(_root.oMouse)) { _parent.play(); } else { _root.createExplosion2(262, 411); } } } instance of movieClip 336 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 411); } } } } movieClip 339 { frame 1 { stop(); } frame 2 { play(); } frame 30 { stop(); } } movieClip 340 { } movieClip 342 { } movieClip 344 { } button 345 { on (release) { _root.gotoAndStop(3); } } movieClip 346 { } movieClip 347 { frame 1 { stop(); } instance of movieClip 344 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 226); _parent.play(); } } } instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 196); } } } frame 14 { stop(); } instance of movieClip 346 { onClipEvent (enterFrame) { if (!this.hitTest(_root.oMouse)) { _parent.play(); } else { _root.createExplosion2(262, 196); } } } instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 196); } } } } movieClip 349 { } button 350 { on (release) { _root.menux.gotoAndStop(159); } } movieClip 351 { } movieClip 352 { frame 1 { stop(); } instance of movieClip 351 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 297); _parent.play(); } } } frame 2 { play(); } instance of movieClip 351 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 266); } } } frame 14 { stop(); } instance of movieClip 351 { onClipEvent (enterFrame) { if (!this.hitTest(_root.oMouse)) { _parent.play(); } else { _root.createExplosion2(262, 266); } } } instance of movieClip 351 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 266); } } } } movieClip 353 { } movieClip 355 { } button 356 { on (press) { getURL('http://www.zegman.deviantart.com', _blank); } } movieClip 357 { } movieClip 358 { frame 1 { stop(); } instance of movieClip 330 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 335); _parent.play(); } } } frame 2 { play(); } instance of movieClip 357 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 335); } } } frame 14 { stop(); } instance of movieClip 357 { onClipEvent (enterFrame) { if (!this.hitTest(_root.oMouse)) { _parent.play(); } else { _root.createExplosion2(262, 335); } } } instance of movieClip 357 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion2(262, 335); _parent.play(); } } } } movieClip 363 { } movieClip 365 { } button 366 { on (release) { _root._quality = 'LOW'; play(); _parent.med.gotoAndStop(1); _parent.high.gotoAndStop(1); } } movieClip 367 { } movieClip 368 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 369 { } movieClip 371 { } button 372 { on (release) { _root._quality = 'MEDIUM'; play(); _parent.low.gotoAndStop(1); _parent.high.gotoAndStop(1); } } movieClip 373 { } movieClip 374 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 375 { } movieClip 377 { } button 378 { on (release) { _root._quality = 'HIGH'; play(); _parent.low.gotoAndStop(1); _parent.med.gotoAndStop(1); } } movieClip 379 { } movieClip 380 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 382 { } button 383 { on (release) { play(); _root.backgroundOn = false; _parent.isOn.gotoAndStop(1); } } movieClip 384 { } movieClip 385 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 387 { } button 388 { on (release) { play(); _root.backgroundOn = true; _parent.isOff.gotoAndStop(1); } } movieClip 389 { } movieClip 390 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 391 { } movieClip 393 { } button 394 { on (release) { _root.particles = 1; play(); _parent.pLow.gotoAndStop(1); _parent.pNorm.gotoAndStop(1); } } movieClip 395 { } movieClip 396 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 397 { } button 398 { on (release) { _root.particles = 2; play(); _parent.pOff.gotoAndStop(1); _parent.pNorm.gotoAndStop(1); } } movieClip 399 { } movieClip 400 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 402 { } button 403 { on (release) { _root.particles = 3; play(); _parent.pLow.gotoAndStop(1); _parent.pOff.gotoAndStop(1); } } movieClip 404 { } movieClip 405 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 406 { } button 408 { on (release) { _parent._parent.miniGame.gotoAndPlay(2); _parent.play(); } } movieClip 409 { frame 1 { if (_root._quality == 'LOW') { high.gotoAndStop(1); med.gotoAndStop(1); low.gotoAndStop(2); } else { if (_root._quality == 'MEDIUM') { high.gotoAndStop(1); med.gotoAndStop(2); low.gotoAndStop(1); } else { high.gotoAndStop(2); med.gotoAndStop(1); low.gotoAndStop(1); } } if (_root.backgroundOn == false) { isOff.gotoAndStop(2); isOn.gotoAndStop(1); } else { isOff.gotoAndStop(1); isOn.gotoAndStop(2); } if (_root.particles == 3) { pNorm.gotoAndStop(2); pLow.gotoAndStop(1); pOff.gotoAndStop(1); } else { if (_root.particles == 2) { pNorm.gotoAndStop(1); pLow.gotoAndStop(2); pOff.gotoAndStop(1); } else { pNorm.gotoAndStop(1); pLow.gotoAndStop(1); pOff.gotoAndStop(2); } } } } movieClip 410 { } movieClip 411 { frame 41 { stop(); } frame 82 { _parent.gotoAndStop(158); } } movieClip 412 { frame 157 { _root.menux.miniGame.gotoAndPlay(2); } frame 158 { stop(); } frame 159 { stop(); _root.menux.miniGame.gotoAndPlay(31); } } movieClip 413 { } frame 3 { _root.music.gotoAndStop('trackOne'); } frame 3 { function createExplosion(targetX, targetY) { xp += 4; var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('fire.jpg'); var v3 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } function createExplosion2(targetX, targetY) { var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('bounce.jpg'); var v3 = _root.createEmptyMovieClip('main_holder2', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder2', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } function createExplosion3(targetX, targetY) { var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('blueParticle.jpg'); var v3 = _root.createEmptyMovieClip('main_holder3', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder3', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } stop(); menux.removeMovieClip(); var i = 0; var t = 0; var ixSpeed = 0; var iySpeed = 0; var ixSpeed2 = 0; var iySpeed2 = 0; var cLevel = 1; var hp = 200; var hpTotal = 200; var xp = 0; var xpNeeded = 400; var booster = false; var ready = false; var peirce = 0; var particleMaxSpeed = 7; var particleFadeSpeed = 13; var particleTotal = 2; var particleRange = 110; onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v4 = _ymouse - player._y; var v6 = _xmouse - player._x; var v5 = Math.atan2(v4, v6); _root.player._rotation = v5 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { var v2 = 0; while (v2 < 2) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v3 = random(2); if (v3 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v3 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; ++v2; } } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.02; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; booster = false; _root.BG2._x -= 0.1; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.player.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); }; } movieClip 416 { } movieClip 417 { } movieClip 419 { frame 1 { _root.ready = false; if (_root.cLevel == 1) { gotoAndPlay(2); } else { if (_root.cLevel == 2) { gotoAndPlay(9); } else { gotoAndPlay(14); } } } frame 8 { stop(); _root.ready = true; _root.player.timer.gotoAndStop(1); } frame 13 { stop(); _root.ready = true; _root.player.timer.gotoAndStop(1); } frame 17 { stop(); _root.ready = true; _root.player.timer.gotoAndStop(1); } } movieClip 420 { frame 1 { stop(); } frame 2 { play(); } } movieClip 422 { } movieClip 424 { } movieClip 426 { } movieClip 428 { } movieClip 431 { } movieClip 432 { frame 1 { stop(); } frame 100 { ++_root.cLevel; _root.xpNeeded = 3000; _root.xp = 0; _root.hpTotal += 50; _root.attachMovie('LevelUp', 'LevelUp' + _root.i, _root.getNextHighestDepth()); _root['LevelUp' + _root.i]._x = 262.5; _root['LevelUp' + _root.i]._y = 225; ++_root.i; _root.particleFadeSpeed = 7; _root.particleTotal = 200; _root.particleRange = 200; _root.createExplosion3(262.5, 225); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 180; } } movieClip 434 { } movieClip 435 { } movieClip 438 { } movieClip 439 { } movieClip 440 { frame 1 { var c; var d; } instance hpBar of movieClip 435 { onClipEvent (enterFrame) { c = Math.floor((_root.hp / _root.hpTotal) * 100 + 1); if (c > 100) { c = 100; } _root.statusBar.hpBar.gotoAndStop(c); if (_root.cLevel < 3) { d = Math.floor((_root.xp / _root.xpNeeded) * 100); if (d > 100) { d = 100; } _root.statusBar.xpBar.gotoAndStop(d); } } } } movieClip 441 { } movieClip 443 { } movieClip 444 { } movieClip 446 { } button 447 { on (release) { gotoAndStop(742); } } movieClip 449 { } movieClip 459 { } movieClip 460 { } movieClip 462 { } movieClip 463 { } movieClip 464 { } movieClip 466 { } movieClip 467 { frame 742 { _root.play(); this.getNextHighestDepth(); this.removeMovieClip(); stop(); } } frame 4 { stop(); _root.Level = 4; } movieClip 470 { } movieClip 472 { } movieClip 473 { } movieClip 474 { } movieClip 475 { frame 1 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 29 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 89 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 105 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 115 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 169 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 203 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 228 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 243 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 271 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 331 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 347 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 357 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 411 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 445 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 470 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 486 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 496 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 550 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 584 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 609 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 624 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 652 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 712 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 727 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 743 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 753 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 763 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 779 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 789 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 799 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 815 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 825 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 835 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 851 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 861 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 871 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 887 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 897 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 907 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 923 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 933 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 943 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 953 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 962 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 965 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 975 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 984 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 987 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 997 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1006 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1008 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1018 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1027 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1031 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1041 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1050 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1406 { _root.play(); } } movieClip 478 { } movieClip 479 { } movieClip 481 { } movieClip 482 { } movieClip 484 { } movieClip 486 { } movieClip 487 { } movieClip 488 { } movieClip 490 { } movieClip 491 { } movieClip 493 { } movieClip 494 { } movieClip 495 { } movieClip 496 { } movieClip 497 { } movieClip 498 { } movieClip 500 { } movieClip 501 { } movieClip 502 { } movieClip 503 { } movieClip 504 { } movieClip 505 { } movieClip 507 { } movieClip 509 { } movieClip 510 { } movieClip 511 { } movieClip 512 { } movieClip 513 { } movieClip 514 { } movieClip 515 { } movieClip 516 { frame 71 { stop(); } } movieClip 517 { frame 142 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 518 { } frame 5 { _root.i = 0; stop(); var faster = false; _root.Level = 5; _root.music.gotoAndStop('trackTwo'); } frame 5 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet2', 'bullet2' + _root.i, _root.getNextHighestDepth()); _root['bullet2' + _root.i]._x = _root.player._x; _root['bullet2' + _root.i]._y = _root.player._y; _root['bullet2' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet2', 'bullet2' + _root.i, _root.getNextHighestDepth()); _root['bullet2' + _root.i]._x = _root.player._x; _root['bullet2' + _root.i]._y = _root.player._y; _root['bullet2' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet2', 'bullet2' + _root.i, _root.getNextHighestDepth()); _root['bullet2' + _root.i]._x = _root.player._x; _root['bullet2' + _root.i]._y = _root.player._y; _root['bullet2' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v4 = _ymouse - player._y; var v6 = _xmouse - player._x; var v5 = Math.atan2(v4, v6); _root.player._rotation = v5 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR2)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { var v2 = 0; while (v2 < 2) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v3 = random(2); if (v3 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v3 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; ++v2; } } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.03; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; booster = false; _root.BG2._x -= 0.1; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.player.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); }; } movieClip 519 { } movieClip 520 { } movieClip 522 { } movieClip 524 { } movieClip 525 { } movieClip 526 { frame 35 { stop(); } } movieClip 528 { } movieClip 529 { frame 19 { stop(); } } movieClip 530 { } movieClip 531 { frame 25 { stop(); } } movieClip 532 { } movieClip 533 { } movieClip 534 { } movieClip 535 { } movieClip 536 { frame 150 { stop(); } } movieClip 537 { frame 99 { stop(); } } movieClip 539 { frame 1 { stop(); } frame 2 { play(); } frame 2 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 3 { stop(); } frame 4 { play(); } frame 4 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 5 { stop(); } frame 6 { play(); } frame 6 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 7 { stop(); } frame 8 { play(); } frame 8 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 9 { stop(); } frame 10 { play(); } frame 10 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 11 { stop(); } frame 12 { play(); } frame 12 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 13 { stop(); } frame 14 { play(); } frame 14 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 15 { stop(); } frame 16 { play(); } frame 16 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 17 { stop(); } frame 18 { play(); } frame 18 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 19 { stop(); } frame 20 { play(); } frame 20 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 21 { stop(); } frame 22 { play(); } frame 22 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 23 { stop(); } frame 24 { play(); } frame 24 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 25 { stop(); } frame 26 { play(); } frame 26 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 27 { stop(); } frame 28 { play(); } frame 28 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 29 { stop(); } frame 30 { play(); } frame 30 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 31 { stop(); } frame 32 { play(); } frame 32 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 33 { stop(); } frame 34 { play(); } frame 34 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 35 { stop(); } frame 36 { play(); } frame 36 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 37 { stop(); } frame 38 { play(); } frame 38 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 39 { stop(); } frame 40 { play(); } frame 40 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 41 { stop(); } frame 42 { play(); } frame 42 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 43 { stop(); } frame 44 { play(); } frame 44 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 45 { stop(); } frame 46 { play(); } frame 46 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 47 { stop(); } frame 48 { play(); } frame 48 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 49 { stop(); } frame 50 { play(); } frame 50 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 51 { stop(); } frame 52 { play(); } frame 52 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 53 { stop(); } frame 54 { play(); } frame 54 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 55 { stop(); } frame 56 { play(); } frame 56 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 57 { stop(); } frame 58 { play(); } frame 58 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 59 { stop(); } frame 60 { play(); } frame 60 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 61 { stop(); } frame 62 { play(); } frame 62 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 63 { stop(); } frame 64 { play(); } frame 64 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 65 { stop(); } frame 66 { play(); } frame 66 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 67 { stop(); } frame 68 { play(); } frame 68 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 69 { stop(); } frame 70 { play(); } frame 70 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 71 { stop(); } frame 72 { play(); } frame 72 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 73 { stop(); } frame 74 { play(); } frame 74 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 75 { stop(); } frame 76 { play(); } frame 76 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 77 { stop(); } frame 78 { play(); } frame 78 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 79 { stop(); } frame 80 { play(); } frame 80 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 81 { stop(); } frame 82 { play(); } frame 82 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 83 { stop(); } frame 84 { play(); } frame 84 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 85 { stop(); } frame 86 { play(); } frame 86 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 87 { stop(); } frame 88 { play(); } frame 88 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 89 { stop(); } frame 90 { play(); } frame 90 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 91 { stop(); } frame 92 { play(); } frame 92 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 93 { stop(); } frame 94 { play(); } frame 94 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 95 { stop(); } frame 96 { play(); } frame 96 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 97 { stop(); } frame 98 { play(); } frame 98 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 99 { stop(); } frame 100 { play(); } frame 100 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 101 { stop(); } frame 102 { play(); } frame 102 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 103 { stop(); } frame 104 { play(); } frame 104 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 105 { stop(); } frame 106 { play(); } frame 106 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 107 { stop(); } frame 108 { play(); } frame 108 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 109 { stop(); } frame 110 { play(); } frame 110 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 111 { stop(); } frame 112 { play(); } frame 112 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 113 { stop(); } frame 114 { play(); } frame 114 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 115 { stop(); } frame 116 { play(); } frame 116 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 117 { stop(); } frame 118 { play(); } frame 118 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 119 { stop(); } frame 120 { play(); } frame 120 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 121 { stop(); } frame 122 { play(); } frame 122 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 123 { stop(); } frame 124 { play(); } frame 124 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 125 { stop(); } frame 126 { play(); } frame 126 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 127 { stop(); } frame 128 { play(); } frame 128 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 129 { stop(); } frame 130 { play(); } frame 130 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 131 { stop(); } frame 132 { play(); } frame 132 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 133 { stop(); } frame 134 { play(); } frame 134 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 135 { stop(); } frame 136 { play(); } frame 136 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 137 { stop(); } frame 138 { play(); } frame 138 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 139 { stop(); } frame 140 { play(); } frame 140 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 141 { stop(); } frame 142 { play(); } frame 142 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 143 { stop(); } frame 144 { play(); } frame 144 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 145 { stop(); } frame 146 { play(); } frame 146 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 147 { stop(); } frame 148 { play(); } frame 148 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 149 { stop(); } frame 150 { play(); } frame 150 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 151 { stop(); } frame 152 { play(); } frame 152 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } _root.faster = true; } frame 153 { stop(); } frame 154 { play(); } frame 154 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 155 { stop(); } frame 156 { play(); } frame 156 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 157 { stop(); } frame 158 { play(); } frame 158 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 159 { stop(); } frame 160 { play(); } frame 160 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 161 { stop(); } frame 162 { play(); } frame 162 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 163 { stop(); } frame 164 { play(); } frame 164 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 165 { stop(); } frame 166 { play(); } frame 166 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 167 { stop(); } frame 168 { play(); } frame 168 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 169 { stop(); } frame 170 { play(); } frame 170 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 171 { stop(); } frame 172 { play(); } frame 172 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 173 { stop(); } frame 174 { play(); } frame 174 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 175 { stop(); } frame 176 { play(); } frame 176 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 177 { stop(); } frame 178 { play(); } frame 178 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 179 { stop(); } frame 180 { play(); } frame 180 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 181 { stop(); } frame 182 { play(); } frame 182 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 183 { stop(); } frame 184 { play(); } frame 184 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 185 { stop(); } frame 186 { play(); } frame 186 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 187 { stop(); } frame 188 { play(); } frame 188 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 189 { stop(); } frame 190 { play(); } frame 190 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 191 { stop(); } frame 192 { play(); } frame 192 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 193 { stop(); } frame 194 { play(); } frame 194 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 195 { stop(); } frame 196 { play(); } frame 196 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 197 { stop(); } frame 198 { play(); } frame 198 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 199 { stop(); } frame 200 { play(); } frame 200 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 201 { stop(); } frame 202 { play(); } frame 202 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 203 { stop(); } frame 204 { play(); } frame 204 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 205 { stop(); } frame 206 { play(); } frame 206 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 207 { stop(); } frame 208 { play(); } frame 208 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 209 { stop(); } frame 210 { play(); } frame 210 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 211 { stop(); } frame 212 { play(); } frame 212 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 213 { stop(); } frame 214 { play(); } frame 214 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 215 { stop(); } frame 216 { play(); } frame 216 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 217 { stop(); } frame 218 { play(); } frame 218 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 219 { stop(); } frame 220 { play(); } frame 220 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 221 { stop(); } frame 222 { play(); } frame 222 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 223 { stop(); } frame 224 { play(); } frame 224 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 225 { stop(); } frame 226 { play(); } frame 226 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 227 { stop(); } frame 228 { play(); } frame 228 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 229 { stop(); } frame 230 { play(); } frame 230 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } _root.faster = true; } frame 231 { stop(); } frame 232 { play(); } frame 232 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 233 { stop(); } frame 234 { play(); } frame 234 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 235 { stop(); } frame 236 { play(); } frame 236 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 237 { stop(); } frame 238 { play(); } frame 238 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 239 { stop(); } frame 240 { play(); } frame 240 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 241 { stop(); } frame 242 { play(); } frame 242 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 243 { stop(); } frame 244 { play(); } frame 244 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 245 { stop(); } frame 246 { play(); } frame 246 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 247 { stop(); } frame 248 { play(); } frame 248 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 249 { stop(); } frame 250 { play(); } frame 250 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 251 { stop(); } frame 252 { play(); } frame 252 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 253 { stop(); } frame 254 { play(); } frame 254 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 255 { stop(); } frame 256 { play(); } frame 256 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 257 { stop(); } frame 258 { play(); } frame 258 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 259 { stop(); } frame 260 { play(); } frame 260 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 261 { stop(); } frame 262 { play(); } frame 262 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 263 { stop(); } frame 264 { play(); } frame 264 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 265 { stop(); } frame 266 { play(); } frame 266 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 267 { stop(); } frame 268 { play(); } frame 268 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 269 { stop(); } frame 270 { play(); } frame 270 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 271 { stop(); } frame 272 { play(); } frame 272 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 273 { stop(); } frame 274 { play(); } frame 274 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 275 { stop(); } frame 276 { play(); } frame 276 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 277 { stop(); } frame 278 { play(); } frame 278 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 279 { stop(); } frame 280 { play(); } frame 280 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 281 { stop(); } frame 282 { play(); } frame 282 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 283 { stop(); } frame 284 { play(); } frame 284 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 285 { stop(); } frame 286 { play(); } frame 286 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(this._x + 40, random(420)); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 287 { stop(); } frame 288 { _root.turret.stop(); play(); } frame 438 { _root._x = 0; _root._y = 0; _root.play(); } } movieClip 541 { frame 1 { play(); } frame 23 { var chance = random(2); if (chance == 1) { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret._x; _root['enemyLaser' + _root.i]._y = _root.turret._y; _root['enemyLaser' + _root.i]._rotation = _root.turret._rotation + random(30); ++_root.i; } else { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret._x; _root['enemyLaser' + _root.i]._y = _root.turret._y; _root['enemyLaser' + _root.i]._rotation = _root.turret._rotation + random(-30); ++_root.i; } } } instance turret of movieClip 541 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret._y; var idx = _root.player._x - _root.turret._x; var iradians = Math.atan2(idy, idx); _root.turret._rotation = iradians * 180 / Math.PI; } } movieClip 546 { frame 62 { stop(); } } movieClip 547 { frame 142 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 6 { stop(); } frame 6 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet3', 'bullet3' + _root.i, _root.getNextHighestDepth()); _root['bullet3' + _root.i]._x = _root.player._x; _root['bullet3' + _root.i]._y = _root.player._y; _root['bullet3' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet3', 'bullet3' + _root.i, _root.getNextHighestDepth()); _root['bullet3' + _root.i]._x = _root.player._x; _root['bullet3' + _root.i]._y = _root.player._y; _root['bullet3' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet3', 'bullet3' + _root.i, _root.getNextHighestDepth()); _root['bullet3' + _root.i]._x = _root.player._x; _root['bullet3' + _root.i]._y = _root.player._y; _root['bullet3' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.03; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; booster = false; _root.BG2._x -= 0.1; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.shipHitBox._x = _root.ship._x; _root.shipHitBox._y = _root.ship._y; _root.player.swapDepths(_root.getNextHighestDepth()); _root.ship.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); }; } movieClip 548 { } movieClip 549 { } movieClip 550 { frame 129 { _root.attachMovie('boss_animation', 'boss_animation' + _root.i, _root.getNextHighestDepth()); _root['boss_animation' + _root.i]._x = 0; _root['boss_animation' + _root.i]._y = 0; ++_root.i; } frame 193 { stop(); } } frame 7 { _root.i = 0; var waypointx = 0; var waypointy = 0; stop(); var enemyHealth = 120; var enemyTotal = 120; _root.Level = 7; _root.music.gotoAndStop('trackThree'); } instance ship of movieClip 88 { onClipEvent (enterFrame) { if (_root.enemyHealth < 0) { _root.play(); } _root.ship._x += (_root.waypointx - _root.ship._x) / 26; _root.ship._y += (_root.waypointy - _root.ship._y) / 26; var kdy = _root.player._y - this._y; var kdx = _root.player._x - this._x; var kradians = Math.atan2(kdy, kdx); _root.ship._rotation = kradians * 180 / Math.PI; _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.ship._x; _root['boost' + _root.i]._y = _root.ship._y; var r = random(2); if (r == 0) { _root['boost' + _root.i]._rotation = _root.ship._rotation + random(30); } if (r == 1) { _root['boost' + _root.i]._rotation = _root.ship._rotation + random(30) * -1; } ++_root.i; } } movieClip 551 { frame 1 { play(); } frame 22 { if (_root.enemyHealth > 10) { var x = random(2); if (x == 0) { _root.waypointx = _root.playerHitBox._x; _root.waypointy = _root.playerHitBox._y; } else { _root.waypointx = random(525); _root.waypointy = random(450); } } else { _root.waypointx = 262.5; _root.waypointy = 225; } } } movieClip 552 { } movieClip 555 { frame 34 { stop(); } } movieClip 556 { frame 102 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 8 { _root.ship.swapDepths(_root.getNextHighestDepth()); _root.ship.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); _root.t = 0; _root.i = 0; stop(); } frame 8 { onEnterFrame = function () { _root.flash_white.swapDepths(_root.getNextHighestDepth()); _root.BG2._x -= 0.1; }; } movieClip 559 { } movieClip 560 { } movieClip 562 { } movieClip 563 { } movieClip 565 { } movieClip 566 { } movieClip 567 { frame 129 { stopAllSounds(); } frame 136 { _root._x = 0; _root._y = 0; _root.hp = _root.hpTotal; } frame 608 { _root.play(); } } frame 9 { _root.flash_white.swapDepths(_root.getNextHighestDepth()); _root.flash_white.removeMovieClip(); stop(); _root.t = 0; _root.Level = 9; _root.music.gotoAndStop('trackFour'); } frame 9 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet4', 'bullet4' + _root.i, _root.getNextHighestDepth()); _root['bullet4' + _root.i]._x = _root.player._x; _root['bullet4' + _root.i]._y = _root.player._y; _root['bullet4' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet4', 'bullet4' + _root.i, _root.getNextHighestDepth()); _root['bullet4' + _root.i]._x = _root.player._x; _root['bullet4' + _root.i]._y = _root.player._y; _root['bullet4' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet4', 'bullet4' + _root.i, _root.getNextHighestDepth()); _root['bullet4' + _root.i]._x = _root.player._x; _root['bullet4' + _root.i]._y = _root.player._y; _root['bullet4' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v4 = _ymouse - player._y; var v6 = _xmouse - player._x; var v5 = Math.atan2(v4, v6); _root.player._rotation = v5 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR2)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { var v2 = 0; while (v2 < 2) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v3 = random(2); if (v3 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v3 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; ++v2; } } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.02; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; booster = false; _root.BG2._x -= 0.1; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.player.swapDepths(_root.getNextHighestDepth()); _root.boss3.swapDepths(_root.getNextHighestDepth()); }; } movieClip 569 { } movieClip 570 { frame 1 { play(); } frame 2 { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 473; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } frame 12 { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 473; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } frame 22 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } } movieClip 572 { frame 52 { stop(); } } movieClip 573 { frame 125 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 575 { } movieClip 576 { frame 40 { stop(); } } movieClip 579 { } movieClip 581 { } movieClip 582 { } movieClip 583 { frame 1 { stopAllSounds(); } frame 167 { stop(); } frame 167 { stop(); } frame 168 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 168 { play(); } frame 169 { stop(); } frame 170 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 170 { play(); } frame 171 { stop(); } frame 172 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 172 { play(); } frame 173 { stop(); } frame 174 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 174 { play(); } frame 175 { stop(); } frame 176 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 176 { play(); } frame 177 { stop(); } frame 178 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 178 { play(); } frame 179 { stop(); } frame 180 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 180 { play(); } frame 181 { stop(); } frame 182 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 182 { play(); } frame 183 { stop(); } frame 184 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 184 { play(); } frame 185 { stop(); } frame 186 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 186 { play(); } frame 187 { stop(); } frame 188 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 188 { play(); } frame 189 { stop(); } frame 190 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 190 { play(); } frame 191 { stop(); } frame 192 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 192 { play(); } frame 193 { stop(); } frame 194 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 194 { play(); } frame 195 { stop(); } frame 196 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 196 { play(); } frame 197 { stop(); } frame 198 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 198 { play(); } frame 199 { stop(); } frame 200 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 200 { play(); } frame 201 { stop(); } frame 202 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 202 { play(); } frame 203 { stop(); } frame 204 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 204 { play(); } frame 205 { stop(); } frame 206 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 206 { play(); } frame 207 { stop(); } frame 208 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 208 { play(); } frame 209 { stop(); } frame 210 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 210 { play(); } frame 211 { stop(); } frame 212 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 212 { play(); } frame 213 { stop(); } frame 214 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 214 { play(); } frame 215 { stop(); } frame 216 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 216 { play(); } frame 217 { stop(); } frame 218 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 218 { play(); } frame 219 { stop(); } frame 220 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 220 { play(); } frame 221 { stop(); } frame 222 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 222 { play(); } frame 223 { stop(); } frame 224 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 224 { play(); } frame 225 { stop(); } frame 226 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 226 { play(); } frame 227 { stop(); } frame 228 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 228 { play(); } frame 229 { stop(); } frame 230 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 230 { play(); } frame 231 { stop(); } frame 232 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 232 { play(); } frame 233 { stop(); } frame 234 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 234 { play(); } frame 235 { stop(); } frame 236 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 236 { play(); } frame 237 { stop(); } frame 238 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 238 { play(); } frame 239 { stop(); } frame 240 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 240 { play(); } frame 241 { stop(); } frame 242 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 242 { play(); } frame 243 { stop(); } frame 244 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 244 { play(); } frame 245 { stop(); } frame 246 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 246 { play(); } frame 247 { stop(); } frame 248 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 248 { play(); } frame 249 { stop(); } frame 250 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 250 { play(); } frame 251 { stop(); } frame 252 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 252 { play(); } frame 253 { stop(); } frame 254 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 254 { play(); } frame 255 { stop(); } frame 256 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 256 { play(); } frame 257 { stop(); } frame 258 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 258 { play(); } frame 259 { stop(); } frame 260 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 260 { play(); } frame 261 { stop(); } frame 262 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 262 { play(); } frame 263 { stop(); } frame 264 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 264 { play(); } frame 265 { stop(); } frame 266 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 266 { play(); } frame 267 { stop(); } frame 268 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 268 { play(); } frame 269 { stop(); } frame 270 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 270 { play(); } frame 271 { stop(); } frame 272 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 272 { play(); } frame 273 { stop(); } frame 274 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 274 { play(); } frame 275 { stop(); } frame 276 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 276 { play(); } frame 277 { stop(); } frame 278 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 278 { play(); } frame 279 { stop(); } frame 280 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 280 { play(); } frame 281 { stop(); } frame 282 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 282 { play(); } frame 283 { stop(); } frame 284 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 284 { play(); } frame 285 { stop(); } frame 286 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 286 { play(); } frame 287 { stop(); } frame 288 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 288 { play(); } frame 289 { stop(); } frame 290 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 290 { play(); } frame 291 { stop(); } frame 292 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 292 { play(); } frame 293 { stop(); } frame 294 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 294 { play(); } frame 295 { stop(); } frame 296 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 296 { play(); } frame 297 { stop(); } frame 298 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 298 { play(); } frame 299 { stop(); } frame 300 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 300 { play(); } frame 301 { stop(); } frame 302 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 302 { play(); } frame 303 { stop(); } frame 304 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 304 { play(); } frame 305 { stop(); } frame 306 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 306 { play(); } frame 307 { stop(); } frame 308 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 308 { play(); } frame 309 { stop(); } frame 310 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 310 { play(); } frame 311 { stop(); } frame 312 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 312 { play(); } frame 313 { stop(); } frame 314 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 314 { play(); } frame 315 { stop(); } frame 316 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 316 { play(); } frame 317 { stop(); } frame 318 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 318 { play(); } frame 319 { stop(); } frame 320 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 320 { play(); } frame 321 { stop(); } frame 322 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 322 { play(); } frame 323 { stop(); } frame 324 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 324 { play(); } frame 325 { stop(); } frame 326 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 326 { play(); } frame 327 { stop(); } frame 328 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 328 { play(); } frame 329 { stop(); } frame 330 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 330 { play(); } frame 331 { stop(); } frame 332 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 332 { play(); } frame 333 { stop(); } frame 334 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 334 { play(); } frame 335 { stop(); } frame 336 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 336 { play(); } frame 337 { stop(); } frame 338 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 338 { play(); } frame 339 { stop(); } frame 340 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 340 { play(); } frame 341 { stop(); } frame 342 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 342 { play(); } frame 343 { stop(); } frame 344 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 344 { play(); } frame 345 { stop(); } frame 346 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 346 { play(); } frame 347 { stop(); } frame 348 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 348 { play(); } frame 349 { stop(); } frame 350 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 350 { play(); } frame 351 { stop(); } frame 352 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 352 { play(); } frame 353 { stop(); } frame 354 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 354 { play(); } frame 355 { stop(); } frame 356 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 356 { play(); } frame 357 { stop(); } frame 358 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 358 { play(); } frame 359 { stop(); } frame 360 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 360 { play(); } frame 361 { stop(); } frame 362 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 362 { play(); } frame 363 { stop(); } frame 364 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 364 { play(); } frame 365 { stop(); } frame 366 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 366 { play(); } frame 367 { stop(); } frame 368 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 368 { play(); } frame 369 { stop(); } frame 370 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 370 { play(); } frame 371 { stop(); } frame 372 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 372 { play(); } frame 373 { stop(); } frame 374 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 374 { play(); } frame 375 { stop(); } frame 376 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 376 { play(); } frame 377 { stop(); } frame 378 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 378 { play(); } frame 379 { stop(); } frame 380 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 380 { play(); } frame 381 { stop(); } frame 382 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 382 { play(); } frame 383 { stop(); } frame 384 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 384 { play(); } frame 385 { stop(); } frame 386 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 386 { play(); } frame 387 { stop(); } frame 388 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 388 { play(); } frame 389 { stop(); } frame 390 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 390 { play(); } frame 391 { stop(); } frame 392 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 392 { play(); } frame 393 { stop(); } frame 394 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 394 { play(); } frame 395 { stop(); } frame 396 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 396 { play(); } frame 397 { stop(); } frame 398 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 398 { play(); } frame 399 { stop(); } frame 400 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 400 { play(); } frame 401 { stop(); } frame 402 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 402 { play(); } frame 403 { stop(); } frame 404 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 404 { play(); } frame 405 { stop(); } frame 406 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 406 { play(); } frame 407 { stop(); } frame 408 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 408 { play(); } frame 409 { stop(); } frame 410 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 410 { play(); } frame 411 { stop(); } frame 412 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 412 { play(); } frame 413 { stop(); } frame 414 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 414 { play(); } frame 415 { stop(); } frame 416 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 416 { play(); } frame 417 { stop(); } frame 418 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 418 { play(); } frame 419 { stop(); } frame 420 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 420 { play(); } frame 421 { stop(); } frame 422 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 422 { play(); } frame 423 { stop(); } frame 424 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 424 { play(); } frame 425 { stop(); } frame 426 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 426 { play(); } frame 427 { stop(); } frame 428 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 428 { play(); } frame 429 { stop(); } frame 430 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 430 { play(); } frame 431 { stop(); } frame 432 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 432 { play(); } frame 433 { stop(); } frame 434 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 434 { play(); } frame 435 { stop(); } frame 436 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 436 { play(); } frame 437 { stop(); } frame 438 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 438 { play(); } frame 439 { stop(); } frame 440 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 440 { play(); } frame 441 { stop(); } frame 442 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 442 { play(); } frame 443 { stop(); } frame 444 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 444 { play(); } frame 445 { stop(); } frame 446 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 446 { play(); } frame 447 { stop(); } frame 448 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 448 { play(); } frame 449 { stop(); } frame 450 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 450 { play(); } frame 451 { stop(); } frame 452 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 452 { play(); } frame 453 { stop(); } frame 454 { if (_root.particles == 3) { _root.particleFadeSpeed = 10; _root.particleTotal = 10; _root.particleRange = 140; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } else { if (_root.particles == 2) { _root.particleFadeSpeed = 15; _root.particleTotal = 5; _root.particleRange = 100; _root.createExplosion(360, 361); _root.particleFadeSpeed = 10; _root.particleTotal = 2; _root.particleRange = 140; } else { _root.xp += 10; } } } frame 454 { play(); } frame 455 { play(); } instance enemy2 of movieClip 569 { onClipEvent (enterFrame) { _parent.play(); } } frame 466 { _root.particleFadeSpeed = 5; _root.particleTotal = 100; _root.particleRange = 200; _root.createExplosion3(361, 362); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } frame 484 { _root.particleFadeSpeed = 5; _root.particleTotal = 100; _root.particleRange = 200; _root.createExplosion3(361, 362); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; } frame 506 { _root._x = 0; _root._y = 0; _root.particleFadeSpeed = 5; _root.particleTotal = 200; _root.particleRange = 250; _root.createExplosion3(361, 362); _root.particleFadeSpeed = 10; _root.particleTotal = 3; _root.particleRange = 150; play(); } instance of movieClip 579 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.play(); _parent.swapDepths(_root.getNextHighestDepth()); _parent.removeMovieClip(); } } } frame 635 { stop(); } } frame 10 { var i = 0; while (i < _root.t + 1) { _root['enemy' + i].swapDepths(_root.getNextHighestDepth()); _root['enemy' + i].removeMovieClip(); ++i; } var i = 0; while (i < 1000) { _root['boss3charge' + i].swapDepths(_root.getNextHighestDepth()); _root['boss3charge' + i].removeMovieClip(); ++i; } _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; stop(); _root.hp = _root.hpTotal; if (_root.cLevel == 3) { _root.cLevel = 2; } _root.xp += 999999; _root.BG.swapDepths(_root.getNextHighestDepth()); _root.BG.removeMovieClip(); var i = 0; while (i < 1000) { _root['powerUp1' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp1' + i].removeMovieClip(); _root['powerUp2' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp2' + i].removeMovieClip(); _root['powerUp3' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp3' + i].removeMovieClip(); _root['powerUp4' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp4' + i].removeMovieClip(); _root['bigLaser' + i].swapDepths(_root.getNextHighestDepth()); _root['bigLaser' + i].removeMovieClip(); ++i; } } frame 10 { onEnterFrame = function () {}; } movieClip 585 { } movieClip 587 { } movieClip 588 { } movieClip 590 { } movieClip 591 { frame 199 { _root.play(); } } frame 11 { var q = 0; _root.Level = 11; } frame 11 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; booster = false; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.player.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); }; } movieClip 592 { frame 1 { play(); } frame 43 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 68 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 150 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 163 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 180 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 183 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 220 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 265 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 380 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 504 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 573 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 586 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 621 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 636 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 663 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 702 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 727 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 763 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 782 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 798 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 803 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 827 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 835 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 836 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 884 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 904 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 953 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 966 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1001 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1007 { play(); } frame 1034 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1059 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1103 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 1141 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1154 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1171 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1174 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1211 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1256 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1257 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 1258 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 1259 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 1265 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1271 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1340 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1353 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1388 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1394 { play(); } frame 1421 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1446 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1528 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1541 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1558 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1561 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1598 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1643 { _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(342) + 90; _root['enemy' + _root.t]._y = 500; ++_root.t; } frame 1653 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(332) + 90; _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 1795 { _root.play(); } } movieClip 593 { frame 25 { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.q, _root.getNextHighestDepth()); _root['enemyLaser' + _root.q]._x = 240 + random(50); _root['enemyLaser' + _root.q]._y = 480 + random(50); _root['enemyLaser' + _root.q]._rotation = random(45) + 240; ++_root.q; } } movieClip 594 { frame 49 { stop(); } } movieClip 595 { frame 119 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 12 { stop(); _root.Level = 12; } frame 12 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; booster = false; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.fadeOut.swapDepths(_root.getNextHighestDepth()); }; } movieClip 597 { frame 50 { stop(); var i = 0; while (i < 1000) { _root['enemy' + i].swapDepths(_root.getNextHighestDepth()); _root['enemy' + i].removeMovieClip(); ++i; } _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; _root.play(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 13 { stop(); _root.hp = _root.hpTotal; var i = 0; while (i < 1000) { _root['powerUp1' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp1' + i].removeMovieClip(); _root['powerUp2' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp2' + i].removeMovieClip(); _root['powerUp3' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp3' + i].removeMovieClip(); _root['powerUp4' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp4' + i].removeMovieClip(); _root['bigLaser' + i].swapDepths(_root.getNextHighestDepth()); _root['bigLaser' + i].removeMovieClip(); ++i; } } frame 13 { onEnterFrame = function () {}; } movieClip 600 { } movieClip 603 { } movieClip 604 { } movieClip 605 { frame 37 { stop(); } } movieClip 606 { frame 90 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 609 { frame 10 { stop(); } } movieClip 628 { } movieClip 629 { } movieClip 630 { } movieClip 631 { frame 10 { _root.attachMovie('boss4charge', 'boss4charge' + _root.i, _root.getNextHighestDepth()); _root['boss4charge' + _root.i]._x = 261; _root['boss4charge' + _root.i]._y = 308; _root['boss4charge' + _root.i]._rotation = random(360); ++_root.i; } } movieClip 653 { } movieClip 654 { instance of movieClip 653 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.hp -= 5; _root.player.play(); } } } } movieClip 656 { } movieClip 657 { instance of movieClip 656 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.hp -= 5; _root.player.play(); } } } } movieClip 659 { frame 196 { _root._x = 0; _root._y = 0; } frame 197 { _root.enemyBoss -= 1; if (_root.enemyBoss < 1) { _root.play(); } _parent.gotoAndStop(37); } } movieClip 660 { frame 1 { play(); } frame 37 { stop(); } frame 92 { play(); } frame 126 { play(); _root.faster = true; } frame 385 { _root.faster = false; } frame 386 { play(); } frame 422 { stop(); } frame 486 { stop(); } } movieClip 661 { frame 236 { _root.play(); } } frame 14 { stop(); _root.faster = false; var enemyBoss = 2; _root.Level = 14; _root.music.gotoAndStop('trackThree'); } frame 14 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); _root.attachMovie('bullet5', 'bullet5' + _root.i, _root.getNextHighestDepth()); _root['bullet5' + _root.i]._x = _root.player._x; _root['bullet5' + _root.i]._y = _root.player._y; _root['bullet5' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet5', 'bullet5' + _root.i, _root.getNextHighestDepth()); _root['bullet5' + _root.i]._x = _root.player._x; _root['bullet5' + _root.i]._y = _root.player._y; _root['bullet5' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; if (_root.peirce > 0) { --_root.peirce; } } var v4 = _ymouse - player._y; var v6 = _xmouse - player._x; var v5 = Math.atan2(v4, v6); _root.player._rotation = v5 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB2)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { var v2 = 0; while (v2 < 2) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v3 = random(2); if (v3 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v3 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; ++v2; } } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.02; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } if (_root.playerHitBox.hitTest(_root.bossBox)) { _root.hp -= 1.5; _root.player.play(); } s = 0; booster = false; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.player.swapDepths(_root.getNextHighestDepth()); _root.enemy.swapDepths(_root.getNextHighestDepth()); }; } movieClip 664 { } movieClip 665 { frame 15 { if (_root.faster == true) { var chance = random(2); if (chance == 1) { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret1._x; _root['enemyLaser' + _root.i]._y = _root.turret1._y; _root['enemyLaser' + _root.i]._rotation = random(90) + 90; ++_root.i; } } } frame 30 { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret1._x; _root['enemyLaser' + _root.i]._y = _root.turret1._y; _root['enemyLaser' + _root.i]._rotation = random(90) + 90; ++_root.i; gotoAndPlay(1); } } movieClip 667 { } movieClip 668 { frame 15 { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret2._x; _root['enemyLaser' + _root.i]._y = _root.turret2._y; _root['enemyLaser' + _root.i]._rotation = random(90); ++_root.i; } frame 30 { if (_root.faster == true) { var chance = random(2); if (chance == 1) { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret2._x; _root['enemyLaser' + _root.i]._y = _root.turret2._y; _root['enemyLaser' + _root.i]._rotation = random(90); ++_root.i; } } gotoAndPlay(1); } } movieClip 670 { } frame 15 { _root.enemy.swapDepths(_root.getNextHighestDepth()); _root.enemy.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; stop(); var i = 0; while (i < 1000) { _root['powerUp1' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp1' + i].removeMovieClip(); _root['powerUp2' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp2' + i].removeMovieClip(); _root['powerUp3' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp3' + i].removeMovieClip(); _root['powerUp4' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp4' + i].removeMovieClip(); _root['bigLaser' + i].swapDepths(_root.getNextHighestDepth()); _root['bigLaser' + i].removeMovieClip(); ++i; } } frame 15 { onEnterFrame = function () {}; } movieClip 672 { } movieClip 674 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 676 { } movieClip 677 { } movieClip 678 { } movieClip 679 { instance of movieClip 676 { onClipEvent (enterFrame) { _root.createExplosion(random(525), random(450)); } } frame 50 { _root.BGh.play(); } instance of movieClip 677 { onClipEvent (enterFrame) { _root.createExplosion(random(525), random(450)); } } frame 207 { var q = 0; while (q < 30) { _root.createExplosion3(random(525), random(450)); ++q; } } frame 256 { _root._x = 0; _root._y = 0; } frame 336 { _root._x = 0; _root._y = 0; _root.play(); } } frame 16 { stop(); _root.music.gotoAndStop('trackFive'); } movieClip 684 { } movieClip 686 { } movieClip 687 { frame 1 { _root._x += 2.5; } frame 2 { _root._y -= 2.5; } frame 3 { _root._x -= 2.5; } frame 4 { _root._y += 2.5; } } movieClip 689 { } movieClip 690 { } movieClip 692 { frame 349 { _root._x = 0; _root._y = 0; } frame 376 { _root.play(); } } frame 17 { stop(); _root.hpTotal += 50; _root.hp = _root.hpTotal; var waypointx = 339.5; var waypointy = random(450); var enemyHealth = 700; var enemyTotal = 700; _root.Level = 17; } frame 17 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); _root.attachMovie('bullet6', 'bullet6' + _root.i, _root.getNextHighestDepth()); _root['bullet6' + _root.i]._x = _root.player._x; _root['bullet6' + _root.i]._y = _root.player._y; _root['bullet6' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet6', 'bullet6' + _root.i, _root.getNextHighestDepth()); _root['bullet6' + _root.i]._x = _root.player._x; _root['bullet6' + _root.i]._y = _root.player._y; _root['bullet6' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; if (_root.peirce > 0) { --_root.peirce; } } var v4 = _ymouse - player._y; var v6 = _xmouse - player._x; var v5 = Math.atan2(v4, v6); _root.player._rotation = v5 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR2)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { var v2 = 0; while (v2 < 2) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v3 = random(2); if (v3 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v3 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; ++v2; } } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.02; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; booster = false; _root.BG3._x -= 0.2; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.player.swapDepths(_root.getNextHighestDepth()); _root.boss3.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); }; } movieClip 695 { } movieClip 696 { frame 15 { var chance = random(2); if (chance == 1) { _root.attachMovie('bossBulletX', 'bossBulletX' + _root.i, _root.getNextHighestDepth()); _root['bossBulletX' + _root.i]._x = _root.cannon1._x; _root['bossBulletX' + _root.i]._y = _root.cannon1._y; _root['bossBulletX' + _root.i]._rotation = random(180) + 45; ++_root.i; } if (_root.enemyHealth < 200) { _root.attachMovie('bossBulletX', 'bossBulletX' + _root.i, _root.getNextHighestDepth()); _root['bossBulletX' + _root.i]._x = _root.cannon1._x; _root['bossBulletX' + _root.i]._y = _root.cannon1._y; _root['bossBulletX' + _root.i]._rotation = random(180) + 90; ++_root.i; } } } movieClip 697 { frame 8 { var chance = random(2); if (chance == 1) { _root.attachMovie('bossBulletX', 'bossBulletX' + _root.i, _root.getNextHighestDepth()); _root['bossBulletX' + _root.i]._x = _root.cannon2._x; _root['bossBulletX' + _root.i]._y = _root.cannon2._y; _root['bossBulletX' + _root.i]._rotation = random(180) + 45; ++_root.i; } if (_root.enemyHealth < 200) { _root.attachMovie('bossBulletX', 'bossBulletX' + _root.i, _root.getNextHighestDepth()); _root['bossBulletX' + _root.i]._x = _root.cannon2._x; _root['bossBulletX' + _root.i]._y = _root.cannon2._y; _root['bossBulletX' + _root.i]._rotation = random(180) + 90; ++_root.i; } } } movieClip 698 { frame 1 { play(); } frame 22 { var x = random(3); if (x == 0) { _root.waypointx = 339.5; _root.waypointy = random(450); } else { _root.waypointy = _root.playerHitBox._y; } } } movieClip 699 { frame 43 { stop(); } } movieClip 700 { frame 113 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 703 { } movieClip 704 { } movieClip 707 { } movieClip 708 { frame 1 { stop(); } } movieClip 709 { frame 1 { play(); } } instance boss3 of movieClip 709 { onClipEvent (enterFrame) { if (_root.enemyHealth < 0) { _root.play(); } _root.ship._x += (_root.waypointx - _root.ship._x) / 26; _root.ship._y += (_root.waypointy - _root.ship._y) / 26; } } movieClip 711 { frame 38 { _root.attachMovie('Laser', 'Laser' + _root.i, _root.getNextHighestDepth()); _root['Laser' + _root.i]._x = _root.ship._x - 75; _root['Laser' + _root.i]._y = _root.ship._y; ++_root.i; if (_root.enemyHealth < 25) { play(); } else { gotoAndPlay(1); } } } frame 18 { _root.boss3.swapDepths(_root.getNextHighestDepth()); _root.boss3.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); var i = 0; while (i < _root.t + 1) { _root['enemy' + i].swapDepths(_root.getNextHighestDepth()); _root['enemy' + i].removeMovieClip(); ++i; } _root.t = 0; _root.i = 0; stop(); } frame 18 { onEnterFrame = function () { _root.BG3._x -= 0.4; }; } movieClip 713 { } movieClip 714 { frame 1 { _root._x += 6; } frame 2 { _root._y -= 6; } frame 3 { _root._x -= 6; } frame 4 { _root._y += 6; } } movieClip 715 { } movieClip 716 { instance of movieClip 713 { onClipEvent (enterFrame) { _root.createExplosion(random(377) + 200, random(400) + 20); } } frame 98 { _root._x = 0; _root._y = 0; var u = 0; while (u < 800) { _root.createExplosion2(random(525), random(450)); ++u; } } frame 213 { stop(); _root.play(); } } frame 19 { stop(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); } frame 19 { onEnterFrame = function () { _root.BG3._x -= 0.4; }; } movieClip 718 { } movieClip 719 { } movieClip 720 { frame 1 { _root.bonusUnlocked = true; var savefile = SharedObject.getLocal('Particles_Extreme'); savefile.data.bonusUnlocked = _root.bonusUnlocked; savefile.flush(); } frame 273 { _root.gotoAndStop(2); } } frame 20 { _root.boss3.swapDepths(_root.getNextHighestDepth()); _root.boss3.removeMovieClip(); _root.enemy.swapDepths(_root.getNextHighestDepth()); _root.enemy.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); var i = 0; while (i < _root.t + 1) { _root['enemy' + i].swapDepths(_root.getNextHighestDepth()); _root['enemy' + i].removeMovieClip(); ++i; } _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); _root.t = 0; var enemyBoss = 3; _root.flash_white.swapDepths(_root.getNextHighestDepth()); _root.flash_white.removeMovieClip(); _root.i = 0; var faster = false; _root.ship.swapDepths(_root.getNextHighestDepth()); _root.ship.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; stop(); _root.hp = _root.hpTotal; var i = 0; while (i < 1000) { _root['powerUp1' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp1' + i].removeMovieClip(); _root['powerUp2' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp2' + i].removeMovieClip(); _root['powerUp3' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp3' + i].removeMovieClip(); _root['powerUp4' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp4' + i].removeMovieClip(); _root['bigLaser' + i].swapDepths(_root.getNextHighestDepth()); _root['bigLaser' + i].removeMovieClip(); ++i; } _root.gameOver = false; _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; } frame 20 { _root.music.gotoAndStop(1); } movieClip 723 { } movieClip 725 { } button 728 { on (press) { _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; if (_root.Level == 4) { _root.music.gotoAndStop('trackOne'); } else { if (_root.Level == 11) { _root.music.gotoAndStop('trackFour'); } else { if (_root.Level == 17) { _root.music.gotoAndStop('trackFive'); } } } _root.gotoAndStop(_root.Level); _root.GO.swapDepths(_root.getNextHighestDepth()); _root.GO.removeMovieClip(); } } movieClip 729 { } movieClip 730 { frame 1 { stop(); } instance of movieClip 729 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 187); _parent.play(); } } } frame 14 { stop(); } instance of movieClip 729 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 187); } else { _parent.play(); } } } instance of movieClip 729 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 187); _parent.play(); } } } } movieClip 731 { } button 734 { on (press) { _parent._parent.play(); } } movieClip 735 { } movieClip 736 { frame 1 { stop(); } instance of movieClip 735 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 267); _parent.play(); } } } frame 14 { stop(); } instance of movieClip 735 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 267); } else { _parent.play(); } } } instance of movieClip 735 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 267); _parent.play(); } } } } movieClip 737 { } button 740 { on (press) { _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _root.gotoAndStop(2); _root.GO.swapDepths(_root.getNextHighestDepth()); _root.GO.removeMovieClip(); } } movieClip 741 { } movieClip 742 { frame 1 { stop(); } instance of movieClip 741 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 346); _parent.play(); } } } frame 14 { stop(); } instance of movieClip 741 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 346); } else { _parent.play(); } } } instance of movieClip 741 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 346); _parent.play(); } } } } button 744 { on (release) { _parent.play(); } } movieClip 745 { frame 1 { if (_root._quality == 'LOW') { high.gotoAndStop(1); med.gotoAndStop(1); low.gotoAndStop(2); } else { if (_root._quality == 'MEDIUM') { high.gotoAndStop(1); med.gotoAndStop(2); low.gotoAndStop(1); } else { high.gotoAndStop(2); med.gotoAndStop(1); low.gotoAndStop(1); } } if (_root.backgroundOn == false) { isOff.gotoAndStop(2); isOn.gotoAndStop(1); } else { isOff.gotoAndStop(1); isOn.gotoAndStop(2); } if (_root.particles == 3) { pNorm.gotoAndStop(2); pLow.gotoAndStop(1); pOff.gotoAndStop(1); } else { if (_root.particles == 2) { pNorm.gotoAndStop(1); pLow.gotoAndStop(2); pOff.gotoAndStop(1); } else { pNorm.gotoAndStop(1); pLow.gotoAndStop(1); pOff.gotoAndStop(2); } } } } movieClip 746 { frame 1 { stop(); } instance of movieClip 730 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 187); this.play(); } } } instance of movieClip 736 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 267); this.play(); } } } instance of movieClip 742 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 346); this.play(); } } } frame 33 { stop(); } instance of movieClip 730 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 187); this.play(); } } } instance of movieClip 736 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 267); this.play(); } } } instance of movieClip 742 { onClipEvent (enterFrame) { if (this.hitTest(_root.oMouse)) { _root.createExplosion(266, 346); this.play(); } } } } movieClip 747 { frame 1 { stop(); } } instance GO of movieClip 747 { onClipEvent (enterFrame) { _root.GO.swapDepths(_root.getNextHighestDepth()); } } instance oMouse of movieClip 413 { onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; } } frame 21 { stop(); menux.removeMovieClip(); } frame 21 { var difficulty; } frame 21 { onEnterFrame = function () {}; } movieClip 792 { } movieClip 793 { } button 796 { on (press) { _root.difficulty = 'EASY'; _parent.gotoAndPlay(106); } } movieClip 797 { } button 800 { on (press) { _root.difficulty = 'HARD'; _parent.gotoAndPlay(106); } } movieClip 801 { } movieClip 802 { } movieClip 803 { } movieClip 804 { } movieClip 805 { instance of movieClip 792 { onClipEvent (enterFrame) { _parent.swapDepths(_root.getNextHighestDepth()); _root.createExplosion2(261, 138); } } instance of movieClip 792 { onClipEvent (enterFrame) { _parent.swapDepths(_root.getNextHighestDepth()); _root.createExplosion2(261, 138); } } frame 105 { stop(); } frame 141 { _root.play(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 22 { _root.music.gotoAndStop('trackOne'); } frame 22 { function createExplosion(targetX, targetY) { xp += 4; var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('fire.jpg'); var v3 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } function createExplosion2(targetX, targetY) { var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('bounce.jpg'); var v3 = _root.createEmptyMovieClip('main_holder2', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder2', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } function createExplosion3(targetX, targetY) { var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('blueParticle.jpg'); var v3 = _root.createEmptyMovieClip('main_holder3', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder3', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never'); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = 100; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < 0 || this._x > 525 || this._y < 0 || this._y > 450) { this.removeMovieClip(); } }; ++v6; } } stop(); _root.menux.swapDepths(_root.getNextHighestDepth()); _root.menux.removeMovieClip(); var i = 0; var t = 0; var ixSpeed = 0; var iySpeed = 0; var ixSpeed2 = 0; var iySpeed2 = 0; var cLevel = 1; if (difficulty == 'EASY') { var hp = 450; var hpTotal = 450; } else { var hp = 250; var hpTotal = 250; } var xp = 0; var xpNeeded = 500; var booster = false; var ready = false; var peirce = 0; var particleMaxSpeed = 7; var particleFadeSpeed = 13; var particleTotal = 2; var particleRange = 110; onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v4 = _ymouse - player._y; var v6 = _xmouse - player._x; var v5 = Math.atan2(v4, v6); _root.player._rotation = v5 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { var v2 = 0; while (v2 < 2) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v3 = random(2); if (v3 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v3 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; ++v2; } } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.02; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; booster = false; _root.BG4._x -= 0.1; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.player.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); }; } movieClip 808 { } movieClip 809 { frame 60 { stop(); } } movieClip 810 { frame 113 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 812 { } movieClip 813 { frame 40 { _root.hp = _root.hpTotal; } frame 112 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 814 { frame 10 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 20 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 39 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 49 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 59 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 78 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 88 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 98 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 117 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 127 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 137 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 156 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 166 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 176 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 195 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 205 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 215 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 234 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 244 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 254 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 273 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 283 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 293 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 312 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 322 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 341 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 358 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 368 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 378 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 397 { _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 713 { _root.t = 0; _root.play(); } } frame 23 { stop(); } movieClip 815 { frame 35 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 70 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 105 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 140 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 210 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 245 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 280 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 315 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 332 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 367 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 402 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 437 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 453 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 489 { _root.cannon1.swapDepths(_root.getNextHighestDepth()); _root.cannon1.removeMovieClip(); } frame 660 { _root.t = 0; _root.play(); } } movieClip 817 { } movieClip 818 { frame 110 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 819 { frame 11 { _root.attachMovie('bossBulletX', 'bossBulletX' + _root.i, _root.getNextHighestDepth()); _root['bossBulletX' + _root.i]._x = _root.cannon1._x; _root['bossBulletX' + _root.i]._y = _root.cannon1._y; _root['bossBulletX' + _root.i]._rotation = random(180) + 90; ++_root.i; } } frame 24 { stop(); } movieClip 821 { } movieClip 822 { frame 110 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 823 { frame 1 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 11 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 21 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 22 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 32 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 42 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 43 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 53 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 63 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 64 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 74 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 84 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 85 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 95 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 105 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 106 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 116 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 126 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 127 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 137 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 147 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 148 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 158 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 168 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 169 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 179 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 189 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 190 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 200 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 210 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 211 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 221 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 231 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 232 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 242 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 252 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 346 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 356 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 366 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 367 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 377 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 387 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 388 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 398 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 408 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 409 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 419 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 429 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 430 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 440 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 450 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 451 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 461 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 471 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 472 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 482 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 492 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 493 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 503 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 513 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 514 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 524 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 534 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 535 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 545 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 555 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 556 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 566 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 576 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 577 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 587 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 597 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 598 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 608 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 618 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 619 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 629 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 639 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 640 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 650 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 660 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 661 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 671 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 681 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 682 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 692 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 702 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 703 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 713 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 723 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 724 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 734 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 744 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 745 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 755 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 765 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 766 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 776 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 786 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 787 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 797 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 807 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 808 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 818 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 828 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 829 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 839 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 849 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(500); _root['enemy' + _root.t]._y = random(-15); ++_root.t; } frame 1083 { _root.t = 0; _root.play(); } } frame 25 { stop(); var waypointx = 476; var waypointy = 0; } movieClip 825 { } movieClip 826 { frame 110 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 827 { frame 38 { _root.attachMovie('Laser', 'Laser' + _root.i, _root.getNextHighestDepth()); _root['Laser' + _root.i]._x = _root.ship1._x - 75; _root['Laser' + _root.i]._y = _root.ship1._y; ++_root.i; } } instance ship1 of movieClip 827 { onClipEvent (enterFrame) { _root.ship1._x += (_root.waypointx - _root.ship1._x) / 26; _root.ship1._y += (_root.waypointy - _root.ship1._y) / 26; if (this.hitTest(_root.playerHitBox)) { _root.player.play(); _root.hp -= 10; } } } movieClip 828 { frame 11 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 22 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 34 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 54 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 58 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 69 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 80 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 91 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 103 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 123 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 127 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 138 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 149 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 160 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 172 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 192 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 196 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 207 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 218 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 229 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 241 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 261 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 265 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 276 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 288 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 299 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 311 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 331 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 335 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 345 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 346 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 356 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 363 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 367 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 374 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 379 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 386 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 399 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 403 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 406 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 410 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 414 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 421 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 422 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 425 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 433 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 436 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 444 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 448 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 456 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 468 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 472 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 476 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 480 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 483 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 491 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 495 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 502 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 506 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 513 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 518 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 525 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 538 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 542 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 545 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 549 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 553 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 560 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 570 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 572 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 581 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 583 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 595 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 615 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 619 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 630 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 647 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 658 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 660 { _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 1000; _root.particleRange = 850; _root.createExplosion2(_root.ship1._x, _root.ship1._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _root.ship1.swapDepths(_root.getNextHighestDepth()); _root.ship1.removeMovieClip(); } frame 844 { _root.t = 0; _root.play(); } } movieClip 829 { frame 1 { play(); } frame 22 { var x = random(3); if (x == 0) { _root.waypointx = 476; _root.waypointy = random(450); } else { _root.waypointy = _root.playerHitBox._y; } } } frame 26 { stop(); if (_root.difficulty == 'EASY') { var enemyHealth = 100; var enemyTotal = 100; } else { var enemyHealth = 200; var enemyTotal = 200; } _root.music.gotoAndStop('trackThree'); } frame 26 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shipHitBox.hitTest(_root.playerHitBox)) { _root.hp -= 5; _root.player.play(); } if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet3', 'bullet3' + _root.i, _root.getNextHighestDepth()); _root['bullet3' + _root.i]._x = _root.player._x; _root['bullet3' + _root.i]._y = _root.player._y; _root['bullet3' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet3', 'bullet3' + _root.i, _root.getNextHighestDepth()); _root['bullet3' + _root.i]._x = _root.player._x; _root['bullet3' + _root.i]._y = _root.player._y; _root['bullet3' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet3', 'bullet3' + _root.i, _root.getNextHighestDepth()); _root['bullet3' + _root.i]._x = _root.player._x; _root['bullet3' + _root.i]._y = _root.player._y; _root['bullet3' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.03; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; booster = false; _root.BG4._x -= 0.1; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.shipHitBox._x = _root.ship._x; _root.shipHitBox._y = _root.ship._y; _root.player.swapDepths(_root.getNextHighestDepth()); if (_root.gameOver == false) { _root.ship.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); } }; } movieClip 831 { } movieClip 832 { frame 140 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 835 { frame 1 { stop(); } } movieClip 841 { frame 1 { play(); } frame 8 { var chance = random(2); if (chance == 1) { if (_root.enemyHealth < 100) { _root.attachMovie('bossWmine', 'bossWmine' + _root.i, _root.getNextHighestDepth()); _root['bossWmine' + _root.i]._x = _root.ship._x; _root['bossWmine' + _root.i]._y = _root.ship._y; ++_root.i; } } } frame 15 { _root.attachMovie('bossWmissile', 'bossWmissile' + _root.i, _root.getNextHighestDepth()); _root['bossWmissile' + _root.i]._x = _root.ship._x; _root['bossWmissile' + _root.i]._y = _root.ship._y; _root['bossWmissile' + _root.i]._rotation = _root.ship._rotation + random(360); ++_root.i; if (_root.enemyHealth < 50) { _root.attachMovie('bossWmissile', 'bossWmissile' + _root.i, _root.getNextHighestDepth()); _root['bossWmissile' + _root.i]._x = _root.ship._x; _root['bossWmissile' + _root.i]._y = _root.ship._y; _root['bossWmissile' + _root.i]._rotation = _root.ship._rotation + 180; ++_root.i; } } } instance ship of movieClip 841 { onClipEvent (enterFrame) { if (_root.enemyHealth <= 0) { _root.bossBeat.play(); } _root.ship._x += (_root.waypointx - _root.ship._x) / 25; _root.ship._y += (_root.waypointy - _root.ship._y) / 25; var kdy = _root.player._y - this._y; var kdx = _root.player._x - this._x; var kradians = Math.atan2(kdy, kdx); _root.ship._rotation = kradians * 180 / Math.PI + 180; } } movieClip 842 { frame 1 { stop(); } frame 2 { _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 1000; _root.particleRange = 850; _root.createExplosion2(_root.ship._x, _root.ship._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _root.ship.swapDepths(_root.getNextHighestDepth()); _root.ship.removeMovieClip(); _root.cow.swapDepths(_root.getNextHighestDepth()); _root.cow.removeMovieClip(); _root.shipHitBox.swapDepths(_root.getNextHighestDepth()); _root.shipHitBox.removeMovieClip(); play(); } frame 148 { _root.t = 0; _root.play(); } } frame 27 { stop(); _root.ship.swapDepths(_root.getNextHighestDepth()); _root.ship.removeMovieClip(); _root.t = 0; _root.i = 0; _root.music.gotoAndStop('trackOne'); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); } frame 27 { onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v4 = _ymouse - player._y; var v6 = _xmouse - player._x; var v5 = Math.atan2(v4, v6); _root.player._rotation = v5 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { var v2 = 0; while (v2 < 2) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v3 = random(2); if (v3 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v3 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; ++v2; } } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.02; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; booster = false; _root.BG5._x -= 0.4; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.player.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); }; } movieClip 845 { } movieClip 846 { frame 122 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 847 { } instance turret of movieClip 541 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret._y; var idx = _root.player._x - _root.turret._x; var iradians = Math.atan2(idy, idx); _root.turret._rotation = iradians * 180 / Math.PI; } } movieClip 848 { frame 1 { play(); } frame 24 { var chance = random(2); if (chance == 1) { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret2._x; _root['enemyLaser' + _root.i]._y = _root.turret2._y; _root['enemyLaser' + _root.i]._rotation = _root.turret2._rotation + random(30); ++_root.i; } else { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret2._x; _root['enemyLaser' + _root.i]._y = _root.turret2._y; _root['enemyLaser' + _root.i]._rotation = _root.turret2._rotation + random(-30); ++_root.i; } } } instance turret2 of movieClip 848 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret2._y; var idx = _root.player._x - _root.turret2._x; var iradians = Math.atan2(idy, idx); _root.turret2._rotation = iradians * 180 / Math.PI; } } movieClip 849 { frame 1 { play(); } frame 29 { var chance = random(2); if (chance == 1) { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret3._x; _root['enemyLaser' + _root.i]._y = _root.turret3._y; _root['enemyLaser' + _root.i]._rotation = _root.turret3._rotation + random(30); ++_root.i; } else { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret3._x; _root['enemyLaser' + _root.i]._y = _root.turret3._y; _root['enemyLaser' + _root.i]._rotation = _root.turret3._rotation + random(-30); ++_root.i; } } } instance turret3 of movieClip 849 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret3._y; var idx = _root.player._x - _root.turret3._x; var iradians = Math.atan2(idy, idx); _root.turret3._rotation = iradians * 180 / Math.PI; } } movieClip 850 { frame 1 { play(); } frame 15 { var chance = random(2); if (chance == 1) { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret4._x; _root['enemyLaser' + _root.i]._y = _root.turret4._y; _root['enemyLaser' + _root.i]._rotation = _root.turret4._rotation + random(30); ++_root.i; } else { _root.attachMovie('enemyLaser', 'enemyLaser' + _root.i, _root.getNextHighestDepth()); _root['enemyLaser' + _root.i]._x = _root.turret4._x; _root['enemyLaser' + _root.i]._y = _root.turret4._y; _root['enemyLaser' + _root.i]._rotation = _root.turret4._rotation + random(-30); ++_root.i; } } } instance turret4 of movieClip 850 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret4._y; var idx = _root.player._x - _root.turret4._x; var iradians = Math.atan2(idy, idx); _root.turret4._rotation = iradians * 180 / Math.PI; } } movieClip 851 { frame 500 { _root.turret.swapDepths(_root.getNextHighestDepth()); _root.turret.removeMovieClip(); _root.turret2.swapDepths(_root.getNextHighestDepth()); _root.turret2.removeMovieClip(); _root.turret3.swapDepths(_root.getNextHighestDepth()); _root.turret3.removeMovieClip(); _root.turret4.swapDepths(_root.getNextHighestDepth()); _root.turret4.removeMovieClip(); } frame 643 { _root.t = 0; _root.play(); } } movieClip 853 { } movieClip 854 { frame 140 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 28 { stop(); } movieClip 855 { frame 31 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 79 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 94 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 108 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 115 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 123 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 130 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 131 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 138 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 139 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 146 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 161 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 177 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 225 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 240 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 254 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 261 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 269 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 276 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 277 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 284 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 285 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 292 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 307 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 323 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 371 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 386 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 400 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 407 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 415 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 422 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 423 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 430 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 431 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 438 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 453 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 469 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 517 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 532 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 546 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 553 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 561 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 568 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 569 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 576 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 577 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 584 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 599 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 615 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 663 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 678 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 692 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 699 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 707 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 714 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 715 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 722 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 723 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 730 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 600; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -39; ++_root.t; } frame 978 { _root.t = 0; _root.play(); } } movieClip 857 { } movieClip 858 { frame 140 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 29 { stop(); } movieClip 860 { } movieClip 861 { frame 142 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 862 { frame 15 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 54 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 55 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 87 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 123 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 127 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 138 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 139 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 152 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 180 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 184 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 189 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 222 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 233 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 239 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 243 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 344 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 433 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 672 { _root.t = 0; } frame 725 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 758 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 763 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 781 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 805 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 837 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 856 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 880 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 886 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 890 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 991 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 1080 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -62; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; } frame 1181 { _root.turret.swapDepths(_root.getNextHighestDepth()); _root.turret.removeMovieClip(); _root.turret2.swapDepths(_root.getNextHighestDepth()); _root.turret2.removeMovieClip(); _root.turret3.swapDepths(_root.getNextHighestDepth()); _root.turret3.removeMovieClip(); _root.turret4.swapDepths(_root.getNextHighestDepth()); _root.turret4.removeMovieClip(); } frame 1324 { _root.t = 0; _root.play(); } } instance turret2 of movieClip 848 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret2._y; var idx = _root.player._x - _root.turret2._x; var iradians = Math.atan2(idy, idx); _root.turret2._rotation = iradians * 180 / Math.PI; } } instance turret4 of movieClip 850 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret4._y; var idx = _root.player._x - _root.turret4._x; var iradians = Math.atan2(idy, idx); _root.turret4._rotation = iradians * 180 / Math.PI; } } frame 30 { stop(); } movieClip 864 { } movieClip 865 { frame 160 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 866 { frame 12 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 18 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 30 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 45 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 51 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 53 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 67 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 73 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 85 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 100 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 106 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 108 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 122 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 128 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 140 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 155 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 161 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 163 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 177 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 183 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 195 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 210 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 216 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 218 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 232 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 238 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 250 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 265 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 271 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 273 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 287 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 293 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 305 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 320 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 326 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 328 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 445 { _root.t = 0; } frame 459 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 465 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 477 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 492 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 498 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 500 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 513 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 519 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 531 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 546 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 552 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 554 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 559 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 565 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 567 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 575 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 581 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 583 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 592 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 598 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 600 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 608 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 614 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 616 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 625 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 631 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 633 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 642 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 648 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 650 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 659 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 665 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 667 { _root.attachMovie('enemyB', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = 540; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 866 { _root.t = 0; _root.play(); } } frame 31 { stop(); _root.t = 0; _root.waypointx = 262.5; _root.waypointy = 225; if (_root.difficulty == 'EASY') { var enemyHealth = 200; var enemyTotal = 200; } else { var enemyHealth = 450; var enemyTotal = 450; } _root.music.gotoAndStop('trackThree'); } frame 31 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shipHitBox.hitTest(_root.playerHitBox)) { _root.hp -= 5; _root.player.play(); } if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bulletWaveBoss', 'bulletWaveBoss' + _root.i, _root.getNextHighestDepth()); _root['bulletWaveBoss' + _root.i]._x = _root.player._x; _root['bulletWaveBoss' + _root.i]._y = _root.player._y; _root['bulletWaveBoss' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bulletWaveBoss', 'bulletWaveBoss' + _root.i, _root.getNextHighestDepth()); _root['bulletWaveBoss' + _root.i]._x = _root.player._x; _root['bulletWaveBoss' + _root.i]._y = _root.player._y; _root['bulletWaveBoss' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bulletWaveBoss', 'bulletWaveBoss' + _root.i, _root.getNextHighestDepth()); _root['bulletWaveBoss' + _root.i]._x = _root.player._x; _root['bulletWaveBoss' + _root.i]._y = _root.player._y; _root['bulletWaveBoss' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; _root.hp += 0.03; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; booster = false; _root.BG5._x -= 0.4; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.shipHitBox._x = _root.ship._x; _root.shipHitBox._y = _root.ship._y; _root.player.swapDepths(_root.getNextHighestDepth()); if (_root.gameOver == false) { _root.ship.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); } }; } movieClip 868 { } movieClip 869 { frame 150 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 872 { } movieClip 873 { } movieClip 874 { } movieClip 875 { } movieClip 876 { frame 1 { stop(); } } movieClip 877 { frame 1 { var rotationx = 0; } frame 55 { _root.attachMovie('bossArmour', 'enemy' + _root.i, _root.getNextHighestDepth()); _root['enemy' + _root.i]._x = 262.5; _root['enemy' + _root.i]._y = 225; _root['enemy' + _root.i]._rotation = +rotationx; ++_root.i; _root.attachMovie('bossArmour', 'enemy' + _root.i, _root.getNextHighestDepth()); _root['enemy' + _root.i]._x = 262.5; _root['enemy' + _root.i]._y = 225; _root['enemy' + _root.i]._rotation = 90 + rotationx; ++_root.i; _root.attachMovie('bossArmour', 'enemy' + _root.i, _root.getNextHighestDepth()); _root['enemy' + _root.i]._x = 262.5; _root['enemy' + _root.i]._y = 225; _root['enemy' + _root.i]._rotation = 180 + rotationx; ++_root.i; _root.attachMovie('bossArmour', 'enemy' + _root.i, _root.getNextHighestDepth()); _root['enemy' + _root.i]._x = 262.5; _root['enemy' + _root.i]._y = 225; _root['enemy' + _root.i]._rotation = 270 + rotationx; ++_root.i; rotationx += 15; } frame 86 { if (_root.enemyHealth > 100) { gotoAndPlay(49); } } frame 87 { _root.attachMovie('bossArmour', 'enemy' + _root.i, _root.getNextHighestDepth()); _root['enemy' + _root.i]._x = 262.5; _root['enemy' + _root.i]._y = 225; _root['enemy' + _root.i]._rotation = +rotationx; ++_root.i; _root.attachMovie('bossArmour', 'enemy' + _root.i, _root.getNextHighestDepth()); _root['enemy' + _root.i]._x = 262.5; _root['enemy' + _root.i]._y = 225; _root['enemy' + _root.i]._rotation = 90 + rotationx; ++_root.i; _root.attachMovie('bossArmour', 'enemy' + _root.i, _root.getNextHighestDepth()); _root['enemy' + _root.i]._x = 262.5; _root['enemy' + _root.i]._y = 225; _root['enemy' + _root.i]._rotation = 180 + rotationx; ++_root.i; _root.attachMovie('bossArmour', 'enemy' + _root.i, _root.getNextHighestDepth()); _root['enemy' + _root.i]._x = 262.5; _root['enemy' + _root.i]._y = 225; _root['enemy' + _root.i]._rotation = 270 + rotationx; ++_root.i; rotationx += 35; } frame 99 { gotoAndPlay(81); } } instance ship of movieClip 877 { onClipEvent (enterFrame) { if (_root.enemyHealth < 0) { _root.bossBeat.play(); } _root.ship._x += (_root.waypointx - _root.ship._x) / 25; _root.ship._y += (_root.waypointy - _root.ship._y) / 25; var kdy = _root.player._y - this._y; var kdx = _root.player._x - this._x; var kradians = Math.atan2(kdy, kdx); _root.ship._rotation = kradians * 180 / Math.PI + 180; } } movieClip 878 { frame 60 { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 262.5; _root['bossWaveBullet' + _root.i]._y = 225; _root['bossWaveBullet' + _root.i]._rotation = _root.ship._rotation + 180; ++_root.i; } frame 69 { gotoAndPlay(60); } } frame 32 { stop(); _root.music.gotoAndStop('trackOne'); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); } frame 32 { onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); if (_root.cLevel < 3) { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation; ++_root.i; } else { _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation + 3; ++_root.i; _root.attachMovie('bullet1', 'bullet1' + _root.i, _root.getNextHighestDepth()); _root['bullet1' + _root.i]._x = _root.player._x; _root['bullet1' + _root.i]._y = _root.player._y; _root['bullet1' + _root.i]._rotation = _root.player._rotation - 3; ++_root.i; } if (_root.peirce > 0) { --_root.peirce; } } var v4 = _ymouse - player._y; var v6 = _xmouse - player._x; var v5 = Math.atan2(v4, v6); _root.player._rotation = v5 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { var v2 = 0; while (v2 < 2) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v3 = random(2); if (v3 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v3 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; ++v2; } } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } _root.hp += 0.02; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; booster = false; _root.BG5._x -= 0.3; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.player.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); }; } movieClip 880 { } movieClip 881 { frame 150 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 882 { frame 20 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 40 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 60 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 70 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 80 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 100 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 120 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 140 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 140 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 160 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 180 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 200 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 211 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 220 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 240 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 260 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 280 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 300 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 310 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 320 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 340 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 360 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 462 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 466 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 470 { _root.t = 0; } frame 494 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 496 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 514 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 534 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 554 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 574 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 594 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 614 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 616 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 634 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 654 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 675 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 695 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 715 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 735 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 755 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 775 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 795 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 815 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 821 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 822 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 824 { _root.attachMovie('bigLaser', 'bigLaser' + _root.t, _root.getNextHighestDepth()); _root['bigLaser' + _root.t]._x = random(525); _root['bigLaser' + _root.t]._y = 500; ++_root.t; } frame 835 { _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; _root.attachMovie('meteor3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -30; _root['enemy' + _root.t]._y = random(450); ++_root.t; } frame 1097 { _root.t = 0; _root.play(); } } frame 33 { stop(); } movieClip 884 { } movieClip 885 { frame 146 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } instance turret of movieClip 541 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret._y; var idx = _root.player._x - _root.turret._x; var iradians = Math.atan2(idy, idx); _root.turret._rotation = iradians * 180 / Math.PI; } } instance turret2 of movieClip 848 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret2._y; var idx = _root.player._x - _root.turret2._x; var iradians = Math.atan2(idy, idx); _root.turret2._rotation = iradians * 180 / Math.PI; } } instance turret3 of movieClip 849 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret3._y; var idx = _root.player._x - _root.turret3._x; var iradians = Math.atan2(idy, idx); _root.turret3._rotation = iradians * 180 / Math.PI; } } instance turret4 of movieClip 850 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret4._y; var idx = _root.player._x - _root.turret4._x; var iradians = Math.atan2(idy, idx); _root.turret4._rotation = iradians * 180 / Math.PI; } } movieClip 886 { frame 10 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 12 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 15 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 33 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 35 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 45 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 64 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 66 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 69 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 79 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 81 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 84 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 102 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 104 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 114 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 133 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 135 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 138 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 148 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 150 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 153 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 171 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 173 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 183 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 202 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 204 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 207 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 217 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 219 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 222 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 240 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 242 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 252 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 271 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 273 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 276 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 286 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 288 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 291 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 309 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 311 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 321 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 340 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 342 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 345 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 355 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 357 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 360 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 378 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 380 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 390 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 409 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 411 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 414 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 424 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 426 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 429 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 447 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 449 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 459 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 478 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 480 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 483 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 493 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 495 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 498 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 516 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 518 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 528 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 547 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 549 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 552 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 558 { _root.turret.swapDepths(_root.getNextHighestDepth()); _root.turret.removeMovieClip(); _root.turret2.swapDepths(_root.getNextHighestDepth()); _root.turret2.removeMovieClip(); _root.turret3.swapDepths(_root.getNextHighestDepth()); _root.turret3.removeMovieClip(); _root.turret4.swapDepths(_root.getNextHighestDepth()); _root.turret4.removeMovieClip(); } frame 701 { _root.t = 0; _root.play(); } } frame 34 { stop(); } movieClip 888 { } movieClip 889 { frame 155 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 890 { frame 15 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 31 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 47 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 62 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 78 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 93 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 109 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 139 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 154 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 170 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 185 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 201 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 205 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 366 { _root.t = 0; } frame 393 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 409 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 425 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 440 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 456 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 471 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 487 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 502 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 518 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 534 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 549 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 565 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 572 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 587 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 603 { _root.attachMovie('enemy4', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = -50; _root['enemy' + _root.t]._y = random(450); _root['enemy' + _root.t]._rotation = 90; ++_root.t; _root.attachMovie('enemy3', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = 475; ++_root.t; } frame 845 { _root.t = 0; _root.play(); } } frame 35 { stop(); } movieClip 892 { } movieClip 893 { frame 230 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 894 { frame 23 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 24 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 47 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 48 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 71 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 72 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 95 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 96 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 119 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 120 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 143 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 144 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 167 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 168 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 191 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 192 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 215 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 216 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 239 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 240 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 263 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 264 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 287 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 288 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 311 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 312 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 335 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 336 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 359 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 360 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 383 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 384 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 407 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 408 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 431 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 432 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 455 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 456 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 479 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 480 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 653 { _root.t = 0; var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 748 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 749 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 772 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 773 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 796 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 797 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 820 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 821 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 844 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 845 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 868 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 869 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 892 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 893 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 916 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 917 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 940 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 941 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 964 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 965 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 988 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 989 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 1012 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 1013 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 1036 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 1037 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 1060 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 1061 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; } frame 1084 { var chance = random(5); if (chance == 1) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 546; _root['boss3charge' + _root.i]._y = 157; _root['boss3charge' + _root.i]._rotation = random(90) + 100; ++_root.i; } else { if (chance == 2) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 263; _root['boss3charge' + _root.i]._y = -22; _root['boss3charge' + _root.i]._rotation = random(150) + 10; ++_root.i; } else { if (chance == 3) { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = -22; _root['boss3charge' + _root.i]._y = 219; _root['boss3charge' + _root.i]._rotation = random(150) - 90; ++_root.i; } else { _root.attachMovie('boss3charge', 'boss3charge' + _root.i, _root.getNextHighestDepth()); _root['boss3charge' + _root.i]._x = 264; _root['boss3charge' + _root.i]._y = 469; _root['boss3charge' + _root.i]._rotation = random(150) + 180; ++_root.i; } } } } frame 1085 { _root.attachMovie('enemy2', 'enemy' + _root.t, _root.getNextHighestDepth()); _root['enemy' + _root.t]._x = random(525); _root['enemy' + _root.t]._y = -25; ++_root.t; _root.cannon2.swapDepths(_root.getNextHighestDepth()); _root.cannon2.removeMovieClip(); _root.cannon1.swapDepths(_root.getNextHighestDepth()); _root.cannon1.removeMovieClip(); } frame 1378 { _root.t = 0; _root.play(); } } movieClip 895 { frame 11 { _root.attachMovie('bossBulletX', 'bossBulletX' + _root.i, _root.getNextHighestDepth()); _root['bossBulletX' + _root.i]._x = _root.cannon2._x; _root['bossBulletX' + _root.i]._y = _root.cannon2._y; _root['bossBulletX' + _root.i]._rotation = random(180) + 270; ++_root.i; } } frame 36 { stop(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; } frame 36 { onEnterFrame = function () { _root.BG5._x -= 0.4; }; } movieClip 897 { } movieClip 902 { } movieClip 903 { } movieClip 905 { frame 1 { stop(); } frame 3 { stop(); } frame 5 { stop(); } frame 7 { stop(); } frame 8 { _parent.play(); } } movieClip 907 { frame 1 { stop(); } frame 19 { } } movieClip 909 { } movieClip 910 { frame 50 { _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 200; _root.particleRange = 850; _root.createExplosion2(134, 424); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; } frame 175 { stop(); this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 911 { } movieClip 912 { } movieClip 914 { } movieClip 915 { instance of movieClip 420 { onClipEvent (enterFrame) { _root.createExplosion3(174, 223); } } frame 348 { _root._x = 0; _root._y = 0; } frame 348 { _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 750; _root.particleRange = 850; _root.createExplosion2(173, 226); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; } frame 539 { _root.play(); } } frame 37 { stop(); _root.t = 0; _root.i = 0; if (_root.difficulty == 'EASY') { var enemyHealth = 100; var enemyTotal = 100; } else { var enemyHealth = 125; var enemyTotal = 125; } _root.hp = _root.hpTotal; _root.music.gotoAndStop('trackFour'); } frame 37 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shipHitBox.hitTest(_root.playerHitBox)) { _root.hp -= 5; _root.player.play(); } if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); _root.attachMovie('ultraAmmo', 'ultraAmmo' + _root.i, _root.getNextHighestDepth()); _root['ultraAmmo' + _root.i]._x = _root.player._x; _root['ultraAmmo' + _root.i]._y = _root.player._y; _root['ultraAmmo' + _root.i]._rotation = _root.player._rotation; ++_root.i; if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR2)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; _root.hp += 0.03; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; booster = false; _root.BG5._x -= 0.4; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.armour._x = _root.ship._x; _root.armour._y = _root.ship._y; _root.player.swapDepths(_root.getNextHighestDepth()); if (_root.gameOver == false) { _root.ship.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); } }; } movieClip 916 { } instance ship of movieClip 907 { onClipEvent (enterFrame) { if (_root.enemyHealth < 0) { _root.bossBeat.play(); } } } instance turret3 of movieClip 849 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret3._y; var idx = _root.player._x - _root.turret3._x; var iradians = Math.atan2(idy, idx); _root.turret3._rotation = iradians * 180 / Math.PI; } } instance turret4 of movieClip 850 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret4._y; var idx = _root.player._x - _root.turret4._x; var iradians = Math.atan2(idy, idx); _root.turret4._rotation = iradians * 180 / Math.PI; } } movieClip 918 { } movieClip 919 { instance of movieClip 918 { onClipEvent (enterFrame) { _parent._parent.swapDepths(_root.getNextHighestDepth()); } } } movieClip 920 { frame 1 { stop(); } frame 2 { play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 1500; _root.particleRange = 850; _root.createExplosion2(473, 226); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _root.ship.swapDepths(_root.getNextHighestDepth()); _root.ship.removeMovieClip(); _root.turret.swapDepths(_root.getNextHighestDepth()); _root.turret.removeMovieClip(); _root.turret2.swapDepths(_root.getNextHighestDepth()); _root.turret2.removeMovieClip(); _root.turret3.swapDepths(_root.getNextHighestDepth()); _root.turret3.removeMovieClip(); _root.turret4.swapDepths(_root.getNextHighestDepth()); _root.turret4.removeMovieClip(); _root.ship1.swapDepths(_root.getNextHighestDepth()); _root.ship1.removeMovieClip(); } frame 20 { _root._x = 0; _root._y = 0; } frame 77 { _root.onEnterFrame = function () { _root.BG5._x -= 0.5; }; } frame 268 { _root.t = 0; if (_root.difficulty == 'HARD') { _root.play(); } else { _root.gotoAndStop('WinWave'); } } } frame 38 { stop(); var waypointx = 370; var waypointy = 225; } instance ship1 of movieClip 827 { onClipEvent (enterFrame) { _root.ship1._x += (_root.waypointx - _root.ship1._x) / 26; _root.ship1._y += (_root.waypointy - _root.ship1._y) / 26; if (this.hitTest(_root.playerHitBox)) { _root.player.play(); _root.hp -= 10; } } } movieClip 921 { frame 1 { play(); } frame 22 { var x = random(3); if (x == 0) { _root.waypointx = 339; _root.waypointy = random(450); } else { _root.waypointy = _root.playerHitBox._y; } } } frame 39 { stop(); stop(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; _root.music.gotoAndStop('trackFive'); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); } frame 39 { _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); } frame 39 { onEnterFrame = function () { _root.BG3._x -= 0.4; }; } movieClip 922 { } movieClip 925 { } movieClip 926 { } movieClip 927 { } movieClip 928 { } movieClip 931 { } movieClip 933 { frame 1 { stop(); } instance of movieClip 922 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.player.play(); _root.hp -= 3; } } } instance of movieClip 922 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.player.play(); _root.hp -= 3; } } } instance of movieClip 922 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.player.play(); _root.hp -= 3; } } } instance of movieClip 922 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.player.play(); _root.hp -= 3; } } } } movieClip 934 { } movieClip 935 { } movieClip 936 { } movieClip 938 { } movieClip 939 { frame 137 { stop(); } } movieClip 940 { frame 422 { _root.play(); } } frame 40 { stop(); var enemyHealth = 275; var enemyTotal = 275; _root.hp = _root.hpTotal; } frame 40 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shipHitBox.hitTest(_root.playerHitBox)) { _root.hp -= 5; _root.player.play(); } if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); _root.attachMovie('ultraAmmo2', 'ultraAmmo' + _root.i, _root.getNextHighestDepth()); _root['ultraAmmo' + _root.i]._x = _root.player._x; _root['ultraAmmo' + _root.i]._y = _root.player._y; _root['ultraAmmo' + _root.i]._rotation = _root.player._rotation; ++_root.i; if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; _root.hp += 0.03; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; booster = false; _root.BG3._x -= 0.2; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.bossShooter._x = _root.boss.boss2._x - 300; _root.bossShooter._y = _root.boss.boss2._y + 100; _root.player.swapDepths(_root.getNextHighestDepth()); if (_root.gameOver == false) { _root.boss.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); } }; } movieClip 941 { frame 1 { stop(); } frame 2 { var chance = random(2); if (chance == 1) { var r = 0; while (r < 450) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = r; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; r += 90; } } else { var r = 0; while (r < 10) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = random(450); _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; ++r; } } play(); } frame 23 { var r = 0; while (r < 20) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = random(450); _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; ++r; } } frame 41 { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 20; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 25; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 30; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 150; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 155; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 160; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 280; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 285; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 290; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 410; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 415; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 525; _root['bossWaveBullet' + _root.i]._y = 420; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; gotoAndStop(1); } frame 42 { var chance = random(2); if (chance == 1) { var r = 0; while (r < 525) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = r; _root['bossWaveBullet' + _root.i]._y = 450; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; r += 50; } } else { var r = 0; while (r < 10) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = random(520); _root['bossWaveBullet' + _root.i]._y = 450; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; ++r; } } play(); } frame 63 { var r = 0; while (r < 10) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = random(525); _root['bossWaveBullet' + _root.i]._y = 450; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; ++r; } } frame 83 { var r = 0; while (r < 525) { if (r < 525 && r > 450 || r < 300 && r > 0) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = r; _root['bossWaveBullet' + _root.i]._y = 450; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; } r += 50; } gotoAndStop(1); } frame 84 { var chance = random(2); if (chance == 1) { var r = 0; while (r < 450) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = r; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; r += 90; } } else { var r = 0; while (r < 10) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = random(450); _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; ++r; } } play(); } frame 105 { var r = 0; while (r < 20) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = random(450); _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; ++r; } } frame 123 { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 20; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 25; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 30; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 150; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 155; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 160; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 280; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 285; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 290; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 410; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 415; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = 5; _root['bossWaveBullet' + _root.i]._y = 420; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; gotoAndStop(1); } frame 124 { var chance = random(2); if (chance == 1) { var r = 0; while (r < 525) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = r; _root['bossWaveBullet' + _root.i]._y = 15; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; r += 50; } } else { var r = 0; while (r < 10) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = random(520); _root['bossWaveBullet' + _root.i]._y = 15; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; ++r; } } play(); } frame 145 { var r = 0; while (r < 20) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = random(525); _root['bossWaveBullet' + _root.i]._y = 15; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; ++r; } } frame 165 { var r = 0; while (r < 525) { if (r < 525 && r > 450 || r < 300 && r > 0) { _root.attachMovie('bossWaveBullet', 'bossWaveBullet' + _root.i, _root.getNextHighestDepth()); _root['bossWaveBullet' + _root.i]._x = r; _root['bossWaveBullet' + _root.i]._y = 15; _root['bossWaveBullet' + _root.i]._rotation = _root.bossShooter._rotation; ++_root.i; } r += 50; } var chance = random(2); if (chance == 1) { _root.attachMovie('powerUp3', 'powerUp3' + _root.i, _root.getNextHighestDepth()); _root['powerUp3' + _root.i]._x = 262.5; _root['powerUp3' + _root.i]._y = 225; ++_root.i; } } } movieClip 942 { frame 31 { _root.bossShooter.gotoAndPlay('one'); } frame 136 { _root.bossShooter._rotation += 90; } frame 230 { _root.bossShooter.gotoAndPlay('two'); } frame 346 { _root.bossShooter._rotation += 90; } frame 452 { _root.bossShooter.gotoAndPlay('three'); } frame 556 { _root.bossShooter._rotation += 90; } frame 663 { _root.bossShooter.gotoAndPlay('four'); } frame 766 { _root.bossShooter._rotation += 90; } frame 871 { gotoAndPlay(31); } } frame 41 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shipHitBox.hitTest(_root.playerHitBox)) { _root.hp -= 5; _root.player.play(); } if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); _root.attachMovie('finalUltraAmmo', 'ultraAmmo' + _root.i, _root.getNextHighestDepth()); _root['ultraAmmo' + _root.i]._x = _root.player._x; _root['ultraAmmo' + _root.i]._y = _root.player._y; _root['ultraAmmo' + _root.i]._rotation = _root.player._rotation; ++_root.i; if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; _root.hp += 0.03; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; booster = false; _root.BG3._x -= 0.2; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.bossShooter._x = _root.boss._x; _root.bossShooter._y = _root.boss._y; _root.player.swapDepths(_root.getNextHighestDepth()); if (_root.gameOver == false) { _root.boss.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); } }; } frame 42 { stop(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.boss.swapDepths(_root.getNextHighestDepth()); _root.boss.removeMovieClip(); _root.t = 0; _root.i = 0; _root.cannon1.swapDepths(_root.getNextHighestDepth()); _root.cannon1.removeMovieClip(); _root.cannon2.swapDepths(_root.getNextHighestDepth()); _root.cannon2.removeMovieClip(); } frame 42 { onEnterFrame = function () { _root.BG3._x -= 0.2; }; _root.BG3._x = 923; } movieClip 944 { } movieClip 946 { } movieClip 947 { frame 50 { stop(); } } movieClip 949 { } movieClip 950 { } movieClip 952 { } movieClip 953 { } movieClip 954 { instance of movieClip 420 { onClipEvent (enterFrame) { _root.createExplosion(random(525), random(450)); } } frame 148 { _root._x = 0; _root._y = 0; _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 50; _root.particleRange = 850; var q = 0; while (q < 10) { _root.createExplosion3(263, 225); ++q; } _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; } frame 335 { _root.play(); } } frame 43 { stop(); var enemyHealth = 200; var enemyTotal = 200; _root.hp = _root.hpTotal; } frame 43 { stop(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); } frame 43 { stop(); onMouseDown = function () { _root.shooting = true; }; onMouseUp = function () { _root.shooting = false; }; onEnterFrame = function () { if (_root.shipHitBox.hitTest(_root.playerHitBox)) { _root.hp -= 5; _root.player.play(); } if (_root.shooting == true && _root.ready == true) { createExplosion2(_root.player._x, _root.player._y); _root.attachMovie('finalUltraAmmo2', 'ultraAmmo' + _root.i, _root.getNextHighestDepth()); _root['ultraAmmo' + _root.i]._x = _root.player._x; _root['ultraAmmo' + _root.i]._y = _root.player._y; _root['ultraAmmo' + _root.i]._rotation = _root.player._rotation; ++_root.i; if (_root.peirce > 0) { --_root.peirce; } } var v3 = _ymouse - player._y; var v5 = _xmouse - player._x; var v4 = Math.atan2(v3, v5); _root.player._rotation = v4 * 180 / Math.PI; if (_root.player.hitTest(_root.wallB)) { _root.player._y -= 8.300000000000001; iySpeed = 0; } else { if (_root.player.hitTest(_root.wallT)) { _root.player._y += 8.300000000000001; iySpeed2 = 0; } } if (_root.player.hitTest(_root.wallR)) { _root.player._x -= 8.300000000000001; ixSpeed2 = 0; } else { if (_root.player.hitTest(_root.wallL)) { _root.player._x += 8.300000000000001; ixSpeed = 0; } } if (_root.player._x > 562 || _root.player._x < -37 || _root.player._y > 484 || _root.player._y < -34) { _root.player._x = 262.5; _root.player._y = 225; } if (_root.backgroundOn == false) { if (Key.isDown(83)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(87)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(65)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(68)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } else { if (Key.isDown(40)) { _root.player._y += iySpeed; if (iySpeed < 8) { iySpeed += 0.5; } booster = true; } else { _root.player._y += iySpeed; if (iySpeed > 0) { iySpeed *= 0.94; } } if (Key.isDown(38)) { _root.player._y -= iySpeed2; if (iySpeed2 < 8) { iySpeed2 += 0.5; } booster = true; } else { _root.player._y -= iySpeed2; if (iySpeed2 > 0) { iySpeed2 *= 0.94; } } if (Key.isDown(37)) { _root.player._x -= ixSpeed; if (ixSpeed < 8) { ixSpeed += 0.5; } booster = true; } else { _root.player._x -= ixSpeed; if (ixSpeed > 0) { ixSpeed *= 0.94; } } if (Key.isDown(39)) { _root.player._x += ixSpeed2; if (ixSpeed2 < 8) { ixSpeed2 += 0.5; } booster = true; } else { _root.player._x += ixSpeed2; if (ixSpeed2 > 0) { ixSpeed2 *= 0.94; } } } if (booster) { _root.attachMovie('boost', 'boost' + _root.i, _root.getNextHighestDepth()); _root['boost' + _root.i]._x = _root.player._x; _root['boost' + _root.i]._y = _root.player._y; var v2 = random(2); if (v2 == 0) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30); } if (v2 == 1) { _root['boost' + _root.i]._rotation = _root.player._rotation + random(30) * -1; } ++_root.i; } if (_root.hp < 0) { if (_root.gameOver == false) { _root.attachMovie('gameOver2', 'gameOver' + _root.i, _root.getNextHighestDepth()); _root['gameOver' + _root.i]._x = 262.5; _root['gameOver' + _root.i]._y = 225; } } s = 0; while (s < _root.t) { if (_root.playerHitBox.hitTest(_root['enemy' + _root.s])) { _root.hp -= 1.5; _root.player.play(); } ++s; } s = 0; _root.hp += 0.03; if (_root.hp > _root.hpTotal) { _root.hp = _root.hpTotal; } s = 0; booster = false; _root.BG3._x -= 0.2; _root.playerHitBox._x = _root.player._x; _root.playerHitBox._y = _root.player._y; _root.bossShooter._x = _root.boss._x; _root.bossShooter._y = _root.boss._y; _root.player.swapDepths(_root.getNextHighestDepth()); if (_root.gameOver == false) { _root.boss.swapDepths(_root.getNextHighestDepth()); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); } }; } instance turret of movieClip 541 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret._y; var idx = _root.player._x - _root.turret._x; var iradians = Math.atan2(idy, idx); _root.turret._rotation = iradians * 180 / Math.PI; } } instance turret2 of movieClip 848 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret2._y; var idx = _root.player._x - _root.turret2._x; var iradians = Math.atan2(idy, idx); _root.turret2._rotation = iradians * 180 / Math.PI; } } instance turret3 of movieClip 849 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret3._y; var idx = _root.player._x - _root.turret3._x; var iradians = Math.atan2(idy, idx); _root.turret3._rotation = iradians * 180 / Math.PI; } } instance turret4 of movieClip 850 { onClipEvent (enterFrame) { var idy = _root.player._y - _root.turret4._y; var idx = _root.player._x - _root.turret4._x; var iradians = Math.atan2(idy, idx); _root.turret4._rotation = iradians * 180 / Math.PI; } } movieClip 955 { frame 1 { var c; var d; } instance hpBar of movieClip 435 { onClipEvent (enterFrame) { c = Math.floor((_root.hp / _root.hpTotal) * 100 + 1); if (c > 100) { c = 100; } _root.statusBar2.hpBar.gotoAndStop(c); if (_root.cLevel < 3) { d = Math.floor((_root.xp / _root.xpNeeded) * 100); if (d > 100) { d = 100; } _root.statusBar2.xpBar.gotoAndStop(d); } } } } movieClip 957 { } movieClip 958 { frame 1 { stop(); } instance of movieClip 957 { onClipEvent (enterFrame) { if (this.hitTest(_root.playerHitBox)) { _root.player.play(); _root.hp -= 5; } } } frame 2 { _root.createExplosion(this._x, this._y); } } instance boss of movieClip 958 { onClipEvent (enterFrame) { if (_root.enemyHealth < 0) { _root.bossBeat.play(); } _root.waypointx = _root.playerHitBox._x; _root.waypointy = _root.playerHitBox._y; _root.boss._x += (_root.waypointx - _root.boss._x) / 100; _root.boss._y += (_root.waypointy - _root.boss._y) / 100; var kdy = _root.player._y - this._y; var kdx = _root.player._x - this._x; var kradians = Math.atan2(kdy, kdx); } } movieClip 960 { } movieClip 961 { frame 457 { stop(); _root.boss3.swapDepths(_root.getNextHighestDepth()); _root.boss3.removeMovieClip(); _root.enemy.swapDepths(_root.getNextHighestDepth()); _root.enemy.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar2.swapDepths(_root.getNextHighestDepth()); _root.statusBar2.removeMovieClip(); var i = 0; while (i < _root.t + 1) { _root['enemy' + i].swapDepths(_root.getNextHighestDepth()); _root['enemy' + i].removeMovieClip(); ++i; } _root.t = 0; var enemyBoss = 3; _root.flash_white.swapDepths(_root.getNextHighestDepth()); _root.flash_white.removeMovieClip(); _root.i = 0; var faster = false; _root.ship.swapDepths(_root.getNextHighestDepth()); _root.ship.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; stop(); _root.hp = _root.hpTotal; var i = 0; while (i < 1000) { _root['powerUp1' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp1' + i].removeMovieClip(); _root['powerUp2' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp2' + i].removeMovieClip(); _root['powerUp3' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp3' + i].removeMovieClip(); _root['powerUp4' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp4' + i].removeMovieClip(); _root['bigLaser' + i].swapDepths(_root.getNextHighestDepth()); _root['bigLaser' + i].removeMovieClip(); ++i; } _root.gameOver = false; _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _root.gotoAndStop(2); } } movieClip 962 { frame 1 { stop(); } frame 2 { play(); _root.particleMaxSpeed = 7; _root.particleFadeSpeed = 10; _root.particleTotal = 1000; _root.particleRange = 850; _root.createExplosion2(_root.boss._x, _root.boss._y); _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; _root.boss.swapDepths(_root.getNextHighestDepth()); _root.boss.removeMovieClip(); _root.turret.swapDepths(_root.getNextHighestDepth()); _root.turret.removeMovieClip(); _root.turret2.swapDepths(_root.getNextHighestDepth()); _root.turret2.removeMovieClip(); _root.turret3.swapDepths(_root.getNextHighestDepth()); _root.turret3.removeMovieClip(); _root.turret4.swapDepths(_root.getNextHighestDepth()); _root.turret4.removeMovieClip(); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); } frame 20 { _root._x = 0; _root._y = 0; } frame 140 { stop(); } } frame 44 { stop(); _root.boss3.swapDepths(_root.getNextHighestDepth()); _root.boss3.removeMovieClip(); _root.enemy.swapDepths(_root.getNextHighestDepth()); _root.enemy.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.statusBar2.swapDepths(_root.getNextHighestDepth()); _root.statusBar2.removeMovieClip(); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); var i = 0; while (i < _root.t + 1) { _root['enemy' + i].swapDepths(_root.getNextHighestDepth()); _root['enemy' + i].removeMovieClip(); ++i; } _root.t = 0; var enemyBoss = 3; _root.flash_white.swapDepths(_root.getNextHighestDepth()); _root.flash_white.removeMovieClip(); _root.i = 0; var faster = false; _root.ship.swapDepths(_root.getNextHighestDepth()); _root.ship.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; stop(); _root.hp = _root.hpTotal; var i = 0; while (i < 1000) { _root['powerUp1' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp1' + i].removeMovieClip(); _root['powerUp2' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp2' + i].removeMovieClip(); _root['powerUp3' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp3' + i].removeMovieClip(); _root['powerUp4' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp4' + i].removeMovieClip(); _root['bigLaser' + i].swapDepths(_root.getNextHighestDepth()); _root['bigLaser' + i].removeMovieClip(); ++i; } _root.gameOver = false; _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; } frame 44 { _root.music.gotoAndStop(1); } frame 44 { onEnterFrame = function () { _root.oMouse._x = _root._xmouse; _root.oMouse._y = _root._ymouse; }; } movieClip 964 { } movieClip 965 { } movieClip 967 { } movieClip 968 { } movieClip 969 { } movieClip 971 { } movieClip 972 { } movieClip 973 { } movieClip 975 { } movieClip 976 { } movieClip 977 { instance of movieClip 965 { onClipEvent (enterFrame) { _parent.swapDepths(_root.getNextHighestDepth()); } } frame 60 { stop(); } } frame 45 { _root.boss3.swapDepths(_root.getNextHighestDepth()); _root.boss3.removeMovieClip(); _root.enemy.swapDepths(_root.getNextHighestDepth()); _root.enemy.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.bossHealthBar.swapDepths(_root.getNextHighestDepth()); _root.bossHealthBar.removeMovieClip(); var i = 0; while (i < _root.t + 1) { _root['enemy' + i].swapDepths(_root.getNextHighestDepth()); _root['enemy' + i].removeMovieClip(); ++i; } _root.t = 0; var enemyBoss = 3; _root.flash_white.swapDepths(_root.getNextHighestDepth()); _root.flash_white.removeMovieClip(); _root.i = 0; var faster = false; _root.ship.swapDepths(_root.getNextHighestDepth()); _root.ship.removeMovieClip(); _root.player.swapDepths(_root.getNextHighestDepth()); _root.player.removeMovieClip(); _root.statusBar.swapDepths(_root.getNextHighestDepth()); _root.statusBar.removeMovieClip(); _root.t = 0; _root.i = 0; stop(); _root.hp = _root.hpTotal; var i = 0; while (i < 1000) { _root['powerUp1' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp1' + i].removeMovieClip(); _root['powerUp2' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp2' + i].removeMovieClip(); _root['powerUp3' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp3' + i].removeMovieClip(); _root['powerUp4' + i].swapDepths(_root.getNextHighestDepth()); _root['powerUp4' + i].removeMovieClip(); _root['bigLaser' + i].swapDepths(_root.getNextHighestDepth()); _root['bigLaser' + i].removeMovieClip(); ++i; } _root.gameOver = false; _root.particleMaxSpeed = 5; _root.particleFadeSpeed = 4; _root.particleTotal = 5; _root.particleRange = 275; } frame 45 { _root.music.gotoAndStop(1); } movieClip 979 { } movieClip 980 { frame 189 { _root.gotoAndStop(2); } }




http://swfchan.com/18/89153/info.shtml
Created: 29/3 -2019 04:13:48 Last modified: 29/3 -2019 04:13:48 Server time: 16/04 -2024 06:49:31